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.' + `/usr/bin/git log --pretty=format:'%ci' -n 1`[0..18].gsub(/[ \-:]/,'')
9 s.date = `/usr/bin/git log --pretty=format:'%ci' -n 1`[0..9]
10 s.summary = "Arvados SDK Ruby"
11 s.description = "This is the Arvados SDK gem, git revision " + `/usr/bin/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.3')
18 s.add_dependency('activesupport', '>= 3.2.13')
19 s.add_dependency('json', '>= 1.7.7')
20 s.add_dependency('andand')
21 s.add_runtime_dependency('jwt', '>= 0.1.5', '< 1.0.0')