From df4aea83595b3a118b55142d05848e385c269397 Mon Sep 17 00:00:00 2001 From: Trevor John Date: Sun, 3 Dec 2023 02:58:07 -0500 Subject: [PATCH] Upgrade omniauth-oauth2 to allow for omniauth 2.0 --- Gemfile.lock | 10 +++++----- omniauth-gusto.gemspec | 2 +- spec/spec_helper.rb | 1 - 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 7b86250..ce7f0cd 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -2,7 +2,7 @@ PATH remote: . specs: omniauth-gusto (1.0.1) - omniauth-oauth2 (~> 1.6) + omniauth-oauth2 (~> 1.7) GEM remote: https://rubygems.org/ @@ -29,9 +29,9 @@ GEM omniauth (1.9.0) hashie (>= 3.4.6, < 3.7.0) rack (>= 1.6.2, < 3) - omniauth-oauth2 (1.6.0) - oauth2 (~> 1.1) - omniauth (~> 1.9) + omniauth-oauth2 (1.7.3) + oauth2 (>= 1.4, < 3) + omniauth (>= 1.9, < 3) parallel (1.17.0) parser (2.6.3.0) ast (~> 2.4.0) @@ -82,4 +82,4 @@ DEPENDENCIES rubocop BUNDLED WITH - 2.0.2 + 2.4.22 diff --git a/omniauth-gusto.gemspec b/omniauth-gusto.gemspec index cf98047..ac04297 100644 --- a/omniauth-gusto.gemspec +++ b/omniauth-gusto.gemspec @@ -20,7 +20,7 @@ Gem::Specification.new do |spec| spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } spec.require_paths = ['lib'] - spec.add_dependency 'omniauth-oauth2', '~> 1.6' + spec.add_dependency 'omniauth-oauth2', '~> 1.7' spec.add_development_dependency 'bundler', '~> 2.0' spec.add_development_dependency 'pry-byebug' spec.add_development_dependency 'rake', '~> 10.0' diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 56fd580..0d6e4f7 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -6,7 +6,6 @@ # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration RSpec.configure do |config| - config.treat_symbols_as_metadata_keys_with_true_values = true config.run_all_when_everything_filtered = true config.filter_run :focus