From cf275a98ff4b0283b858f5e813a818c8d0f6dfd2 Mon Sep 17 00:00:00 2001 From: Christina Chortaria Date: Fri, 21 Jun 2024 12:44:22 -0400 Subject: [PATCH] Bundle update omniauth (#296) * Bundle update omniauth related to https://github.com/pulibrary/dacs_handbook/issues/192 * add omniauth update omniauth-rails_csrf_protection Co-authored-by: Jane Sandberg --------- Co-authored-by: Jane Sandberg --- Gemfile | 1 + Gemfile.lock | 50 ++++++++++++++++++++++++++++---------------------- db/schema.rb | 2 +- 3 files changed, 30 insertions(+), 23 deletions(-) diff --git a/Gemfile b/Gemfile index 623e754..ac75163 100644 --- a/Gemfile +++ b/Gemfile @@ -31,6 +31,7 @@ gem 'bootsnap', '>= 1.1.0', require: false # Single sign on gem 'devise' +gem 'omniauth' gem 'omniauth-cas' gem 'omniauth-rails_csrf_protection' diff --git a/Gemfile.lock b/Gemfile.lock index 032259c..a26e45f 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -66,7 +66,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) airbrussh (1.5.0) sshkit (>= 1.6.1, != 1.7.0) @@ -82,12 +82,13 @@ GEM descendants_tracker (~> 0.0.4) ice_nine (~> 0.11.0) thread_safe (~> 0.3, >= 0.3.1) + base64 (0.2.0) bcrypt (3.1.19) bcrypt_pbkdf (1.1.0) bindex (0.8.1) bootsnap (1.16.0) msgpack (~> 1.2) - builder (3.2.4) + builder (3.3.0) byebug (11.1.3) capistrano (3.17.3) airbrussh (>= 1.0.0) @@ -115,7 +116,7 @@ GEM chronic (0.10.2) coercible (1.0.0) descendants_tracker (~> 0.0.1) - concurrent-ruby (1.2.3) + concurrent-ruby (1.3.3) crass (1.0.6) date (3.3.4) descendants_tracker (0.0.4) @@ -131,7 +132,7 @@ GEM dry-cli (1.0.0) dumb_delegator (1.0.0) ed25519 (1.3.0) - erubi (1.12.0) + erubi (1.13.0) factory_bot (6.3.0) activesupport (>= 5.0.0) ffi (1.16.2) @@ -142,7 +143,7 @@ GEM activesupport (>= 6.1) hashie (5.0.0) honeybadger (4.12.2) - i18n (1.14.1) + i18n (1.14.5) concurrent-ruby (~> 1.0) ice_nine (0.11.2) jbuilder (2.11.5) @@ -165,8 +166,8 @@ GEM matrix (0.4.2) method_source (1.0.0) mini_mime (1.1.5) - mini_portile2 (2.8.6) - minitest (5.22.2) + mini_portile2 (2.8.7) + minitest (5.24.0) msgpack (1.7.2) net-imap (0.4.10) date @@ -182,25 +183,26 @@ GEM net-protocol net-ssh (7.2.0) nio4r (2.7.0) - nokogiri (1.16.5) + nokogiri (1.16.6) mini_portile2 (~> 2.8.2) racc (~> 1.4) - nokogiri (1.16.5-arm64-darwin) + nokogiri (1.16.6-arm64-darwin) racc (~> 1.4) - nokogiri (1.16.5-x86_64-darwin) + nokogiri (1.16.6-x86_64-darwin) racc (~> 1.4) - nokogiri (1.16.5-x86_64-linux) + nokogiri (1.16.6-x86_64-linux) racc (~> 1.4) - omniauth (1.9.2) + omniauth (2.1.2) hashie (>= 3.4.6) - rack (>= 1.6.2, < 3) - omniauth-cas (2.0.0) - addressable (~> 2.3) - nokogiri (~> 1.5) - omniauth (~> 1.2) - omniauth-rails_csrf_protection (0.1.2) + rack (>= 2.2.3) + rack-protection + omniauth-cas (3.0.0) + addressable (~> 2.8) + nokogiri (~> 1.12) + omniauth (~> 2.1) + omniauth-rails_csrf_protection (1.0.2) actionpack (>= 4.2) - omniauth (>= 1.3.1) + omniauth (~> 2.0) orm_adapter (0.5.0) pagy (4.11.0) parallel (1.23.0) @@ -208,11 +210,14 @@ GEM ast (~> 2.4.1) racc pg (1.5.4) - public_suffix (5.0.3) + public_suffix (5.1.1) puma (6.4.2) nio4r (~> 2.0) - racc (1.7.3) - rack (2.2.8.1) + racc (1.8.0) + rack (2.2.9) + rack-protection (3.2.0) + base64 (>= 0.1.0) + rack (~> 2.2, >= 2.2.4) rack-proxy (0.7.7) rack rack-test (2.1.0) @@ -383,6 +388,7 @@ DEPENDENCIES jbuilder (~> 2.5) listen net-ldap + omniauth omniauth-cas omniauth-rails_csrf_protection pagy (< 5.0.0) diff --git a/db/schema.rb b/db/schema.rb index 1b3a006..6d33589 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -39,9 +39,9 @@ t.bigint "user_id" t.datetime "created_at", precision: nil, null: false t.datetime "updated_at", precision: nil, null: false - t.boolean "archived", default: false t.bigint "building_id", default: 1 t.boolean "complete", default: false + t.boolean "archived", default: false t.text "accessibility_needs", default: [], array: true t.index ["building_id"], name: "index_locker_applications_on_building_id" t.index ["user_id"], name: "index_locker_applications_on_user_id"