From d8bc1e3dfa5aa8662e26dc02f5f78ea7d56bbdf1 Mon Sep 17 00:00:00 2001 From: Jenkins Date: Mon, 11 Dec 2023 02:34:02 -0800 Subject: [PATCH 1/2] Update Ruby dependencies --- Gemfile.lock | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 9eaae1b5..c83729c8 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -69,7 +69,7 @@ GEM i18n (>= 1.6, < 2) minitest (>= 5.1) tzinfo (~> 2.0) - addressable (2.8.5) + addressable (2.8.6) public_suffix (>= 2.0.2, < 6.0) ahoy_matey (5.0.2) activesupport (>= 6.1) @@ -135,9 +135,9 @@ GEM cssbundling-rails (1.3.3) railties (>= 6.0.0) date (3.3.4) - debug (1.8.0) - irb (>= 1.5.0) - reline (>= 0.3.1) + debug (1.9.0) + irb (~> 1.10) + reline (>= 0.3.8) deep_merge (1.2.2) device_detector (1.1.2) devise (4.9.3) @@ -208,7 +208,7 @@ GEM activesupport (>= 6.1) hashdiff (1.0.1) highline (2.1.0) - honeybadger (5.3.0) + honeybadger (5.4.0) http (5.1.1) addressable (~> 2.8) http-cookie (~> 1.0) @@ -238,13 +238,13 @@ GEM activesupport (>= 3.0) nokogiri (>= 1.6) io-console (0.6.0) - irb (1.10.0) + irb (1.10.1) rdoc reline (>= 0.3.8) jbuilder (2.11.5) actionview (>= 5.0.0) activesupport (>= 5.0.0) - json (2.7.0) + json (2.7.1) jwt (2.7.1) kaminari (1.2.2) activesupport (>= 4.1.0) @@ -355,13 +355,13 @@ GEM zeitwerk (~> 2.5) rainbow (3.1.1) rake (13.1.0) - rdoc (6.6.0) + rdoc (6.6.1) psych (>= 4.0.0) redis (5.0.8) redis-client (>= 0.17.0) - redis-client (0.18.0) + redis-client (0.19.0) connection_pool - regexp_parser (2.8.2) + regexp_parser (2.8.3) reline (0.4.1) io-console (~> 0.5) request_store (1.5.1) @@ -388,7 +388,7 @@ GEM rspec-mocks (~> 3.12) rspec-support (~> 3.12) rspec-support (3.12.1) - rubocop (1.58.0) + rubocop (1.59.0) json (~> 2.3) language_server-protocol (>= 3.17.0) parallel (~> 1.10) @@ -421,7 +421,7 @@ GEM rubyzip (2.3.2) safely_block (0.4.0) scrub_rb (1.0.1) - selenium-webdriver (4.15.0) + selenium-webdriver (4.16.0) rexml (~> 3.2, >= 3.2.5) rubyzip (>= 1.2.2, < 3.0) websocket (~> 1.0) From 84c9de8751d337a76c7c02c6affd848975869d22 Mon Sep 17 00:00:00 2001 From: Justin Coyne Date: Mon, 11 Dec 2023 07:09:13 -0600 Subject: [PATCH 2/2] Fix Style/RedundantArgument cop --- app/controllers/concerns/jwt_token_concern.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/concerns/jwt_token_concern.rb b/app/controllers/concerns/jwt_token_concern.rb index 0f8434f2..9ba3478f 100644 --- a/app/controllers/concerns/jwt_token_concern.rb +++ b/app/controllers/concerns/jwt_token_concern.rb @@ -7,7 +7,7 @@ module JwtTokenConcern private def jwt_token - type, token = request.headers['Authorization']&.split(' ') + type, token = request.headers['Authorization']&.split token if type == 'Bearer' end