Skip to content

Commit 2e1170a

Browse files
authored
Merge pull request #170 from joyofrails/chore/upgrade-standardrb
Upgrade to Ruby 3.3.4 and latest standard
2 parents 9367231 + b0a5bed commit 2e1170a

File tree

4 files changed

+22
-21
lines changed

4 files changed

+22
-21
lines changed

.ruby-version

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

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
source "https://rubygems.org"
22
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
33

4-
ruby "3.3.0"
4+
ruby file: ".ruby-version"
55

66
gem "rails", "~> 7.1", group: [:default, :wasm] # Bundle edge Rails instead: gem "rails", github: "rails/rails", branch: "main"
77

Gemfile.lock

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -300,8 +300,8 @@ GEM
300300
nokogiri (1.16.5-x86_64-linux)
301301
racc (~> 1.4)
302302
openssl (3.2.0)
303-
parallel (1.24.0)
304-
parser (3.3.0.5)
303+
parallel (1.25.1)
304+
parser (3.3.4.0)
305305
ast (~> 2.4.1)
306306
racc
307307
phlex (1.10.2)
@@ -386,12 +386,12 @@ GEM
386386
parser (~> 3.3.0)
387387
rainbow (>= 2.0, < 4.0)
388388
rexml (~> 3.1)
389-
regexp_parser (2.9.0)
389+
regexp_parser (2.9.2)
390390
reline (0.5.8)
391391
io-console (~> 0.5)
392392
require_all (3.0.0)
393-
rexml (3.2.8)
394-
strscan (>= 3.0.9)
393+
rexml (3.3.1)
394+
strscan
395395
rouge (4.2.1)
396396
rspec-core (3.13.0)
397397
rspec-support (~> 3.13.0)
@@ -410,7 +410,7 @@ GEM
410410
rspec-mocks (~> 3.13)
411411
rspec-support (~> 3.13)
412412
rspec-support (3.13.1)
413-
rubocop (1.62.1)
413+
rubocop (1.64.1)
414414
json (~> 2.3)
415415
language_server-protocol (>= 3.17.0)
416416
parallel (~> 1.10)
@@ -421,11 +421,11 @@ GEM
421421
rubocop-ast (>= 1.31.1, < 2.0)
422422
ruby-progressbar (~> 1.7)
423423
unicode-display_width (>= 2.4.0, < 3.0)
424-
rubocop-ast (1.31.2)
425-
parser (>= 3.3.0.4)
426-
rubocop-performance (1.20.2)
424+
rubocop-ast (1.31.3)
425+
parser (>= 3.3.1.0)
426+
rubocop-performance (1.21.1)
427427
rubocop (>= 1.48.1, < 2.0)
428-
rubocop-ast (>= 1.30.0, < 2.0)
428+
rubocop-ast (>= 1.31.1, < 2.0)
429429
ruby-progressbar (1.13.0)
430430
ruby_wasm (2.5.0)
431431
rubyzip (2.3.2)
@@ -478,18 +478,18 @@ GEM
478478
sqlite-ulid (0.2.1-x86_64-linux)
479479
sqlite3 (1.7.3)
480480
mini_portile2 (~> 2.8.0)
481-
standard (1.35.1)
481+
standard (1.39.1)
482482
language_server-protocol (~> 3.17.0.2)
483483
lint_roller (~> 1.0)
484-
rubocop (~> 1.62.0)
484+
rubocop (~> 1.64.0)
485485
standard-custom (~> 1.0.0)
486-
standard-performance (~> 1.3)
486+
standard-performance (~> 1.4)
487487
standard-custom (1.0.2)
488488
lint_roller (~> 1.0)
489489
rubocop (~> 1.50)
490-
standard-performance (1.3.1)
490+
standard-performance (1.4.0)
491491
lint_roller (~> 1.1)
492-
rubocop-performance (~> 1.20.2)
492+
rubocop-performance (~> 1.21.0)
493493
stimulus-rails (1.3.3)
494494
railties (>= 6.0.0)
495495
stringio (3.1.0)
@@ -541,6 +541,7 @@ GEM
541541

542542
PLATFORMS
543543
arm64-darwin-22
544+
arm64-darwin-23
544545
x86_64-linux
545546

546547
DEPENDENCIES
@@ -603,7 +604,7 @@ DEPENDENCIES
603604
webmock
604605

605606
RUBY VERSION
606-
ruby 3.3.0p0
607+
ruby 3.3.4p94
607608

608609
BUNDLED WITH
609610
2.5.6

app/views/components/layouts/front_door_form.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ def form_layout(&block)
2929
end
3030
end
3131

32-
def form_with(**opts, &block)
32+
def form_with(**, &)
3333
super(
3434
class: "grid grid-row-tight",
35-
**opts,
36-
&block
35+
**,
36+
&
3737
)
3838
end
3939

0 commit comments

Comments
 (0)