From 57130244e644176b3f639a69c21f8c5b3284a1ce Mon Sep 17 00:00:00 2001 From: Pierre Felgines Date: Thu, 26 Aug 2021 11:34:55 +0200 Subject: [PATCH] Fix #63 : Update deprecated gem google-api-client --- Gemfile.lock | 54 ++++++++++++++++++++------------------------- ad_localize.gemspec | 2 +- 2 files changed, 25 insertions(+), 31 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 2cc0133..ee0589d 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -4,64 +4,59 @@ PATH ad_localize (4.0.8) activesupport (>= 6.1.3.2, < 7.0) colorize (~> 0.8) - google-api-client (~> 0.34) + google-apis-sheets_v4 (~> 0.9) googleauth (~> 0.12) nokogiri (~> 1.10) GEM remote: https://rubygems.org/ specs: - activesupport (6.1.3.2) + activesupport (6.1.4.1) concurrent-ruby (~> 1.0, >= 1.0.2) i18n (>= 1.6, < 2) minitest (>= 5.1) tzinfo (~> 2.0) zeitwerk (~> 2.3) - addressable (2.7.0) + addressable (2.8.0) public_suffix (>= 2.0.2, < 5.0) ansi (1.5.0) builder (3.2.4) byebug (11.1.3) colorize (0.8.1) - concurrent-ruby (1.1.8) + concurrent-ruby (1.1.9) declarative (0.0.20) diffy (3.3.0) - faraday (1.4.2) + faraday (1.7.0) faraday-em_http (~> 1.0) faraday-em_synchrony (~> 1.0) faraday-excon (~> 1.1) + faraday-httpclient (~> 1.0.1) faraday-net_http (~> 1.0) faraday-net_http_persistent (~> 1.1) + faraday-patron (~> 1.0) + faraday-rack (~> 1.0) multipart-post (>= 1.2, < 3) ruby2_keywords (>= 0.0.4) faraday-em_http (1.0.0) faraday-em_synchrony (1.0.0) faraday-excon (1.1.0) + faraday-httpclient (1.0.1) faraday-net_http (1.0.1) - faraday-net_http_persistent (1.1.0) - gems (1.2.0) - google-api-client (0.53.0) - google-apis-core (~> 0.1) - google-apis-generator (~> 0.1) - google-apis-core (0.3.0) + faraday-net_http_persistent (1.2.0) + faraday-patron (1.0.0) + faraday-rack (1.0.0) + google-apis-core (0.4.1) addressable (~> 2.5, >= 2.5.1) - googleauth (~> 0.14) - httpclient (>= 2.8.1, < 3.0) + googleauth (>= 0.16.2, < 2.a) + httpclient (>= 2.8.1, < 3.a) mini_mime (~> 1.0) representable (~> 3.0) - retriable (>= 2.0, < 4.0) + retriable (>= 2.0, < 4.a) rexml - signet (~> 0.14) webrick - google-apis-discovery_v1 (0.4.0) - google-apis-core (~> 0.1) - google-apis-generator (0.2.0) - activesupport (>= 5.0) - gems (~> 1.2) - google-apis-core (~> 0.1) - google-apis-discovery_v1 (~> 0.0) - thor (>= 0.20, < 2.a) - googleauth (0.16.2) + google-apis-sheets_v4 (0.9.0) + google-apis-core (>= 0.4, < 2.a) + googleauth (0.17.0) faraday (>= 0.17.3, < 2.0) jwt (>= 1.4, < 3.0) memoist (~> 0.16) @@ -73,8 +68,8 @@ GEM concurrent-ruby (~> 1.0) jwt (2.2.3) memoist (0.16.2) - mini_mime (1.1.0) - mini_portile2 (2.5.1) + mini_mime (1.1.1) + mini_portile2 (2.6.1) minitest (5.14.4) minitest-reporters (1.4.2) ansi @@ -83,8 +78,8 @@ GEM ruby-progressbar multi_json (1.15.0) multipart-post (2.1.1) - nokogiri (1.11.5) - mini_portile2 (~> 2.5.0) + nokogiri (1.12.3) + mini_portile2 (~> 2.6.1) racc (~> 1.4) os (1.1.1) public_suffix (4.0.6) @@ -97,13 +92,12 @@ GEM retriable (3.1.2) rexml (3.2.5) ruby-progressbar (1.10.1) - ruby2_keywords (0.0.4) + ruby2_keywords (0.0.5) signet (0.15.0) addressable (~> 2.3) faraday (>= 0.17.3, < 2.0) jwt (>= 1.5, < 3.0) multi_json (~> 1.10) - thor (1.1.0) trailblazer-option (0.1.1) tzinfo (2.0.4) concurrent-ruby (~> 1.0) diff --git a/ad_localize.gemspec b/ad_localize.gemspec index 719bd79..c1a9681 100644 --- a/ad_localize.gemspec +++ b/ad_localize.gemspec @@ -49,8 +49,8 @@ Gem::Specification.new do |spec| spec.add_dependency 'activesupport', '>= 6.1.3.2', '< 7.0' spec.add_dependency 'nokogiri', '~> 1.10' spec.add_dependency 'colorize', '~> 0.8' - spec.add_dependency 'google-api-client', '~> 0.34' spec.add_dependency 'googleauth', '~> 0.12' + spec.add_dependency 'google-apis-sheets_v4', '~> 0.9' spec.required_ruby_version = '>= 2.3' end