diff --git a/Gemfile.lock b/Gemfile.lock index f67a690..71c72c0 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -75,8 +75,8 @@ GEM minitest (>= 5.1) mutex_m tzinfo (~> 2.0) - addressable (2.8.0) - public_suffix (>= 2.0.2, < 5.0) + addressable (2.8.6) + public_suffix (>= 2.0.2, < 6.0) administrate (0.20.1) actionpack (>= 6.0, < 8.0) actionview (>= 6.0, < 8.0) @@ -97,7 +97,8 @@ GEM byebug (11.1.3) concurrent-ruby (1.2.3) connection_pool (2.4.1) - crack (0.4.5) + crack (1.0.0) + bigdecimal rexml crass (1.0.6) database_cleaner (2.0.2) @@ -147,7 +148,7 @@ GEM ffi (1.16.3) globalid (1.2.1) activesupport (>= 6.1) - hashdiff (1.0.1) + hashdiff (1.1.0) i18n (1.14.4) concurrent-ruby (~> 1.0) io-console (0.7.2) @@ -209,7 +210,7 @@ GEM pg (1.5.6) psych (5.1.2) stringio - public_suffix (4.0.6) + public_suffix (5.0.5) puma (6.4.2) nio4r (~> 2.0) racc (1.7.3) @@ -334,7 +335,7 @@ GEM activemodel (>= 6.0.0) bindex (>= 0.4.0) railties (>= 6.0.0) - webmock (3.14.0) + webmock (3.23.0) addressable (>= 2.8.0) crack (>= 0.3.2) hashdiff (>= 0.4.0, < 2.0.0) diff --git a/app/models/auth_server.rb b/app/models/auth_server.rb index f654208..d7a696b 100644 --- a/app/models/auth_server.rb +++ b/app/models/auth_server.rb @@ -23,7 +23,7 @@ def openid_configuration_url=(new_url) response = faraday_connection.get(new_url).body self.authorization_endpoint = response.authorization_endpoint self.token_endpoint = response.token_endpoint - rescue NoMethodError, URI::Error, Faraday::Error => _e + rescue NoMethodError, URI::Error, Faraday::Error, Addressable::URI::InvalidURIError => _e @configuration_fetch_failed = true end end