Skip to content

Commit defc017

Browse files
committed
chore: upgrade local development stack
1 parent e0ad345 commit defc017

19 files changed

Lines changed: 77 additions & 64 deletions

‎.github/workflows/js.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
strategy:
1010
matrix:
1111
os: [ubuntu-latest]
12-
node: [20]
12+
node: [24]
1313

1414
runs-on: ${{ matrix.os }}
1515

@@ -18,7 +18,7 @@ jobs:
1818

1919
- uses: pnpm/action-setup@v4
2020
with:
21-
version: 10
21+
version: 12
2222

2323
- uses: actions/setup-node@v4
2424
with:

‎.github/workflows/rubocop.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
matrix:
1111
os: [ubuntu-latest]
1212
ruby: [
13-
3.3
13+
4.0
1414
]
1515

1616
steps:

‎.github/workflows/ruby.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ jobs:
2323
]
2424
experimental: [false]
2525
include:
26-
- ruby: "3.4"
26+
- ruby: "4.0"
2727
os: ubuntu-latest
2828
gemfile: "Gemfile-rails.8.0.x"
2929
experimental: true
30-
- ruby: "3.4"
30+
- ruby: "4.0"
3131
os: ubuntu-latest
3232
gemfile: Gemfile-rails-edge
3333
experimental: true
@@ -41,7 +41,7 @@ jobs:
4141

4242
- uses: actions/setup-node@v4
4343
with:
44-
node-version: '20'
44+
node-version: '24'
4545

4646
- uses: ruby/setup-ruby@v1
4747
with:

‎.node-version‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
24.20.0

‎.ruby-version‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.3.6
1+
4.0.6

‎Gemfile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

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

5+
gem "benchmark"
56
gem "rails"
67

78
gemspec path: "./vite_ruby"

‎Gemfile.lock‎

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -100,10 +100,12 @@ GEM
100100
ansi (1.5.0)
101101
ast (2.4.2)
102102
base64 (0.3.0)
103+
benchmark (0.5.0)
103104
benchmark-ips (2.14.0)
104105
bigdecimal (4.1.2)
105106
builder (3.3.0)
106-
byebug (11.1.3)
107+
byebug (13.0.0)
108+
reline (>= 0.6.0)
107109
coderay (1.1.3)
108110
concurrent-ruby (1.3.8)
109111
connection_pool (3.0.2)
@@ -140,7 +142,7 @@ GEM
140142
net-pop
141143
net-smtp
142144
marcel (1.0.2)
143-
method_source (1.0.0)
145+
method_source (1.1.0)
144146
mini_mime (1.1.5)
145147
mini_portile2 (2.8.9)
146148
minitest (5.27.0)
@@ -172,12 +174,13 @@ GEM
172174
prettyprint
173175
prettyprint (0.2.0)
174176
prism (1.9.0)
175-
pry (0.14.2)
177+
pry (0.16.0)
176178
coderay (~> 1.1)
177179
method_source (~> 1.0)
178-
pry-byebug (3.10.1)
179-
byebug (~> 11.0)
180-
pry (>= 0.13, < 0.15)
180+
reline (>= 0.6.0)
181+
pry-byebug (3.12.0)
182+
byebug (~> 13.0)
183+
pry (>= 0.13, < 0.17)
181184
racc (1.8.1)
182185
rack (3.2.7)
183186
rack-proxy (1.0.1)
@@ -277,7 +280,7 @@ GEM
277280
concurrent-ruby (~> 1.0)
278281
unicode-display_width (3.1.4)
279282
unicode-emoji (~> 4.0, >= 4.0.4)
280-
unicode-emoji (4.0.4)
283+
unicode-emoji (4.2.0)
281284
websocket-driver (0.7.6)
282285
websocket-extensions (>= 0.1.0)
283286
websocket-extensions (0.1.5)
@@ -287,6 +290,7 @@ PLATFORMS
287290
ruby
288291

289292
DEPENDENCIES
293+
benchmark
290294
benchmark-ips
291295
m (~> 1.5)
292296
minitest (~> 5.0)
@@ -306,4 +310,4 @@ DEPENDENCIES
306310
vite_ruby!
307311

