Make sure to bump the dependency on the arvados gems to the 1.2 series.
[arvados.git] / services / login-sync / arvados-login-sync.gemspec
index 6de9a94f729d431658e19a6247b96cd60ccd1333..f2c5735985a7131129c38469e2183ffb70ef10f6 100644 (file)
@@ -8,7 +8,8 @@ if not File.exists?('/usr/bin/git') then
 end
 
 git_latest_tag = `git describe --abbrev=0`
-git_timestamp = `git log -n1 --first-parent --format=%ct`
+git_latest_tag = git_latest_tag.encode('utf-8').strip
+git_timestamp, git_hash = `git log -n1 --first-parent --format=%ct:%H .`.chomp.split(":")
 git_timestamp = Time.at(git_timestamp.to_i).utc
 
 Gem::Specification.new do |s|
@@ -23,7 +24,7 @@ Gem::Specification.new do |s|
   s.files       = ["bin/arvados-login-sync", "agpl-3.0.txt"]
   s.executables << "arvados-login-sync"
   s.required_ruby_version = '>= 2.1.0'
-  s.add_runtime_dependency 'arvados', '~> 0.1', '>= 0.1.20150615153458'
+  s.add_runtime_dependency 'arvados', '~> 1.2.0', '>= 1.2.0'
   s.homepage    =
     'https://arvados.org'
 end