From f605273f80fd78f66818a257314191124d28df55 Mon Sep 17 00:00:00 2001 From: Jade Alejandra Ornelas Date: Tue, 20 May 2025 11:26:24 -0700 Subject: [PATCH] Restrict gemspec to Oauth gem <= 2.0.10 Oauth2 version 2.0.10 introduced a breaking change that breaks this gem, this PR restricts the dependency to the last known working version --- omniauth-microsoft_graph.gemspec | 1 + 1 file changed, 1 insertion(+) diff --git a/omniauth-microsoft_graph.gemspec b/omniauth-microsoft_graph.gemspec index cad4774..07eda07 100644 --- a/omniauth-microsoft_graph.gemspec +++ b/omniauth-microsoft_graph.gemspec @@ -21,6 +21,7 @@ Gem::Specification.new do |spec| spec.add_runtime_dependency 'jwt', '~> 2.0' spec.add_runtime_dependency 'omniauth', '~> 2.0' spec.add_runtime_dependency 'omniauth-oauth2', '~> 1.8.0' + spec.add_runtime_dependency 'oauth2', [">= 2.0.2", "< 2.0.10"] spec.add_development_dependency "sinatra", '~> 2.2' spec.add_development_dependency "rake", '~> 12.3.3', '>= 12.3.3' spec.add_development_dependency 'rspec', '~> 3.6'