Skip to content

Commit 89296bf

Browse files
authored
Appraisals: Test Against Rails 8.2 (#52)
This pull request updates the Appraisals to point to the regular Rails 8.1 release and adds a new Rails 8.2 appraisal for Rails `main` (current `8.2.0.alpha`).
1 parent 99ffb3d commit 89296bf

File tree

6 files changed

+246
-18
lines changed

6 files changed

+246
-18
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
jobs:
1212
build:
1313
runs-on: ubuntu-latest
14-
name: Ruby ${{ matrix.ruby }}
14+
name: "Ruby ${{ matrix.ruby }} / ${{ matrix.gemfile }}"
1515
strategy:
1616
matrix:
1717
ruby:
@@ -24,6 +24,7 @@ jobs:
2424
- rails_7_2
2525
- rails_8_0
2626
- rails_8_1
27+
- rails_8_2
2728

2829
env:
2930
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile

Appraisals

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ appraise "rails-8-0" do
2121
end
2222

2323
appraise "rails-8-1" do
24-
gem "actionview", "~> 8.1.0.beta1"
25-
gem "railties", "~> 8.1.0.beta1"
24+
gem "actionview", "~> 8.1"
25+
gem "railties", "~> 8.1"
26+
end
27+
28+
appraise "rails-8-2" do
29+
gem "actionview", github: "rails/rails"
30+
gem "railties", github: "rails/rails"
2631
end

gemfiles/rails_8_1.gemfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ gem "minitest", "~> 5.16"
88
gem "minitest-difftastic"
99
gem "rake", "~> 13.0"
1010
gem "rubocop", "~> 1.80.1"
11-
gem "actionview", "~> 8.1.0.beta1"
12-
gem "railties", "~> 8.1.0.beta1"
11+
gem "actionview", "~> 8.1.0"
12+
gem "railties", "~> 8.1.0"
1313

1414
gemspec path: "../"

gemfiles/rails_8_1.gemfile.lock

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,30 +8,30 @@ PATH
88
GEM
99
remote: https://rubygems.org/
1010
specs:
11-
actionpack (8.1.0.beta1)
12-
actionview (= 8.1.0.beta1)
13-
activesupport (= 8.1.0.beta1)
11+
actionpack (8.1.0)
12+
actionview (= 8.1.0)
13+
activesupport (= 8.1.0)
1414
nokogiri (>= 1.8.5)
1515
rack (>= 2.2.4)
1616
rack-session (>= 1.0.1)
1717
rack-test (>= 0.6.3)
1818
rails-dom-testing (~> 2.2)
1919
rails-html-sanitizer (~> 1.6)
2020
useragent (~> 0.16)
21-
actionview (8.1.0.beta1)
22-
activesupport (= 8.1.0.beta1)
21+
actionview (8.1.0)
22+
activesupport (= 8.1.0)
2323
builder (~> 3.1)
2424
erubi (~> 1.11)
2525
rails-dom-testing (~> 2.2)
2626
rails-html-sanitizer (~> 1.6)
27-
activesupport (8.1.0.beta1)
27+
activesupport (8.1.0)
2828
base64
29-
benchmark (>= 0.3)
3029
bigdecimal
3130
concurrent-ruby (~> 1.0, >= 1.3.1)
3231
connection_pool (>= 2.2.5)
3332
drb
3433
i18n (>= 1.6, < 2)
34+
json
3535
logger (>= 1.4.2)
3636
minitest (>= 5.1)
3737
securerandom (>= 0.3)
@@ -43,7 +43,6 @@ GEM
4343
thor (>= 0.14.0)
4444
ast (2.4.3)
4545
base64 (0.3.0)
46-
benchmark (0.4.1)
4746
bigdecimal (3.2.3)
4847
builder (3.3.0)
4948
concurrent-ruby (1.3.5)
@@ -133,9 +132,9 @@ GEM
133132
rails-html-sanitizer (1.6.2)
134133
loofah (~> 2.21)
135134
nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
136-
railties (8.1.0.beta1)
137-
actionpack (= 8.1.0.beta1)
138-
activesupport (= 8.1.0.beta1)
135+
railties (8.1.0)
136+
actionpack (= 8.1.0)
137+
activesupport (= 8.1.0)
139138
irb (~> 1.13)
140139
rackup (>= 1.0.0)
141140
rake (>= 12.2)
@@ -190,12 +189,12 @@ PLATFORMS
190189
x86_64-linux-musl
191190

192191
DEPENDENCIES
193-
actionview (~> 8.1.0.beta1)
192+
actionview (~> 8.1.0)
194193
appraisal
195194
maxitest
196195
minitest (~> 5.16)
197196
minitest-difftastic
198-
railties (~> 8.1.0.beta1)
197+
railties (~> 8.1.0)
199198
rake (~> 13.0)
200199
reactionview!
201200
rubocop (~> 1.80.1)

gemfiles/rails_8_2.gemfile

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# This file was generated by Appraisal
2+
3+
source "https://rubygems.org"
4+
5+
gem "appraisal"
6+
gem "maxitest"
7+
gem "minitest", "~> 5.16"
8+
gem "minitest-difftastic"
9+
gem "rake", "~> 13.0"
10+
gem "rubocop", "~> 1.80.1"
11+
gem "actionview", github: "rails/rails"
12+
gem "railties",github: "rails/rails"
13+
14+
gemspec path: "../"

gemfiles/rails_8_2.gemfile.lock

Lines changed: 209 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,209 @@
1+
GIT
2+
remote: https://github.com/rails/rails.git
3+
revision: 6ec4c85507d10650cb80796deda7d79a17677c29
4+
specs:
5+
actionpack (8.2.0.alpha)
6+
actionview (= 8.2.0.alpha)
7+
activesupport (= 8.2.0.alpha)
8+
nokogiri (>= 1.8.5)
9+
rack (>= 2.2.4)
10+
rack-session (>= 1.0.1)
11+
rack-test (>= 0.6.3)
12+
rails-dom-testing (~> 2.2)
13+
rails-html-sanitizer (~> 1.6)
14+
useragent (~> 0.16)
15+
actionview (8.2.0.alpha)
16+
activesupport (= 8.2.0.alpha)
17+
builder (~> 3.1)
18+
erubi (~> 1.11)
19+
rails-dom-testing (~> 2.2)
20+
rails-html-sanitizer (~> 1.6)
21+
activesupport (8.2.0.alpha)
22+
base64
23+
bigdecimal
24+
concurrent-ruby (~> 1.0, >= 1.3.1)
25+
connection_pool (>= 2.2.5)
26+
drb
27+
i18n (>= 1.6, < 2)
28+
json
29+
logger (>= 1.4.2)
30+
minitest (>= 5.1)
31+
securerandom (>= 0.3)
32+
tzinfo (~> 2.0, >= 2.0.5)
33+
uri (>= 0.13.1)
34+
railties (8.2.0.alpha)
35+
actionpack (= 8.2.0.alpha)
36+
activesupport (= 8.2.0.alpha)
37+
irb (~> 1.13)
38+
rackup (>= 1.0.0)
39+
rake (>= 12.2)
40+
thor (~> 1.0, >= 1.2.2)
41+
tsort (>= 0.2)
42+
zeitwerk (~> 2.6)
43+
44+
PATH
45+
remote: ..
46+
specs:
47+
reactionview (0.1.5)
48+
actionview (>= 7.0)
49+
herb (>= 0.7.5, < 1.0.0)
50+
51+
GEM
52+
remote: https://rubygems.org/
53+
specs:
54+
appraisal (2.5.0)
55+
bundler
56+
rake
57+
thor (>= 0.14.0)
58+
ast (2.4.3)
59+
base64 (0.3.0)
60+
bigdecimal (3.3.1)
61+
builder (3.3.0)
62+
concurrent-ruby (1.3.5)
63+
connection_pool (2.5.4)
64+
crass (1.0.6)
65+
date (3.4.1)
66+
difftastic (0.7.0)
67+
pretty_please
68+
difftastic (0.7.0-arm64-darwin)
69+
pretty_please
70+
difftastic (0.7.0-x86_64-darwin)
71+
pretty_please
72+
difftastic (0.7.0-x86_64-linux)
73+
pretty_please
74+
dispersion (0.2.0)
75+
prism
76+
drb (2.2.3)
77+
erb (5.1.1)
78+
erubi (1.13.1)
79+
herb (0.7.5)
80+
herb (0.7.5-aarch64-linux-musl)
81+
herb (0.7.5-arm64-darwin)
82+
herb (0.7.5-x86_64-darwin)
83+
herb (0.7.5-x86_64-linux-gnu)
84+
herb (0.7.5-x86_64-linux-musl)
85+
i18n (1.14.7)
86+
concurrent-ruby (~> 1.0)
87+
io-console (0.8.1)
88+
irb (1.15.2)
89+
pp (>= 0.6.0)
90+
rdoc (>= 4.0.0)
91+
reline (>= 0.4.2)
92+
json (2.15.1)
93+
language_server-protocol (3.17.0.5)
94+
lint_roller (1.1.0)
95+
logger (1.7.0)
96+
loofah (2.24.1)
97+
crass (~> 1.0.2)
98+
nokogiri (>= 1.12.0)
99+
maxitest (6.0.1)
100+
minitest (>= 5.20.0, < 5.26.0)
101+
minitest (5.25.5)
102+
minitest-difftastic (0.2.1)
103+
difftastic (~> 0.6)
104+
nokogiri (1.18.10-aarch64-linux-gnu)
105+
racc (~> 1.4)
106+
nokogiri (1.18.10-aarch64-linux-musl)
107+
racc (~> 1.4)
108+
nokogiri (1.18.10-arm-linux-gnu)
109+
racc (~> 1.4)
110+
nokogiri (1.18.10-arm-linux-musl)
111+
racc (~> 1.4)
112+
nokogiri (1.18.10-arm64-darwin)
113+
racc (~> 1.4)
114+
nokogiri (1.18.10-x86_64-darwin)
115+
racc (~> 1.4)
116+
nokogiri (1.18.10-x86_64-linux-gnu)
117+
racc (~> 1.4)
118+
nokogiri (1.18.10-x86_64-linux-musl)
119+
racc (~> 1.4)
120+
parallel (1.27.0)
121+
parser (3.3.9.0)
122+
ast (~> 2.4.1)
123+
racc
124+
pp (0.6.3)
125+
prettyprint
126+
pretty_please (0.2.0)
127+
dispersion (~> 0.2)
128+
prettyprint (0.2.0)
129+
prism (1.6.0)
130+
psych (5.2.6)
131+
date
132+
stringio
133+
racc (1.8.1)
134+
rack (3.2.3)
135+
rack-session (2.1.1)
136+
base64 (>= 0.1.0)
137+
rack (>= 3.0.0)
138+
rack-test (2.2.0)
139+
rack (>= 1.3)
140+
rackup (2.2.1)
141+
rack (>= 3)
142+
rails-dom-testing (2.3.0)
143+
activesupport (>= 5.0.0)
144+
minitest
145+
nokogiri (>= 1.6)
146+
rails-html-sanitizer (1.6.2)
147+
loofah (~> 2.21)
148+
nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
149+
rainbow (3.1.1)
150+
rake (13.3.0)
151+
rdoc (6.15.0)
152+
erb
153+
psych (>= 4.0.0)
154+
tsort
155+
regexp_parser (2.11.3)
156+
reline (0.6.2)
157+
io-console (~> 0.5)
158+
rubocop (1.80.2)
159+
json (~> 2.3)
160+
language_server-protocol (~> 3.17.0.2)
161+
lint_roller (~> 1.1.0)
162+
parallel (~> 1.10)
163+
parser (>= 3.3.0.2)
164+
rainbow (>= 2.2.2, < 4.0)
165+
regexp_parser (>= 2.9.3, < 3.0)
166+
rubocop-ast (>= 1.46.0, < 2.0)
167+
ruby-progressbar (~> 1.7)
168+
unicode-display_width (>= 2.4.0, < 4.0)
169+
rubocop-ast (1.47.1)
170+
parser (>= 3.3.7.2)
171+
prism (~> 1.4)
172+
ruby-progressbar (1.13.0)
173+
securerandom (0.4.1)
174+
stringio (3.1.7)
175+
thor (1.4.0)
176+
tsort (0.2.0)
177+
tzinfo (2.0.6)
178+
concurrent-ruby (~> 1.0)
179+
unicode-display_width (3.2.0)
180+
unicode-emoji (~> 4.1)
181+
unicode-emoji (4.1.0)
182+
uri (1.0.4)
183+
useragent (0.16.11)
184+
zeitwerk (2.7.3)
185+
186+
PLATFORMS
187+
aarch64-linux-gnu
188+
aarch64-linux-musl
189+
arm-linux-gnu
190+
arm-linux-musl
191+
arm64-darwin
192+
x86_64-darwin
193+
x86_64-linux
194+
x86_64-linux-gnu
195+
x86_64-linux-musl
196+
197+
DEPENDENCIES
198+
actionview!
199+
appraisal
200+
maxitest
201+
minitest (~> 5.16)
202+
minitest-difftastic
203+
railties!
204+
rake (~> 13.0)
205+
reactionview!
206+
rubocop (~> 1.80.1)
207+
208+
BUNDLED WITH
209+
2.7.1

0 commit comments

Comments
 (0)