Skip to content

Commit 93edd76

Browse files
rhuanbarretoautopp
authored andcommitted
Fix rubocop obsolescence (#3175)
* Update obsolete rubocop configuration * Update obsolete rubocop config * Update obsolete rubocop config
1 parent 4ead766 commit 93edd76

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

modules/openapi-generator/src/main/resources/ruby-client/rubocop.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Layout/EmptyLinesAroundMethodBody:
4646
Layout/EmptyLinesAroundModuleBody:
4747
Enabled: true
4848

49-
Layout/FirstParameterIndentation:
49+
Layout/IndentFirstArgument:
5050
Enabled: true
5151

5252
# Use Ruby >= 1.9 syntax for hashes. Prefer { a: :b } over { :a => :b }.

samples/client/petstore/ruby/.rubocop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Layout/EmptyLinesAroundMethodBody:
4646
Layout/EmptyLinesAroundModuleBody:
4747
Enabled: true
4848

49-
Layout/FirstParameterIndentation:
49+
Layout/IndentFirstArgument:
5050
Enabled: true
5151

5252
# Use Ruby >= 1.9 syntax for hashes. Prefer { a: :b } over { :a => :b }.

samples/openapi3/client/petstore/ruby/.rubocop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Layout/EmptyLinesAroundMethodBody:
4646
Layout/EmptyLinesAroundModuleBody:
4747
Enabled: true
4848

49-
Layout/FirstParameterIndentation:
49+
Layout/IndentFirstArgument:
5050
Enabled: true
5151

5252
# Use Ruby >= 1.9 syntax for hashes. Prefer { a: :b } over { :a => :b }.

0 commit comments

Comments
 (0)