Skip to content

Commit 204708c

Browse files
authored
Test against Action Pack 8.0 (#942)
1 parent 4a6410e commit 204708c

File tree

8 files changed

+417
-151
lines changed

8 files changed

+417
-151
lines changed

.github/workflows/ci.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,20 @@ jobs:
2323
- rails_70
2424
- rails_71
2525
- rails_72
26+
- rails_80
27+
exclude:
28+
- ruby: "3.1"
29+
rails: rails_80
2630
steps:
2731
- uses: actions/checkout@v4
2832
- name: Configure bundler (default)
2933
run: |
3034
echo "BUNDLE_GEMFILE=Gemfile" >> "$GITHUB_ENV"
31-
if: matrix.rails == 'rails_72'
35+
if: matrix.rails == 'rails_80'
3236
- name: Configure bundler (alternative)
3337
run: |
3438
echo "BUNDLE_GEMFILE=gemfiles/${{ matrix.rails }}/Gemfile" >> "$GITHUB_ENV"
35-
if: matrix.rails != 'rails_72'
39+
if: matrix.rails != 'rails_80'
3640
- uses: ruby/setup-ruby@v1
3741
with:
3842
ruby-version: ${{ matrix.ruby }}

Gemfile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ source 'https://rubygems.org'
44
gemspec path: '.'
55

66
group :development do
7-
gem 'rails', '~> 7.2.0'
7+
gem 'rails', '~> 8.0.0'
88

99
gem 'mocha'
1010
gem 'minitest'
@@ -13,9 +13,6 @@ group :development do
1313
gem 'simplecov', require: false
1414
gem 'simplecov-cobertura'
1515
gem 'warning'
16-
17-
# FIXME: relax this dependency when Ruby 3.1 support will be dropped
18-
gem "zeitwerk", "~> 2.6.18"
1916
end
2017

2118
group :rubocop do

Gemfile.lock

Lines changed: 69 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -10,66 +10,65 @@ PATH
1010
GEM
1111
remote: https://rubygems.org/
1212
specs:
13-
actioncable (7.2.2)
14-
actionpack (= 7.2.2)
15-
activesupport (= 7.2.2)
13+
actioncable (8.0.0)
14+
actionpack (= 8.0.0)
15+
activesupport (= 8.0.0)
1616
nio4r (~> 2.0)
1717
websocket-driver (>= 0.6.1)
1818
zeitwerk (~> 2.6)
19-
actionmailbox (7.2.2)
20-
actionpack (= 7.2.2)
21-
activejob (= 7.2.2)
22-
activerecord (= 7.2.2)
23-
activestorage (= 7.2.2)
24-
activesupport (= 7.2.2)
19+
actionmailbox (8.0.0)
20+
actionpack (= 8.0.0)
21+
activejob (= 8.0.0)
22+
activerecord (= 8.0.0)
23+
activestorage (= 8.0.0)
24+
activesupport (= 8.0.0)
2525
mail (>= 2.8.0)
26-
actionmailer (7.2.2)
27-
actionpack (= 7.2.2)
28-
actionview (= 7.2.2)
29-
activejob (= 7.2.2)
30-
activesupport (= 7.2.2)
26+
actionmailer (8.0.0)
27+
actionpack (= 8.0.0)
28+
actionview (= 8.0.0)
29+
activejob (= 8.0.0)
30+
activesupport (= 8.0.0)
3131
mail (>= 2.8.0)
3232
rails-dom-testing (~> 2.2)
33-
actionpack (7.2.2)
34-
actionview (= 7.2.2)
35-
activesupport (= 7.2.2)
33+
actionpack (8.0.0)
34+
actionview (= 8.0.0)
35+
activesupport (= 8.0.0)
3636
nokogiri (>= 1.8.5)
37-
racc
38-
rack (>= 2.2.4, < 3.2)
37+
rack (>= 2.2.4)
3938
rack-session (>= 1.0.1)
4039
rack-test (>= 0.6.3)
4140
rails-dom-testing (~> 2.2)
4241
rails-html-sanitizer (~> 1.6)
4342
useragent (~> 0.16)
44-
actiontext (7.2.2)
45-
actionpack (= 7.2.2)
46-
activerecord (= 7.2.2)
47-
activestorage (= 7.2.2)
48-
activesupport (= 7.2.2)
43+
actiontext (8.0.0)
44+
actionpack (= 8.0.0)
45+
activerecord (= 8.0.0)
46+
activestorage (= 8.0.0)
47+
activesupport (= 8.0.0)
4948
globalid (>= 0.6.0)
5049
nokogiri (>= 1.8.5)
51-
actionview (7.2.2)
52-
activesupport (= 7.2.2)
50+
actionview (8.0.0)
51+
activesupport (= 8.0.0)
5352
builder (~> 3.1)
5453
erubi (~> 1.11)
5554
rails-dom-testing (~> 2.2)
5655
rails-html-sanitizer (~> 1.6)
57-
activejob (7.2.2)
58-
activesupport (= 7.2.2)
56+
activejob (8.0.0)
57+
activesupport (= 8.0.0)
5958
globalid (>= 0.3.6)
60-
activemodel (7.2.2)
61-
activesupport (= 7.2.2)
62-
activerecord (7.2.2)
63-
activemodel (= 7.2.2)
64-
activesupport (= 7.2.2)
59+
activemodel (8.0.0)
60+
activesupport (= 8.0.0)
61+
activerecord (8.0.0)
62+
activemodel (= 8.0.0)
63+
activesupport (= 8.0.0)
6564
timeout (>= 0.4.0)
66-
activestorage (7.2.2)
67-
actionpack (= 7.2.2)
68-
activejob (= 7.2.2)
69-
activerecord (= 7.2.2)
70-
activesupport (= 7.2.2)
65+
activestorage (8.0.0)
66+
actionpack (= 8.0.0)
67+
activejob (= 8.0.0)
68+
activerecord (= 8.0.0)
69+
activesupport (= 8.0.0)
7170
marcel (~> 1.0)
72-
activesupport (7.2.2)
71+
activesupport (8.0.0)
7372
base64
7473
benchmark (>= 0.3)
7574
bigdecimal
@@ -81,10 +80,11 @@ GEM
8180
minitest (>= 5.1)
8281
securerandom (>= 0.3)
8382
tzinfo (~> 2.0, >= 2.0.5)
83+
uri (>= 0.13.1)
8484
ansi (1.5.0)
8585
ast (2.4.2)
8686
base64 (0.2.0)
87-
benchmark (0.3.0)
87+
benchmark (0.4.0)
8888
bigdecimal (3.1.8)
8989
builder (3.3.0)
9090
concurrent-ruby (1.3.4)
@@ -105,7 +105,7 @@ GEM
105105
irb (1.14.1)
106106
rdoc (>= 4.0.0)
107107
reline (>= 0.4.2)
108-
json (2.7.5)
108+
json (2.8.1)
109109
language_server-protocol (3.17.0.3)
110110
logger (1.6.1)
111111
loofah (2.23.1)
@@ -127,7 +127,7 @@ GEM
127127
ruby-progressbar
128128
mocha (2.5.0)
129129
ruby2_keywords (>= 0.0.5)
130-
net-imap (0.5.0)
130+
net-imap (0.5.1)
131131
date
132132
net-protocol
133133
net-pop (0.1.2)
@@ -149,34 +149,33 @@ GEM
149149
nokogiri (1.16.7-x86_64-linux)
150150
racc (~> 1.4)
151151
parallel (1.26.3)
152-
parser (3.3.5.1)
152+
parser (3.3.6.0)
153153
ast (~> 2.4.1)
154154
racc
155-
psych (5.1.2)
155+
psych (5.2.0)
156156
stringio
157157
racc (1.8.1)
158158
rack (3.1.8)
159159
rack-session (2.0.0)
160160
rack (>= 3.0.0)
161161
rack-test (2.1.0)
162162
rack (>= 1.3)
163-
rackup (2.1.0)
163+
rackup (2.2.0)
164164
rack (>= 3)
165-
webrick (~> 1.8)
166-
rails (7.2.2)
167-
actioncable (= 7.2.2)
168-
actionmailbox (= 7.2.2)
169-
actionmailer (= 7.2.2)
170-
actionpack (= 7.2.2)
171-
actiontext (= 7.2.2)
172-
actionview (= 7.2.2)
173-
activejob (= 7.2.2)
174-
activemodel (= 7.2.2)
175-
activerecord (= 7.2.2)
176-
activestorage (= 7.2.2)
177-
activesupport (= 7.2.2)
165+
rails (8.0.0)
166+
actioncable (= 8.0.0)
167+
actionmailbox (= 8.0.0)
168+
actionmailer (= 8.0.0)
169+
actionpack (= 8.0.0)
170+
actiontext (= 8.0.0)
171+
actionview (= 8.0.0)
172+
activejob (= 8.0.0)
173+
activemodel (= 8.0.0)
174+
activerecord (= 8.0.0)
175+
activestorage (= 8.0.0)
176+
activesupport (= 8.0.0)
178177
bundler (>= 1.15.0)
179-
railties (= 7.2.2)
178+
railties (= 8.0.0)
180179
rails-controller-testing (1.0.5)
181180
actionpack (>= 5.0.1.rc1)
182181
actionview (>= 5.0.1.rc1)
@@ -188,9 +187,9 @@ GEM
188187
rails-html-sanitizer (1.6.0)
189188
loofah (~> 2.21)
190189
nokogiri (~> 1.14)
191-
railties (7.2.2)
192-
actionpack (= 7.2.2)
193-
activesupport (= 7.2.2)
190+
railties (8.0.0)
191+
actionpack (= 8.0.0)
192+
activesupport (= 8.0.0)
194193
irb (~> 1.13)
195194
rackup (>= 1.0.0)
196195
rake (>= 12.2)
@@ -201,7 +200,7 @@ GEM
201200
rdoc (6.7.0)
202201
psych (>= 4.0.0)
203202
regexp_parser (2.9.2)
204-
reline (0.5.10)
203+
reline (0.5.11)
205204
io-console (~> 0.5)
206205
responders (3.1.1)
207206
actionpack (>= 5.2)
@@ -217,7 +216,7 @@ GEM
217216
rubocop-ast (>= 1.32.2, < 2.0)
218217
ruby-progressbar (~> 1.7)
219218
unicode-display_width (>= 2.4.0, < 3.0)
220-
rubocop-ast (1.33.0)
219+
rubocop-ast (1.34.1)
221220
parser (>= 3.3.1.0)
222221
rubocop-minitest (0.36.0)
223222
rubocop (>= 1.61, < 2.0)
@@ -239,19 +238,19 @@ GEM
239238
simplecov (~> 0.19)
240239
simplecov-html (0.13.1)
241240
simplecov_json_formatter (0.1.4)
242-
stringio (3.1.1)
241+
stringio (3.1.2)
243242
thor (1.3.2)
244-
timeout (0.4.1)
243+
timeout (0.4.2)
245244
tzinfo (2.0.6)
246245
concurrent-ruby (~> 1.0)
247246
unicode-display_width (2.6.0)
247+
uri (1.0.1)
248248
useragent (0.16.10)
249249
warning (1.4.0)
250-
webrick (1.8.2)
251250
websocket-driver (0.7.6)
252251
websocket-extensions (>= 0.1.0)
253252
websocket-extensions (0.1.5)
254-
zeitwerk (2.6.18)
253+
zeitwerk (2.7.1)
255254

256255
PLATFORMS
257256
aarch64-linux
@@ -265,7 +264,7 @@ DEPENDENCIES
265264
minitest
266265
minitest-reporters
267266
mocha
268-
rails (~> 7.2.0)
267+
rails (~> 8.0.0)
269268
rails-controller-testing
270269
rubocop
271270
rubocop-minitest
@@ -274,7 +273,6 @@ DEPENDENCIES
274273
simplecov
275274
simplecov-cobertura
276275
warning
277-
zeitwerk (~> 2.6.18)
278276

279277
BUNDLED WITH
280-
2.5.21
278+
2.5.23

gemfiles/rails_61/Gemfile.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ GEM
7373
builder (3.3.0)
7474
concurrent-ruby (1.3.4)
7575
crass (1.0.6)
76-
date (3.3.4)
76+
date (3.4.0)
7777
docile (1.4.1)
7878
erubi (1.13.0)
7979
globalid (1.2.1)
@@ -103,7 +103,7 @@ GEM
103103
ruby-progressbar
104104
mocha (2.5.0)
105105
ruby2_keywords (>= 0.0.5)
106-
net-imap (0.5.0)
106+
net-imap (0.5.1)
107107
date
108108
net-protocol
109109
net-pop (0.1.2)
@@ -112,7 +112,7 @@ GEM
112112
timeout
113113
net-smtp (0.5.0)
114114
net-protocol
115-
nio4r (2.7.3)
115+
nio4r (2.7.4)
116116
nokogiri (1.16.7)
117117
mini_portile2 (~> 2.8.2)
118118
racc (~> 1.4)
@@ -184,7 +184,7 @@ GEM
184184
activesupport (>= 6.1)
185185
sprockets (>= 3.0.0)
186186
thor (1.3.2)
187-
timeout (0.4.1)
187+
timeout (0.4.2)
188188
tzinfo (2.0.6)
189189
concurrent-ruby (~> 1.0)
190190
warning (1.4.0)
@@ -213,4 +213,4 @@ DEPENDENCIES
213213
zeitwerk (~> 2.6.18)
214214

215215
BUNDLED WITH
216-
2.5.21
216+
2.5.23

gemfiles/rails_70/Gemfile.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ GEM
7979
builder (3.3.0)
8080
concurrent-ruby (1.3.4)
8181
crass (1.0.6)
82-
date (3.3.4)
82+
date (3.4.0)
8383
docile (1.4.1)
8484
erubi (1.13.0)
8585
globalid (1.2.1)
@@ -109,7 +109,7 @@ GEM
109109
ruby-progressbar
110110
mocha (2.5.0)
111111
ruby2_keywords (>= 0.0.5)
112-
net-imap (0.5.0)
112+
net-imap (0.5.1)
113113
date
114114
net-protocol
115115
net-pop (0.1.2)
@@ -118,7 +118,7 @@ GEM
118118
timeout
119119
net-smtp (0.5.0)
120120
net-protocol
121-
nio4r (2.7.3)
121+
nio4r (2.7.4)
122122
nokogiri (1.16.7)
123123
mini_portile2 (~> 2.8.2)
124124
racc (~> 1.4)
@@ -183,7 +183,7 @@ GEM
183183
simplecov-html (0.13.1)
184184
simplecov_json_formatter (0.1.4)
185185
thor (1.3.2)
186-
timeout (0.4.1)
186+
timeout (0.4.2)
187187
tzinfo (2.0.6)
188188
concurrent-ruby (~> 1.0)
189189
warning (1.4.0)
@@ -212,4 +212,4 @@ DEPENDENCIES
212212
zeitwerk (~> 2.6.18)
213213

214214
BUNDLED WITH
215-
2.5.21
215+
2.5.23

0 commit comments

Comments
 (0)