diff --git a/Gemfile b/Gemfile index 52eb6f3e..d82e1ab3 100644 --- a/Gemfile +++ b/Gemfile @@ -10,10 +10,10 @@ group :development, :test do gem 'irb', '~> 1.18.0' gem 'rack', '~> 3.1' # for yard server gem 'rackup', '~> 2.1' # for yard server - gem 'rbs', '~> 4.0.0' + gem 'rbs', '~> 4.2.0' gem 'redcarpet', '~> 3.6.0' gem 'rubocop', '~> 1.90.0', require: false - gem 'steep', '~> 2.0.0' + gem 'steep', '~> 2.1.0' gem 'webrick', '~> 1.9.1' gem 'yard', '~> 0.9.20' # for yard server end diff --git a/Gemfile.lock b/Gemfile.lock index 4f1f9b1b..04d8f39b 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -57,7 +57,7 @@ GEM rb-fsevent (0.11.2) rb-inotify (0.11.1) ffi (~> 1.0) - rbs (4.0.3) + rbs (4.2.0) logger prism (>= 1.6.0) tsort @@ -100,7 +100,7 @@ GEM prism (~> 1.7) ruby-progressbar (1.13.0) securerandom (0.4.1) - steep (2.0.0) + steep (2.1.0) concurrent-ruby (>= 1.1.10) csv (>= 3.0.9) fileutils (>= 1.1.0) @@ -111,7 +111,7 @@ GEM parser (>= 3.2) prism (>= 0.25.0) rainbow (>= 2.2.2, < 4.0) - rbs (~> 4.0) + rbs (~> 4.2) securerandom (>= 0.1) strscan (>= 1.0.0) terminal-table (>= 2, < 5) @@ -145,11 +145,11 @@ DEPENDENCIES rack (~> 3.1) rackup (~> 2.1) rake (~> 13.0) - rbs (~> 4.0.0) + rbs (~> 4.2.0) redcarpet (~> 3.6.0) rspec (~> 3.13.0) rubocop (~> 1.90.0) - steep (~> 2.0.0) + steep (~> 2.1.0) webmock (~> 3.26.0) webrick (~> 1.9.1) yard (~> 0.9.20) @@ -191,7 +191,7 @@ CHECKSUMS rake (13.4.2) sha256=cb825b2bd5f1f8e91ca37bddb4b9aaf345551b4731da62949be002fa89283701 rb-fsevent (0.11.2) sha256=43900b972e7301d6570f64b850a5aa67833ee7d87b458ee92805d56b7318aefe rb-inotify (0.11.1) sha256=a0a700441239b0ff18eb65e3866236cd78613d6b9f78fea1f9ac47a85e47be6e - rbs (4.0.3) sha256=5a7bf70e2628549d9a1f44eae447b2cfe55968a9c60cfff52693a4bdcc020e14 + rbs (4.2.0) sha256=51f7b886dcc05bc09e10b901daa6a81829f6adc03101d6ca9ea4aac6103e0674 rdoc (8.0.0) sha256=03bf8c08a9639658855a0cfd77c0abca8325c227693f7f33f82957811348c469 redcarpet (3.6.1) sha256=d444910e6aa55480c6bcdc0cdb057626e8a32c054c29e793fa642ba2f155f445 regexp_parser (2.12.0) sha256=35a916a1d63190ab5c9009457136ae5f3c0c7512d60291d0d1378ba18ce08ebb @@ -206,7 +206,7 @@ CHECKSUMS rubocop-ast (1.50.0) sha256=b9ca88300da0803ee222ad20cdb30494c0a784eed06fdc35d254b06d662788db ruby-progressbar (1.13.0) sha256=80fc9c47a9b640d6834e0dc7b3c94c9df37f08cb072b7761e4a71e22cff29b33 securerandom (0.4.1) sha256=cc5193d414a4341b6e225f0cb4446aceca8e50d5e1888743fac16987638ea0b1 - steep (2.0.0) sha256=6eb0ecc09637bbb54f0a5f2cf63daea6d3208ccace64b4f1107d976333605c30 + steep (2.1.0) sha256=1daf53573283b0e6d404a7273cca41fe5c15b14ece05167934f5ffc179e171d9 strscan (3.1.8) sha256=aae2db611a225559f21ffbb71765c9a4e60fd262534a9ea84f4f11c7f32f679e terminal-table (4.0.0) sha256=f504793203f8251b2ea7c7068333053f0beeea26093ec9962e62ea79f94301d2 tsort (0.2.0) sha256=9650a793f6859a43b6641671278f79cfead60ac714148aabe4e3f0060480089f diff --git a/generator/src/main/resources/line-bot-sdk-ruby-generator/model.pebble b/generator/src/main/resources/line-bot-sdk-ruby-generator/model.pebble index f7bb8e01..80e19de8 100644 --- a/generator/src/main/resources/line-bot-sdk-ruby-generator/model.pebble +++ b/generator/src/main/resources/line-bot-sdk-ruby-generator/model.pebble @@ -111,7 +111,7 @@ module Line symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args) {%- if model.model.vendorExtensions.get("x-children") != null and model.model.vendorExtensions.get("x-discriminator-property") != null %} klass = detect_class(type: symbolized_args[:{{ model.model.vendorExtensions.get("x-discriminator-property") }}]) - return klass.new(**symbolized_args) if klass # steep:ignore UnannotatedEmptyCollection + return klass.new(**symbolized_args) if klass {%- endif %} {%- set steepIgnore = '' -%} {%- for p in model.model.requiredVars %}{%- if p.defaultValue == null and model.model.vendorExtensions.get("x-selector").propertyName != p.name %}{%- set steepIgnore = ' # steep:ignore InsufficientKeywordArguments' %}{%- endif %}{%- endfor %} diff --git a/lib/line/bot/v2/messaging_api/model/acquisition_condition_request.rb b/lib/line/bot/v2/messaging_api/model/acquisition_condition_request.rb index e1a4afa9..66258094 100644 --- a/lib/line/bot/v2/messaging_api/model/acquisition_condition_request.rb +++ b/lib/line/bot/v2/messaging_api/model/acquisition_condition_request.rb @@ -43,7 +43,7 @@ def initialize( def self.create(args) symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args) klass = detect_class(type: symbolized_args[:type]) - return klass.new(**symbolized_args) if klass # steep:ignore UnannotatedEmptyCollection + return klass.new(**symbolized_args) if klass return new(**symbolized_args) # steep:ignore InsufficientKeywordArguments end diff --git a/lib/line/bot/v2/messaging_api/model/acquisition_condition_response.rb b/lib/line/bot/v2/messaging_api/model/acquisition_condition_response.rb index 8b9606b7..cd467650 100644 --- a/lib/line/bot/v2/messaging_api/model/acquisition_condition_response.rb +++ b/lib/line/bot/v2/messaging_api/model/acquisition_condition_response.rb @@ -43,7 +43,7 @@ def initialize( def self.create(args) symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args) klass = detect_class(type: symbolized_args[:type]) - return klass.new(**symbolized_args) if klass # steep:ignore UnannotatedEmptyCollection + return klass.new(**symbolized_args) if klass return new(**symbolized_args) # steep:ignore InsufficientKeywordArguments end diff --git a/lib/line/bot/v2/messaging_api/model/action.rb b/lib/line/bot/v2/messaging_api/model/action.rb index 68f8e2a7..4a7f8190 100644 --- a/lib/line/bot/v2/messaging_api/model/action.rb +++ b/lib/line/bot/v2/messaging_api/model/action.rb @@ -51,7 +51,7 @@ def initialize( def self.create(args) symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args) klass = detect_class(type: symbolized_args[:type]) - return klass.new(**symbolized_args) if klass # steep:ignore UnannotatedEmptyCollection + return klass.new(**symbolized_args) if klass return new(**symbolized_args) end diff --git a/lib/line/bot/v2/messaging_api/model/cash_back_price_info_request.rb b/lib/line/bot/v2/messaging_api/model/cash_back_price_info_request.rb index 845f7abb..5428895a 100644 --- a/lib/line/bot/v2/messaging_api/model/cash_back_price_info_request.rb +++ b/lib/line/bot/v2/messaging_api/model/cash_back_price_info_request.rb @@ -43,7 +43,7 @@ def initialize( def self.create(args) symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args) klass = detect_class(type: symbolized_args[:type]) - return klass.new(**symbolized_args) if klass # steep:ignore UnannotatedEmptyCollection + return klass.new(**symbolized_args) if klass return new(**symbolized_args) # steep:ignore InsufficientKeywordArguments end diff --git a/lib/line/bot/v2/messaging_api/model/cash_back_price_info_response.rb b/lib/line/bot/v2/messaging_api/model/cash_back_price_info_response.rb index 698f7085..db147620 100644 --- a/lib/line/bot/v2/messaging_api/model/cash_back_price_info_response.rb +++ b/lib/line/bot/v2/messaging_api/model/cash_back_price_info_response.rb @@ -43,7 +43,7 @@ def initialize( def self.create(args) symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args) klass = detect_class(type: symbolized_args[:type]) - return klass.new(**symbolized_args) if klass # steep:ignore UnannotatedEmptyCollection + return klass.new(**symbolized_args) if klass return new(**symbolized_args) # steep:ignore InsufficientKeywordArguments end diff --git a/lib/line/bot/v2/messaging_api/model/coupon_reward_request.rb b/lib/line/bot/v2/messaging_api/model/coupon_reward_request.rb index 4c7cf13a..e0b33978 100644 --- a/lib/line/bot/v2/messaging_api/model/coupon_reward_request.rb +++ b/lib/line/bot/v2/messaging_api/model/coupon_reward_request.rb @@ -43,7 +43,7 @@ def initialize( def self.create(args) symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args) klass = detect_class(type: symbolized_args[:type]) - return klass.new(**symbolized_args) if klass # steep:ignore UnannotatedEmptyCollection + return klass.new(**symbolized_args) if klass return new(**symbolized_args) # steep:ignore InsufficientKeywordArguments end diff --git a/lib/line/bot/v2/messaging_api/model/coupon_reward_response.rb b/lib/line/bot/v2/messaging_api/model/coupon_reward_response.rb index 518f509d..19cb1e94 100644 --- a/lib/line/bot/v2/messaging_api/model/coupon_reward_response.rb +++ b/lib/line/bot/v2/messaging_api/model/coupon_reward_response.rb @@ -43,7 +43,7 @@ def initialize( def self.create(args) symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args) klass = detect_class(type: symbolized_args[:type]) - return klass.new(**symbolized_args) if klass # steep:ignore UnannotatedEmptyCollection + return klass.new(**symbolized_args) if klass return new(**symbolized_args) # steep:ignore InsufficientKeywordArguments end diff --git a/lib/line/bot/v2/messaging_api/model/demographic_filter.rb b/lib/line/bot/v2/messaging_api/model/demographic_filter.rb index 7e0eb186..053f856e 100644 --- a/lib/line/bot/v2/messaging_api/model/demographic_filter.rb +++ b/lib/line/bot/v2/messaging_api/model/demographic_filter.rb @@ -44,7 +44,7 @@ def initialize( def self.create(args) symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args) klass = detect_class(type: symbolized_args[:type]) - return klass.new(**symbolized_args) if klass # steep:ignore UnannotatedEmptyCollection + return klass.new(**symbolized_args) if klass return new(**symbolized_args) end diff --git a/lib/line/bot/v2/messaging_api/model/discount_price_info_request.rb b/lib/line/bot/v2/messaging_api/model/discount_price_info_request.rb index ece9a21d..c5907e8f 100644 --- a/lib/line/bot/v2/messaging_api/model/discount_price_info_request.rb +++ b/lib/line/bot/v2/messaging_api/model/discount_price_info_request.rb @@ -43,7 +43,7 @@ def initialize( def self.create(args) symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args) klass = detect_class(type: symbolized_args[:type]) - return klass.new(**symbolized_args) if klass # steep:ignore UnannotatedEmptyCollection + return klass.new(**symbolized_args) if klass return new(**symbolized_args) # steep:ignore InsufficientKeywordArguments end diff --git a/lib/line/bot/v2/messaging_api/model/discount_price_info_response.rb b/lib/line/bot/v2/messaging_api/model/discount_price_info_response.rb index 1a0d1580..dfd7b6d1 100644 --- a/lib/line/bot/v2/messaging_api/model/discount_price_info_response.rb +++ b/lib/line/bot/v2/messaging_api/model/discount_price_info_response.rb @@ -43,7 +43,7 @@ def initialize( def self.create(args) symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args) klass = detect_class(type: symbolized_args[:type]) - return klass.new(**symbolized_args) if klass # steep:ignore UnannotatedEmptyCollection + return klass.new(**symbolized_args) if klass return new(**symbolized_args) # steep:ignore InsufficientKeywordArguments end diff --git a/lib/line/bot/v2/messaging_api/model/flex_box_background.rb b/lib/line/bot/v2/messaging_api/model/flex_box_background.rb index 41fdbd48..9a199a89 100644 --- a/lib/line/bot/v2/messaging_api/model/flex_box_background.rb +++ b/lib/line/bot/v2/messaging_api/model/flex_box_background.rb @@ -43,7 +43,7 @@ def initialize( def self.create(args) symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args) klass = detect_class(type: symbolized_args[:type]) - return klass.new(**symbolized_args) if klass # steep:ignore UnannotatedEmptyCollection + return klass.new(**symbolized_args) if klass return new(**symbolized_args) # steep:ignore InsufficientKeywordArguments end diff --git a/lib/line/bot/v2/messaging_api/model/flex_component.rb b/lib/line/bot/v2/messaging_api/model/flex_component.rb index f6a20876..f234c225 100644 --- a/lib/line/bot/v2/messaging_api/model/flex_component.rb +++ b/lib/line/bot/v2/messaging_api/model/flex_component.rb @@ -43,7 +43,7 @@ def initialize( def self.create(args) symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args) klass = detect_class(type: symbolized_args[:type]) - return klass.new(**symbolized_args) if klass # steep:ignore UnannotatedEmptyCollection + return klass.new(**symbolized_args) if klass return new(**symbolized_args) # steep:ignore InsufficientKeywordArguments end diff --git a/lib/line/bot/v2/messaging_api/model/flex_container.rb b/lib/line/bot/v2/messaging_api/model/flex_container.rb index f2c79fa4..378c7677 100644 --- a/lib/line/bot/v2/messaging_api/model/flex_container.rb +++ b/lib/line/bot/v2/messaging_api/model/flex_container.rb @@ -43,7 +43,7 @@ def initialize( def self.create(args) symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args) klass = detect_class(type: symbolized_args[:type]) - return klass.new(**symbolized_args) if klass # steep:ignore UnannotatedEmptyCollection + return klass.new(**symbolized_args) if klass return new(**symbolized_args) # steep:ignore InsufficientKeywordArguments end diff --git a/lib/line/bot/v2/messaging_api/model/imagemap_action.rb b/lib/line/bot/v2/messaging_api/model/imagemap_action.rb index fab7cd9f..9b0d9f49 100644 --- a/lib/line/bot/v2/messaging_api/model/imagemap_action.rb +++ b/lib/line/bot/v2/messaging_api/model/imagemap_action.rb @@ -50,7 +50,7 @@ def initialize( def self.create(args) symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args) klass = detect_class(type: symbolized_args[:type]) - return klass.new(**symbolized_args) if klass # steep:ignore UnannotatedEmptyCollection + return klass.new(**symbolized_args) if klass return new(**symbolized_args) # steep:ignore InsufficientKeywordArguments end diff --git a/lib/line/bot/v2/messaging_api/model/mention_target.rb b/lib/line/bot/v2/messaging_api/model/mention_target.rb index a99593d1..ba7264ae 100644 --- a/lib/line/bot/v2/messaging_api/model/mention_target.rb +++ b/lib/line/bot/v2/messaging_api/model/mention_target.rb @@ -43,7 +43,7 @@ def initialize( def self.create(args) symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args) klass = detect_class(type: symbolized_args[:type]) - return klass.new(**symbolized_args) if klass # steep:ignore UnannotatedEmptyCollection + return klass.new(**symbolized_args) if klass return new(**symbolized_args) # steep:ignore InsufficientKeywordArguments end diff --git a/lib/line/bot/v2/messaging_api/model/message.rb b/lib/line/bot/v2/messaging_api/model/message.rb index a3c5e943..9229671e 100644 --- a/lib/line/bot/v2/messaging_api/model/message.rb +++ b/lib/line/bot/v2/messaging_api/model/message.rb @@ -56,7 +56,7 @@ def initialize( def self.create(args) symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args) klass = detect_class(type: symbolized_args[:type]) - return klass.new(**symbolized_args) if klass # steep:ignore UnannotatedEmptyCollection + return klass.new(**symbolized_args) if klass return new(**symbolized_args) # steep:ignore InsufficientKeywordArguments end diff --git a/lib/line/bot/v2/messaging_api/model/recipient.rb b/lib/line/bot/v2/messaging_api/model/recipient.rb index aeb31952..a011b13c 100644 --- a/lib/line/bot/v2/messaging_api/model/recipient.rb +++ b/lib/line/bot/v2/messaging_api/model/recipient.rb @@ -44,7 +44,7 @@ def initialize( def self.create(args) symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args) klass = detect_class(type: symbolized_args[:type]) - return klass.new(**symbolized_args) if klass # steep:ignore UnannotatedEmptyCollection + return klass.new(**symbolized_args) if klass return new(**symbolized_args) end diff --git a/lib/line/bot/v2/messaging_api/model/rich_menu_batch_operation.rb b/lib/line/bot/v2/messaging_api/model/rich_menu_batch_operation.rb index b8872cac..7e6ac07f 100644 --- a/lib/line/bot/v2/messaging_api/model/rich_menu_batch_operation.rb +++ b/lib/line/bot/v2/messaging_api/model/rich_menu_batch_operation.rb @@ -45,7 +45,7 @@ def initialize( def self.create(args) symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args) klass = detect_class(type: symbolized_args[:type]) - return klass.new(**symbolized_args) if klass # steep:ignore UnannotatedEmptyCollection + return klass.new(**symbolized_args) if klass return new(**symbolized_args) # steep:ignore InsufficientKeywordArguments end diff --git a/lib/line/bot/v2/messaging_api/model/substitution_object.rb b/lib/line/bot/v2/messaging_api/model/substitution_object.rb index 791f5b72..4f27399d 100644 --- a/lib/line/bot/v2/messaging_api/model/substitution_object.rb +++ b/lib/line/bot/v2/messaging_api/model/substitution_object.rb @@ -44,7 +44,7 @@ def initialize( def self.create(args) symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args) klass = detect_class(type: symbolized_args[:type]) - return klass.new(**symbolized_args) if klass # steep:ignore UnannotatedEmptyCollection + return klass.new(**symbolized_args) if klass return new(**symbolized_args) # steep:ignore InsufficientKeywordArguments end diff --git a/lib/line/bot/v2/messaging_api/model/template.rb b/lib/line/bot/v2/messaging_api/model/template.rb index 9cb2b66b..67a12b06 100644 --- a/lib/line/bot/v2/messaging_api/model/template.rb +++ b/lib/line/bot/v2/messaging_api/model/template.rb @@ -43,7 +43,7 @@ def initialize( def self.create(args) symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args) klass = detect_class(type: symbolized_args[:type]) - return klass.new(**symbolized_args) if klass # steep:ignore UnannotatedEmptyCollection + return klass.new(**symbolized_args) if klass return new(**symbolized_args) # steep:ignore InsufficientKeywordArguments end diff --git a/lib/line/bot/v2/webhook/model/event.rb b/lib/line/bot/v2/webhook/model/event.rb index 3cf1d531..f4e2afaa 100644 --- a/lib/line/bot/v2/webhook/model/event.rb +++ b/lib/line/bot/v2/webhook/model/event.rb @@ -74,7 +74,7 @@ def initialize( def self.create(args) symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args) klass = detect_class(type: symbolized_args[:type]) - return klass.new(**symbolized_args) if klass # steep:ignore UnannotatedEmptyCollection + return klass.new(**symbolized_args) if klass return new(**symbolized_args) # steep:ignore InsufficientKeywordArguments end diff --git a/lib/line/bot/v2/webhook/model/membership_content.rb b/lib/line/bot/v2/webhook/model/membership_content.rb index 714884c7..5891f1ef 100644 --- a/lib/line/bot/v2/webhook/model/membership_content.rb +++ b/lib/line/bot/v2/webhook/model/membership_content.rb @@ -45,7 +45,7 @@ def initialize( def self.create(args) symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args) klass = detect_class(type: symbolized_args[:type]) - return klass.new(**symbolized_args) if klass # steep:ignore UnannotatedEmptyCollection + return klass.new(**symbolized_args) if klass return new(**symbolized_args) # steep:ignore InsufficientKeywordArguments end diff --git a/lib/line/bot/v2/webhook/model/mentionee.rb b/lib/line/bot/v2/webhook/model/mentionee.rb index a6100fb1..d5be1d03 100644 --- a/lib/line/bot/v2/webhook/model/mentionee.rb +++ b/lib/line/bot/v2/webhook/model/mentionee.rb @@ -56,7 +56,7 @@ def initialize( def self.create(args) symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args) klass = detect_class(type: symbolized_args[:type]) - return klass.new(**symbolized_args) if klass # steep:ignore UnannotatedEmptyCollection + return klass.new(**symbolized_args) if klass return new(**symbolized_args) # steep:ignore InsufficientKeywordArguments end diff --git a/lib/line/bot/v2/webhook/model/message_content.rb b/lib/line/bot/v2/webhook/model/message_content.rb index 808cb0e0..f4721933 100644 --- a/lib/line/bot/v2/webhook/model/message_content.rb +++ b/lib/line/bot/v2/webhook/model/message_content.rb @@ -50,7 +50,7 @@ def initialize( def self.create(args) symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args) klass = detect_class(type: symbolized_args[:type]) - return klass.new(**symbolized_args) if klass # steep:ignore UnannotatedEmptyCollection + return klass.new(**symbolized_args) if klass return new(**symbolized_args) # steep:ignore InsufficientKeywordArguments end diff --git a/lib/line/bot/v2/webhook/model/module_content.rb b/lib/line/bot/v2/webhook/model/module_content.rb index b3926d3a..820dff82 100644 --- a/lib/line/bot/v2/webhook/model/module_content.rb +++ b/lib/line/bot/v2/webhook/model/module_content.rb @@ -44,7 +44,7 @@ def initialize( def self.create(args) symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args) klass = detect_class(type: symbolized_args[:type]) - return klass.new(**symbolized_args) if klass # steep:ignore UnannotatedEmptyCollection + return klass.new(**symbolized_args) if klass return new(**symbolized_args) # steep:ignore InsufficientKeywordArguments end diff --git a/lib/line/bot/v2/webhook/model/source.rb b/lib/line/bot/v2/webhook/model/source.rb index ec5e6f46..a963b9b9 100644 --- a/lib/line/bot/v2/webhook/model/source.rb +++ b/lib/line/bot/v2/webhook/model/source.rb @@ -45,7 +45,7 @@ def initialize( def self.create(args) symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args) klass = detect_class(type: symbolized_args[:type]) - return klass.new(**symbolized_args) if klass # steep:ignore UnannotatedEmptyCollection + return klass.new(**symbolized_args) if klass return new(**symbolized_args) # steep:ignore InsufficientKeywordArguments end diff --git a/rbs_collection.lock.yaml b/rbs_collection.lock.yaml index e1b9643d..2b59585b 100644 --- a/rbs_collection.lock.yaml +++ b/rbs_collection.lock.yaml @@ -25,14 +25,6 @@ gems: revision: 0ef449166f72c767f58f920cc36aca818fbf082f remote: https://github.com/ruby/gem_rbs_collection.git repo_dir: gems -- name: date - version: '0' - source: - type: stdlib -- name: dbm - version: '0' - source: - type: stdlib - name: diff-lcs version: '1.5' source: @@ -89,14 +81,6 @@ gems: version: 1.9.0 source: type: rubygems -- name: pstore - version: '0' - source: - type: stdlib -- name: psych - version: '0' - source: - type: stdlib - name: rdoc version: '0' source: @@ -105,10 +89,6 @@ gems: version: '0' source: type: stdlib -- name: stringio - version: '0' - source: - type: stdlib - name: timeout version: '0' source: