Skip to content

Commit 2fc96a2

Browse files
committed
Test against Active Support 8.0
1 parent 413879b commit 2fc96a2

File tree

11 files changed

+460
-152
lines changed

11 files changed

+460
-152
lines changed

.github/workflows/ci.yml

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

Gemfile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,8 @@ group :rubocop do
2121
end
2222

2323
group :rails do
24-
gem 'rails', '~> 7.2.0'
24+
gem 'rails', '~> 8.0.0'
2525
gem 'rspec-rails'
2626
gem 'combustion'
2727
gem 'capybara'
28-
29-
# FIXME: relax this dependency when Ruby 3.1 support will be dropped
30-
gem "zeitwerk", "~> 2.6.18"
3128
end

Gemfile.lock

Lines changed: 72 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -7,67 +7,67 @@ PATH
77
GEM
88
remote: http://rubygems.org/
99
specs:
10-
actioncable (7.2.1.2)
11-
actionpack (= 7.2.1.2)
12-
activesupport (= 7.2.1.2)
10+
actioncable (8.0.0)
11+
actionpack (= 8.0.0)
12+
activesupport (= 8.0.0)
1313
nio4r (~> 2.0)
1414
websocket-driver (>= 0.6.1)
1515
zeitwerk (~> 2.6)
16-
actionmailbox (7.2.1.2)
17-
actionpack (= 7.2.1.2)
18-
activejob (= 7.2.1.2)
19-
activerecord (= 7.2.1.2)
20-
activestorage (= 7.2.1.2)
21-
activesupport (= 7.2.1.2)
16+
actionmailbox (8.0.0)
17+
actionpack (= 8.0.0)
18+
activejob (= 8.0.0)
19+
activerecord (= 8.0.0)
20+
activestorage (= 8.0.0)
21+
activesupport (= 8.0.0)
2222
mail (>= 2.8.0)
23-
actionmailer (7.2.1.2)
24-
actionpack (= 7.2.1.2)
25-
actionview (= 7.2.1.2)
26-
activejob (= 7.2.1.2)
27-
activesupport (= 7.2.1.2)
23+
actionmailer (8.0.0)
24+
actionpack (= 8.0.0)
25+
actionview (= 8.0.0)
26+
activejob (= 8.0.0)
27+
activesupport (= 8.0.0)
2828
mail (>= 2.8.0)
2929
rails-dom-testing (~> 2.2)
30-
actionpack (7.2.1.2)
31-
actionview (= 7.2.1.2)
32-
activesupport (= 7.2.1.2)
30+
actionpack (8.0.0)
31+
actionview (= 8.0.0)
32+
activesupport (= 8.0.0)
3333
nokogiri (>= 1.8.5)
34-
racc
35-
rack (>= 2.2.4, < 3.2)
34+
rack (>= 2.2.4)
3635
rack-session (>= 1.0.1)
3736
rack-test (>= 0.6.3)
3837
rails-dom-testing (~> 2.2)
3938
rails-html-sanitizer (~> 1.6)
4039
useragent (~> 0.16)
41-
actiontext (7.2.1.2)
42-
actionpack (= 7.2.1.2)
43-
activerecord (= 7.2.1.2)
44-
activestorage (= 7.2.1.2)
45-
activesupport (= 7.2.1.2)
40+
actiontext (8.0.0)
41+
actionpack (= 8.0.0)
42+
activerecord (= 8.0.0)
43+
activestorage (= 8.0.0)
44+
activesupport (= 8.0.0)
4645
globalid (>= 0.6.0)
4746
nokogiri (>= 1.8.5)
48-
actionview (7.2.1.2)
49-
activesupport (= 7.2.1.2)
47+
actionview (8.0.0)
48+
activesupport (= 8.0.0)
5049
builder (~> 3.1)
5150
erubi (~> 1.11)
5251
rails-dom-testing (~> 2.2)
5352
rails-html-sanitizer (~> 1.6)
54-
activejob (7.2.1.2)
55-
activesupport (= 7.2.1.2)
53+
activejob (8.0.0)
54+
activesupport (= 8.0.0)
5655
globalid (>= 0.3.6)
57-
activemodel (7.2.1.2)
58-
activesupport (= 7.2.1.2)
59-
activerecord (7.2.1.2)
60-
activemodel (= 7.2.1.2)
61-
activesupport (= 7.2.1.2)
56+
activemodel (8.0.0)
57+
activesupport (= 8.0.0)
58+
activerecord (8.0.0)
59+
activemodel (= 8.0.0)
60+
activesupport (= 8.0.0)
6261
timeout (>= 0.4.0)
63-
activestorage (7.2.1.2)
64-
actionpack (= 7.2.1.2)
65-
activejob (= 7.2.1.2)
66-
activerecord (= 7.2.1.2)
67-
activesupport (= 7.2.1.2)
62+
activestorage (8.0.0)
63+
actionpack (= 8.0.0)
64+
activejob (= 8.0.0)
65+
activerecord (= 8.0.0)
66+
activesupport (= 8.0.0)
6867
marcel (~> 1.0)
69-
activesupport (7.2.1.2)
68+
activesupport (8.0.0)
7069
base64
70+
benchmark (>= 0.3)
7171
bigdecimal
7272
concurrent-ruby (~> 1.0, >= 1.3.1)
7373
connection_pool (>= 2.2.5)
@@ -77,10 +77,12 @@ GEM
7777
minitest (>= 5.1)
7878
securerandom (>= 0.3)
7979
tzinfo (~> 2.0, >= 2.0.5)
80+
uri (>= 0.13.1)
8081
addressable (2.8.7)
8182
public_suffix (>= 2.0.2, < 7.0)
8283
ast (2.4.2)
8384
base64 (0.2.0)
85+
benchmark (0.4.0)
8486
bigdecimal (3.1.8)
8587
builder (3.3.0)
8688
capybara (3.40.0)
@@ -100,7 +102,7 @@ GEM
100102
concurrent-ruby (1.3.4)
101103
connection_pool (2.4.1)
102104
crass (1.0.6)
103-
date (3.3.4)
105+
date (3.4.0)
104106
diff-lcs (1.5.1)
105107
docile (1.4.1)
106108
drb (2.2.1)
@@ -113,7 +115,7 @@ GEM
113115
irb (1.14.1)
114116
rdoc (>= 4.0.0)
115117
reline (>= 0.4.2)
116-
json (2.7.4)
118+
json (2.8.1)
117119
language_server-protocol (3.17.0.3)
118120
logger (1.6.1)
119121
loofah (2.23.1)
@@ -139,7 +141,7 @@ GEM
139141
timeout
140142
net-smtp (0.5.0)
141143
net-protocol
142-
nio4r (2.7.3)
144+
nio4r (2.7.4)
143145
nokogiri (1.16.7)
144146
mini_portile2 (~> 2.8.2)
145147
racc (~> 1.4)
@@ -152,13 +154,13 @@ GEM
152154
nokogiri (1.16.7-x86_64-linux)
153155
racc (~> 1.4)
154156
parallel (1.26.3)
155-
parser (3.3.5.0)
157+
parser (3.3.6.0)
156158
ast (~> 2.4.1)
157159
racc
158160
pry (0.14.2)
159161
coderay (~> 1.1)
160162
method_source (~> 1.0)
161-
psych (5.1.2)
163+
psych (5.2.0)
162164
stringio
163165
public_suffix (6.0.1)
164166
racc (1.8.1)
@@ -167,33 +169,32 @@ GEM
167169
rack (>= 3.0.0)
168170
rack-test (2.1.0)
169171
rack (>= 1.3)
170-
rackup (2.1.0)
172+
rackup (2.2.0)
171173
rack (>= 3)
172-
webrick (~> 1.8)
173-
rails (7.2.1.2)
174-
actioncable (= 7.2.1.2)
175-
actionmailbox (= 7.2.1.2)
176-
actionmailer (= 7.2.1.2)
177-
actionpack (= 7.2.1.2)
178-
actiontext (= 7.2.1.2)
179-
actionview (= 7.2.1.2)
180-
activejob (= 7.2.1.2)
181-
activemodel (= 7.2.1.2)
182-
activerecord (= 7.2.1.2)
183-
activestorage (= 7.2.1.2)
184-
activesupport (= 7.2.1.2)
174+
rails (8.0.0)
175+
actioncable (= 8.0.0)
176+
actionmailbox (= 8.0.0)
177+
actionmailer (= 8.0.0)
178+
actionpack (= 8.0.0)
179+
actiontext (= 8.0.0)
180+
actionview (= 8.0.0)
181+
activejob (= 8.0.0)
182+
activemodel (= 8.0.0)
183+
activerecord (= 8.0.0)
184+
activestorage (= 8.0.0)
185+
activesupport (= 8.0.0)
185186
bundler (>= 1.15.0)
186-
railties (= 7.2.1.2)
187+
railties (= 8.0.0)
187188
rails-dom-testing (2.2.0)
188189
activesupport (>= 5.0.0)
189190
minitest
190191
nokogiri (>= 1.6)
191192
rails-html-sanitizer (1.6.0)
192193
loofah (~> 2.21)
193194
nokogiri (~> 1.14)
194-
railties (7.2.1.2)
195-
actionpack (= 7.2.1.2)
196-
activesupport (= 7.2.1.2)
195+
railties (8.0.0)
196+
actionpack (= 8.0.0)
197+
activesupport (= 8.0.0)
197198
irb (~> 1.13)
198199
rackup (>= 1.0.0)
199200
rake (>= 12.2)
@@ -204,7 +205,7 @@ GEM
204205
rdoc (6.7.0)
205206
psych (>= 4.0.0)
206207
regexp_parser (2.9.2)
207-
reline (0.5.10)
208+
reline (0.5.11)
208209
io-console (~> 0.5)
209210
rexml (3.3.9)
210211
rspec (3.13.0)
@@ -228,7 +229,7 @@ GEM
228229
rspec-mocks (~> 3.13)
229230
rspec-support (~> 3.13)
230231
rspec-support (3.13.1)
231-
rubocop (1.67.0)
232+
rubocop (1.68.0)
232233
json (~> 2.3)
233234
language_server-protocol (>= 3.17.0)
234235
parallel (~> 1.10)
@@ -238,7 +239,7 @@ GEM
238239
rubocop-ast (>= 1.32.2, < 2.0)
239240
ruby-progressbar (~> 1.7)
240241
unicode-display_width (>= 2.4.0, < 3.0)
241-
rubocop-ast (1.32.3)
242+
rubocop-ast (1.34.1)
242243
parser (>= 3.3.1.0)
243244
rubocop-capybara (2.21.0)
244245
rubocop (~> 1.41)
@@ -260,20 +261,20 @@ GEM
260261
simplecov (~> 0.19)
261262
simplecov-html (0.13.1)
262263
simplecov_json_formatter (0.1.4)
263-
stringio (3.1.1)
264+
stringio (3.1.2)
264265
thor (1.3.2)
265-
timeout (0.4.1)
266+
timeout (0.4.2)
266267
tzinfo (2.0.6)
267268
concurrent-ruby (~> 1.0)
268269
unicode-display_width (2.6.0)
270+
uri (1.0.1)
269271
useragent (0.16.10)
270-
webrick (1.8.2)
271272
websocket-driver (0.7.6)
272273
websocket-extensions (>= 0.1.0)
273274
websocket-extensions (0.1.5)
274275
xpath (3.2.0)
275276
nokogiri (~> 1.8)
276-
zeitwerk (2.6.18)
277+
zeitwerk (2.7.1)
277278

