Skip to content
This repository was archived by the owner on May 9, 2025. It is now read-only.

Commit dc48cfd

Browse files
authored
Fix ruby deprecation error (OpenAPITools#6450)
* Update obsolete config in rubocop. * Update generated petstore clients
1 parent ae9d4ee commit dc48cfd

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
@@ -113,7 +113,7 @@ Layout/SpaceInsideParens:
113113
# EnforcedStyle: single_quotes
114114

115115
# Detect hard tabs, no hard tabs.
116-
Layout/Tab:
116+
Layout/IndentationStyle:
117117
Enabled: true
118118

119119
# Blank lines should not have any spaces.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ Layout/SpaceInsideParens:
113113
# EnforcedStyle: single_quotes
114114

115115
# Detect hard tabs, no hard tabs.
116-
Layout/Tab:
116+
Layout/IndentationStyle:
117117
Enabled: true
118118

119119
# Blank lines should not have any spaces.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ Layout/SpaceInsideParens:
113113
# EnforcedStyle: single_quotes
114114

115115
# Detect hard tabs, no hard tabs.
116-
Layout/Tab:
116+
Layout/IndentationStyle:
117117
Enabled: true
118118

119119
# Blank lines should not have any spaces.

0 commit comments

Comments
 (0)