8000 Test against Rails 7.2 (#8371) · til/activeadmin@3c6d22f · GitHub
[go: up one dir, main page]

Skip to content

Commit 3c6d22f

Browse files
authored
Test against Rails 7.2 (activeadmin#8371)
1 parent f2851c6 commit 3c6d22f

File tree

6 files changed

+559
-80
lines changed

6 files changed

+559
-80
lines changed

.github/workflows/ci.yaml

Lines changed: 3 additions & 2 deletions
39
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ jobs:
2525
os:
2626
- ubuntu-latest
2727
rails:
28+
- rails_72
2829
- rails_71
2930
- rails_70
3031
- rails_61
@@ -37,11 +38,11 @@ jobs:
3738
- name: Configure bundler (default)
3839
run: |
40
echo "BUNDLE_GEMFILE=Gemfile" >> "$GITHUB_ENV"
40-
if: matrix.rails == 'rails_71'
41+
if: matrix.rails == 'rails_72'
4142
- name: Configure bundler (alternative)
4243
run: |
4344
echo "BUNDLE_GEMFILE=gemfiles/${{ matrix.rails }}/Gemfile" >> "$GITHUB_ENV"
44-
if: matrix.rails != 'rails_71'
45+
if: matrix.rails != 'rails_72'
4546
- uses: ruby/setup-ruby@v1
4647
with:
4748
ruby-version: ${{ matrix.ruby }}

Gemfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ group :development, :test do
1010
gem "draper"
1111
gem "devise"
1212

13-
gem "rails", "~> 7.1.0"
13+
gem "rails", "~> 7.2.0"
1414

1515
gem "sprockets-rails"
16-
gem "ransack", ">= 4.1.0"
16+
gem "ransack", ">= 4.2.0"
1717
gem "formtastic", ">= 5.0.0"
1818

1919
gem "cssbundling-rails"
@@ -33,7 +33,7 @@ group :test do
3333
gem "launchy"
3434
gem "parallel_tests"
3535
gem "rspec-rails"
36-
gem "sqlite3", "~> 1.7", platform: :mri # FIXME: relax this dependency when rails/rails#51636 will be released
36+
gem "sqlite3", platform: :mri
3737

3838
# Translations
3939
gem "i18n-tasks"

Gemfile.lock

Lines changed: 71 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -14,84 +14,80 @@ PATH
1414
GEM
1515
remote: https://rubygems.org/
1616
specs:
17-
actioncable (7.1.3.4)
18-
actionpack (= 7.1.3.4)
19-
activesupport (= 7.1.3.4)
17+
actioncable (7.2.0)
18+
actionpack (= 7.2.0)
19+
activesupport (= 7.2.0)
2020
nio4r (~> 2.0)
2121
websocket-driver (>= 0.6.1)
2222
zeitwerk (~> 2.6)
23-
actionmailbox (7.1.3.4)
24-
actionpack (= 7.1.3.4)
25-
activejob (= 7.1.3.4)
26-
activerecord (= 7.1.3.4)
27-
activestorage (= 7.1.3.4)
28-
activesupport (= 7.1.3.4)
29-
mail (>= 2.7.1)
30-
net-imap
31-
net-pop
32-
net-smtp
33-
actionmailer (7.1.3.4)
34-
actionpack (= 7.1.3.4)
35-
actionview (= 7.1.3.4)
36-
activejob (= 7.1.3.4)
37-
activesupport (= 7.1.3.4)
38-
mail (~> 2.5, >= 2.5.4)
39-
net-imap
40-
net-pop
41-
net-smtp
23+
actionmailbox (7.2.0)
24+
actionpack (= 7.2.0)
25+
activejob (= 7.2.0)
26+
activerecord (= 7.2.0)
27+
activestorage (= 7.2.0)
28+
activesupport (= 7.2.0)
29+
mail (>= 2.8.0)
30+
actionmailer (7.2.0)
31+
actionpack (= 7.2.0)
32+
actionview (= 7.2.0)
33+
activejob (= 7.2.0)
34+
activesupport (= 7.2.0)
35+
mail (>= 2.8.0)
4236
rails-dom-testing (~> 2.2)
43-
actionpack (7.1.3.4)
44-
actionview (= 7.1.3.4)
45-
activesupport (= 7.1.3.4)
37+
actionpack (7.2.0)
38+
actionview (= 7.2.0)
39+
activesupport (= 7.2.0)
4640
nokogiri (>= 1.8.5)
4741
racc
48-
rack (>= 2.2.4)
42+
rack (>= 2.2.4, < 3.2)
4943
rack-session (>= 1.0.1)
5044
rack-test (>= 0.6.3)
5145
rails-dom-testing (~> 2.2)
5246
rails-html-sanitizer (~> 1.6)
53-
actiontext (7.1.3.4)
54-
actionpack (= 7.1.3.4)
55-
activerecord (= 7.1.3.4)
56-
activestorage (= 7.1.3.4)
57-
activesupport (= 7.1.3.4)
47+
useragent (~> 0.16)
48+
actiontext (7.2.0)
49+
actionpack (= 7.2.0)
50+
activerecord (= 7.2.0)
51+
activestorage (= 7.2.0)
52+
activesupport (= 7.2.0)
5853
globalid (>= 0.6.0)
5954
nokogiri (>= 1.8.5)
60-
actionview (7.1.3.4)
61-
activesupport (= 7.1.3.4)
55+
actionview (7.2.0)
56+
activesupport (= 7.2.0)
6257
builder (~> 3.1)
6358
erubi (~> 1.11)
6459
rails-dom-testing (~> 2.2)
6560
rails-html-sanitizer (~> 1.6)
66-
activejob (7.1.3.4)
67-
activesupport (= 7.1.3.4)
61+
activejob (7.2.0)
62+
activesupport (= 7.2.0)
6863
globalid (>= 0.3.6)
69-
activemodel (7.1.3.4)
70-
activesupport (= 7.1.3.4)
64+
activemodel (7.2.0)
65+
activesupport (= 7.2.0)
7166
activemodel-serializers-xml (1.0.2)
7267
activemodel (> 5.x)
7368
activesupport (> 5.x)
7469
builder (~> 3.1)
75-
activerecord (7.1.3.4)
76-
activemodel (= 7.1.3.4)
77-
activesupport (= 7.1.3.4)
70+
activerecord (7.2.0)
71+
activemodel (= 7.2.0)
72+
activesupport (= 7.2.0)
7873
timeout (>= 0.4.0)
79-
activestorage (7.1.3.4)
80-
actionpack (= 7.1.3.4)
81-
activejob (= 7.1.3.4)
82-
activerecord (= 7.1.3.4)
83-
activesupport (= 7.1.3.4)
74+
activestorage (7.2.0)
75+
actionpack (= 7.2.0)
76+
activejob (= 7.2.0)
77+
activerecord (= 7.2.0)
78+
activesupport (= 7.2.0)
8479
marcel (~> 1.0)
85-
activesupport (7.1.3.4)
80+
activesupport (7.2.0)
8681
base64
8782
bigdecimal
88-
concurrent-ruby (~> 1.0, >= 1.0.2)
83+
concurrent-ruby (~> 1.0, >= 1.3.1)
8984
connection_pool (>= 2.2.5)
9085
drb
9186
i18n (>= 1.6, < 2)
87+
logger (>= 1.4.2)
9288
minitest (>= 5.1)
93-
mutex_m
94-
tzinfo (~> 2.0)
89+
securerandom (>= 0.3)
90+
tzinfo (~> 2.0, >= 2.0.5)
9591
addressable (2.8.7)
9692
public_suffix (>= 2.0.2, < 7.0)
9793
arbre (2.0.0)
@@ -255,7 +251,6 @@ GEM
255251
mini_mime (1.1.5)
256252
minitest (5.24.1)
257253
multi_test (1.1.0)
258-
mutex_m (0.2.0)
259254
net-imap (0.4.14)
260255
date
261256
net-protocol
@@ -295,20 +290,20 @@ GEM
295290
rackup (2.1.0)
296291
rack (>= 3)
297292
webrick (~> 1.8)
298-
rails (7.1.3.4)
299-
actioncable (= 7.1.3.4)
300-
actionmailbox (= 7.1.3.4)
301-
actionmailer (= 7.1.3.4)
302-
actionpack (= 7.1.3.4)
303-
actiontext (= 7.1.3.4)
304-
actionview (= 7.1.3.4)
305-
activejob (= 7.1.3.4)
306-
activemodel (= 7.1.3.4)
307-
activerecord (= 7.1.3.4)
308-
activestorage (= 7.1.3.4)
309-
activesupport (= 7.1.3.4)
293+
rails (7.2.0)
294+
actioncable (= 7.2.0)
295+
actionmailbox (= 7.2.0)
296+
actionmailer (= 7.2.0)
297+
actionpack (= 7.2.0)
298+
actiontext (= 7.2.0)
299+
actionview (= 7.2.0)
300+
activejob (= 7.2.0)
301+
activemodel (= 7.2.0)
302+
activerecord (= 7.2.0)
303+
activestorage (= 7.2.0)
304+
activesupport (= 7.2.0)
310305
bundler (>= 1.15.0)
311-
railties (= 7.1.3.4)
306+
railties (= 7.2.0)
312307
rails-dom-testing (2.2.0)
313308
activesupport (>= 5.0.0)
314309
minitest
@@ -319,10 +314,10 @@ GEM
319314
rails-i18n (7.0.9)
320315
i18n (>= 0.7, < 2)
321316
railties (>= 6.0.0, < 8)
322-
railties (7.1.3.4)
323-
actionpack (= 7.1.3.4)
324-
activesupport (= 7.1.3.4)
325-
irb
317+
railties (7.2.0)
318+
actionpack (= 7.2.0)
319+
activesupport (= 7.2.0)
320+
irb (~> 1.13)
326321
rackup (>= 1.0.0)
327322
rake (>= 12.2)
328323
thor (~> 1.0, >= 1.2.2)
@@ -391,6 +386,7 @@ GEM
391386
rubocop (~> 1.61)
392387
ruby-progressbar (1.13.0)
393388
ruby2_keywords (0.0.5)
389+
securerandom (0.3.1)
394390
simplecov (0.22.0)
395391
docile (~> 1.1)
396392
simplecov-html (~> 0.11)
@@ -407,10 +403,10 @@ GEM
407403
actionpack (>= 6.1)
408404
activesupport (>= 6.1)
409405
sprockets (>= 3.0.0)
410-
sqlite3 (1.7.3-aarch64-linux)
411-
sqlite3 (1.7.3-arm64-darwin)
412-
sqlite3 (1.7.3-x86_64-darwin)
413-
sqlite3 (1.7.3-x86_64-linux)
406+
sqlite3 (2.0.3-aarch64-linux-gnu)
407+
sqlite3 (2.0.3-arm64-darwin)
408+
sqlite3 (2.0.3-x86_64-darwin)
409+
sqlite3 (2.0.3-x86_64-linux-gnu)
414410
stringio (3.1.1)
415411
strscan (3.1.0)
416412
sys-uname (1.3.0)
@@ -422,6 +418,7 @@ GEM
422418
tzinfo (2.0.6)
423419
concurrent-ruby (~> 1.0)
424420
unicode-display_width (2.5.0)
421+
useragent (0.16.10)
425422
warden (1.2.9)
426423
rack (>= 2.0.9)
427424
webrick (1.8.1)
@@ -458,10 +455,10 @@ DEPENDENCIES
458455
launchy
459456
parallel_tests
460457
pundit
461-
rails (~> 7.1.0)
458+
rails (~> 7.2.0)
462459
rails-i18n
463460
rake
464-
ransack (>= 4.1.0)
461+
ransack (>= 4.2.0)
465462
rspec-rails
466463
rubocop
467464
rubocop-capybara
@@ -472,7 +469,7 @@ DEPENDENCIES
472469
simplecov
473470
simplecov-cobertura
474471
sprockets-rails
475-
sqlite3 (~> 1.7)
472+
sqlite3
476473
webrick
477474
yard
478475

gemfiles/rails_71/Gemfile

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# frozen_string_literal: true
2+
source "https://rubygems.org"
3+
4+
group :development, :test do
5+
gem "rake"
6+
7+
gem "cancancan"
8+
gem "pundit"
9+
10+
gem "draper"
11+
gem "devise"
12+
13+
gem "rails", "~> 7.1.0"
14+
15+
gem "sprockets-rails"
16+
gem "ransack", ">= 4.1.0"
17+
gem "formtastic", ">= 5.0.0"
18+
19+
gem "cssbundling-rails"
20+
gem "importmap-rails"
21+
end
22+
23+
group :test do
24+
gem "cuprite"
25+
gem "capybara"
26+
gem "webrick"
27+
28+
gem "simplecov", require: false # Test coverage generator. Go to /coverage/ after running tests
29+
gem "simplecov-cobertura", require: false
30+
gem "cucumber-rails", require: false
31+
gem "cucumber"
32+
gem "database_cleaner-active_record"
33+
gem "launchy"
34+
gem "parallel_tests"
35+
gem "rspec-rails"
36+
gem "sqlite3", "~> 1.7", platform: :mri # FIXME: relax this dependency when rails/rails#51636 will be released
37+
38+
# Translations
39+
gem "i18n-tasks"
40+
gem "i18n-spec"
41+
gem "rails-i18n" # Provides default i18n for many languages
42+
end
43+
44+
gemspec path: "../.."

0 commit comments

Comments
 (0)
0