278279
PLATFORMS
279280
aarch64-linux
@@ -287,7 +288,7 @@ DEPENDENCIES
287288
capybara
288289
combustion
289290
pry
290-
rails (~> 7.2.0)
291+
rails (~> 8.0.0)
291292
rake
292293
rspec
293294
rspec-rails
@@ -298,7 +299,6 @@ DEPENDENCIES
298299
rubocop-rspec
299300
simplecov
300301
simplecov-cobertura
301-
zeitwerk (~> 2.6.18)
302302

303303
BUNDLED WITH
304-
2.5.21
304+
2.5.23

gemfiles/rails_61/Gemfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ group :rails do
1616
gem 'combustion'
1717
gem 'capybara'
1818

19+
# FIXME: relax this dependency when Ruby 3.0 support will be dropped
20+
gem 'net-imap', '~> 0.4.17'
21+
1922
# FIXME: relax this dependency when Ruby 3.1 support will be dropped
2023
gem "zeitwerk", "~> 2.6.18"
2124
end

gemfiles/rails_61/Gemfile.lock

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ GEM
8585
thor (>= 0.14.6)
8686
concurrent-ruby (1.3.4)
8787
crass (1.0.6)
88-
date (3.3.4)
88+
date (3.4.0)
8989
diff-lcs (1.5.1)
9090
docile (1.4.1)
9191
erubi (1.13.0)
@@ -107,7 +107,7 @@ GEM
107107
mini_mime (1.1.5)
108108
mini_portile2 (2.8.7)
109109
minitest (5.25.1)
110-
net-imap (0.5.0)
110+
net-imap (0.4.17)
111111
date
112112
net-protocol
113113
net-pop (0.1.2)
@@ -116,7 +116,7 @@ GEM
116116
timeout
117117
net-smtp (0.5.0)
118118
net-protocol
119-
nio4r (2.7.3)
119+
nio4r (2.7.4)
120120
nokogiri (1.16.7)
121121
mini_portile2 (~> 2.8.2)
122122
racc (~> 1.4)
@@ -205,7 +205,7 @@ GEM
205205
activesupport (>= 6.1)
206206
sprockets (>= 3.0.0)
207207
thor (1.3.2)
208-
timeout (0.4.1)
208+
timeout (0.4.2)
209209
tzinfo (2.0.6)
210210
concurrent-ruby (~> 1.0)
211211
websocket-driver (0.7.6)
@@ -226,6 +226,7 @@ DEPENDENCIES
226226
arbre!
227227
capybara
228228
combustion
229+
net-imap (~> 0.4.17)
229230
pry
230231
rails (~> 6.1.0)
231232
rake
@@ -236,4 +237,4 @@ DEPENDENCIES
236237
zeitwerk (~> 2.6.18)
237238

238239
BUNDLED WITH
239-
2.5.21
240+
2.5.23

gemfiles/rails_70/Gemfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ group :rails do
1616
gem 'combustion'
1717
gem 'capybara'
1818

19+
# FIXME: relax this dependency when Ruby 3.0 support will be dropped
20+
gem 'net-imap', '~> 0.4.17'
21+
1922
# FIXME: relax this dependency when Ruby 3.1 support will be dropped
2023
gem "zeitwerk", "~> 2.6.18"
2124
end

0 commit comments

Comments
 (0)