Merge branch 'master' into 3889-functional-testing
[arvados.git] / sdk / cli / arvados-cli.gemspec
index 12f833c4ae71cfda3328eda411a28a690183a0cd..88a409c96d30553be87bb16a34edc85b58e8bc6b 100644 (file)
@@ -5,8 +5,8 @@ end
 
 Gem::Specification.new do |s|
   s.name        = 'arvados-cli'
-  s.version     = '0.1.' + `git log --pretty=format:'%ci' -n 1 .`[0..18].gsub(/[ \-:]/,'')
-  s.date        = `git log --pretty=format:'%ci' -n 1 .`[0..9]
+  s.version     = '0.1.' + `git log --first-parent --pretty=format:'%ci' -n 1 .`[0..18].gsub(/[ \-:]/,'')
+  s.date        = `git log --first-parent --pretty=format:'%ci' -n 1 .`[0..9]
   s.summary     = "Arvados CLI tools"
   s.description = "Arvados command line tools, git commit " + `git log --pretty=format:'%H' -n 1 .`
   s.authors     = ["Arvados Authors"]
@@ -19,8 +19,8 @@ Gem::Specification.new do |s|
   s.executables << "arv-crunch-job"
   s.executables << "arv-tag"
   s.required_ruby_version = '>= 2.1.0'
-  s.add_runtime_dependency 'arvados', '~> 0.1.0'
-  s.add_runtime_dependency 'google-api-client', '~> 0.6.3'
+  s.add_runtime_dependency 'arvados', '~> 0.1', '>= 0.1.0'
+  s.add_runtime_dependency 'google-api-client', '~> 0.6', '>= 0.6.3'
   s.add_runtime_dependency 'activesupport', '~> 3.2', '>= 3.2.13'
   s.add_runtime_dependency 'json', '~> 1.7', '>= 1.7.7'
   s.add_runtime_dependency 'trollop', '~> 2.0'