Skip to content

Commit 60241ce

Browse files
committed
Upgrade Rails to 8.1
I'm trying to upgrade ruby-bench to Rails 8.1 and shipit is one of the benchmarks.
1 parent 236de9a commit 60241ce

File tree

5 files changed

+212
-209
lines changed

5 files changed

+212
-209
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ jobs:
146146
export SHIPIT_GEM_PATH="${PWD}"
147147
mkdir /tmp/new-app
148148
cd /tmp/new-app
149-
gem install rails -v '~> 8.0.2' --no-document
149+
gem install rails -v '~> 8.1.1' --no-document
150150
rails new shipit --skip-action-cable --skip-turbolinks --skip-action-mailer --skip-active-storage --skip-webpack-install --skip-action-mailbox --skip-action-text -m "${SHIPIT_GEM_PATH}/template.rb"
151151
env:
152152
SHIPIT_EDGE: "1"

Gemfile.lock

Lines changed: 60 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ PATH
1616
omniauth-github (~> 1.4)
1717
paquito
1818
pubsubstub (~> 0.2)
19-
rails (~> 8.0.1)
19+
rails (~> 8.1.1)
2020
rails-timeago (~> 2.13.0)
2121
rails_autolink (~> 1.1.6)
2222
rake
@@ -33,75 +33,78 @@ PATH
3333
GEM
3434
remote: https://rubygems.org/
3535
specs:
36-
actioncable (8.0.2)
37-
actionpack (= 8.0.2)
38-
activesupport (= 8.0.2)
36+
action_text-trix (2.1.15)
37+
railties
38+
actioncable (8.1.1)
39+
actionpack (= 8.1.1)
40+
activesupport (= 8.1.1)
3941
nio4r (~> 2.0)
4042
websocket-driver (>= 0.6.1)
4143
zeitwerk (~> 2.6)
42-
actionmailbox (8.0.2)
43-
actionpack (= 8.0.2)
44-
activejob (= 8.0.2)
45-
activerecord (= 8.0.2)
46-
activestorage (= 8.0.2)
47-
activesupport (= 8.0.2)
44+
actionmailbox (8.1.1)
45+
actionpack (= 8.1.1)
46+
activejob (= 8.1.1)
47+
activerecord (= 8.1.1)
48+
activestorage (= 8.1.1)
49+
activesupport (= 8.1.1)
4850
mail (>= 2.8.0)
49-
actionmailer (8.0.2)
50-
actionpack (= 8.0.2)
51-
actionview (= 8.0.2)
52-
activejob (= 8.0.2)
53-
activesupport (= 8.0.2)
51+
actionmailer (8.1.1)
52+
actionpack (= 8.1.1)
53+
actionview (= 8.1.1)
54+
activejob (= 8.1.1)
55+
activesupport (= 8.1.1)
5456
mail (>= 2.8.0)
5557
rails-dom-testing (~> 2.2)
56-
actionpack (8.0.2)
57-
actionview (= 8.0.2)
58-
activesupport (= 8.0.2)
58+
actionpack (8.1.1)
59+
actionview (= 8.1.1)
60+
activesupport (= 8.1.1)
5961
nokogiri (>= 1.8.5)
6062
rack (>= 2.2.4)
6163
rack-session (>= 1.0.1)
6264
rack-test (>= 0.6.3)
6365
rails-dom-testing (~> 2.2)
6466
rails-html-sanitizer (~> 1.6)
6567
useragent (~> 0.16)
66-
actiontext (8.0.2)
67-
actionpack (= 8.0.2)
68-
activerecord (= 8.0.2)
69-
activestorage (= 8.0.2)
70-
activesupport (= 8.0.2)
68+
actiontext (8.1.1)
69+
action_text-trix (~> 2.1.15)
70+
actionpack (= 8.1.1)
71+
activerecord (= 8.1.1)
72+
activestorage (= 8.1.1)
73+
activesupport (= 8.1.1)
7174
globalid (>= 0.6.0)
7275
nokogiri (>= 1.8.5)
73-
actionview (8.0.2)
74-
activesupport (= 8.0.2)
76+
actionview (8.1.1)
77+
activesupport (= 8.1.1)
7578
builder (~> 3.1)
7679
erubi (~> 1.11)
7780
rails-dom-testing (~> 2.2)
7881
rails-html-sanitizer (~> 1.6)
7982
active_model_serializers (0.9.13)
8083
activemodel (>= 3.2)
8184
concurrent-ruby (~> 1.0)
82-
activejob (8.0.2)
83-
activesupport (= 8.0.2)
85+
activejob (8.1.1)
86+
activesupport (= 8.1.1)
8487
globalid (>= 0.3.6)
85-
activemodel (8.0.2)
86-
activesupport (= 8.0.2)
87-
activerecord (8.0.2)
88-
activemodel (= 8.0.2)
89-
activesupport (= 8.0.2)
88+
activemodel (8.1.1)
89+
activesupport (= 8.1.1)
90+
activerecord (8.1.1)
91+
activemodel (= 8.1.1)
92+
activesupport (= 8.1.1)
9093
timeout (>= 0.4.0)
91-
activestorage (8.0.2)
92-
actionpack (= 8.0.2)
93-
activejob (= 8.0.2)
94-
activerecord (= 8.0.2)
95-
activesupport (= 8.0.2)
94+
activestorage (8.1.1)
95+
actionpack (= 8.1.1)
96+
activejob (= 8.1.1)
97+
activerecord (= 8.1.1)
98+
activesupport (= 8.1.1)
9699
marcel (~> 1.0)
97-
activesupport (8.0.2)
100+
activesupport (8.1.1)
98101
base64
99-
benchmark (>= 0.3)
100102
bigdecimal
101103
concurrent-ruby (~> 1.0, >= 1.3.1)
102104
connection_pool (>= 2.2.5)
103105
drb
104106
i18n (>= 1.6, < 2)
107+
json
105108
logger (>= 1.4.2)
106109
minitest (>= 5.1)
107110
securerandom (>= 0.3)
@@ -118,7 +121,6 @@ GEM
118121
ice_nine (~> 0.11.0)
119122
thread_safe (~> 0.3, >= 0.3.1)
120123
base64 (0.3.0)
121-
benchmark (0.4.1)
122124
bigdecimal (3.2.2)
123125
builder (3.3.0)
124126
byebug (11.1.3)
@@ -283,20 +285,20 @@ GEM
283285
rackup (1.0.0)
284286
rack (< 3)
285287
webrick
286-
rails (8.0.2)
287-
actioncable (= 8.0.2)
288-
actionmailbox (= 8.0.2)
289-
actionmailer (= 8.0.2)
290-
actionpack (= 8.0.2)
291-
actiontext (= 8.0.2)
292-
actionview (= 8.0.2)
293-
activejob (= 8.0.2)
294-
activemodel (= 8.0.2)
295-
activerecord (= 8.0.2)
296-
activestorage (= 8.0.2)
297-
activesupport (= 8.0.2)
288+
rails (8.1.1)
289+
actioncable (= 8.1.1)
290+
actionmailbox (= 8.1.1)
291+
actionmailer (= 8.1.1)
292+
actionpack (= 8.1.1)
293+
actiontext (= 8.1.1)
294+
actionview (= 8.1.1)
295+
activejob (= 8.1.1)
296+
activemodel (= 8.1.1)
297+
activerecord (= 8.1.1)
298+
activestorage (= 8.1.1)
299+
activesupport (= 8.1.1)
298300
bundler (>= 1.15.0)
299-
railties (= 8.0.2)
301+
railties (= 8.1.1)
300302
rails-dom-testing (2.3.0)
301303
activesupport (>= 5.0.0)
302304
minitest
@@ -311,13 +313,14 @@ GEM
311313
actionview (> 3.1)
312314
activesupport (> 3.1)
313315
railties (> 3.1)
314-
railties (8.0.2)
315-
actionpack (= 8.0.2)
316-
activesupport (= 8.0.2)
316+
railties (8.1.1)
317+
actionpack (= 8.1.1)
318+
activesupport (= 8.1.1)
317319
irb (~> 1.13)
318320
rackup (>= 1.0.0)
319321
rake (>= 12.2)
320322
thor (~> 1.0, >= 1.2.2)
323+
tsort (>= 0.2)
321324
zeitwerk (~> 2.6)
322325
rainbow (3.1.1)
323326
rake (13.2.1)
@@ -396,6 +399,7 @@ GEM
396399
thread_safe (0.3.6)
397400
tilt (2.2.0)
398401
timeout (0.4.1)
402+
tsort (0.2.0)
399403
tzinfo (2.0.6)
400404
concurrent-ruby (~> 1.0)
401405
unicode-display_width (2.6.0)

shipit-engine.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Gem::Specification.new do |s|
3434
s.add_dependency('omniauth-github', '~> 1.4')
3535
s.add_dependency('paquito')
3636
s.add_dependency('pubsubstub', '~> 0.2')
37-
s.add_dependency('rails', '~> 8.0.1')
37+
s.add_dependency('rails', '~> 8.1.1')
3838
s.add_dependency('rails_autolink', '~> 1.1.6')
3939
s.add_dependency('rails-timeago', '~> 2.13.0')
4040
s.add_dependency('rake')

test/dummy/config/application.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
module Shipit
1919
class Application < Rails::Application
20-
config.load_defaults 8.0
20+
config.load_defaults 8.1
2121
config.active_record.encryption.support_sha1_for_non_deterministic_encryption = true
2222
end
2323
end

0 commit comments

Comments
 (0)