Skip to content

Commit b41d51d

Browse files
committed
Upgrade to Ruby 4.0
Just for fun, upgrade to Ruby 4.0 [1]. It's been a few months now, so hopefully at the downstream gems have been fixed up. [1] https://www.ruby-lang.org/en/news/2025/12/25/ruby-4-0-0-released/
1 parent 21118d8 commit b41d51d

File tree

5 files changed

+42
-44
lines changed

5 files changed

+42
-44
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 1 deletion
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.4"
17+
RUBY_VERSION: "4.0"
1818

1919
# A suitable URL for a test database.
2020
TEST_DATABASE_NAME: river_test
@@ -134,6 +134,7 @@ jobs:
134134
- "3.2"
135135
- "3.3"
136136
- "3.4"
137+
- "4.0"
137138

138139
services:
139140
postgres:

.tool-versions

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

Gemfile.lock

Lines changed: 34 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -13,126 +13,124 @@ PATH
1313
GEM
1414
remote: https://rubygems.org/
1515
specs:
16-
activesupport (8.0.4.1)
16+
activesupport (8.1.3)
1717
base64
18-
benchmark (>= 0.3)
1918
bigdecimal
2019
concurrent-ruby (~> 1.0, >= 1.3.1)
2120
connection_pool (>= 2.2.5)
2221
drb
2322
i18n (>= 1.6, < 2)
23+
json
2424
logger (>= 1.4.2)
25-
minitest (>= 5.1, < 6)
25+
minitest (>= 5.1)
2626
securerandom (>= 0.3)
2727
tzinfo (~> 2.0, >= 2.0.5)
2828
uri (>= 0.13.1)
2929
ast (2.4.3)
3030
base64 (0.3.0)
31-
benchmark (0.5.0)
3231
bigdecimal (4.0.1)
3332
concurrent-ruby (1.3.6)
3433
connection_pool (3.0.2)
3534
csv (3.3.5)
36-
date (3.4.1)
37-
debug (1.11.0)
35+
date (3.5.1)
36+
debug (1.11.1)
3837
irb (~> 1.10)
3938
reline (>= 0.3.8)
4039
diff-lcs (1.6.2)
4140
docile (1.4.1)
4241
drb (2.2.3)
43-
erb (5.1.1)
44-
ffi (1.17.2-arm64-darwin)
45-
ffi (1.17.2-x86_64-linux-gnu)
46-
fileutils (1.7.3)
42+
erb (6.0.1)
43+
ffi (1.17.2)
44+
fileutils (1.8.0)
4745
i18n (1.14.8)
4846
concurrent-ruby (~> 1.0)
49-
io-console (0.8.1)
50-
irb (1.15.2)
47+
io-console (0.8.2)
48+
irb (1.16.0)
5149
pp (>= 0.6.0)
5250
rdoc (>= 4.0.0)
5351
reline (>= 0.4.2)
54-
json (2.15.2.1)
52+
json (2.18.0)
5553
language_server-protocol (3.17.0.5)
5654
lint_roller (1.1.0)
5755
listen (3.9.0)
5856
rb-fsevent (~> 0.10, >= 0.10.3)
5957
rb-inotify (~> 0.9, >= 0.9.10)
6058
logger (1.7.0)
61-
minitest (5.27.0)
59+
minitest (6.0.0)
60+
prism (~> 1.5)
6261
mutex_m (0.3.0)
6362
parallel (1.27.0)
64-
parser (3.3.9.0)
63+
parser (3.3.10.0)
6564
ast (~> 2.4.1)
6665
racc
67-
pg (1.6.2-arm64-darwin)
68-
pg (1.6.2-x86_64-linux)
66+
pg (1.6.2)
6967
pp (0.6.3)
7068
prettyprint
7169
prettyprint (0.2.0)
72-
prism (1.6.0)
73-
psych (5.2.6)
70+
prism (1.7.0)
71+
psych (5.3.1)
7472
date
7573
stringio
7674
racc (1.8.1)
7775
rainbow (3.1.1)
7876
rb-fsevent (0.11.2)
7977
rb-inotify (0.11.1)
8078
ffi (~> 1.0)
81-
rbs (3.9.5)
79+
rbs (3.10.0)
8280
logger
83-
rdoc (6.15.0)
81+
rdoc (7.0.3)
8482
erb
8583
psych (>= 4.0.0)
8684
tsort
8785
regexp_parser (2.11.3)
88-
reline (0.6.2)
86+
reline (0.6.3)
8987
io-console (~> 0.5)
9088
rspec-core (3.13.6)
9189
rspec-support (~> 3.13.0)
9290
rspec-expectations (3.13.5)
9391
diff-lcs (>= 1.2.0, < 2.0)
9492
rspec-support (~> 3.13.0)
9593
rspec-support (3.13.6)
96-
rubocop (1.80.2)
94+
rubocop (1.81.7)
9795
json (~> 2.3)
9896
language_server-protocol (~> 3.17.0.2)
9997
lint_roller (~> 1.1.0)
10098
parallel (~> 1.10)
10199
parser (>= 3.3.0.2)
102100
rainbow (>= 2.2.2, < 4.0)
103101
regexp_parser (>= 2.9.3, < 3.0)
104-
rubocop-ast (>= 1.46.0, < 2.0)
102+
rubocop-ast (>= 1.47.1, < 2.0)
105103
ruby-progressbar (~> 1.7)
106104
unicode-display_width (>= 2.4.0, < 4.0)
107-
rubocop-ast (1.47.1)
105+
rubocop-ast (1.48.0)
108106
parser (>= 3.3.7.2)
109107
prism (~> 1.4)
110-
rubocop-performance (1.25.0)
108+
rubocop-performance (1.26.1)
111109
lint_roller (~> 1.1)
112110
rubocop (>= 1.75.0, < 2.0)
113-
rubocop-ast (>= 1.38.0, < 2.0)
111+
rubocop-ast (>= 1.47.1, < 2.0)
114112
ruby-progressbar (1.13.0)
115113
securerandom (0.4.1)
116-
sequel (5.97.0)
114+
sequel (5.99.0)
117115
bigdecimal
118116
simplecov (0.22.0)
119117
docile (~> 1.1)
120118
simplecov-html (~> 0.11)
121119
simplecov_json_formatter (~> 0.1)
122120
simplecov-html (0.13.2)
123121
simplecov_json_formatter (0.1.4)
124-
standard (1.51.1)
122+
standard (1.52.0)
125123
language_server-protocol (~> 3.17.0.2)
126124
lint_roller (~> 1.0)
127-
rubocop (~> 1.80.2)
125+
rubocop (~> 1.81.7)
128126
standard-custom (~> 1.0.0)
129127
standard-performance (~> 1.8)
130128
standard-custom (1.0.2)
131129
lint_roller (~> 1.0)
132130
rubocop (~> 1.50)
133-
standard-performance (1.8.0)
131+
standard-performance (1.9.0)
134132
lint_roller (~> 1.1)
135-
rubocop-performance (~> 1.25.0)
133+
rubocop-performance (~> 1.26.0)
136134
steep (1.10.0)
137135
activesupport (>= 5.1)
138136
concurrent-ruby (>= 1.1.10)
@@ -150,23 +148,20 @@ GEM
150148
strscan (>= 1.0.0)
151149
terminal-table (>= 2, < 5)
152150
uri (>= 0.12.0)
153-
stringio (3.1.7)
154-
strscan (3.1.5)
151+
stringio (3.2.0)
152+
strscan (3.1.6)
155153
terminal-table (4.0.0)
156154
unicode-display_width (>= 1.1.1, < 4)
157155
tsort (0.2.0)
158156
tzinfo (2.0.6)
159157
concurrent-ruby (~> 1.0)
160158
unicode-display_width (3.2.0)
161159
unicode-emoji (~> 4.1)
162-
unicode-emoji (4.1.0)
160+
unicode-emoji (4.2.0)
163161
uri (1.1.1)
164162

