Skip to content

Commit 82ed87f

Browse files
committed
Upgrade rubocop
1 parent cb47617 commit 82ed87f

File tree

2 files changed

+15
-17
lines changed

2 files changed

+15
-17
lines changed

Gemfile.lock

+14-16
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ GEM
1010
specs:
1111
ast (2.4.2)
1212
diff-lcs (1.6.0)
13-
json (2.7.2)
14-
language_server-protocol (3.17.0.3)
13+
json (2.10.1)
14+
language_server-protocol (3.17.0.4)
1515
mutant (0.12.3)
1616
diff-lcs (~> 1.3)
1717
parser (~> 3.3.0)
@@ -21,15 +21,13 @@ GEM
2121
mutant-rspec (0.12.3)
2222
mutant (= 0.12.3)
2323
rspec-core (>= 3.8.0, < 4.0.0)
24-
parallel (1.25.1)
25-
parser (3.3.2.0)
24+
parallel (1.26.3)
25+
parser (3.3.7.1)
2626
ast (~> 2.4.1)
2727
racc
28-
racc (1.8.0)
28+
racc (1.8.1)
2929
rainbow (3.1.1)
30-
regexp_parser (2.9.2)
31-
rexml (3.2.9)
32-
strscan
30+
regexp_parser (2.9.3)
3331
rspec (3.13.0)
3432
rspec-core (~> 3.13.0)
3533
rspec-expectations (~> 3.13.0)
@@ -46,25 +44,25 @@ GEM
4644
diff-lcs (>= 1.2.0, < 2.0)
4745
rspec-support (~> 3.13.0)
4846
rspec-support (3.13.1)
49-
rubocop (1.64.1)
47+
rubocop (1.71.2)
5048
json (~> 2.3)
5149
language_server-protocol (>= 3.17.0)
5250
parallel (~> 1.10)
5351
parser (>= 3.3.0.2)
5452
rainbow (>= 2.2.2, < 4.0)
55-
regexp_parser (>= 1.8, < 3.0)
56-
rexml (>= 3.2.5, < 4.0)
57-
rubocop-ast (>= 1.31.1, < 2.0)
53+
regexp_parser (>= 2.9.3, < 3.0)
54+
rubocop-ast (>= 1.38.0, < 2.0)
5855
ruby-progressbar (~> 1.7)
59-
unicode-display_width (>= 2.4.0, < 3.0)
60-
rubocop-ast (1.31.3)
56+
unicode-display_width (>= 2.4.0, < 4.0)
57+
rubocop-ast (1.38.0)
6158
parser (>= 3.3.1.0)
6259
rubocop-packaging (0.5.2)
6360
rubocop (>= 1.33, < 2.0)
6461
ruby-progressbar (1.13.0)
6562
sorbet-runtime (0.5.11422)
66-
strscan (3.1.0)
67-
unicode-display_width (2.5.0)
63+
unicode-display_width (3.1.4)
64+
unicode-emoji (~> 4.0, >= 4.0.4)
65+
unicode-emoji (4.0.4)
6866

6967
PLATFORMS
7068
ruby

lib/unparser/generation.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ def writer_with(klass, node)
222222
end
223223

224224
def emitter(node)
225-
Emitter.emitter(**to_h.merge(node: node))
225+
Emitter.emitter(**to_h, node: node)
226226
end
227227

228228
def visit(node)

0 commit comments

Comments
 (0)