Upgrade to rails 7

This commit is contained in:
Jesse C. Fisher 2023-12-03 16:22:44 +00:00
parent 6ff340f58b
commit f366db0ee5
2 changed files with 128 additions and 96 deletions

View File

@ -1,6 +1,6 @@
source 'https://rubygems.org' source 'https://rubygems.org'
ruby '2.7.7' ruby '2.7.7'
gem 'rails', '~> 6.0' gem 'rails', '~> 7.0'
# TODO Upgrade sprockets # TODO Upgrade sprockets
gem 'redis', '~> 4.0' gem 'redis', '~> 4.0'
gem 'sprockets' #, '~> 3.7' gem 'sprockets' #, '~> 3.7'

View File

@ -8,68 +8,83 @@ GIT
GEM GEM
remote: https://rubygems.org/ remote: https://rubygems.org/
specs: specs:
actioncable (6.1.7.6) actioncable (7.1.2)
actionpack (= 6.1.7.6) actionpack (= 7.1.2)
activesupport (= 6.1.7.6) activesupport (= 7.1.2)
nio4r (~> 2.0) nio4r (~> 2.0)
websocket-driver (>= 0.6.1) websocket-driver (>= 0.6.1)
actionmailbox (6.1.7.6) zeitwerk (~> 2.6)
actionpack (= 6.1.7.6) actionmailbox (7.1.2)
activejob (= 6.1.7.6) actionpack (= 7.1.2)
activerecord (= 6.1.7.6) activejob (= 7.1.2)
activestorage (= 6.1.7.6) activerecord (= 7.1.2)
activesupport (= 6.1.7.6) activestorage (= 7.1.2)
activesupport (= 7.1.2)
mail (>= 2.7.1) mail (>= 2.7.1)
actionmailer (6.1.7.6) net-imap
actionpack (= 6.1.7.6) net-pop
actionview (= 6.1.7.6) net-smtp
activejob (= 6.1.7.6) actionmailer (7.1.2)
activesupport (= 6.1.7.6) actionpack (= 7.1.2)
actionview (= 7.1.2)
activejob (= 7.1.2)
activesupport (= 7.1.2)
mail (~> 2.5, >= 2.5.4) mail (~> 2.5, >= 2.5.4)
rails-dom-testing (~> 2.0) net-imap
actionpack (6.1.7.6) net-pop
actionview (= 6.1.7.6) net-smtp
activesupport (= 6.1.7.6) rails-dom-testing (~> 2.2)
rack (~> 2.0, >= 2.0.9) actionpack (7.1.2)
rack-test (>= 0.6.3) actionview (= 7.1.2)
rails-dom-testing (~> 2.0) activesupport (= 7.1.2)
rails-html-sanitizer (~> 1.0, >= 1.2.0)
actiontext (6.1.7.6)
actionpack (= 6.1.7.6)
activerecord (= 6.1.7.6)
activestorage (= 6.1.7.6)
activesupport (= 6.1.7.6)
nokogiri (>= 1.8.5) nokogiri (>= 1.8.5)
actionview (6.1.7.6) racc
activesupport (= 6.1.7.6) rack (>= 2.2.4)
rack-session (>= 1.0.1)
rack-test (>= 0.6.3)
rails-dom-testing (~> 2.2)
rails-html-sanitizer (~> 1.6)
actiontext (7.1.2)
actionpack (= 7.1.2)
activerecord (= 7.1.2)
activestorage (= 7.1.2)
activesupport (= 7.1.2)
globalid (>= 0.6.0)
nokogiri (>= 1.8.5)
actionview (7.1.2)
activesupport (= 7.1.2)
builder (~> 3.1) builder (~> 3.1)
erubi (~> 1.4) erubi (~> 1.11)
rails-dom-testing (~> 2.0) rails-dom-testing (~> 2.2)
rails-html-sanitizer (~> 1.1, >= 1.2.0) rails-html-sanitizer (~> 1.6)
activejob (6.1.7.6) activejob (7.1.2)
activesupport (= 6.1.7.6) activesupport (= 7.1.2)
globalid (>= 0.3.6) globalid (>= 0.3.6)
activejob-status (1.0.0) activejob-status (1.0.0)
activejob (>= 6.0) activejob (>= 6.0)
activesupport (>= 6.0) activesupport (>= 6.0)
activemodel (6.1.7.6) activemodel (7.1.2)
activesupport (= 6.1.7.6) activesupport (= 7.1.2)
activerecord (6.1.7.6) activerecord (7.1.2)
activemodel (= 6.1.7.6) activemodel (= 7.1.2)
activesupport (= 6.1.7.6) activesupport (= 7.1.2)
activestorage (6.1.7.6) timeout (>= 0.4.0)
actionpack (= 6.1.7.6) activestorage (7.1.2)
activejob (= 6.1.7.6) actionpack (= 7.1.2)
activerecord (= 6.1.7.6) activejob (= 7.1.2)
activesupport (= 6.1.7.6) activerecord (= 7.1.2)
activesupport (= 7.1.2)
marcel (~> 1.0) marcel (~> 1.0)
mini_mime (>= 1.1.0) activesupport (7.1.2)
activesupport (6.1.7.6) base64
bigdecimal
concurrent-ruby (~> 1.0, >= 1.0.2) concurrent-ruby (~> 1.0, >= 1.0.2)
connection_pool (>= 2.2.5)
drb
i18n (>= 1.6, < 2) i18n (>= 1.6, < 2)
minitest (>= 5.1) minitest (>= 5.1)
mutex_m
tzinfo (~> 2.0) tzinfo (~> 2.0)
zeitwerk (~> 2.3)
addressable (2.8.5) addressable (2.8.5)
public_suffix (>= 2.0.2, < 6.0) public_suffix (>= 2.0.2, < 6.0)
airbrussh (1.5.0) airbrussh (1.5.0)
@ -79,13 +94,14 @@ GEM
babel-transpiler (0.7.0) babel-transpiler (0.7.0)
babel-source (>= 4.0, < 6) babel-source (>= 4.0, < 6)
execjs (~> 2.0) execjs (~> 2.0)
base64 (0.1.1) base64 (0.2.0)
bcrypt (3.1.19) bcrypt (3.1.20)
bcrypt_pbkdf (1.1.0) bcrypt_pbkdf (1.1.0)
better_errors (2.10.1) better_errors (2.10.1)
erubi (>= 1.0.0) erubi (>= 1.0.0)
rack (>= 0.9.0) rack (>= 0.9.0)
rouge (>= 1.0.0) rouge (>= 1.0.0)
bigdecimal (3.1.4)
binding_of_caller (1.0.0) binding_of_caller (1.0.0)
debug_inspector (>= 0.0.1) debug_inspector (>= 0.0.1)
builder (3.2.4) builder (3.2.4)
@ -153,7 +169,7 @@ GEM
activerecord (>= 5.a) activerecord (>= 5.a)
database_cleaner-core (~> 2.0.0) database_cleaner-core (~> 2.0.0)
database_cleaner-core (2.0.1) database_cleaner-core (2.0.1)
date (3.3.3) date (3.3.4)
debug_inspector (1.1.0) debug_inspector (1.1.0)
delayed_job (4.1.11) delayed_job (4.1.11)
activesupport (>= 3.0, < 8.0) activesupport (>= 3.0, < 8.0)
@ -166,7 +182,7 @@ GEM
railties (>= 4.1.0) railties (>= 4.1.0)
responders responders
warden (~> 1.2.3) warden (~> 1.2.3)
devise_invitable (2.0.8) devise_invitable (2.0.9)
actionmailer (>= 5.0) actionmailer (>= 5.0)
devise (>= 4.6) devise (>= 4.6)
diff-lcs (1.5.0) diff-lcs (1.5.0)
@ -175,6 +191,8 @@ GEM
dotenv-rails (2.8.1) dotenv-rails (2.8.1)
dotenv (= 2.8.1) dotenv (= 2.8.1)
railties (>= 3.2) railties (>= 3.2)
drb (2.2.0)
ruby2_keywords
dry-core (1.0.0) dry-core (1.0.0)
concurrent-ruby (~> 1.0) concurrent-ruby (~> 1.0)
zeitwerk (~> 2.6) zeitwerk (~> 2.6)
@ -207,7 +225,7 @@ GEM
factory_girl_rails (4.9.0) factory_girl_rails (4.9.0)
factory_girl (~> 4.9.0) factory_girl (~> 4.9.0)
railties (>= 3.0.0) railties (>= 3.0.0)
faker (3.2.1) faker (3.2.2)
i18n (>= 1.8.11, < 2) i18n (>= 1.8.11, < 2)
faraday (2.7.12) faraday (2.7.12)
base64 base64
@ -271,13 +289,18 @@ GEM
i18n (1.14.1) i18n (1.14.1)
concurrent-ruby (~> 1.0) concurrent-ruby (~> 1.0)
ice_nine (0.11.2) ice_nine (0.11.2)
importmap-rails (1.2.1) importmap-rails (1.2.3)
actionpack (>= 6.0.0) actionpack (>= 6.0.0)
activesupport (>= 6.0.0)
railties (>= 6.0.0) railties (>= 6.0.0)
inline_svg (1.9.0) inline_svg (1.9.0)
activesupport (>= 3.0) activesupport (>= 3.0)
nokogiri (>= 1.6) nokogiri (>= 1.6)
interception (0.5) interception (0.5)
io-console (0.6.0)
irb (1.9.1)
rdoc
reline (>= 0.3.8)
jbuilder (2.11.5) jbuilder (2.11.5)
actionview (>= 5.0.0) actionview (>= 5.0.0)
activesupport (>= 5.0.0) activesupport (>= 5.0.0)
@ -287,17 +310,17 @@ GEM
thor (>= 0.14, < 2.0) thor (>= 0.14, < 2.0)
jquery-ui-rails (6.0.1) jquery-ui-rails (6.0.1)
railties (>= 3.2.16) railties (>= 3.2.16)
json (2.6.3) json (2.7.0)
language_server-protocol (3.17.0.3) language_server-protocol (3.17.0.3)
launchy (2.5.2) launchy (2.5.2)
addressable (~> 2.8) addressable (~> 2.8)
listen (3.8.0) listen (3.8.0)
rb-fsevent (~> 0.10, >= 0.10.3) rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10) rb-inotify (~> 0.9, >= 0.9.10)
loofah (2.21.4) loofah (2.22.0)
crass (~> 1.0.2) crass (~> 1.0.2)
nokogiri (>= 1.12.0) nokogiri (>= 1.12.0)
lumberjack (1.2.9) lumberjack (1.2.10)
mail (2.8.1) mail (2.8.1)
mini_mime (>= 0.1.1) mini_mime (>= 0.1.1)
net-imap net-imap
@ -311,21 +334,22 @@ GEM
minitest (5.20.0) minitest (5.20.0)
multi_json (1.15.0) multi_json (1.15.0)
multipart-post (2.3.0) multipart-post (2.3.0)
mutex_m (0.2.0)
nenv (0.3.0) nenv (0.3.0)
net-imap (0.4.2) net-imap (0.4.7)
date date
net-protocol net-protocol
net-pop (0.1.2) net-pop (0.1.2)
net-protocol net-protocol
net-protocol (0.2.1) net-protocol (0.2.2)
timeout timeout
net-scp (4.0.0) net-scp (4.0.0)
net-ssh (>= 2.6.5, < 8.0.0) net-ssh (>= 2.6.5, < 8.0.0)
net-smtp (0.4.0) net-smtp (0.4.0)
net-protocol net-protocol
net-ssh (7.2.0) net-ssh (7.2.0)
nio4r (2.5.9) nio4r (2.7.0)
nokogiri (1.15.4) nokogiri (1.15.5)
mini_portile2 (~> 2.8.2) mini_portile2 (~> 2.8.2)
racc (~> 1.4) racc (~> 1.4)
notiffany (0.1.3) notiffany (0.1.3)
@ -349,31 +373,35 @@ GEM
pry (>= 0.12.0) pry (>= 0.12.0)
psych (5.1.1.1) psych (5.1.1.1)
stringio stringio
public_suffix (5.0.3) public_suffix (5.0.4)
puma (3.12.6) puma (3.12.6)
pundit (2.3.1) pundit (2.3.1)
activesupport (>= 3.0.0) activesupport (>= 3.0.0)
racc (1.7.1) racc (1.7.3)
rack (2.2.8) rack (3.0.8)
rack-livereload (0.5.1) rack-livereload (0.5.1)
rack rack
rack-session (2.0.0)
rack (>= 3.0.0)
rack-test (2.1.0) rack-test (2.1.0)
rack (>= 1.3) rack (>= 1.3)
rails (6.1.7.6) rackup (2.1.0)
actioncable (= 6.1.7.6) rack (>= 3)
actionmailbox (= 6.1.7.6) webrick (~> 1.8)
actionmailer (= 6.1.7.6) rails (7.1.2)
actionpack (= 6.1.7.6) actioncable (= 7.1.2)
actiontext (= 6.1.7.6) actionmailbox (= 7.1.2)
actionview (= 6.1.7.6) actionmailer (= 7.1.2)
activejob (= 6.1.7.6) actionpack (= 7.1.2)
activemodel (= 6.1.7.6) actiontext (= 7.1.2)
activerecord (= 6.1.7.6) actionview (= 7.1.2)
activestorage (= 6.1.7.6) activejob (= 7.1.2)
activesupport (= 6.1.7.6) activemodel (= 7.1.2)
activerecord (= 7.1.2)
activestorage (= 7.1.2)
activesupport (= 7.1.2)
bundler (>= 1.15.0) bundler (>= 1.15.0)
railties (= 6.1.7.6) railties (= 7.1.2)
sprockets-rails (>= 2.0.0)
rails-dom-testing (2.2.0) rails-dom-testing (2.2.0)
activesupport (>= 5.0.0) activesupport (>= 5.0.0)
minitest minitest
@ -382,14 +410,16 @@ GEM
loofah (~> 2.21) loofah (~> 2.21)
nokogiri (~> 1.14) nokogiri (~> 1.14)
rails_layout (1.0.42) rails_layout (1.0.42)
railties (6.1.7.6) railties (7.1.2)
actionpack (= 6.1.7.6) actionpack (= 7.1.2)
activesupport (= 6.1.7.6) activesupport (= 7.1.2)
method_source irb
rackup (>= 1.0.0)
rake (>= 12.2) rake (>= 12.2)
thor (~> 1.0) thor (~> 1.0, >= 1.2.2)
zeitwerk (~> 2.6)
rainbow (3.1.1) rainbow (3.1.1)
rake (13.0.6) rake (13.1.0)
rb-fchange (0.0.6) rb-fchange (0.0.6)
ffi ffi
rb-fsevent (0.11.2) rb-fsevent (0.11.2)
@ -399,7 +429,7 @@ GEM
ffi ffi
rbnacl-libsodium (1.0.16) rbnacl-libsodium (1.0.16)
rbnacl (>= 3.0.1) rbnacl (>= 3.0.1)
rdoc (6.5.0) rdoc (6.6.0)
psych (>= 4.0.0) psych (>= 4.0.0)
react-rails (3.1.1) react-rails (3.1.1)
babel-transpiler (>= 0.7.0) babel-transpiler (>= 0.7.0)
@ -409,11 +439,13 @@ GEM
tilt tilt
redis (4.8.1) redis (4.8.1)
regexp_parser (2.8.2) regexp_parser (2.8.2)
reline (0.4.1)
io-console (~> 0.5)
responders (3.1.1) responders (3.1.1)
actionpack (>= 5.2) actionpack (>= 5.2)
railties (>= 5.2) railties (>= 5.2)
rexml (3.2.6) rexml (3.2.6)
rouge (4.1.3) rouge (4.2.0)
rspec (3.12.0) rspec (3.12.0)
rspec-core (~> 3.12.0) rspec-core (~> 3.12.0)
rspec-expectations (~> 3.12.0) rspec-expectations (~> 3.12.0)
@ -426,7 +458,7 @@ GEM
rspec-mocks (3.12.6) rspec-mocks (3.12.6)
diff-lcs (>= 1.2.0, < 2.0) diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.12.0) rspec-support (~> 3.12.0)
rspec-rails (6.0.3) rspec-rails (6.1.0)
actionpack (>= 6.1) actionpack (>= 6.1)
activesupport (>= 6.1) activesupport (>= 6.1)
railties (>= 6.1) railties (>= 6.1)
@ -435,8 +467,7 @@ GEM
rspec-mocks (~> 3.12) rspec-mocks (~> 3.12)
rspec-support (~> 3.12) rspec-support (~> 3.12)
rspec-support (3.12.1) rspec-support (3.12.1)
rubocop (1.57.1) rubocop (1.58.0)
base64 (~> 0.1.1)
json (~> 2.3) json (~> 2.3)
language_server-protocol (>= 3.17.0) language_server-protocol (>= 3.17.0)
parallel (~> 1.10) parallel (~> 1.10)
@ -444,10 +475,10 @@ GEM
rainbow (>= 2.2.2, < 4.0) rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 1.8, < 3.0) regexp_parser (>= 1.8, < 3.0)
rexml (>= 3.2.5, < 4.0) rexml (>= 3.2.5, < 4.0)
rubocop-ast (>= 1.28.1, < 2.0) rubocop-ast (>= 1.30.0, < 2.0)
ruby-progressbar (~> 1.7) ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0) unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.29.0) rubocop-ast (1.30.0)
parser (>= 3.2.1.0) parser (>= 3.2.1.0)
ruby-progressbar (1.13.0) ruby-progressbar (1.13.0)
ruby2_keywords (0.0.5) ruby2_keywords (0.0.5)
@ -481,7 +512,7 @@ GEM
simplecov_json_formatter (~> 0.1) simplecov_json_formatter (~> 0.1)
simplecov-html (0.12.3) simplecov-html (0.12.3)
simplecov_json_formatter (0.1.4) simplecov_json_formatter (0.1.4)
spring (4.1.1) spring (4.1.3)
spring-commands-rspec (1.0.4) spring-commands-rspec (1.0.4)
spring (>= 0.9.1) spring (>= 0.9.1)
sprockets (4.2.1) sprockets (4.2.1)
@ -491,14 +522,14 @@ GEM
actionpack (>= 5.2) actionpack (>= 5.2)
activesupport (>= 5.2) activesupport (>= 5.2)
sprockets (>= 3.0.0) sprockets (>= 3.0.0)
sshkit (1.21.5) sshkit (1.21.6)
net-scp (>= 1.1.2) net-scp (>= 1.1.2)
net-ssh (>= 2.8.0) net-ssh (>= 2.8.0)
sshkit-interactive (0.3.0) sshkit-interactive (0.3.0)
sshkit (~> 1.12) sshkit (~> 1.12)
stimulus-rails (1.3.0) stimulus-rails (1.3.0)
railties (>= 6.0.0) railties (>= 6.0.0)
stringio (3.0.8) stringio (3.1.0)
telegram-bot-ruby (1.0.0) telegram-bot-ruby (1.0.0)
dry-struct (~> 1.6) dry-struct (~> 1.6)
faraday (~> 2.0) faraday (~> 2.0)
@ -507,7 +538,7 @@ GEM
temple (0.10.3) temple (0.10.3)
thor (1.3.0) thor (1.3.0)
tilt (2.3.0) tilt (2.3.0)
timeout (0.4.0) timeout (0.4.1)
turbo-rails (1.5.0) turbo-rails (1.5.0)
actionpack (>= 6.0.0) actionpack (>= 6.0.0)
activejob (>= 6.0.0) activejob (>= 6.0.0)
@ -523,6 +554,7 @@ GEM
nokogiri (~> 1.6) nokogiri (~> 1.6)
rubyzip (>= 1.3.0) rubyzip (>= 1.3.0)
selenium-webdriver (~> 4.0, < 4.11) selenium-webdriver (~> 4.0, < 4.11)
webrick (1.8.1)
websocket (1.2.10) websocket (1.2.10)
websocket-driver (0.7.6) websocket-driver (0.7.6)
websocket-extensions (>= 0.1.0) websocket-extensions (>= 0.1.0)
@ -587,7 +619,7 @@ DEPENDENCIES
puma puma
pundit pundit
rack-livereload rack-livereload
rails (~> 6.0) rails (~> 7.0)
rails_layout rails_layout
rb-fchange rb-fchange
rb-fsevent rb-fsevent