From c1eafaa462f5147612be4dc2b56d9cec33da033c Mon Sep 17 00:00:00 2001 From: Mike Biang Date: Thu, 9 Sep 2021 17:04:05 -0500 Subject: [PATCH 1/2] Update Github Gem Versions --- Gemfile.lock | 38 +++++++++++++++++++++----------------- 1 file changed, 21 insertions(+), 17 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 5bb01fdc..1a80b3a8 100755 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -145,7 +145,7 @@ GEM globalid (0.4.2) activesupport (>= 4.2.0) hashdiff (0.3.8) - hashie (3.6.0) + hashie (4.1.0) html-pipeline (2.12.0) activesupport (>= 2) nokogiri (>= 1.4) @@ -163,7 +163,7 @@ GEM multi_json (>= 1.2) jmespath (1.4.0) json (2.2.0) - jwt (2.1.0) + jwt (2.2.3) kaminari (1.1.1) activesupport (>= 4.1.0) kaminari-actionview (= 1.1.1) @@ -194,7 +194,9 @@ GEM mime-types (3.2.2) mime-types-data (~> 3.2015) mime-types-data (3.2018.0812) - mimemagic (0.3.3) + mimemagic (0.3.10) + nokogiri (~> 1) + rake mini_mime (1.0.1) mini_portile2 (2.4.0) minitest (5.11.3) @@ -209,23 +211,25 @@ GEM nokogumbo (2.0.1) nokogiri (~> 1.8, >= 1.8.4) numerizer (0.1.1) - oauth2 (1.4.1) - faraday (>= 0.8, < 0.16.0) + oauth2 (1.4.7) + faraday (>= 0.8, < 2.0) jwt (>= 1.0, < 3.0) multi_json (~> 1.3) multi_xml (~> 0.5) rack (>= 1.2, < 3) - octokit (4.13.0) + octokit (4.21.0) + faraday (>= 0.9) sawyer (~> 0.8.0, >= 0.5.3) - omniauth (1.9.0) - hashie (>= 3.4.6, < 3.7.0) + omniauth (2.0.4) + hashie (>= 3.4.6) rack (>= 1.6.2, < 3) - omniauth-github (1.3.0) - omniauth (~> 1.5) - omniauth-oauth2 (>= 1.4.0, < 2.0) - omniauth-oauth2 (1.6.0) - oauth2 (~> 1.1) - omniauth (~> 1.9) + rack-protection + omniauth-github (2.0.0) + omniauth (~> 2.0) + omniauth-oauth2 (~> 1.7.1) + omniauth-oauth2 (1.7.1) + oauth2 (~> 1.4) + omniauth (>= 1.9, < 3) parallel (1.14.0) parser (2.6.0.0) ast (~> 2.4.0) @@ -353,9 +357,9 @@ GEM sprockets (>= 2.8, < 4.0) sprockets-rails (>= 2.0, < 4.0) tilt (>= 1.1, < 3) - sawyer (0.8.1) - addressable (>= 2.3.5, < 2.6) - faraday (~> 0.8, < 1.0) + sawyer (0.8.2) + addressable (>= 2.3.5) + faraday (> 0.8, < 2.0) select2-rails (4.0.3) thor (~> 0.14) selenium-webdriver (3.141.0) From 1917936a9afd025fb426507aae2b12f3557a1861 Mon Sep 17 00:00:00 2001 From: Mike Biang Date: Thu, 9 Sep 2021 17:24:34 -0500 Subject: [PATCH 2/2] Allow get requests for Omniauth --- config/initializers/omniauth.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/config/initializers/omniauth.rb b/config/initializers/omniauth.rb index 6f6b9181..fd69dd61 100755 --- a/config/initializers/omniauth.rb +++ b/config/initializers/omniauth.rb @@ -35,3 +35,4 @@ # Use the Rails logger OmniAuth.config.logger = Rails.logger +OmniAuth.config.allowed_request_methods = [:post, :get]