File tree Expand file tree Collapse file tree
modules/openapi-generator/src/main
java/org/openapitools/codegen/languages
extensions/x-auth-id-alias/ruby-client
generate-alias-as-model/ruby-client Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
2929| gemLicense| gem license. | | unlicense|
3030| gemMetadata| gem metadata.| | {}|
3131| gemName| gem name (convention: underscore_case).| | openapi_client|
32- | gemRequiredRubyVersion| gem required Ruby version. | | > ; = 2.4 |
32+ | gemRequiredRubyVersion| gem required Ruby version. | | > ; = 2.7 |
3333| gemSummary| gem summary. | | A ruby wrapper for the REST APIs|
3434| gemVersion| gem version.| | 1.0.0|
3535| hideGenerationTimestamp| Hides the generation timestamp when files are generated.| | true|
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ public class RubyClientCodegen extends AbstractRubyCodegen {
6969 protected String specFolder = "spec" ;
7070 protected String libFolder = "lib" ;
7171 @ Setter protected String gemLicense = "unlicense" ;
72- @ Setter protected String gemRequiredRubyVersion = ">= 1.9 " ;
72+ @ Setter protected String gemRequiredRubyVersion = ">= 2.7 " ;
7373 @ Setter protected String gemHomepage = "https://openapitools.org" ;
7474 @ Setter protected String gemSummary = "A Ruby SDK for the REST API" ;
7575 @ Setter protected String gemDescription = "This gem maps to a REST API" ;
@@ -164,7 +164,7 @@ public RubyClientCodegen() {
164164 defaultValue ("unlicense" ));
165165
166166 cliOptions .add (new CliOption (GEM_REQUIRED_RUBY_VERSION , "gem required Ruby version. " ).
167- defaultValue (">= 2.4 " ));
167+ defaultValue (">= 2.7 " ));
168168
169169 cliOptions .add (new CliOption (GEM_HOMEPAGE , "gem homepage. " ).
170170 defaultValue ("https://openapi-generator.tech" ));
Original file line number Diff line number Diff line change 11# This file is based on https://github.com/rails/rails/blob/master/.rubocop.yml (MIT license)
22# Automatically generated by OpenAPI Generator (https://openapi-generator.tech)
33AllCops:
4- TargetRubyVersion: 2.4
4+ TargetRubyVersion: 2.7
55 # RuboCop has a bunch of cops enabled by default. This setting tells RuboCop
66 # to ignore them, so only the ones explicitly set in this file are enabled.
77 DisabledByDefault: true
Original file line number Diff line number Diff line change 11# This file is based on https://github.com/rails/rails/blob/master/.rubocop.yml (MIT license)
22# Automatically generated by OpenAPI Generator (https://openapi-generator.tech)
33AllCops :
4- TargetRubyVersion : 2.4
4+ TargetRubyVersion : 2.7
55 # RuboCop has a bunch of cops enabled by default. This setting tells RuboCop
66 # to ignore them, so only the ones explicitly set in this file are enabled.
77 DisabledByDefault : true
Original file line number Diff line number Diff line change 11# This file is based on https://github.com/rails/rails/blob/master/.rubocop.yml (MIT license)
22# Automatically generated by OpenAPI Generator (https://openapi-generator.tech)
33AllCops :
4- TargetRubyVersion : 2.4
4+ TargetRubyVersion : 2.7
55 # RuboCop has a bunch of cops enabled by default. This setting tells RuboCop
66 # to ignore them, so only the ones explicitly set in this file are enabled.
77 DisabledByDefault : true
Original file line number Diff line number Diff line change 11# This file is based on https://github.com/rails/rails/blob/master/.rubocop.yml (MIT license)
22# Automatically generated by OpenAPI Generator (https://openapi-generator.tech)
33AllCops :
4- TargetRubyVersion : 2.4
4+ TargetRubyVersion : 2.7
55 # RuboCop has a bunch of cops enabled by default. This setting tells RuboCop
66 # to ignore them, so only the ones explicitly set in this file are enabled.
77 DisabledByDefault : true
Original file line number Diff line number Diff line change 11# This file is based on https://github.com/rails/rails/blob/master/.rubocop.yml (MIT license)
22# Automatically generated by OpenAPI Generator (https://openapi-generator.tech)
33AllCops :
4- TargetRubyVersion : 2.4
4+ TargetRubyVersion : 2.7
55 # RuboCop has a bunch of cops enabled by default. This setting tells RuboCop
66 # to ignore them, so only the ones explicitly set in this file are enabled.
77 DisabledByDefault : true
Original file line number Diff line number Diff line change 11# This file is based on https://github.com/rails/rails/blob/master/.rubocop.yml (MIT license)
22# Automatically generated by OpenAPI Generator (https://openapi-generator.tech)
33AllCops :
4- TargetRubyVersion : 2.4
4+ TargetRubyVersion : 2.7
55 # RuboCop has a bunch of cops enabled by default. This setting tells RuboCop
66 # to ignore them, so only the ones explicitly set in this file are enabled.
77 DisabledByDefault : true
Original file line number Diff line number Diff line change 11# This file is based on https://github.com/rails/rails/blob/master/.rubocop.yml (MIT license)
22# Automatically generated by OpenAPI Generator (https://openapi-generator.tech)
33AllCops :
4- TargetRubyVersion : 2.4
4+ TargetRubyVersion : 2.7
55 # RuboCop has a bunch of cops enabled by default. This setting tells RuboCop
66 # to ignore them, so only the ones explicitly set in this file are enabled.
77 DisabledByDefault : true
Original file line number Diff line number Diff line change 11# This file is based on https://github.com/rails/rails/blob/master/.rubocop.yml (MIT license)
22# Automatically generated by OpenAPI Generator (https://openapi-generator.tech)
33AllCops :
4- TargetRubyVersion : 2.4
4+ TargetRubyVersion : 2.7
55 # RuboCop has a bunch of cops enabled by default. This setting tells RuboCop
66 # to ignore them, so only the ones explicitly set in this file are enabled.
77 DisabledByDefault : true
You can’t perform that action at this time.
0 commit comments