Skip to content

Commit 711fd51

Browse files
authored
Update standardrb for Ruby 3.4 (lobsters#1421)
2 parents 4b7c9e1 + fc3881e commit 711fd51

File tree

3 files changed

+20
-18
lines changed

3 files changed

+20
-18
lines changed

Gemfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@ group :test, :development do
6060
gem "letter_opener"
6161
gem "rspec-rails"
6262
gem "factory_bot_rails"
63-
gem "standard"
64-
gem "standard-performance"
65-
gem "standard-rails"
63+
gem "standard", require: false
64+
gem "standard-performance", require: false
65+
gem "standard-rails", require: false
6666
gem "super_diff"
6767
gem "faker"
6868
gem "byebug"

Gemfile.lock

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ GEM
151151
irb (1.14.3)
152152
rdoc (>= 4.0.0)
153153
reline (>= 0.4.2)
154-
json (2.8.2)
154+
json (2.9.1)
155155
language_server-protocol (3.17.0.3)
156156
launchy (3.0.1)
157157
addressable (~> 2.8)
@@ -275,7 +275,7 @@ GEM
275275
rb-readline (0.5.5)
276276
rdoc (6.10.0)
277277
psych (>= 4.0.0)
278-
regexp_parser (2.9.2)
278+
regexp_parser (2.10.0)
279279
reline (0.6.0)
280280
io-console (~> 0.5)
281281
request_store (1.7.0)
@@ -303,19 +303,19 @@ GEM
303303
rspec-mocks (~> 3.13)
304304
rspec-support (~> 3.13)
305305
rspec-support (3.13.1)
306-
rubocop (1.68.0)
306+
rubocop (1.69.2)
307307
json (~> 2.3)
308308
language_server-protocol (>= 3.17.0)
309309
parallel (~> 1.10)
310310
parser (>= 3.3.0.2)
311311
rainbow (>= 2.2.2, < 4.0)
312-
regexp_parser (>= 2.4, < 3.0)
313-
rubocop-ast (>= 1.32.2, < 2.0)
312+
regexp_parser (>= 2.9.3, < 3.0)
313+
rubocop-ast (>= 1.36.2, < 2.0)
314314
ruby-progressbar (~> 1.7)
315-
unicode-display_width (>= 2.4.0, < 3.0)
316-
rubocop-ast (1.36.1)
315+
unicode-display_width (>= 2.4.0, < 4.0)
316+
rubocop-ast (1.37.0)
317317
parser (>= 3.3.1.0)
318-
rubocop-performance (1.22.1)
318+
rubocop-performance (1.23.1)
319319
rubocop (>= 1.48.1, < 2.0)
320320
rubocop-ast (>= 1.31.1, < 2.0)
321321
rubocop-rails (2.26.2)
@@ -358,18 +358,18 @@ GEM
358358
mini_portile2 (~> 2.8.0)
359359
sqlite3 (2.5.0-x86_64-linux-gnu)
360360
stackprof (0.2.26)
361-
standard (1.42.1)
361+
standard (1.43.0)
362362
language_server-protocol (~> 3.17.0.2)
363363
lint_roller (~> 1.0)
364-
rubocop (~> 1.68.0)
364+
rubocop (~> 1.69.1)
365365
standard-custom (~> 1.0.0)
366-
standard-performance (~> 1.5)
366+
standard-performance (~> 1.6)
367367
standard-custom (1.0.2)
368368
lint_roller (~> 1.0)
369369
rubocop (~> 1.50)
370-
standard-performance (1.5.0)
370+
standard-performance (1.6.0)
371371
lint_roller (~> 1.1)
372-
rubocop-performance (~> 1.22.0)
372+
rubocop-performance (~> 1.23.0)
373373
standard-rails (1.2.0)
374374
lint_roller (~> 1.0)
375375
rubocop-rails (~> 2.26.0)
@@ -388,7 +388,9 @@ GEM
388388
concurrent-ruby (~> 1.0)
389389
uglifier (4.2.1)
390390
execjs (>= 0.3.0, < 3)
391-
unicode-display_width (2.6.0)
391+
unicode-display_width (3.1.3)
392+
unicode-emoji (~> 4.0, >= 4.0.4)
393+
unicode-emoji (4.0.4)
392394
uri (1.0.2)
393395
useragent (0.16.11)
394396
vcr (6.3.1)

extras/utils.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def self.random_str(len)
6363
def self.silence_stream(*streams)
6464
on_hold = streams.collect(&:dup)
6565
streams.each do |stream|
66-
stream.reopen("/dev/null")
66+
stream.reopen(File::NULL)
6767
stream.sync = true
6868
end
6969
yield

0 commit comments

Comments
 (0)