Skip to content

Commit 1d5a63d

Browse files
committed
Update Gemfile.lock, lint with Standard in CI
1 parent e5b8842 commit 1d5a63d

File tree

3 files changed

+74
-18
lines changed

3 files changed

+74
-18
lines changed

.github/workflows/rubyonrails-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
bin/bundler-audit --update
2727
- name: Run linters
2828
run: |
29-
# bin/rubocop
29+
bin/standardrb --no-fix
3030
- name: Run tests
3131
run: |
3232
bin/rspec

Gemfile.lock

Lines changed: 44 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
nvar (0.1.2)
4+
nvar (0.2.0)
55
activesupport (>= 5.0.0, < 8.0)
66

77
GEM
@@ -107,6 +107,9 @@ GEM
107107
irb (1.11.2)
108108
rdoc
109109
reline (>= 0.4.2)
110+
json (2.7.1)
111+
language_server-protocol (3.17.0.3)
112+
lint_roller (1.1.0)
110113
loofah (2.22.0)
111114
crass (~> 1.0.2)
112115
nokogiri (>= 1.12.0)
@@ -117,7 +120,6 @@ GEM
117120
net-smtp
118121
marcel (1.0.2)
119122
mini_mime (1.1.5)
120-
mini_portile2 (2.8.5)
121123
minitest (5.22.2)
122124
mutex_m (0.2.0)
123125
net-imap (0.4.10)
@@ -130,8 +132,17 @@ GEM
130132
net-smtp (0.4.0.1)
131133
net-protocol
132134
nio4r (2.7.0)
133-
nokogiri (1.16.2)
134-
mini_portile2 (~> 2.8.2)
135+
nokogiri (1.16.2-aarch64-linux)
136+
racc (~> 1.4)
137+
nokogiri (1.16.2-arm-linux)
138+
racc (~> 1.4)
139+
nokogiri (1.16.2-arm64-darwin)
140+
racc (~> 1.4)
141+
nokogiri (1.16.2-x86-linux)
142+
racc (~> 1.4)
143+
nokogiri (1.16.2-x86_64-darwin)
144+
racc (~> 1.4)
145+
nokogiri (1.16.2-x86_64-linux)
135146
racc (~> 1.4)
136147
parallel (1.24.0)
137148
parser (3.3.0.5)
@@ -198,20 +209,22 @@ GEM
198209
diff-lcs (>= 1.2.0, < 2.0)
199210
rspec-support (~> 3.13.0)
200211
rspec-support (3.13.1)
201-
rubocop (1.12.1)
212+
rubocop (1.60.2)
213+
json (~> 2.3)
214+
language_server-protocol (>= 3.17.0)
202215
parallel (~> 1.10)
203-
parser (>= 3.0.0.0)
216+
parser (>= 3.3.0.2)
204217
rainbow (>= 2.2.2, < 4.0)
205218
regexp_parser (>= 1.8, < 3.0)
206-
rexml
207-
rubocop-ast (>= 1.2.0, < 2.0)
219+
rexml (>= 3.2.5, < 4.0)
220+
rubocop-ast (>= 1.30.0, < 2.0)
208221
ruby-progressbar (~> 1.7)
209-
unicode-display_width (>= 1.4.0, < 3.0)
222+
unicode-display_width (>= 2.4.0, < 3.0)
210223
rubocop-ast (1.30.0)
211224
parser (>= 3.2.1.0)
212-
rubocop-performance (1.10.1)
213-
rubocop (>= 0.90.0, < 2.0)
214-
rubocop-ast (>= 0.4.0)
225+
rubocop-performance (1.20.2)
226+
rubocop (>= 1.48.1, < 2.0)
227+
rubocop-ast (>= 1.30.0, < 2.0)
215228
ruby-progressbar (1.13.0)
216229
ruby2_keywords (0.0.5)
217230
simplecov (0.22.0)
@@ -220,9 +233,18 @@ GEM
220233
simplecov_json_formatter (~> 0.1)
221234
simplecov-html (0.12.3)
222235
simplecov_json_formatter (0.1.4)
223-
standard (1.0.5)
224-
rubocop (= 1.12.1)
225-
rubocop-performance (= 1.10.1)
236+
standard (1.34.0)
237+
language_server-protocol (~> 3.17.0.2)
238+
lint_roller (~> 1.0)
239+
rubocop (~> 1.60)
240+
standard-custom (~> 1.0.0)
241+
standard-performance (~> 1.3)
242+
standard-custom (1.0.2)
243+
lint_roller (~> 1.0)
244+
rubocop (~> 1.50)
245+
standard-performance (1.3.1)
246+
lint_roller (~> 1.1)
247+
rubocop-performance (~> 1.20.2)
226248
standardrb (1.0.1)
227249
standard
228250
stringio (3.1.0)
@@ -240,7 +262,12 @@ GEM
240262
zeitwerk (2.6.13)
241263

242264
PLATFORMS
243-
ruby
265+
aarch64-linux
266+
arm-linux
267+
arm64-darwin
268+
x86-linux
269+
x86_64-darwin
270+
x86_64-linux
244271

245272
DEPENDENCIES
246273
bundler-audit
@@ -256,4 +283,4 @@ DEPENDENCIES
256283
vcr
257284

258285
BUNDLED WITH
259-
2.1.4
286+
2.5.6

bin/standardrb

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
#!/usr/bin/env ruby
2+
# frozen_string_literal: true
3+
4+
#
5+
# This file was generated by Bundler.
6+
#
7+
# The application 'standardrb' is installed as part of a gem, and
8+
# this file is here to facilitate running it.
9+
#
10+
11+
require "pathname"
12+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
13+
Pathname.new(__FILE__).realpath)
14+
15+
bundle_binstub = File.expand_path("../bundle", __FILE__)
16+
17+
if File.file?(bundle_binstub)
18+
if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
19+
load(bundle_binstub)
20+
else
21+
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
22+
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
23+
end
24+
end
25+
26+
require "rubygems"
27+
require "bundler/setup"
28+
29+
load Gem.bin_path("standard", "standardrb")

0 commit comments

Comments
 (0)