Skip to content

Commit 4e6ddc1

Browse files
authored
Add Rails 7.2 and 8.0 appraisals (#23)
* Upgrades all dependencies * Adds Rails 7.2 and 8.0 to appraisals * Adds Ruby 3.3 and 3.4 to CI /no-platform
1 parent 90148ac commit 4e6ddc1

File tree

14 files changed

+689
-142
lines changed

14 files changed

+689
-142
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,12 @@ jobs:
1212
strategy:
1313
fail-fast: false
1414
matrix:
15-
ruby: ['3.2']
15+
ruby: ['3.2', '3.3', '3.4']
1616
gemfile:
1717
- gemfiles/rails_7_0.gemfile
1818
- gemfiles/rails_7_1.gemfile
19+
- gemfiles/rails_7_2.gemfile
20+
- gemfiles/rails_8_0.gemfile
1921
services:
2022
postgres:
2123
image: postgres

.rubocop.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ inherit_mode:
88

99
AllCops:
1010
TargetRubyVersion: 3.2
11+
TargetRailsVersion: 7.0
1112
Exclude:
1213
- gemfiles/*.gemfile
1314

Appraisals

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,24 @@
11
# frozen_string_literal: true
22

33
appraise 'rails-7-0' do
4-
gem 'activerecord', '~> 7.0.0'
54
gem 'railties', '~> 7.0.0'
5+
gem 'base64'
6+
gem 'bigdecimal'
7+
gem 'benchmark'
8+
gem 'concurrent-ruby', '1.3.4'
9+
gem 'drb'
10+
gem 'logger'
11+
gem 'mutex_m'
612
end
713

814
appraise 'rails-7-1' do
9-
gem 'activerecord', '~> 7.1.0'
1015
gem 'railties', '~> 7.1.0'
1116
end
17+
18+
appraise 'rails-7-2' do
19+
gem 'railties', '~> 7.2.0'
20+
end
21+
22+
appraise 'rails-8-0' do
23+
gem 'railties', '~> 8.0.0'
24+
end

Gemfile.lock

Lines changed: 95 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,102 +1,141 @@
11
PATH
22
remote: .
33
specs:
4-
with_transactional_lock (2.3.0)
5-
activerecord (>= 7.0, < 7.2)
6-
railties (>= 7.0, < 7.2)
4+
with_transactional_lock (2.4.0)
5+
activerecord (>= 7.0, < 8.1)
6+
railties (>= 7.0, < 8.1)
77

88
GEM
99
remote: https://rubygems.org/
1010
specs:
11-
actionpack (7.0.8.5)
12-
actionview (= 7.0.8.5)
13-
activesupport (= 7.0.8.5)
14-
rack (~> 2.0, >= 2.2.4)
11+
actionpack (8.0.1)
12+
actionview (= 8.0.1)
13+
activesupport (= 8.0.1)
14+
nokogiri (>= 1.8.5)
15+
rack (>= 2.2.4)
16+
rack-session (>= 1.0.1)
1517
rack-test (>= 0.6.3)
16-
rails-dom-testing (~> 2.0)
17-
rails-html-sanitizer (~> 1.0, >= 1.2.0)
18-
actionview (7.0.8.5)
19-
activesupport (= 7.0.8.5)
18+
rails-dom-testing (~> 2.2)
19+
rails-html-sanitizer (~> 1.6)
20+
useragent (~> 0.16)
21+
actionview (8.0.1)
22+
activesupport (= 8.0.1)
2023
builder (~> 3.1)
21-
erubi (~> 1.4)
22-
rails-dom-testing (~> 2.0)
23-
rails-html-sanitizer (~> 1.1, >= 1.2.0)
24-
activemodel (7.0.8.5)
25-
activesupport (= 7.0.8.5)
26-
activerecord (7.0.8.5)
27-
activemodel (= 7.0.8.5)
28-
activesupport (= 7.0.8.5)
29-
activesupport (7.0.8.5)
30-
concurrent-ruby (~> 1.0, >= 1.0.2)
24+
erubi (~> 1.11)
25+
rails-dom-testing (~> 2.2)
26+
rails-html-sanitizer (~> 1.6)
27+
activemodel (8.0.1)
28+
activesupport (= 8.0.1)
29+
activerecord (8.0.1)
30+
activemodel (= 8.0.1)
31+
activesupport (= 8.0.1)
32+
timeout (>= 0.4.0)
33+
activesupport (8.0.1)
34+
base64
35+
benchmark (>= 0.3)
36+
bigdecimal
37+
concurrent-ruby (~> 1.0, >= 1.3.1)
38+
connection_pool (>= 2.2.5)
39+
drb
3140
i18n (>= 1.6, < 2)
41+
logger (>= 1.4.2)
3242
minitest (>= 5.1)
33-
tzinfo (~> 2.0)
34-
appraisal (2.2.0)
43+
securerandom (>= 0.3)
44+
tzinfo (~> 2.0, >= 2.0.5)
45+
uri (>= 0.13.1)
46+
appraisal (2.5.0)
3547
bundler
3648
rake
3749
thor (>= 0.14.0)
3850
ast (2.4.2)
51+
base64 (0.2.0)
52+
benchmark (0.4.0)
3953
betterlint (1.16.0)
4054
rubocop (~> 1.62.0)
4155
rubocop-graphql (~> 1.5.0)
4256
rubocop-performance (~> 1.21.0)
4357
rubocop-rails (~> 2.24.0)
4458
rubocop-rake (~> 0.6.0)
4559
rubocop-rspec (~> 2.28.0)
60+
bigdecimal (3.1.9)
4661
builder (3.3.0)
47-
concurrent-ruby (1.3.4)
62+
concurrent-ruby (1.3.5)
63+
connection_pool (2.5.0)
4864
crass (1.0.6)
4965
database_cleaner (2.1.0)
5066
database_cleaner-active_record (>= 2, < 3)
5167
database_cleaner-active_record (2.2.0)
5268
activerecord (>= 5.a)
5369
database_cleaner-core (~> 2.0.0)
5470
database_cleaner-core (2.0.1)
71+
date (3.4.1)
5572
diff-lcs (1.5.1)
56-
erubi (1.13.0)
57-
i18n (1.14.6)
73+
drb (2.2.1)
74+
erubi (1.13.1)
75+
i18n (1.14.7)
5876
concurrent-ruby (~> 1.0)
59-
json (2.8.2)
77+
io-console (0.8.0)
78+
irb (1.15.0)
79+
pp (>= 0.6.0)
80+
rdoc (>= 4.0.0)
81+
reline (>= 0.4.2)
82+
json (2.9.1)
6083
language_server-protocol (3.17.0.3)
61-
loofah (2.23.1)
84+
logger (1.6.5)
85+
loofah (2.24.0)
6286
crass (~> 1.0.2)
6387
nokogiri (>= 1.12.0)
64-
method_source (1.1.0)
65-
minitest (5.25.1)
88+
minitest (5.25.4)
6689
mysql2 (0.5.6)
67-
nokogiri (1.16.7-arm64-darwin)
90+
nokogiri (1.18.2-arm64-darwin)
6891
racc (~> 1.4)
69-
nokogiri (1.16.7-x86_64-darwin)
92+
nokogiri (1.18.2-x86_64-darwin)
7093
racc (~> 1.4)
71-
nokogiri (1.16.7-x86_64-linux)
94+
nokogiri (1.18.2-x86_64-linux-gnu)
7295
racc (~> 1.4)
7396
parallel (1.26.3)
74-
parser (3.3.6.0)
97+
parser (3.3.7.0)
7598
ast (~> 2.4.1)
7699
racc
77100
pg (1.5.9)
101+
pp (0.6.2)
102+
prettyprint
103+
prettyprint (0.2.0)
104+
psych (5.2.3)
105+
date
106+
stringio
78107
racc (1.8.1)
79-
rack (2.2.10)
80-
rack-test (2.1.0)
108+
rack (3.1.8)
109+
rack-session (2.1.0)
110+
base64 (>= 0.1.0)
111+
rack (>= 3.0.0)
112+
rack-test (2.2.0)
81113
rack (>= 1.3)
114+
rackup (2.2.1)
115+
rack (>= 3)
82116
rails-dom-testing (2.2.0)
83117
activesupport (>= 5.0.0)
84118
minitest
85119
nokogiri (>= 1.6)
86-
rails-html-sanitizer (1.6.0)
120+
rails-html-sanitizer (1.6.2)
87121
loofah (~> 2.21)
88-
nokogiri (~> 1.14)
89-
railties (7.0.8.5)
90-
actionpack (= 7.0.8.5)
91-
activesupport (= 7.0.8.5)
92-
method_source
122+
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)
123+
railties (8.0.1)
124+
actionpack (= 8.0.1)
125+
activesupport (= 8.0.1)
126+
irb (~> 1.13)
127+
rackup (>= 1.0.0)
93128
rake (>= 12.2)
94-
thor (~> 1.0)
95-
zeitwerk (~> 2.5)
129+
thor (~> 1.0, >= 1.2.2)
130+
zeitwerk (~> 2.6)
96131
rainbow (3.1.1)
97132
rake (13.2.1)
98-
regexp_parser (2.9.2)
99-
rexml (3.3.9)
133+
rdoc (6.11.0)
134+
psych (>= 4.0.0)
135+
regexp_parser (2.10.0)
136+
reline (0.6.0)
137+
io-console (~> 0.5)
138+
rexml (3.4.0)
100139
rspec-core (3.13.2)
101140
rspec-support (~> 3.13.0)
102141
rspec-expectations (3.13.3)
@@ -115,7 +154,7 @@ GEM
115154
rspec-support (~> 3.13)
116155
rspec-retry (0.6.2)
117156
rspec-core (> 3.3)
118-
rspec-support (3.13.1)
157+
rspec-support (3.13.2)
119158
rubocop (1.62.1)
120159
json (~> 2.3)
121160
language_server-protocol (>= 3.17.0)
@@ -127,7 +166,7 @@ GEM
127166
rubocop-ast (>= 1.31.1, < 2.0)
128167
ruby-progressbar (~> 1.7)
129168
unicode-display_width (>= 2.4.0, < 3.0)
130-
rubocop-ast (1.36.1)
169+
rubocop-ast (1.37.0)
131170
parser (>= 3.3.1.0)
132171
rubocop-capybara (2.21.0)
133172
rubocop (~> 1.41)
@@ -153,19 +192,25 @@ GEM
153192
rubocop-rspec_rails (2.29.1)
154193
rubocop (~> 1.61)
155194
ruby-progressbar (1.13.0)
195+
securerandom (0.4.1)
196+
stringio (3.1.2)
156197
thor (1.3.2)
198+
timeout (0.4.3)
157199
tzinfo (2.0.6)
158200
concurrent-ruby (~> 1.0)
159201
unicode-display_width (2.6.0)
202+
uri (1.0.2)
203+
useragent (0.16.11)
160204
zeitwerk (2.7.1)
161205

162206
PLATFORMS
163207
arm64-darwin-22
208+
arm64-darwin-23
164209
x86_64-darwin-22
165210
x86_64-linux
166211

167212
DEPENDENCIES
168-
appraisal (~> 2.2.0)
213+
appraisal
169214
betterlint
170215
database_cleaner
171216
mysql2
@@ -175,4 +220,4 @@ DEPENDENCIES
175220
with_transactional_lock!
176221

177222
BUNDLED WITH
178-
2.4.22
223+
2.6.3

gemfiles/rails_7_0.gemfile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,13 @@
22

33
source "https://rubygems.org"
44

5-
gem "activerecord", "~> 7.0.0"
65
gem "railties", "~> 7.0.0"
6+
gem "base64"
7+
gem "bigdecimal"
8+
gem "benchmark"
9+
gem "concurrent-ruby", "1.3.4"
10+
gem "drb"
11+
gem "logger"
12+
gem "mutex_m"
713

814
gemspec path: "../"

0 commit comments

Comments
 (0)