Skip to content

Commit 5a0550a

Browse files
committed
Upgrade Rails 7.2.3.1 → 8.0.5
Flips the Gemfile constraint from ~> 7.2.0 to ~> 8.0.0 and collapses the dual-boot if/else into a single line. Both sides of the dual-boot pair (Gemfile and Gemfile.next via symlink) now target 8.0. Detection against the 8.0 pattern set surfaced no fix-before-bump items in our codebase: enum is unused, no removed AR config keys, no routes-array usage, no SCHEMA_CACHE env var, no Benchmark.ms, Ruby 3.2.3 already meets the 3.2.0 floor. Sprockets stays — it still works at 8.0 (just no longer the new- app default). Migration to Propshaft is a separate, optional concern. The only prereq surfaced by booting the test suite under 8.0 was jbuilder still requiring active_support/proxy_object; addressed in the previous commit. Test suite is 204/204 green on 8.0.5. Deferred to the 8.0 → 8.1 hop (per skill rules — future-version runtime warnings are not fix-before-bump for the current hop): - to_time timezone behavior (config.active_support.to_time_preserves_timezone = :zone)
1 parent 1d3f29a commit 5a0550a

2 files changed

Lines changed: 59 additions & 67 deletions

File tree

Gemfile

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,7 @@ git_source(:github) do |repo_name|
1111
"https://github.com/#{repo_name}.git"
1212
end
1313

14-
if next?
15-
gem "rails", "~> 8.0.0"
16-
else
17-
gem "rails", "~> 7.2.0"
18-
end
14+
gem "rails", "~> 8.0.0"
1915
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
2016

2117
gem "bootstrap-sass", "3.4.1"

Gemfile.lock