308312
BUNDLED WITH
309-
2.4.10
313+
4.0.20

‎examples/rails/.ruby-version‎

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

‎examples/rails/Dockerfile‎

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
1-
FROM ruby:3.0 AS builder
1+
FROM ruby:4.0.6 AS builder
22

33
# Install nodejs in the ruby image
4-
RUN curl -sL https://deb.nodesource.com/setup_16.x | bash - && apt-get install -y nodejs
5-
RUN npm install -g yarn
4+
RUN curl -sL https://deb.nodesource.com/setup_24.x | bash - && apt-get install -y nodejs
5+
RUN npm install -g pnpm@12 && pnpm config set store-dir /pnpm_cache
66

77
# Gems and packages will be cached in a separate image using a mounted volume.
88
ENV BUNDLE_PATH /bundler_cache
9-
ENV YARN_CACHE_FOLDER /yarn_cache
10-
ENV BUNDLER_VERSION 2.3.22
9+
ENV BUNDLER_VERSION 4.0.20
1110

1211
# Match the version of Bundler with that specified in Gemfile.lock
1312
RUN gem update --system \

‎examples/rails/Gemfile.lock‎

Lines changed: 33 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ GEM
8686
addressable (2.8.0)
8787
public_suffix (>= 2.0.2, < 5.0)
8888
base64 (0.3.0)
89-
bigdecimal (4.0.1)
89+
bigdecimal (4.1.3)
9090
bindex (0.8.1)
9191
bootsnap (1.10.1)
9292
msgpack (~> 1.2)
@@ -107,9 +107,9 @@ GEM
107107
activesupport
108108
capybara
109109
childprocess (4.1.0)
110-
concurrent-ruby (1.3.6)
110+
concurrent-ruby (1.3.8)
111111
connection_pool (3.0.2)
112-
crass (1.0.6)
112+
crass (1.0.7)
113113
cuprite (0.14.2)
114114
capybara (~> 3.0)
115115
ferrum (~> 0.12.0)
@@ -119,8 +119,8 @@ GEM
119119
reline (>= 0.3.8)
120120
diff-lcs (1.5.0)
121121
drb (2.2.3)
122-
dry-cli (1.2.0)
123-
erb (6.0.2)
122+
dry-cli (1.4.1)
123+
erb (6.0.7)
124124
erubi (1.13.1)
125125
ferrum (0.12)
126126
addressable (~> 2.5)
@@ -130,22 +130,22 @@ GEM
130130
ffi (1.15.5)
131131
globalid (1.3.0)
132132
activesupport (>= 6.1)
133-
i18n (1.14.8)
133+
i18n (1.15.2)
134134
concurrent-ruby (~> 1.0)
135-
io-console (0.8.2)
136-
irb (1.17.0)
135+
io-console (0.9.3)
136+
irb (1.18.0)
137137
pp (>= 0.6.0)
138138
prism (>= 1.3.0)
139139
rdoc (>= 4.0.0)
140140
reline (>= 0.4.2)
141-
json (2.19.1)
141+
json (3.0.2)
142142
launchy (2.5.0)
143143
addressable (~> 2.7)
144144
listen (3.7.1)
145145
rb-fsevent (~> 0.10, >= 0.10.3)
146146
rb-inotify (~> 0.9, >= 0.9.10)
147147
logger (1.7.0)
148-
loofah (2.25.1)
148+
loofah (2.25.2)
149149
crass (~> 1.0.2)
150150
nokogiri (>= 1.12.0)
151151
mail (2.9.0)
@@ -158,7 +158,7 @@ GEM
158158
matrix (0.4.2)
159159
mini_mime (1.1.5)
160160
mini_portile2 (2.8.9)
161-
minitest (6.0.2)
161+
minitest (6.0.6)
162162
drb (~> 2.0)
163163
prism (~> 1.5)
164164
msgpack (1.4.2)
@@ -173,24 +173,21 @@ GEM
173173
net-smtp (0.5.1)
174174
net-protocol
175175
nio4r (2.7.5)
176-
nokogiri (1.19.1)
176+
nokogiri (1.19.4)
177177
mini_portile2 (~> 2.8.2)
178178
racc (~> 1.4)
179-
pp (0.6.3)
179+
pp (0.6.4)
180180
prettyprint
181181
prettyprint (0.2.0)
182182
prism (1.9.0)
183-
psych (5.3.1)
184-
date
185-
stringio
186183
public_suffix (4.0.6)
187184
puma (5.5.2)
188185
nio4r (~> 2.0)
189186
racc (1.8.1)
190-
rack (3.2.5)
191-
rack-proxy (0.7.7)
192-
rack
193-
rack-session (2.1.1)
187+
rack (3.2.7)
188+
rack-proxy (2.0.1)
189+
rack (>= 2.0, < 4)
190+
rack-session (2.1.2)
194191
base64 (>= 0.1.0)
195192
rack (>= 3.0.0)
196193
rack-test (2.2.0)
@@ -215,8 +212,8 @@ GEM
215212
activesupport (>= 5.0.0)
216213
minitest
217214
nokogiri (>= 1.6)
218-
rails-html-sanitizer (1.7.0)
219-
loofah (~> 2.25)
215+
rails-html-sanitizer (1.7.1)
216+
loofah (~> 2.25, >= 2.25.2)
220217
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)
221218
railties (8.1.2)
222219
actionpack (= 8.1.2)
@@ -227,16 +224,21 @@ GEM
227224
thor (~> 1.0, >= 1.2.2)
228225
tsort (>= 0.2)
229226
zeitwerk (~> 2.6)
230-
rake (13.3.1)
227+
rake (13.4.2)
231228
rb-fsevent (0.11.0)
232229
rb-inotify (0.10.1)
233230
ffi (~> 1.0)
234-
rdoc (7.2.0)
231+
rbs (4.2.0)
232+
logger
233+
prism (>= 1.6.0)
234+
tsort
235+
rdoc (8.0.0)
235236
erb
236-
psych (>= 4.0.0)
237+
prism (>= 1.6.0)
238+
rbs (>= 4.0.0)
237239
tsort
238240
regexp_parser (2.2.0)
239-
reline (0.6.3)
241+
reline (0.7.0)
240242
io-console (~> 0.5)
241243
rexml (3.2.5)
242244
rspec-core (3.10.1)
@@ -264,7 +266,6 @@ GEM
264266
rubyzip (>= 1.2.2)
265267
sqlite3 (2.9.2)
266268
mini_portile2 (~> 2.8.0)
267-
stringio (3.2.0)
268269
thor (1.5.0)
269270
timeout (0.6.1)
270271
tsort (0.2.0)
@@ -274,14 +275,14 @@ GEM
274275
useragent (0.16.11)
275276
vite_plugin_legacy (3.0.2)
276277
vite_ruby (~> 3.0, >= 3.0.4)
277-
vite_rails (3.0.20)
278+
vite_rails (3.11.1)
278279
railties (>= 5.1, < 9)
279280
vite_ruby (~> 3.0, >= 3.2.2)
280-
vite_ruby (3.9.3)
281+
vite_ruby (3.10.5)
281282
dry-cli (>= 0.7, < 2)
282283
logger (~> 1.6)
283284
mutex_m
284-
rack-proxy (~> 0.6, >= 0.6.1)
285+
rack-proxy (>= 0.6.1)
285286
zeitwerk (~> 2.2)
286287
web-console (4.2.0)
287288
actionview (>= 6.0.0)
@@ -299,7 +300,7 @@ GEM
299300
websocket-extensions (0.1.5)
300301
xpath (3.2.0)
301302
nokogiri (~> 1.8)
302-
zeitwerk (2.7.5)
303+
zeitwerk (2.8.3)
303304

304305
PLATFORMS
305306
ruby
@@ -325,4 +326,4 @@ DEPENDENCIES
325326
webdrivers
326327

327328
BUNDLED WITH
328-
2.6.9
329+
4.0.20

0 commit comments

Comments
 (0)