sorbet: update hidden definitions
srb/tapioca: update rbi of recently bumped gems
This commit is contained in:
parent
1d2e68d184
commit
c8c8839ba2
@ -163,6 +163,7 @@ false:
|
||||
- ./dev-cmd/release-notes.rb
|
||||
- ./dev-cmd/ruby.rb
|
||||
- ./dev-cmd/sh.rb
|
||||
- ./dev-cmd/sponsors.rb
|
||||
- ./dev-cmd/style.rb
|
||||
- ./dev-cmd/tap-new.rb
|
||||
- ./dev-cmd/test.rb
|
||||
@ -603,6 +604,7 @@ false:
|
||||
- ./test/dev-cmd/release-notes_spec.rb
|
||||
- ./test/dev-cmd/ruby_spec.rb
|
||||
- ./test/dev-cmd/sh_spec.rb
|
||||
- ./test/dev-cmd/sponsors_spec.rb
|
||||
- ./test/dev-cmd/style_spec.rb
|
||||
- ./test/dev-cmd/tap-new_spec.rb
|
||||
- ./test/dev-cmd/test_spec.rb
|
||||
@ -861,7 +863,6 @@ true:
|
||||
- ./cask/url.rb
|
||||
- ./checksum.rb
|
||||
- ./config.rb
|
||||
- ./dev-cmd/sponsers.rb
|
||||
- ./extend/cachable.rb
|
||||
- ./extend/os/linux/development_tools.rb
|
||||
- ./extend/os/linux/formula.rb
|
||||
@ -888,7 +889,6 @@ true:
|
||||
- ./rubocops/cask/extend/string.rb
|
||||
- ./rubocops/deprecate.rb
|
||||
- ./tap_constants.rb
|
||||
- ./test/dev-cmd/sponsers_spec.rb
|
||||
- ./test/support/helper/fixtures.rb
|
||||
- ./test/support/lib/config.rb
|
||||
- ./utils/bottles.rb
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
|
||||
# tapioca sync
|
||||
# tapioca sync --exclude json
|
||||
|
||||
# typed: true
|
||||
|
||||
@ -12,6 +12,24 @@ end
|
||||
module RuboCop::Cop::Performance
|
||||
end
|
||||
|
||||
class RuboCop::Cop::Performance::AncestorsInclude < ::RuboCop::Cop::Cop
|
||||
include(::RuboCop::Cop::RangeHelp)
|
||||
|
||||
def ancestors_include_candidate?(node = _); end
|
||||
def autocorrect(node); end
|
||||
def on_send(node); end
|
||||
end
|
||||
|
||||
RuboCop::Cop::Performance::AncestorsInclude::MSG = T.let(T.unsafe(nil), String)
|
||||
|
||||
class RuboCop::Cop::Performance::BigDecimalWithNumericArgument < ::RuboCop::Cop::Cop
|
||||
def autocorrect(node); end
|
||||
def big_decimal_with_numeric_argument?(node = _); end
|
||||
def on_send(node); end
|
||||
end
|
||||
|
||||
RuboCop::Cop::Performance::BigDecimalWithNumericArgument::MSG = T.let(T.unsafe(nil), String)
|
||||
|
||||
class RuboCop::Cop::Performance::BindCall < ::RuboCop::Cop::Cop
|
||||
include(::RuboCop::Cop::RangeHelp)
|
||||
extend(::RuboCop::Cop::TargetRubyVersion)
|
||||
@ -256,6 +274,29 @@ class RuboCop::Cop::Performance::InefficientHashSearch < ::RuboCop::Cop::Cop
|
||||
def use_long_method; end
|
||||
end
|
||||
|
||||
class RuboCop::Cop::Performance::IoReadlines < ::RuboCop::Cop::Cop
|
||||
include(::RuboCop::Cop::RangeHelp)
|
||||
|
||||
def autocorrect(node); end
|
||||
def on_send(node); end
|
||||
def readlines_on_class?(node = _); end
|
||||
def readlines_on_instance?(node = _); end
|
||||
|
||||
private
|
||||
|
||||
def build_bad_method(enumerable_call); end
|
||||
def build_call_args(call_args_node); end
|
||||
def build_good_method(enumerable_call); end
|
||||
def correction_range(enumerable_call, readlines_call); end
|
||||
def enumerable_method?(node); end
|
||||
def offense(node, enumerable_call, readlines_call); end
|
||||
def offense_range(enumerable_call, readlines_call); end
|
||||
end
|
||||
|
||||
RuboCop::Cop::Performance::IoReadlines::ENUMERABLE_METHODS = T.let(T.unsafe(nil), Array)
|
||||
|
||||
RuboCop::Cop::Performance::IoReadlines::MSG = T.let(T.unsafe(nil), String)
|
||||
|
||||
class RuboCop::Cop::Performance::OpenStruct < ::RuboCop::Cop::Cop
|
||||
def on_send(node); end
|
||||
def open_struct(node = _); end
|
||||
@ -349,6 +390,42 @@ RuboCop::Cop::Performance::RedundantMerge::MSG = T.let(T.unsafe(nil), String)
|
||||
|
||||
RuboCop::Cop::Performance::RedundantMerge::WITH_MODIFIER_CORRECTION = T.let(T.unsafe(nil), String)
|
||||
|
||||
class RuboCop::Cop::Performance::RedundantSortBlock < ::RuboCop::Cop::Cop
|
||||
include(::RuboCop::Cop::RangeHelp)
|
||||
include(::RuboCop::Cop::SortBlock)
|
||||
|
||||
def autocorrect(node); end
|
||||
def on_block(node); end
|
||||
|
||||
private
|
||||
|
||||
def message(var_a, var_b); end
|
||||
end
|
||||
|
||||
RuboCop::Cop::Performance::RedundantSortBlock::MSG = T.let(T.unsafe(nil), String)
|
||||
|
||||
class RuboCop::Cop::Performance::RedundantStringChars < ::RuboCop::Cop::Cop
|
||||
include(::RuboCop::Cop::RangeHelp)
|
||||
|
||||
def autocorrect(node); end
|
||||
def on_send(node); end
|
||||
def redundant_chars_call?(node = _); end
|
||||
|
||||
private
|
||||
|
||||
def build_bad_method(method, args); end
|
||||
def build_call_args(call_args_node); end
|
||||
def build_good_method(method, args); end
|
||||
def build_message(method, args); end
|
||||
def correction_range(receiver, node); end
|
||||
def offense_range(receiver, node); end
|
||||
def replaceable_method?(method_name); end
|
||||
end
|
||||
|
||||
RuboCop::Cop::Performance::RedundantStringChars::MSG = T.let(T.unsafe(nil), String)
|
||||
|
||||
RuboCop::Cop::Performance::RedundantStringChars::REPLACEABLE_METHODS = T.let(T.unsafe(nil), Array)
|
||||
|
||||
class RuboCop::Cop::Performance::RegexpMatch < ::RuboCop::Cop::Cop
|
||||
def autocorrect(node); end
|
||||
def last_matches(node0); end
|
||||
@ -398,21 +475,61 @@ RuboCop::Cop::Performance::ReverseEach::MSG = T.let(T.unsafe(nil), String)
|
||||
|
||||
RuboCop::Cop::Performance::ReverseEach::UNDERSCORE = T.let(T.unsafe(nil), String)
|
||||
|
||||
class RuboCop::Cop::Performance::Size < ::RuboCop::Cop::Cop
|
||||
class RuboCop::Cop::Performance::ReverseFirst < ::RuboCop::Cop::Cop
|
||||
include(::RuboCop::Cop::RangeHelp)
|
||||
|
||||
def autocorrect(node); end
|
||||
def on_send(node); end
|
||||
def reverse_first_candidate?(node = _); end
|
||||
|
||||
private
|
||||
|
||||
def allowed_parent?(node); end
|
||||
def array?(node); end
|
||||
def eligible_node?(node); end
|
||||
def eligible_receiver?(node); end
|
||||
def hash?(node); end
|
||||
def build_bad_method(node); end
|
||||
def build_good_method(node); end
|
||||
def build_message(node); end
|
||||
def correction_range(receiver, node); end
|
||||
end
|
||||
|
||||
RuboCop::Cop::Performance::ReverseFirst::MSG = T.let(T.unsafe(nil), String)
|
||||
|
||||
class RuboCop::Cop::Performance::Size < ::RuboCop::Cop::Cop
|
||||
def array?(node = _); end
|
||||
def autocorrect(node); end
|
||||
def count?(node = _); end
|
||||
def hash?(node = _); end
|
||||
def on_send(node); end
|
||||
end
|
||||
|
||||
RuboCop::Cop::Performance::Size::MSG = T.let(T.unsafe(nil), String)
|
||||
|
||||
class RuboCop::Cop::Performance::SortReverse < ::RuboCop::Cop::Cop
|
||||
include(::RuboCop::Cop::RangeHelp)
|
||||
include(::RuboCop::Cop::SortBlock)
|
||||
|
||||
def autocorrect(node); end
|
||||
def on_block(node); end
|
||||
|
||||
private
|
||||
|
||||
def message(var_a, var_b); end
|
||||
end
|
||||
|
||||
RuboCop::Cop::Performance::SortReverse::MSG = T.let(T.unsafe(nil), String)
|
||||
|
||||
class RuboCop::Cop::Performance::Squeeze < ::RuboCop::Cop::Cop
|
||||
def autocorrect(node); end
|
||||
def on_send(node); end
|
||||
def squeeze_candidate?(node = _); end
|
||||
|
||||
private
|
||||
|
||||
def repeating_literal?(regex_str); end
|
||||
end
|
||||
|
||||
RuboCop::Cop::Performance::Squeeze::MSG = T.let(T.unsafe(nil), String)
|
||||
|
||||
RuboCop::Cop::Performance::Squeeze::PREFERRED_METHODS = T.let(T.unsafe(nil), Hash)
|
||||
|
||||
class RuboCop::Cop::Performance::StartWith < ::RuboCop::Cop::Cop
|
||||
include(::RuboCop::Cop::RegexpMetacharacter)
|
||||
|
||||
@ -424,6 +541,19 @@ end
|
||||
|
||||
RuboCop::Cop::Performance::StartWith::MSG = T.let(T.unsafe(nil), String)
|
||||
|
||||
class RuboCop::Cop::Performance::StringInclude < ::RuboCop::Cop::Cop
|
||||
def autocorrect(node); end
|
||||
def on_match_with_lvasgn(node); end
|
||||
def on_send(node); end
|
||||
def redundant_regex?(node = _); end
|
||||
|
||||
private
|
||||
|
||||
def literal?(regex_str); end
|
||||
end
|
||||
|
||||
RuboCop::Cop::Performance::StringInclude::MSG = T.let(T.unsafe(nil), String)
|
||||
|
||||
class RuboCop::Cop::Performance::StringReplacement < ::RuboCop::Cop::Cop
|
||||
include(::RuboCop::Cop::RangeHelp)
|
||||
|
||||
@ -504,6 +634,18 @@ module RuboCop::Cop::RegexpMetacharacter
|
||||
def safe_multiline?; end
|
||||
end
|
||||
|
||||
module RuboCop::Cop::SortBlock
|
||||
include(::RuboCop::Cop::RangeHelp)
|
||||
extend(::RuboCop::AST::NodePattern::Macros)
|
||||
|
||||
def replaceable_body?(node = _, param1, param2); end
|
||||
def sort_with_block?(node = _); end
|
||||
|
||||
private
|
||||
|
||||
def sort_range(send, node); end
|
||||
end
|
||||
|
||||
RuboCop::NodePattern = RuboCop::AST::NodePattern
|
||||
|
||||
module RuboCop::Performance
|
||||
@ -5819,6 +5819,10 @@ class Cask::DSL::Container
|
||||
|
||||
def nested=(nested); end
|
||||
|
||||
def pairs(); end
|
||||
|
||||
def pairs=(pairs); end
|
||||
|
||||
def type(); end
|
||||
|
||||
def type=(type); end
|
||||
@ -19436,7 +19440,7 @@ module RuboCop::RSpec::ExpectOffense
|
||||
|
||||
def expect_no_offenses(source, file=T.unsafe(nil)); end
|
||||
|
||||
def expect_offense(source, file=T.unsafe(nil), **replacements); end
|
||||
def expect_offense(source, file=T.unsafe(nil), severity: T.unsafe(nil), **replacements); end
|
||||
|
||||
def format_offense(source, **replacements); end
|
||||
end
|
||||
@ -23216,6 +23220,8 @@ class URL
|
||||
|
||||
def scheme=(scheme); end
|
||||
|
||||
def specs(); end
|
||||
|
||||
def string(); end
|
||||
|
||||
def subdomain(); end
|
||||
@ -23234,6 +23240,8 @@ class URL
|
||||
|
||||
def trust_cert(); end
|
||||
|
||||
def uri(); end
|
||||
|
||||
def user_agent(); end
|
||||
|
||||
def using(); end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user