Skip to content

Commit 79e4daa

Browse files
authored
Add test for Rails 8.0 (#21)
1 parent 5b74fb8 commit 79e4daa

File tree

5 files changed

+78
-59
lines changed

5 files changed

+78
-59
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,12 @@ jobs:
2525
- ruby: 3.3
2626
gemfile: Gemfile
2727
rails_version: 7.2
28+
- ruby: 3.3
29+
gemfile: gemfiles/Gemfile-8-0
30+
rails_version: 8.0
31+
- ruby: 3.3
32+
gemfile: gemfiles/Gemfile-7-2
33+
rails_version: 7.2
2834
- ruby: 3.2
2935
gemfile: gemfiles/Gemfile-7-1
3036
rails_version: 7.1

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
source "https://rubygems.org"
44

55
gemspec
6-
gem "rails", "~> 7.2.0"
6+
gem 'rails', '~> 8.0.0.beta1'

Gemfile.lock

Lines changed: 61 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -7,67 +7,67 @@ PATH
77
GEM
88
remote: https://rubygems.org/
99
specs:
10-
actioncable (7.2.1)
11-
actionpack (= 7.2.1)
12-
activesupport (= 7.2.1)
10+
actioncable (8.0.0.beta1)
11+
actionpack (= 8.0.0.beta1)
12+
activesupport (= 8.0.0.beta1)
1313
nio4r (~> 2.0)
1414
websocket-driver (>= 0.6.1)
1515
zeitwerk (~> 2.6)
16-
actionmailbox (7.2.1)
17-
actionpack (= 7.2.1)
18-
activejob (= 7.2.1)
19-
activerecord (= 7.2.1)
20-
activestorage (= 7.2.1)
21-
activesupport (= 7.2.1)
16+
actionmailbox (8.0.0.beta1)
17+
actionpack (= 8.0.0.beta1)
18+
activejob (= 8.0.0.beta1)
19+
activerecord (= 8.0.0.beta1)
20+
activestorage (= 8.0.0.beta1)
21+
activesupport (= 8.0.0.beta1)
2222
mail (>= 2.8.0)
23-
actionmailer (7.2.1)
24-
actionpack (= 7.2.1)
25-
actionview (= 7.2.1)
26-
activejob (= 7.2.1)
27-
activesupport (= 7.2.1)
23+
actionmailer (8.0.0.beta1)
24+
actionpack (= 8.0.0.beta1)
25+
actionview (= 8.0.0.beta1)
26+
activejob (= 8.0.0.beta1)
27+
activesupport (= 8.0.0.beta1)
2828
mail (>= 2.8.0)
2929
rails-dom-testing (~> 2.2)
30-
actionpack (7.2.1)
31-
actionview (= 7.2.1)
32-
activesupport (= 7.2.1)
30+
actionpack (8.0.0.beta1)
31+
actionview (= 8.0.0.beta1)
32+
activesupport (= 8.0.0.beta1)
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)
42-
actionpack (= 7.2.1)
43-
activerecord (= 7.2.1)
44-
activestorage (= 7.2.1)
45-
activesupport (= 7.2.1)
40+
actiontext (8.0.0.beta1)
41+
actionpack (= 8.0.0.beta1)
42+
activerecord (= 8.0.0.beta1)
43+
activestorage (= 8.0.0.beta1)
44+
activesupport (= 8.0.0.beta1)
4645
globalid (>= 0.6.0)
4746
nokogiri (>= 1.8.5)
48-
actionview (7.2.1)
49-
activesupport (= 7.2.1)
47+
actionview (8.0.0.beta1)
48+
activesupport (= 8.0.0.beta1)
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)
55-
activesupport (= 7.2.1)
53+
activejob (8.0.0.beta1)
54+
activesupport (= 8.0.0.beta1)
5655
globalid (>= 0.3.6)
57-
activemodel (7.2.1)
58-
activesupport (= 7.2.1)
59-
activerecord (7.2.1)
60-
activemodel (= 7.2.1)
61-
activesupport (= 7.2.1)
56+
activemodel (8.0.0.beta1)
57+
activesupport (= 8.0.0.beta1)
58+
activerecord (8.0.0.beta1)
59+
activemodel (= 8.0.0.beta1)
60+
activesupport (= 8.0.0.beta1)
6261
timeout (>= 0.4.0)
63-
activestorage (7.2.1)
64-
actionpack (= 7.2.1)
65-
activejob (= 7.2.1)
66-
activerecord (= 7.2.1)
67-
activesupport (= 7.2.1)
62+
activestorage (8.0.0.beta1)
63+
actionpack (= 8.0.0.beta1)
64+
activejob (= 8.0.0.beta1)
65+
activerecord (= 8.0.0.beta1)
66+
activesupport (= 8.0.0.beta1)
6867
marcel (~> 1.0)
69-
activesupport (7.2.1)
68+
activesupport (8.0.0.beta1)
7069
base64
70+
benchmark (>= 0.3)
7171
bigdecimal
7272
concurrent-ruby (~> 1.0, >= 1.3.1)
7373
connection_pool (>= 2.2.5)
@@ -77,7 +77,9 @@ GEM
7777
minitest (>= 5.1)
7878
securerandom (>= 0.3)
7979
tzinfo (~> 2.0, >= 2.0.5)
80+
uri (>= 0.13.1)
8081
base64 (0.2.0)
82+
benchmark (0.3.0)
8183
bigdecimal (3.1.8)
8284
builder (3.3.0)
8385
concurrent-ruby (1.3.4)
@@ -93,7 +95,7 @@ GEM
9395
i18n (1.14.6)
9496
concurrent-ruby (~> 1.0)
9597
io-console (0.7.2)
96-
irb (1.14.0)
98+
irb (1.14.1)
9799
rdoc (>= 4.0.0)
98100
reline (>= 0.4.2)
99101
logger (1.6.1)
@@ -134,30 +136,30 @@ GEM
134136
rackup (2.1.0)
135137
rack (>= 3)
136138
webrick (~> 1.8)
137-
rails (7.2.1)
138-
actioncable (= 7.2.1)
139-
actionmailbox (= 7.2.1)
140-
actionmailer (= 7.2.1)
141-
actionpack (= 7.2.1)
142-
actiontext (= 7.2.1)
143-
actionview (= 7.2.1)
144-
activejob (= 7.2.1)
145-
activemodel (= 7.2.1)
146-
activerecord (= 7.2.1)
147-
activestorage (= 7.2.1)
148-
activesupport (= 7.2.1)
139+
rails (8.0.0.beta1)
140+
actioncable (= 8.0.0.beta1)
141+
actionmailbox (= 8.0.0.beta1)
142+
actionmailer (= 8.0.0.beta1)
143+
actionpack (= 8.0.0.beta1)
144+
actiontext (= 8.0.0.beta1)
145+
actionview (= 8.0.0.beta1)
146+
activejob (= 8.0.0.beta1)
147+
activemodel (= 8.0.0.beta1)
148+
activerecord (= 8.0.0.beta1)
149+
activestorage (= 8.0.0.beta1)
150+
activesupport (= 8.0.0.beta1)
149151
bundler (>= 1.15.0)
150-
railties (= 7.2.1)
152+
railties (= 8.0.0.beta1)
151153
rails-dom-testing (2.2.0)
152154
activesupport (>= 5.0.0)
153155
minitest
154156
nokogiri (>= 1.6)
155157
rails-html-sanitizer (1.6.0)
156158
loofah (~> 2.21)
157159
nokogiri (~> 1.14)
158-
railties (7.2.1)
159-
actionpack (= 7.2.1)
160-
activesupport (= 7.2.1)
160+
railties (8.0.0.beta1)
161+
actionpack (= 8.0.0.beta1)
162+
activesupport (= 8.0.0.beta1)
161163
irb (~> 1.13)
162164
rackup (>= 1.0.0)
163165
rake (>= 12.2)
@@ -174,8 +176,9 @@ GEM
174176
timeout (0.4.1)
175177
tzinfo (2.0.6)
176178
concurrent-ruby (~> 1.0)
179+
uri (0.13.1)
177180
useragent (0.16.10)
178-
webrick (1.8.1)
181+
webrick (1.8.2)
179182
websocket-driver (0.7.6)
180183
websocket-extensions (>= 0.1.0)
181184
websocket-extensions (0.1.5)
@@ -188,7 +191,7 @@ DEPENDENCIES
188191
action-store!
189192
factory_bot
190193
pg
191-
rails (~> 7.2.0)
194+
rails (~> 8.0.0.beta1)
192195

193196
BUNDLED WITH
194197
2.5.3

gemfiles/Gemfile-7-2

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
source 'https://rubygems.org'
2+
3+
gemspec path: '..'
4+
5+
gem 'rails', '~> 7.2.0'

gemfiles/Gemfile-8-0

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
source 'https://rubygems.org'
2+
3+
gemspec path: '..'
4+
5+
gem 'rails', '~> 8.0.0.beta1'

0 commit comments

Comments
 (0)