165163
PLATFORMS
166-
arm64-darwin-22
167-
arm64-darwin-23
168-
arm64-darwin-24
169-
x86_64-linux
164+
arm64-darwin-25
170165

171166
DEPENDENCIES
172167
debug

driver/riverqueue-activerecord/Gemfile.lock

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,13 +121,14 @@ GEM
121121
concurrent-ruby (~> 1.0)
122122
unicode-display_width (3.1.2)
123123
unicode-emoji (~> 4.0, >= 4.0.4)
124-
unicode-emoji (4.0.4)
125-
uri (1.1.1)
124+
unicode-emoji (4.2.0)
125+
uri (1.0.2)
126126

127127
PLATFORMS
128128
arm64-darwin-22
129129
arm64-darwin-23
130130
arm64-darwin-24
131+
arm64-darwin-25
131132
x86_64-linux
132133

133134
DEPENDENCIES

driver/riverqueue-sequel/Gemfile.lock

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,13 @@ GEM
7272
rubocop-performance (~> 1.23.0)
7373
unicode-display_width (3.1.2)
7474
unicode-emoji (~> 4.0, >= 4.0.4)
75-
unicode-emoji (4.0.4)
75+
unicode-emoji (4.2.0)
7676

7777
PLATFORMS
7878
arm64-darwin-22
7979
arm64-darwin-23
8080
arm64-darwin-24
81+
arm64-darwin-25
8182
x86_64-linux
8283

8384
DEPENDENCIES

0 commit comments

Comments
 (0)