Skip to content

Commit 0d2d588

Browse files
authored
Add Ruby 3.4 to CI matrix and make it default + drop 3.1 (#38)
Add the newly released Ruby 3.4 to the CI build matrix and make it the default version for all non-test jobs. Run `bundle update` for gem and drivers. Drop Ruby 3.1, not because River's incompatible with it, but because ActiveSupport has quite aggressively dropped Ruby support and the latest 8+ version won't run with it.
1 parent 6c93eed commit 0d2d588

File tree

5 files changed

+121
-111
lines changed

5 files changed

+121
-111
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ env:
1414
#
1515
# If updating this value, you probably also want to add a new version to the
1616
# spec version matrix below.
17-
RUBY_VERSION: "3.3"
17+
RUBY_VERSION: "3.4"
1818

1919
# A suitable URL for a test database.
2020
TEST_DATABASE_NAME: river_test
@@ -131,9 +131,9 @@ jobs:
131131
# If adding a value, you probably also want to update the default
132132
# RUBY_VERSION for non-spec jobs above.
133133
ruby_version:
134-
- "3.1"
135134
- "3.2"
136135
- "3.3"
136+
- "3.4"
137137

138138
services:
139139
postgres:

.tool-versions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ruby 3.3
1+
ruby 3.4

Gemfile.lock

Lines changed: 47 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@ PATH
1313
GEM
1414
remote: https://rubygems.org/
1515
specs:
16-
activesupport (7.2.1)
16+
activesupport (8.0.1)
1717
base64
18+
benchmark (>= 0.3)
1819
bigdecimal
1920
concurrent-ruby (~> 1.0, >= 1.3.1)
2021
connection_pool (>= 2.2.5)
@@ -24,100 +25,101 @@ GEM
2425
minitest (>= 5.1)
2526
securerandom (>= 0.3)
2627
tzinfo (~> 2.0, >= 2.0.5)
28+
uri (>= 0.13.1)
2729
ast (2.4.2)
2830
base64 (0.2.0)
29-
bigdecimal (3.1.8)
31+
benchmark (0.4.0)
32+
bigdecimal (3.1.9)
3033
concurrent-ruby (1.3.4)
3134
connection_pool (2.4.1)
32-
csv (3.3.0)
33-
debug (1.9.2)
35+
csv (3.3.2)
36+
date (3.4.1)
37+
debug (1.10.0)
3438
irb (~> 1.10)
3539
reline (>= 0.3.8)
3640
diff-lcs (1.5.1)
3741
docile (1.4.1)
3842
drb (2.2.1)
39-
ffi (1.17.0-arm64-darwin)
40-
ffi (1.17.0-x86_64-linux-gnu)
41-
fileutils (1.7.2)
42-
i18n (1.14.5)
43+
ffi (1.17.0)
44+
fileutils (1.7.3)
45+
i18n (1.14.6)
4346
concurrent-ruby (~> 1.0)
44-
io-console (0.7.2)
45-
irb (1.14.0)
47+
io-console (0.8.0)
48+
irb (1.14.3)
4649
rdoc (>= 4.0.0)
4750
reline (>= 0.4.2)
48-
json (2.7.2)
51+
json (2.9.1)
4952
language_server-protocol (3.17.0.3)
5053
lint_roller (1.1.0)
5154
listen (3.9.0)
5255
rb-fsevent (~> 0.10, >= 0.10.3)
5356
rb-inotify (~> 0.9, >= 0.9.10)
54-
logger (1.6.0)
55-
minitest (5.25.1)
57+
logger (1.6.4)
58+
minitest (5.25.4)
5659
parallel (1.26.3)
57-
parser (3.3.4.2)
60+
parser (3.3.6.0)
5861
ast (~> 2.4.1)
5962
racc
60-
pg (1.5.7)
61-
psych (5.1.2)
63+
pg (1.5.9)
64+
psych (5.2.2)
65+
date
6266
stringio
6367
racc (1.8.1)
6468
rainbow (3.1.1)
6569
rb-fsevent (0.11.2)
6670
rb-inotify (0.11.1)
6771
ffi (~> 1.0)
68-
rbs (3.5.3)
72+
rbs (3.7.0)
6973
logger
70-
rdoc (6.7.0)
74+
rdoc (6.10.0)
7175
psych (>= 4.0.0)
72-
regexp_parser (2.9.2)
73-
reline (0.5.9)
76+
regexp_parser (2.10.0)
77+
reline (0.6.0)
7478
io-console (~> 0.5)
75-
rexml (3.4.0)
76-
rspec-core (3.13.0)
79+
rspec-core (3.13.2)
7780
rspec-support (~> 3.13.0)
78-
rspec-expectations (3.13.2)
81+
rspec-expectations (3.13.3)
7982
diff-lcs (>= 1.2.0, < 2.0)
8083
rspec-support (~> 3.13.0)
81-
rspec-support (3.13.1)
82-
rubocop (1.65.1)
84+
rspec-support (3.13.2)
85+
rubocop (1.69.2)
8386
json (~> 2.3)
8487
language_server-protocol (>= 3.17.0)
8588
parallel (~> 1.10)
8689
parser (>= 3.3.0.2)
8790
rainbow (>= 2.2.2, < 4.0)
88-
regexp_parser (>= 2.4, < 3.0)
89-
rexml (>= 3.2.5, < 4.0)
90-
rubocop-ast (>= 1.31.1, < 2.0)
91+
regexp_parser (>= 2.9.3, < 3.0)
92+
rubocop-ast (>= 1.36.2, < 2.0)
9193
ruby-progressbar (~> 1.7)
92-
unicode-display_width (>= 2.4.0, < 3.0)
93-
rubocop-ast (1.32.1)
94+
unicode-display_width (>= 2.4.0, < 4.0)
95+
rubocop-ast (1.37.0)
9496
parser (>= 3.3.1.0)
95-
rubocop-performance (1.21.1)
97+
rubocop-performance (1.23.0)
9698
rubocop (>= 1.48.1, < 2.0)
9799
rubocop-ast (>= 1.31.1, < 2.0)
98100
ruby-progressbar (1.13.0)
99-
securerandom (0.3.1)
100-
sequel (5.83.1)
101+
securerandom (0.4.1)
102+
sequel (5.87.0)
101103
bigdecimal
102104
simplecov (0.22.0)
103105
docile (~> 1.1)
104106
simplecov-html (~> 0.11)
105107
simplecov_json_formatter (~> 0.1)
106-
simplecov-html (0.12.3)
108+
simplecov-html (0.13.1)
107109
simplecov_json_formatter (0.1.4)
108-
standard (1.40.0)
110+
standard (1.43.0)
109111
language_server-protocol (~> 3.17.0.2)
110112
lint_roller (~> 1.0)
111-
rubocop (~> 1.65.0)
113+
rubocop (~> 1.69.1)
112114
standard-custom (~> 1.0.0)
113-
standard-performance (~> 1.4)
115+
standard-performance (~> 1.6)
114116
standard-custom (1.0.2)
115117
lint_roller (~> 1.0)
116118
rubocop (~> 1.50)
117-
standard-performance (1.4.0)
119+
standard-performance (1.6.0)
118120
lint_roller (~> 1.1)
119-
rubocop-performance (~> 1.21.0)
120-
steep (1.7.1)
121+
rubocop-performance (~> 1.23.0)
122+
steep (1.9.2)
121123
activesupport (>= 5.1)
122124
concurrent-ruby (>= 1.1.10)
123125
csv (>= 3.0.9)
@@ -128,17 +130,19 @@ GEM
128130
logger (>= 1.3.0)
129131
parser (>= 3.1)
130132
rainbow (>= 2.2.2, < 4.0)
131-
rbs (>= 3.5.0.pre)
133+
rbs (~> 3.7.0)
132134
securerandom (>= 0.1)
133135
strscan (>= 1.0.0)
134136
terminal-table (>= 2, < 4)
135-
stringio (3.1.1)
137+
uri (>= 0.12.0)
138+
stringio (3.1.2)
136139
strscan (3.1.2)
137140
terminal-table (3.0.2)
138141
unicode-display_width (>= 1.1.1, < 3)
139142
tzinfo (2.0.6)
140143
concurrent-ruby (~> 1.0)
141-
unicode-display_width (2.5.0)
144+
unicode-display_width (2.6.0)
145+
uri (1.0.2)
142146

143147
PLATFORMS
144148
arm64-darwin-22

driver/riverqueue-activerecord/Gemfile.lock

Lines changed: 47 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,15 @@ PATH
1414
GEM
1515
remote: https://rubygems.org/
1616
specs:
17-
activemodel (7.2.1)
18-
activesupport (= 7.2.1)
19-
activerecord (7.2.1)
20-
activemodel (= 7.2.1)
21-
activesupport (= 7.2.1)
17+
activemodel (8.0.1)
18+
activesupport (= 8.0.1)
19+
activerecord (8.0.1)
20+
activemodel (= 8.0.1)
21+
activesupport (= 8.0.1)
2222
timeout (>= 0.4.0)
23-
activesupport (7.2.1)
23+
activesupport (8.0.1)
2424
base64
25+
benchmark (>= 0.3)
2526
bigdecimal
2627
concurrent-ruby (~> 1.0, >= 1.3.1)
2728
connection_pool (>= 2.2.5)
@@ -31,90 +32,95 @@ GEM
3132
minitest (>= 5.1)
3233
securerandom (>= 0.3)
3334
tzinfo (~> 2.0, >= 2.0.5)
35+
uri (>= 0.13.1)
3436
ast (2.4.2)
3537
base64 (0.2.0)
36-
bigdecimal (3.1.8)
38+
benchmark (0.4.0)
39+
bigdecimal (3.1.9)
3740
concurrent-ruby (1.3.4)
3841
connection_pool (2.4.1)
39-
debug (1.9.2)
42+
date (3.4.1)
43+
debug (1.10.0)
4044
irb (~> 1.10)
4145
reline (>= 0.3.8)
4246
diff-lcs (1.5.1)
4347
docile (1.4.1)
4448
drb (2.2.1)
45-
i18n (1.14.5)
49+
i18n (1.14.6)
4650
concurrent-ruby (~> 1.0)
47-
io-console (0.7.2)
48-
irb (1.14.0)
51+
io-console (0.8.0)
52+
irb (1.14.3)
4953
rdoc (>= 4.0.0)
5054
reline (>= 0.4.2)
51-
json (2.7.2)
55+
json (2.9.1)
5256
language_server-protocol (3.17.0.3)
5357
lint_roller (1.1.0)
54-
logger (1.6.0)
55-
minitest (5.25.1)
58+
logger (1.6.4)
59+
minitest (5.25.4)
5660
parallel (1.26.3)
57-
parser (3.3.4.2)
61+
parser (3.3.6.0)
5862
ast (~> 2.4.1)
5963
racc
60-
pg (1.5.7)
61-
psych (5.1.2)
64+
pg (1.5.9)
65+
psych (5.2.2)
66+
date
6267
stringio
6368
racc (1.8.1)
6469
rainbow (3.1.1)
65-
rdoc (6.7.0)
70+
rdoc (6.10.0)
6671
psych (>= 4.0.0)
67-
regexp_parser (2.9.2)
68-
reline (0.5.9)
72+
regexp_parser (2.10.0)
73+
reline (0.6.0)
6974
io-console (~> 0.5)
70-
rexml (3.4.0)
71-
rspec-core (3.13.0)
75+
rspec-core (3.13.2)
7276
rspec-support (~> 3.13.0)
73-
rspec-expectations (3.13.2)
77+
rspec-expectations (3.13.3)
7478
diff-lcs (>= 1.2.0, < 2.0)
7579
rspec-support (~> 3.13.0)
76-
rspec-support (3.13.1)
77-
rubocop (1.65.1)
80+
rspec-support (3.13.2)
81+
rubocop (1.69.2)
7882
json (~> 2.3)
7983
language_server-protocol (>= 3.17.0)
8084
parallel (~> 1.10)
8185
parser (>= 3.3.0.2)
8286
rainbow (>= 2.2.2, < 4.0)
83-
regexp_parser (>= 2.4, < 3.0)
84-
rexml (>= 3.2.5, < 4.0)
85-
rubocop-ast (>= 1.31.1, < 2.0)
87+
regexp_parser (>= 2.9.3, < 3.0)
88+
rubocop-ast (>= 1.36.2, < 2.0)
8689
ruby-progressbar (~> 1.7)
87-
unicode-display_width (>= 2.4.0, < 3.0)
88-
rubocop-ast (1.32.1)
90+
unicode-display_width (>= 2.4.0, < 4.0)
91+
rubocop-ast (1.37.0)
8992
parser (>= 3.3.1.0)
90-
rubocop-performance (1.21.1)
93+
rubocop-performance (1.23.0)
9194
rubocop (>= 1.48.1, < 2.0)
9295
rubocop-ast (>= 1.31.1, < 2.0)
9396
ruby-progressbar (1.13.0)
94-
securerandom (0.3.1)
97+
securerandom (0.4.1)
9598
simplecov (0.22.0)
9699
docile (~> 1.1)
97100
simplecov-html (~> 0.11)
98101
simplecov_json_formatter (~> 0.1)
99-
simplecov-html (0.12.3)
102+
simplecov-html (0.13.1)
100103
simplecov_json_formatter (0.1.4)
101-
standard (1.40.0)
104+
standard (1.43.0)
102105
language_server-protocol (~> 3.17.0.2)
103106
lint_roller (~> 1.0)
104-
rubocop (~> 1.65.0)
107+
rubocop (~> 1.69.1)
105108
standard-custom (~> 1.0.0)
106-
standard-performance (~> 1.4)
109+
standard-performance (~> 1.6)
107110
standard-custom (1.0.2)
108111
lint_roller (~> 1.0)
109112
rubocop (~> 1.50)
110-
standard-performance (1.4.0)
113+
standard-performance (1.6.0)
111114
lint_roller (~> 1.1)
112-
rubocop-performance (~> 1.21.0)
113-
stringio (3.1.1)
114-
timeout (0.4.1)
115+
rubocop-performance (~> 1.23.0)
116+
stringio (3.1.2)
117+
timeout (0.4.3)
115118
tzinfo (2.0.6)
116119
concurrent-ruby (~> 1.0)
117-
unicode-display_width (2.5.0)
120+
unicode-display_width (3.1.2)
121+
unicode-emoji (~> 4.0, >= 4.0.4)
122+
unicode-emoji (4.0.4)
123+
uri (1.0.2)
118124

119125
PLATFORMS
120126
arm64-darwin-22

0 commit comments

Comments
 (0)