Skip to content

Commit abab4a3

Browse files
authored
Merge pull request #15 from nativeapptemplate/update_ruby_4_0_1
Update Ruby from 3.4.1 to 4.0.1
2 parents 14dacd8 + 28730bb commit abab4a3

5 files changed

Lines changed: 46 additions & 32 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ jobs:
4040
- name: Lint code for consistent style
4141
run: bin/rubocop -f github
4242

43-
- name: Erblint
44-
run: bundle exec erblint --lint-all
43+
- name: Erb Lint
44+
run: bundle exec erb_lint --lint-all
4545

4646
test:
4747
timeout-minutes: 10

.rubocop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -943,7 +943,7 @@ Naming/MethodName:
943943
Naming/MethodParameterName:
944944
Enabled: false
945945

946-
Naming/PredicateName:
946+
Naming/PredicatePrefix:
947947
Enabled: false
948948

949949
Naming/RescuedExceptionsVariableName:

.ruby-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.4.1
1+
4.0.1

CLAUDE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
44

55
## Project Overview
66

7-
This is a Rails 7.1.5.1 API application that serves as the backend for NativeAppTemplate iOS/Android mobile applications. It's a multi-tenant SaaS application with token-based authentication, role-based authorization, and RESTful API endpoints.
7+
This is a Rails 7.2 API application that serves as the backend for NativeAppTemplate iOS/Android mobile applications. It's a multi-tenant SaaS application with token-based authentication, role-based authorization, and RESTful API endpoints. Ruby 4.0.1, PostgreSQL, Redis, Sidekiq.
88

99
## Development Commands
1010

@@ -28,7 +28,7 @@ bin/rails test test/path/to/test.rb:42 # Run specific test line
2828
### Linting & Security
2929
```bash
3030
bin/rubocop # Ruby code linting
31-
bundle exec erblint --lint-all # ERB template linting
31+
bundle exec erb_lint --lint-all # ERB template linting
3232
bin/brakeman # Security vulnerability scanning
3333
```
3434

Gemfile.lock

