From 84347b3dbe7d7140e34e3a67b58e06d3c6b5fa9c Mon Sep 17 00:00:00 2001 From: Tom Clegg Date: Mon, 21 Oct 2019 16:17:10 -0400 Subject: [PATCH] 15699: Avoid latest signet gem, to stay compatible with ruby 2.3. Arvados-DCO-1.1-Signed-off-by: Tom Clegg --- apps/workbench/Gemfile | 4 ++++ apps/workbench/Gemfile.lock | 7 ++++--- services/api/Gemfile | 4 ++++ services/api/Gemfile.lock | 7 ++++--- 4 files changed, 16 insertions(+), 6 deletions(-) diff --git a/apps/workbench/Gemfile b/apps/workbench/Gemfile index 559c2fdc22..40cf4a86c0 100644 --- a/apps/workbench/Gemfile +++ b/apps/workbench/Gemfile @@ -111,3 +111,7 @@ gem 'logstash-event' gem 'safe_yaml' gem 'npm-rails' + +# arvados-google-api-client and googleauth (and thus arvados) gems +# depend on signet, but signet 0.12 is incompatible with ruby 2.3. +gem 'signet', '< 0.12' diff --git a/apps/workbench/Gemfile.lock b/apps/workbench/Gemfile.lock index 409ed6615b..b4b6100f4a 100644 --- a/apps/workbench/Gemfile.lock +++ b/apps/workbench/Gemfile.lock @@ -134,13 +134,13 @@ GEM flamegraph (0.9.5) globalid (0.4.2) activesupport (>= 4.2.0) - googleauth (0.10.0) + googleauth (0.9.0) faraday (~> 0.12) jwt (>= 1.4, < 3.0) memoist (~> 0.16) multi_json (~> 1.11) os (>= 0.9, < 2.0) - signet (~> 0.12) + signet (~> 0.7) headless (1.0.2) highline (2.0.2) httpclient (2.8.3) @@ -282,7 +282,7 @@ GEM selenium-webdriver (3.141.0) childprocess (~> 0.5) rubyzip (~> 1.2, >= 1.2.2) - signet (0.12.0) + signet (0.11.0) addressable (~> 2.3) faraday (~> 0.9) jwt (>= 1.5, < 3.0) @@ -366,6 +366,7 @@ DEPENDENCIES sass sassc-rails selenium-webdriver (~> 3) + signet (< 0.12) simplecov (~> 0.7) simplecov-rcov sshkey diff --git a/services/api/Gemfile b/services/api/Gemfile index b106ab199c..f166505bc0 100644 --- a/services/api/Gemfile +++ b/services/api/Gemfile @@ -75,6 +75,10 @@ gem 'rails-controller-testing' gem 'sass-rails' +# arvados-google-api-client and googleauth depend on signet, but +# signet 0.12 is incompatible with ruby 2.3. +gem 'signet', '< 0.12' + # Install any plugin gems Dir.glob(File.join(File.dirname(__FILE__), 'lib', '**', "Gemfile")) do |f| eval(IO.read(f), binding) diff --git a/services/api/Gemfile.lock b/services/api/Gemfile.lock index e80f87e2a5..5ebdff0ca7 100644 --- a/services/api/Gemfile.lock +++ b/services/api/Gemfile.lock @@ -121,13 +121,13 @@ GEM ffi (1.9.25) globalid (0.4.2) activesupport (>= 4.2.0) - googleauth (0.10.0) + googleauth (0.9.0) faraday (~> 0.12) jwt (>= 1.4, < 3.0) memoist (~> 0.16) multi_json (~> 1.11) os (>= 0.9, < 2.0) - signet (~> 0.12) + signet (~> 0.7) hashie (3.6.0) highline (2.0.1) httpclient (2.8.3) @@ -254,7 +254,7 @@ GEM sprockets (>= 2.8, < 4.0) sprockets-rails (>= 2.0, < 4.0) tilt (>= 1.1, < 3) - signet (0.12.0) + signet (0.11.0) addressable (~> 2.3) faraday (~> 0.9) jwt (>= 1.5, < 3.0) @@ -324,6 +324,7 @@ DEPENDENCIES rvm-capistrano safe_yaml sass-rails + signet (< 0.12) simplecov (~> 0.7.1) simplecov-rcov sshkey -- 2.30.2