From cffa5fe05ab9e943639784b6ba84a002e2397850 Mon Sep 17 00:00:00 2001 From: Matt Rohrer Date: Sun, 30 Nov 2025 15:50:50 +0100 Subject: [PATCH] Relax version constraint for jwt gem Before this commit adding this gem downgraded JWT from 3.1.x to 2.x. for our app. Tests are passing with JWT 3.1.2, the latest version. --- omniauth-microsoft_graph.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/omniauth-microsoft_graph.gemspec b/omniauth-microsoft_graph.gemspec index cad4774..ed20f0d 100644 --- a/omniauth-microsoft_graph.gemspec +++ b/omniauth-microsoft_graph.gemspec @@ -18,7 +18,7 @@ Gem::Specification.new do |spec| spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) spec.require_paths = ["lib"] - spec.add_runtime_dependency 'jwt', '~> 2.0' + spec.add_runtime_dependency 'jwt', '>= 2.0', '< 4.0' spec.add_runtime_dependency 'omniauth', '~> 2.0' spec.add_runtime_dependency 'omniauth-oauth2', '~> 1.8.0' spec.add_development_dependency "sinatra", '~> 2.2'