Lines changed: 40 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ GEM
9393
after_commit_everywhere (1.5.0)
9494
activerecord (>= 4.2)
9595
activesupport
96-
ast (2.4.2)
96+
ast (2.4.3)
9797
base64 (0.3.0)
9898
bcrypt (3.1.20)
9999
benchmark (0.5.0)
@@ -161,6 +161,7 @@ GEM
161161
rubocop (>= 1)
162162
smart_properties
163163
erubi (1.13.1)
164+
ffi (1.17.1)
164165
ffi (1.17.1-aarch64-linux-gnu)
165166
ffi (1.17.1-arm-linux-gnu)
166167
ffi (1.17.1-arm64-darwin)
@@ -193,10 +194,14 @@ GEM
193194
activesupport (>= 5.0.0)
194195
jsbundling-rails (1.3.1)
195196
railties (>= 6.0.0)
196-
json (2.9.1)
197+
json (2.19.0)
198+
json-schema (6.2.0)
199+
addressable (~> 2.8)
200+
bigdecimal (>= 3.1, < 5)
197201
jsonapi-serializer (2.2.0)
198202
activesupport (>= 4.2)
199-
language_server-protocol (3.17.0.4)
203+
language_server-protocol (3.17.0.5)
204+
lint_roller (1.1.0)
200205
logger (1.7.0)
201206
loofah (2.25.0)
202207
crass (~> 1.0.2)
@@ -213,6 +218,8 @@ GEM
213218
turbo-rails
214219
marcel (1.1.0)
215220
matrix (0.4.2)
221+
mcp (0.8.0)
222+
json-schema (>= 4.1)
216223
mini_magick (4.13.2)
217224
mini_mime (1.1.5)
218225
mini_portile2 (2.8.9)
@@ -248,14 +255,15 @@ GEM
248255
iniparse (~> 1.4)
249256
rexml (>= 3.3.9)
250257
pagy (9.3.3)
251-
parallel (1.26.3)
252-
parser (3.3.7.1)
258+
parallel (1.27.0)
259+
parser (3.3.10.2)
253260
ast (~> 2.4.1)
254261
racc
255262
pg (1.5.9)
256263
pp (0.6.3)
257264
prettyprint
258265
prettyprint (0.2.0)
266+
prism (1.9.0)
259267
propshaft (1.1.0)
260268
actionpack (>= 7.0.0)
261269
activesupport (>= 7.0.0)
@@ -270,7 +278,7 @@ GEM
270278
pundit (2.4.0)
271279
activesupport (>= 3.0.0)
272280
racc (1.8.1)
273-
rack (3.2.4)
281+
rack (3.2.5)
274282
rack-attack (6.7.0)
275283
rack (>= 1.0, < 4)
276284
rack-cors (2.0.2)
@@ -323,36 +331,42 @@ GEM
323331
redis-client (>= 0.22.0)
324332
redis-client (0.23.2)
325333
connection_pool
326-
regexp_parser (2.10.0)
334+
regexp_parser (2.11.3)
327335
reline (0.6.3)
328336
io-console (~> 0.5)
329337
responders (3.1.1)
330338
actionpack (>= 5.2)
331339
railties (>= 5.2)
332340
rexml (3.4.0)
333-
rubocop (1.71.2)
341+
rubocop (1.85.1)
334342
json (~> 2.3)
335-
language_server-protocol (>= 3.17.0)
343+
language_server-protocol (~> 3.17.0.2)
344+
lint_roller (~> 1.1.0)
345+
mcp (~> 0.6)
336346
parallel (~> 1.10)
337347
parser (>= 3.3.0.2)
338348
rainbow (>= 2.2.2, < 4.0)
339349
regexp_parser (>= 2.9.3, < 3.0)
340-
rubocop-ast (>= 1.38.0, < 2.0)
350+
rubocop-ast (>= 1.49.0, < 2.0)
341351
ruby-progressbar (~> 1.7)
342352
unicode-display_width (>= 2.4.0, < 4.0)
343-
rubocop-ast (1.38.0)
344-
parser (>= 3.3.1.0)
345-
rubocop-minitest (0.36.0)
346-
rubocop (>= 1.61, < 2.0)
347-
rubocop-ast (>= 1.31.1, < 2.0)
348-
rubocop-performance (1.23.1)
349-
rubocop (>= 1.48.1, < 2.0)
350-
rubocop-ast (>= 1.31.1, < 2.0)
351-
rubocop-rails (2.29.1)
353+
rubocop-ast (1.49.0)
354+
parser (>= 3.3.7.2)
355+
prism (~> 1.7)
356+
rubocop-minitest (0.39.1)
357+
lint_roller (~> 1.1)
358+
rubocop (>= 1.75.0, < 2.0)
359+
rubocop-ast (>= 1.38.0, < 2.0)
360+
rubocop-performance (1.26.1)
361+
lint_roller (~> 1.1)
362+
rubocop (>= 1.75.0, < 2.0)
363+
rubocop-ast (>= 1.47.1, < 2.0)
364+
rubocop-rails (2.34.3)
352365
activesupport (>= 4.2.0)
366+
lint_roller (~> 1.1)
353367
rack (>= 1.1)
354-
rubocop (>= 1.52.0, < 2.0)
355-
rubocop-ast (>= 1.31.1, < 2.0)
368+
rubocop (>= 1.75.0, < 2.0)
369+
rubocop-ast (>= 1.44.0, < 2.0)
356370
rubocop-rails-omakase (1.0.0)
357371
rubocop
358372
rubocop-minitest
@@ -391,9 +405,9 @@ GEM
391405
railties (>= 6.0.0)
392406
tzinfo (2.0.6)
393407
concurrent-ruby (~> 1.0)
394-
unicode-display_width (3.1.4)
395-
unicode-emoji (~> 4.0, >= 4.0.4)
396-
unicode-emoji (4.0.4)
408+
unicode-display_width (3.2.0)
409+
unicode-emoji (~> 4.1)
410+
unicode-emoji (4.2.0)
397411
useragent (0.16.11)
398412
valid_email2 (7.0.0)
399413
activemodel (>= 6.0)
@@ -473,7 +487,7 @@ DEPENDENCIES
473487
whenever
474488

475489
RUBY VERSION
476-
ruby 3.4.1p0
490+
ruby 4.0.1
477491

478492
BUNDLED WITH
479-
2.6.2
493+
4.0.3

0 commit comments

Comments
 (0)