Lines changed: 58 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -10,68 +10,65 @@ GIT
1010
GEM
1111
remote: https://rubygems.org/
1212
specs:
13-
actioncable (7.2.3.1)
14-
actionpack (= 7.2.3.1)
15-
activesupport (= 7.2.3.1)
13+
actioncable (8.0.5)
14+
actionpack (= 8.0.5)
15+
activesupport (= 8.0.5)
1616
nio4r (~> 2.0)
1717
websocket-driver (>= 0.6.1)
1818
zeitwerk (~> 2.6)
19-
actionmailbox (7.2.3.1)
20-
actionpack (= 7.2.3.1)
21-
activejob (= 7.2.3.1)
22-
activerecord (= 7.2.3.1)
23-
activestorage (= 7.2.3.1)
24-
activesupport (= 7.2.3.1)
19+
actionmailbox (8.0.5)
20+
actionpack (= 8.0.5)
21+
activejob (= 8.0.5)
22+
activerecord (= 8.0.5)
23+
activestorage (= 8.0.5)
24+
activesupport (= 8.0.5)
2525
mail (>= 2.8.0)
26-
actionmailer (7.2.3.1)
27-
actionpack (= 7.2.3.1)
28-
actionview (= 7.2.3.1)
29-
activejob (= 7.2.3.1)
30-
activesupport (= 7.2.3.1)
26+
actionmailer (8.0.5)
27+
actionpack (= 8.0.5)
28+
actionview (= 8.0.5)
29+
activejob (= 8.0.5)
30+
activesupport (= 8.0.5)
3131
mail (>= 2.8.0)
3232
rails-dom-testing (~> 2.2)
33-
actionpack (7.2.3.1)
34-
actionview (= 7.2.3.1)
35-
activesupport (= 7.2.3.1)
36-
cgi
33+
actionpack (8.0.5)
34+
actionview (= 8.0.5)
35+
activesupport (= 8.0.5)
3736
nokogiri (>= 1.8.5)
38-
racc
39-
rack (>= 2.2.4, < 3.3)
37+
rack (>= 2.2.4)
4038
rack-session (>= 1.0.1)
4139
rack-test (>= 0.6.3)
4240
rails-dom-testing (~> 2.2)
4341
rails-html-sanitizer (~> 1.6)
4442
useragent (~> 0.16)
45-
actiontext (7.2.3.1)
46-
actionpack (= 7.2.3.1)
47-
activerecord (= 7.2.3.1)
48-
activestorage (= 7.2.3.1)
49-
activesupport (= 7.2.3.1)
43+
actiontext (8.0.5)
44+
actionpack (= 8.0.5)
45+
activerecord (= 8.0.5)
46+
activestorage (= 8.0.5)
47+
activesupport (= 8.0.5)
5048
globalid (>= 0.6.0)
5149
nokogiri (>= 1.8.5)
52-
actionview (7.2.3.1)
53-
activesupport (= 7.2.3.1)
50+
actionview (8.0.5)
51+
activesupport (= 8.0.5)
5452
builder (~> 3.1)
55-
cgi
5653
erubi (~> 1.11)
5754
rails-dom-testing (~> 2.2)
5855
rails-html-sanitizer (~> 1.6)
59-
activejob (7.2.3.1)
60-
activesupport (= 7.2.3.1)
56+
activejob (8.0.5)
57+
activesupport (= 8.0.5)
6158
globalid (>= 0.3.6)
62-
activemodel (7.2.3.1)
63-
activesupport (= 7.2.3.1)
64-
activerecord (7.2.3.1)
65-
activemodel (= 7.2.3.1)
66-
activesupport (= 7.2.3.1)
59+
activemodel (8.0.5)
60+
activesupport (= 8.0.5)
61+
activerecord (8.0.5)
62+
activemodel (= 8.0.5)
63+
activesupport (= 8.0.5)
6764
timeout (>= 0.4.0)
68-
activestorage (7.2.3.1)
69-
actionpack (= 7.2.3.1)
70-
activejob (= 7.2.3.1)
71-
activerecord (= 7.2.3.1)
72-
activesupport (= 7.2.3.1)
65+
activestorage (8.0.5)
66+
actionpack (= 8.0.5)
67+
activejob (= 8.0.5)
68+
activerecord (= 8.0.5)
69+
activesupport (= 8.0.5)
7370
marcel (~> 1.0)
74-
activesupport (7.2.3.1)
71+
activesupport (8.0.5)
7572
base64
7673
benchmark (>= 0.3)
7774
bigdecimal
@@ -80,9 +77,10 @@ GEM
8077
drb
8178
i18n (>= 1.6, < 2)
8279
logger (>= 1.4.2)
83-
minitest (>= 5.1, < 6)
80+
minitest (>= 5.1)
8481
securerandom (>= 0.3)
8582
tzinfo (~> 2.0, >= 2.0.5)
83+
uri (>= 0.13.1)
8684
acts_as_list (1.1.0)
8785
activerecord (>= 4.2)
8886
addressable (2.8.5)
@@ -114,7 +112,6 @@ GEM
114112
capybara-screenshot (1.0.26)
115113
capybara (>= 1.0, < 4)
116114
launchy
117-
cgi (0.5.1)
118115
coffee-script (2.4.1)
119116
coffee-script-source
120117
execjs
@@ -211,7 +208,7 @@ GEM
211208
bigdecimal (~> 3.1)
212209
net-http (0.6.0)
213210
uri
214-
net-imap (0.6.3)
211+
net-imap (0.6.4)
215212
date
216213
net-protocol
217214
net-pop (0.1.2)
@@ -289,20 +286,20 @@ GEM
289286
rackup (1.0.1)
290287
rack (< 3)
291288
webrick
292-
rails (7.2.3.1)
293-
actioncable (= 7.2.3.1)
294-
actionmailbox (= 7.2.3.1)
295-
actionmailer (= 7.2.3.1)
296-
actionpack (= 7.2.3.1)
297-
actiontext (= 7.2.3.1)
298-
actionview (= 7.2.3.1)
299-
activejob (= 7.2.3.1)
300-
activemodel (= 7.2.3.1)
301-
activerecord (= 7.2.3.1)
302-
activestorage (= 7.2.3.1)
303-
activesupport (= 7.2.3.1)
289+
rails (8.0.5)
290+
actioncable (= 8.0.5)
291+
actionmailbox (= 8.0.5)
292+
actionmailer (= 8.0.5)
293+
actionpack (= 8.0.5)
294+
actiontext (= 8.0.5)
295+
actionview (= 8.0.5)
296+
activejob (= 8.0.5)
297+
activemodel (= 8.0.5)
298+
activerecord (= 8.0.5)
299+
activestorage (= 8.0.5)
300+
activesupport (= 8.0.5)
304301
bundler (>= 1.15.0)
305-
railties (= 7.2.3.1)
302+
railties (= 8.0.5)
306303
rails-controller-testing (1.0.5)
307304
actionpack (>= 5.0.1.rc1)
308305
actionview (>= 5.0.1.rc1)
@@ -314,10 +311,9 @@ GEM
314311
rails-html-sanitizer (1.6.2)
315312
loofah (~> 2.21)
316313
nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
317-
railties (7.2.3.1)
318-
actionpack (= 7.2.3.1)
319-
activesupport (= 7.2.3.1)
320-
cgi
314+
railties (8.0.5)
315+
actionpack (= 8.0.5)
316+
activesupport (= 8.0.5)
321317
irb (~> 1.13)
322318
rackup (>= 1.0.0)
323319
rake (>= 12.2)
@@ -506,7 +502,7 @@ DEPENDENCIES
506502
puma (~> 6.5)
507503
pundit (~> 2.2)
508504
rack-mini-profiler
509-
rails (~> 7.2.0)
505+
rails (~> 8.0.0)
510506
rails-controller-testing
511507
recursive-open-struct
512508
redcarpet (~> 3.5.1)

0 commit comments

Comments
 (0)