Skip to content

Commit c286ab6

Browse files
committed
chore: Update Gemfile and CI workflow for improved dependency management
- Uncommented the `rubocop-rails-omakase` gem in the Gemfile to enable Ruby styling checks. - Updated the CI workflow to use the correct command for auditing JavaScript dependencies, changing from `bin/importmap audit` to `bin/rails importmap:audit`.
1 parent c9cad04 commit c286ab6

File tree

3 files changed

+46
-2
lines changed

3 files changed

+46
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
bundler-cache: true
3737

3838
- name: Scan for security vulnerabilities in JavaScript dependencies
39-
run: bin/importmap audit
39+
run: bin/rails importmap:audit
4040

4141
lint:
4242
runs-on: ubuntu-latest

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ group :development, :test do
4949
gem "brakeman", require: false
5050

5151
# Omakase Ruby styling [https://github.com/rails/rubocop-rails-omakase/]
52-
# gem "rubocop-rails-omakase", require: false
52+
gem "rubocop-rails-omakase", require: false
5353
end
5454

5555
group :development do

Gemfile.lock

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ GEM
7272
securerandom (>= 0.3)
7373
tzinfo (~> 2.0, >= 2.0.5)
7474
uri (>= 0.13.1)
75+
ast (2.4.3)
7576
base64 (0.2.0)
7677
benchmark (0.4.0)
7778
bigdecimal (3.1.9)
@@ -104,6 +105,9 @@ GEM
104105
pp (>= 0.6.0)
105106
rdoc (>= 4.0.0)
106107
reline (>= 0.4.2)
108+
json (2.10.2)
109+
language_server-protocol (3.17.0.4)
110+
lint_roller (1.1.0)
107111
logger (1.7.0)
108112
loofah (2.24.0)
109113
crass (~> 1.0.2)
@@ -143,10 +147,15 @@ GEM
143147
racc (~> 1.4)
144148
nokogiri (1.18.7-x86_64-linux-musl)
145149
racc (~> 1.4)
150+
parallel (1.26.3)
151+
parser (3.3.7.4)
152+
ast (~> 2.4.1)
153+
racc
146154
pg (1.5.9)
147155
pp (0.6.2)
148156
prettyprint
149157
prettyprint (0.2.0)
158+
prism (1.4.0)
150159
propshaft (1.1.0)
151160
actionpack (>= 7.0.0)
152161
activesupport (>= 7.0.0)
@@ -195,9 +204,11 @@ GEM
195204
rake (>= 12.2)
196205
thor (~> 1.0, >= 1.2.2)
197206
zeitwerk (~> 2.6)
207+
rainbow (3.1.1)
198208
rake (13.2.1)
199209
rdoc (6.13.1)
200210
psych (>= 4.0.0)
211+
regexp_parser (2.10.0)
201212
reline (0.6.1)
202213
io-console (~> 0.5)
203214
rspec-core (3.13.3)
@@ -217,6 +228,35 @@ GEM
217228
rspec-mocks (~> 3.13)
218229
rspec-support (~> 3.13)
219230
rspec-support (3.13.2)
231+
rubocop (1.75.2)
232+
json (~> 2.3)
233+
language_server-protocol (~> 3.17.0.2)
234+
lint_roller (~> 1.1.0)
235+
parallel (~> 1.10)
236+
parser (>= 3.3.0.2)
237+
rainbow (>= 2.2.2, < 4.0)
238+
regexp_parser (>= 2.9.3, < 3.0)
239+
rubocop-ast (>= 1.44.0, < 2.0)
240+
ruby-progressbar (~> 1.7)
241+
unicode-display_width (>= 2.4.0, < 4.0)
242+
rubocop-ast (1.44.1)
243+
parser (>= 3.3.7.2)
244+
prism (~> 1.4)
245+
rubocop-performance (1.25.0)
246+
lint_roller (~> 1.1)
247+
rubocop (>= 1.75.0, < 2.0)
248+
rubocop-ast (>= 1.38.0, < 2.0)
249+
rubocop-rails (2.31.0)
250+
activesupport (>= 4.2.0)
251+
lint_roller (~> 1.1)
252+
rack (>= 1.1)
253+
rubocop (>= 1.75.0, < 2.0)
254+
rubocop-ast (>= 1.38.0, < 2.0)
255+
rubocop-rails-omakase (1.1.0)
256+
rubocop (>= 1.72)
257+
rubocop-performance (>= 1.24)
258+
rubocop-rails (>= 2.30)
259+
ruby-progressbar (1.13.0)
220260
securerandom (0.4.1)
221261
solid_cache (1.0.7)
222262
activejob (>= 7.2)
@@ -237,6 +277,9 @@ GEM
237277
railties (>= 7.1.0)
238278
tzinfo (2.0.6)
239279
concurrent-ruby (~> 1.0)
280+
unicode-display_width (3.1.4)
281+
unicode-emoji (~> 4.0, >= 4.0.4)
282+
unicode-emoji (4.0.4)
240283
uri (1.0.3)
241284
useragent (0.16.11)
242285
web-console (4.2.1)
@@ -272,6 +315,7 @@ DEPENDENCIES
272315
puma (>= 5.0)
273316
rails (~> 8.0.2)
274317
rspec-rails (>= 6.0)
318+
rubocop-rails-omakase
275319
solid_cache
276320
stimulus-rails
277321
thruster

0 commit comments

Comments
 (0)