1 if not File.exists?('/usr/bin/git') then
2 STDERR.puts "\nGit binary not found, aborting. Please install git and run gem build from a checked out copy of the git repository.\n\n"
6 Gem::Specification.new do |s|
8 s.version = '0.1.' + `git log --first-parent --pretty=format:'%ci' -n 1 .`[0..18].gsub(/[ \-:]/,'')
9 s.date = `git log --first-parent --pretty=format:'%ci' -n 1 .`[0..9]
10 s.summary = "Arvados client library"
11 s.description = "Arvados client library, git commit " + `git log --pretty=format:'%H' -n 1 .`
12 s.authors = ["Arvados Authors"]
13 s.email = 'gem-dev@curoverse.com'
14 s.licenses = ['Apache License, Version 2.0']
15 s.files = ["lib/arvados.rb", "lib/arvados/keep.rb"]
16 s.required_ruby_version = '>= 2.1.0'
17 s.add_dependency('google-api-client', '~> 0.6', '>= 0.6.3')
18 s.add_dependency('activesupport', '~> 3.2', '>= 3.2.13')
19 s.add_dependency('json', '~> 1.7', '>= 1.7.7')
20 s.add_dependency('andand', '~> 1.3', '>= 1.3.3')
21 s.add_runtime_dependency('jwt', '>= 0.1.5', '< 1.0.0')