Skip to content

Commit

Permalink
Update gems + npm
Browse files Browse the repository at this point in the history
This brings us up from Rails 8.0.0.beta1 to 8.0.0.rc1. It also fixes
the GitHub Action: "scan_ruby", which was failing due to
`Brakeman 6.2.1 is not the latest version 6.2.2`.

With the Rails update, a new exception was being raised from our Routes
definitions. Apparently, `only: :none` is no longer allowed. Nor is
`except: :all`. So I've changed this to `only: []` instead. I tested for
other options here, and found that `only: nil` also works, but I think
I like `only: []` better, as it's more explicit.
  • Loading branch information
Paul DobbinSchmaltz committed Oct 23, 2024
1 parent 5df5377 commit 6668b54
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 62 deletions.
112 changes: 56 additions & 56 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,65 +1,65 @@
GEM
remote: https://rubygems.org/
specs:
actioncable (8.0.0.beta1)
actionpack (= 8.0.0.beta1)
activesupport (= 8.0.0.beta1)
actioncable (8.0.0.rc1)
actionpack (= 8.0.0.rc1)
activesupport (= 8.0.0.rc1)
nio4r (~> 2.0)
websocket-driver (>= 0.6.1)
zeitwerk (~> 2.6)
actionmailbox (8.0.0.beta1)
actionpack (= 8.0.0.beta1)
activejob (= 8.0.0.beta1)
activerecord (= 8.0.0.beta1)
activestorage (= 8.0.0.beta1)
activesupport (= 8.0.0.beta1)
actionmailbox (8.0.0.rc1)
actionpack (= 8.0.0.rc1)
activejob (= 8.0.0.rc1)
activerecord (= 8.0.0.rc1)
activestorage (= 8.0.0.rc1)
activesupport (= 8.0.0.rc1)
mail (>= 2.8.0)
actionmailer (8.0.0.beta1)
actionpack (= 8.0.0.beta1)
actionview (= 8.0.0.beta1)
activejob (= 8.0.0.beta1)
activesupport (= 8.0.0.beta1)
actionmailer (8.0.0.rc1)
actionpack (= 8.0.0.rc1)
actionview (= 8.0.0.rc1)
activejob (= 8.0.0.rc1)
activesupport (= 8.0.0.rc1)
mail (>= 2.8.0)
rails-dom-testing (~> 2.2)
actionpack (8.0.0.beta1)
actionview (= 8.0.0.beta1)
activesupport (= 8.0.0.beta1)
actionpack (8.0.0.rc1)
actionview (= 8.0.0.rc1)
activesupport (= 8.0.0.rc1)
nokogiri (>= 1.8.5)
rack (>= 2.2.4)
rack-session (>= 1.0.1)
rack-test (>= 0.6.3)
rails-dom-testing (~> 2.2)
rails-html-sanitizer (~> 1.6)
useragent (~> 0.16)
actiontext (8.0.0.beta1)
actionpack (= 8.0.0.beta1)
activerecord (= 8.0.0.beta1)
activestorage (= 8.0.0.beta1)
activesupport (= 8.0.0.beta1)
actiontext (8.0.0.rc1)
actionpack (= 8.0.0.rc1)
activerecord (= 8.0.0.rc1)
activestorage (= 8.0.0.rc1)
activesupport (= 8.0.0.rc1)
globalid (>= 0.6.0)
nokogiri (>= 1.8.5)
actionview (8.0.0.beta1)
activesupport (= 8.0.0.beta1)
actionview (8.0.0.rc1)
activesupport (= 8.0.0.rc1)
builder (~> 3.1)
erubi (~> 1.11)
rails-dom-testing (~> 2.2)
rails-html-sanitizer (~> 1.6)
activejob (8.0.0.beta1)
activesupport (= 8.0.0.beta1)
activejob (8.0.0.rc1)
activesupport (= 8.0.0.rc1)
globalid (>= 0.3.6)
activemodel (8.0.0.beta1)
activesupport (= 8.0.0.beta1)
activerecord (8.0.0.beta1)
activemodel (= 8.0.0.beta1)
activesupport (= 8.0.0.beta1)
activemodel (8.0.0.rc1)
activesupport (= 8.0.0.rc1)
activerecord (8.0.0.rc1)
activemodel (= 8.0.0.rc1)
activesupport (= 8.0.0.rc1)
timeout (>= 0.4.0)
activestorage (8.0.0.beta1)
actionpack (= 8.0.0.beta1)
activejob (= 8.0.0.beta1)
activerecord (= 8.0.0.beta1)
activesupport (= 8.0.0.beta1)
activestorage (8.0.0.rc1)
actionpack (= 8.0.0.rc1)
activejob (= 8.0.0.rc1)
activerecord (= 8.0.0.rc1)
activesupport (= 8.0.0.rc1)
marcel (~> 1.0)
activesupport (8.0.0.beta1)
activesupport (8.0.0.rc1)
base64
benchmark (>= 0.3)
bigdecimal
Expand All @@ -78,7 +78,7 @@ GEM
benchmark (0.3.0)
bigdecimal (3.1.8)
bindex (0.8.1)
brakeman (6.2.1)
brakeman (6.2.2)
racc
builder (3.3.0)
concurrent-ruby (1.3.4)
Expand Down Expand Up @@ -177,7 +177,7 @@ GEM
minitest (>= 5.0)
ruby-progressbar
much-stub (0.1.10)
net-imap (0.4.17)
net-imap (0.5.0)
date
net-protocol
net-pop (0.1.2)
Expand Down Expand Up @@ -225,30 +225,30 @@ GEM
rackup (2.1.0)
rack (>= 3)
webrick (~> 1.8)
rails (8.0.0.beta1)
actioncable (= 8.0.0.beta1)
actionmailbox (= 8.0.0.beta1)
actionmailer (= 8.0.0.beta1)
actionpack (= 8.0.0.beta1)
actiontext (= 8.0.0.beta1)
actionview (= 8.0.0.beta1)
activejob (= 8.0.0.beta1)
activemodel (= 8.0.0.beta1)
activerecord (= 8.0.0.beta1)
activestorage (= 8.0.0.beta1)
activesupport (= 8.0.0.beta1)
rails (8.0.0.rc1)
actioncable (= 8.0.0.rc1)
actionmailbox (= 8.0.0.rc1)
actionmailer (= 8.0.0.rc1)
actionpack (= 8.0.0.rc1)
actiontext (= 8.0.0.rc1)
actionview (= 8.0.0.rc1)
activejob (= 8.0.0.rc1)
activemodel (= 8.0.0.rc1)
activerecord (= 8.0.0.rc1)
activestorage (= 8.0.0.rc1)
activesupport (= 8.0.0.rc1)
bundler (>= 1.15.0)
railties (= 8.0.0.beta1)
railties (= 8.0.0.rc1)
rails-dom-testing (2.2.0)
activesupport (>= 5.0.0)
minitest
nokogiri (>= 1.6)
rails-html-sanitizer (1.6.0)
loofah (~> 2.21)
nokogiri (~> 1.14)
railties (8.0.0.beta1)
actionpack (= 8.0.0.beta1)
activesupport (= 8.0.0.beta1)
railties (8.0.0.rc1)
actionpack (= 8.0.0.rc1)
activesupport (= 8.0.0.rc1)
irb (~> 1.13)
rackup (>= 1.0.0)
rake (>= 12.2)
Expand Down Expand Up @@ -357,7 +357,7 @@ GEM
websocket-extensions (>= 0.1.0)
websocket-extensions (0.1.5)
yard (0.9.37)
zeitwerk (2.7.0)
zeitwerk (2.7.1)

PLATFORMS
aarch64-linux
Expand Down
6 changes: 3 additions & 3 deletions config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
scope module: :games do
resource :user, only: %i[edit update]

resources :boards, only: :none do
resources :boards, only: [] do
scope module: :boards do
resources :cells, only: :none do
resources :cells, only: [] do
scope module: :cells do
resource :reveal, only: :create
resource :toggle_flag, only: :create
Expand All @@ -30,7 +30,7 @@
end

resources :users, only: :show
resource :current_user, only: :none do
resource :current_user, only: [] do
scope module: :current_user do
resource :time_zone_update, only: :create
end
Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6668b54

Please sign in to comment.