diff --git a/Library/Homebrew/sorbet/rbi/gems/mime-types-data@3.2020.0512.rbi b/Library/Homebrew/sorbet/rbi/gems/mime-types-data@3.2020.1104.rbi similarity index 90% rename from Library/Homebrew/sorbet/rbi/gems/mime-types-data@3.2020.0512.rbi rename to Library/Homebrew/sorbet/rbi/gems/mime-types-data@3.2020.1104.rbi index 0a248f7d65..c40bda7674 100644 --- a/Library/Homebrew/sorbet/rbi/gems/mime-types-data@3.2020.0512.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/mime-types-data@3.2020.1104.rbi @@ -1,6 +1,6 @@ # DO NOT EDIT MANUALLY # This is an autogenerated file for types exported from the `mime-types-data` gem. -# Please instead update this file by running `tapioca generate --exclude json`. +# Please instead update this file by running `tapioca sync`. # typed: true @@ -36,8 +36,8 @@ class MIME::Types def count; end def each; end def logger; end - def logger=(_); end - def new(*_); end + def logger=(_arg0); end + def new(*_arg0); end def of(filename); end def type_for(filename); end @@ -59,11 +59,11 @@ class MIME::Types::Cache < ::Struct def version=(_); end class << self - def [](*_); end + def [](*_arg0); end def inspect; end def load(cache_file = T.unsafe(nil)); end def members; end - def new(*_); end + def new(*_arg0); end def save(types = T.unsafe(nil), cache_file = T.unsafe(nil)); end end end diff --git a/Library/Homebrew/sorbet/rbi/gems/rubocop-performance@1.8.1.rbi b/Library/Homebrew/sorbet/rbi/gems/rubocop-performance@1.9.0.rbi similarity index 70% rename from Library/Homebrew/sorbet/rbi/gems/rubocop-performance@1.8.1.rbi rename to Library/Homebrew/sorbet/rbi/gems/rubocop-performance@1.9.0.rbi index b6be536070..3d47926428 100644 --- a/Library/Homebrew/sorbet/rbi/gems/rubocop-performance@1.8.1.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/rubocop-performance@1.9.0.rbi @@ -17,7 +17,7 @@ class RuboCop::Cop::Performance::AncestorsInclude < ::RuboCop::Cop::Base include(::RuboCop::Cop::RangeHelp) extend(::RuboCop::Cop::AutoCorrector) - def ancestors_include_candidate?(node = T.unsafe(nil)); end + def ancestors_include_candidate?(param0 = T.unsafe(nil)); end def on_send(node); end private @@ -27,10 +27,32 @@ end RuboCop::Cop::Performance::AncestorsInclude::MSG = T.let(T.unsafe(nil), String) +RuboCop::Cop::Performance::AncestorsInclude::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) + +class RuboCop::Cop::Performance::ArraySemiInfiniteRangeSlice < ::RuboCop::Cop::Base + include(::RuboCop::Cop::RangeHelp) + extend(::RuboCop::Cop::AutoCorrector) + extend(::RuboCop::Cop::TargetRubyVersion) + + def endless_range?(param0 = T.unsafe(nil)); end + def endless_range_slice?(param0 = T.unsafe(nil)); end + def on_send(node); end + + private + + def correction(receiver, range_node); end +end + +RuboCop::Cop::Performance::ArraySemiInfiniteRangeSlice::MSG = T.let(T.unsafe(nil), String) + +RuboCop::Cop::Performance::ArraySemiInfiniteRangeSlice::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Set) + +RuboCop::Cop::Performance::ArraySemiInfiniteRangeSlice::SLICE_METHODS = T.let(T.unsafe(nil), Set) + class RuboCop::Cop::Performance::BigDecimalWithNumericArgument < ::RuboCop::Cop::Base extend(::RuboCop::Cop::AutoCorrector) - def big_decimal_with_numeric_argument?(node = T.unsafe(nil)); end + def big_decimal_with_numeric_argument?(param0 = T.unsafe(nil)); end def on_send(node); end private @@ -40,12 +62,14 @@ end RuboCop::Cop::Performance::BigDecimalWithNumericArgument::MSG = T.let(T.unsafe(nil), String) +RuboCop::Cop::Performance::BigDecimalWithNumericArgument::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) + class RuboCop::Cop::Performance::BindCall < ::RuboCop::Cop::Base include(::RuboCop::Cop::RangeHelp) extend(::RuboCop::Cop::AutoCorrector) extend(::RuboCop::Cop::TargetRubyVersion) - def bind_with_call_method?(node = T.unsafe(nil)); end + def bind_with_call_method?(param0 = T.unsafe(nil)); end def on_send(node); end private @@ -57,20 +81,34 @@ end RuboCop::Cop::Performance::BindCall::MSG = T.let(T.unsafe(nil), String) -class RuboCop::Cop::Performance::Caller < ::RuboCop::Cop::Base - def caller_with_scope_method?(node = T.unsafe(nil)); end +RuboCop::Cop::Performance::BindCall::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) + +class RuboCop::Cop::Performance::BlockGivenWithExplicitBlock < ::RuboCop::Cop::Base + extend(::RuboCop::Cop::AutoCorrector) + def on_send(node); end - def slow_caller?(node = T.unsafe(nil)); end + def reassigns_block_arg?(param0 = T.unsafe(nil), param1); end +end + +RuboCop::Cop::Performance::BlockGivenWithExplicitBlock::MSG = T.let(T.unsafe(nil), String) + +RuboCop::Cop::Performance::BlockGivenWithExplicitBlock::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) + +class RuboCop::Cop::Performance::Caller < ::RuboCop::Cop::Base + extend(::RuboCop::Cop::AutoCorrector) + + def caller_with_scope_method?(param0 = T.unsafe(nil)); end + def on_send(node); end + def slow_caller?(param0 = T.unsafe(nil)); end private def int_value(node); end - def message(node); end end -RuboCop::Cop::Performance::Caller::MSG_BRACE = T.let(T.unsafe(nil), String) +RuboCop::Cop::Performance::Caller::MSG = T.let(T.unsafe(nil), String) -RuboCop::Cop::Performance::Caller::MSG_FIRST = T.let(T.unsafe(nil), String) +RuboCop::Cop::Performance::Caller::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) class RuboCop::Cop::Performance::CaseWhenSplat < ::RuboCop::Cop::Base include(::RuboCop::Cop::Alignment) @@ -103,9 +141,9 @@ RuboCop::Cop::Performance::CaseWhenSplat::MSG = T.let(T.unsafe(nil), String) class RuboCop::Cop::Performance::Casecmp < ::RuboCop::Cop::Base extend(::RuboCop::Cop::AutoCorrector) - def downcase_downcase(node = T.unsafe(nil)); end - def downcase_eq(node = T.unsafe(nil)); end - def eq_downcase(node = T.unsafe(nil)); end + def downcase_downcase(param0 = T.unsafe(nil)); end + def downcase_eq(param0 = T.unsafe(nil)); end + def eq_downcase(param0 = T.unsafe(nil)); end def on_send(node); end private @@ -119,10 +157,12 @@ RuboCop::Cop::Performance::Casecmp::CASE_METHODS = T.let(T.unsafe(nil), Array) RuboCop::Cop::Performance::Casecmp::MSG = T.let(T.unsafe(nil), String) +RuboCop::Cop::Performance::Casecmp::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) + class RuboCop::Cop::Performance::ChainArrayAllocation < ::RuboCop::Cop::Base include(::RuboCop::Cop::RangeHelp) - def flat_map_candidate?(node = T.unsafe(nil)); end + def flat_map_candidate?(param0 = T.unsafe(nil)); end def on_send(node); end end @@ -137,8 +177,8 @@ RuboCop::Cop::Performance::ChainArrayAllocation::RETURNS_NEW_ARRAY_WHEN_NO_BLOCK RuboCop::Cop::Performance::ChainArrayAllocation::RETURN_NEW_ARRAY_WHEN_ARGS = T.let(T.unsafe(nil), String) class RuboCop::Cop::Performance::CollectionLiteralInLoop < ::RuboCop::Cop::Base - def enumerable_loop?(node = T.unsafe(nil)); end - def kernel_loop?(node = T.unsafe(nil)); end + def enumerable_loop?(param0 = T.unsafe(nil)); end + def kernel_loop?(param0 = T.unsafe(nil)); end def on_send(node); end private @@ -174,9 +214,9 @@ class RuboCop::Cop::Performance::CompareWithBlock < ::RuboCop::Cop::Base include(::RuboCop::Cop::RangeHelp) extend(::RuboCop::Cop::AutoCorrector) - def compare?(node = T.unsafe(nil)); end + def compare?(param0 = T.unsafe(nil)); end def on_block(node); end - def replaceable_body?(node = T.unsafe(nil), param1, param2); end + def replaceable_body?(param0 = T.unsafe(nil), param1, param2); end private @@ -187,11 +227,25 @@ end RuboCop::Cop::Performance::CompareWithBlock::MSG = T.let(T.unsafe(nil), String) +class RuboCop::Cop::Performance::ConstantRegexp < ::RuboCop::Cop::Base + extend(::RuboCop::Cop::AutoCorrector) + + def on_regexp(node); end + def regexp_escape?(param0 = T.unsafe(nil)); end + + private + + def include_interpolated_const?(node); end + def within_const_assignment?(node); end +end + +RuboCop::Cop::Performance::ConstantRegexp::MSG = T.let(T.unsafe(nil), String) + class RuboCop::Cop::Performance::Count < ::RuboCop::Cop::Base include(::RuboCop::Cop::RangeHelp) extend(::RuboCop::Cop::AutoCorrector) - def count_candidate?(node = T.unsafe(nil)); end + def count_candidate?(param0 = T.unsafe(nil)); end def on_send(node); end private @@ -203,12 +257,14 @@ end RuboCop::Cop::Performance::Count::MSG = T.let(T.unsafe(nil), String) +RuboCop::Cop::Performance::Count::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) + class RuboCop::Cop::Performance::DeletePrefix < ::RuboCop::Cop::Base include(::RuboCop::Cop::RegexpMetacharacter) extend(::RuboCop::Cop::AutoCorrector) extend(::RuboCop::Cop::TargetRubyVersion) - def delete_prefix_candidate?(node = T.unsafe(nil)); end + def delete_prefix_candidate?(param0 = T.unsafe(nil)); end def on_send(node); end end @@ -216,12 +272,14 @@ RuboCop::Cop::Performance::DeletePrefix::MSG = T.let(T.unsafe(nil), String) RuboCop::Cop::Performance::DeletePrefix::PREFERRED_METHODS = T.let(T.unsafe(nil), Hash) +RuboCop::Cop::Performance::DeletePrefix::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) + class RuboCop::Cop::Performance::DeleteSuffix < ::RuboCop::Cop::Base include(::RuboCop::Cop::RegexpMetacharacter) extend(::RuboCop::Cop::AutoCorrector) extend(::RuboCop::Cop::TargetRubyVersion) - def delete_suffix_candidate?(node = T.unsafe(nil)); end + def delete_suffix_candidate?(param0 = T.unsafe(nil)); end def on_send(node); end end @@ -229,10 +287,12 @@ RuboCop::Cop::Performance::DeleteSuffix::MSG = T.let(T.unsafe(nil), String) RuboCop::Cop::Performance::DeleteSuffix::PREFERRED_METHODS = T.let(T.unsafe(nil), Hash) +RuboCop::Cop::Performance::DeleteSuffix::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) + class RuboCop::Cop::Performance::Detect < ::RuboCop::Cop::Base extend(::RuboCop::Cop::AutoCorrector) - def detect_candidate?(node = T.unsafe(nil)); end + def detect_candidate?(param0 = T.unsafe(nil)); end def on_send(node); end private @@ -254,14 +314,16 @@ RuboCop::Cop::Performance::Detect::INDEX_REVERSE_MSG = T.let(T.unsafe(nil), Stri RuboCop::Cop::Performance::Detect::MSG = T.let(T.unsafe(nil), String) +RuboCop::Cop::Performance::Detect::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) + RuboCop::Cop::Performance::Detect::REVERSE_MSG = T.let(T.unsafe(nil), String) class RuboCop::Cop::Performance::DoubleStartEndWith < ::RuboCop::Cop::Base extend(::RuboCop::Cop::AutoCorrector) - def check_with_active_support_aliases(node = T.unsafe(nil)); end + def check_with_active_support_aliases(param0 = T.unsafe(nil)); end def on_or(node); end - def two_start_end_with_calls(node = T.unsafe(nil)); end + def two_start_end_with_calls(param0 = T.unsafe(nil)); end private @@ -280,13 +342,15 @@ class RuboCop::Cop::Performance::EndWith < ::RuboCop::Cop::Base def on_match_with_lvasgn(node); end def on_send(node); end - def redundant_regex?(node = T.unsafe(nil)); end + def redundant_regex?(param0 = T.unsafe(nil)); end end RuboCop::Cop::Performance::EndWith::MSG = T.let(T.unsafe(nil), String) +RuboCop::Cop::Performance::EndWith::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) + class RuboCop::Cop::Performance::FixedSize < ::RuboCop::Cop::Base - def counter(node = T.unsafe(nil)); end + def counter(param0 = T.unsafe(nil)); end def on_send(node); end private @@ -301,11 +365,13 @@ end RuboCop::Cop::Performance::FixedSize::MSG = T.let(T.unsafe(nil), String) +RuboCop::Cop::Performance::FixedSize::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) + class RuboCop::Cop::Performance::FlatMap < ::RuboCop::Cop::Base include(::RuboCop::Cop::RangeHelp) extend(::RuboCop::Cop::AutoCorrector) - def flat_map_candidate?(node = T.unsafe(nil)); end + def flat_map_candidate?(param0 = T.unsafe(nil)); end def on_send(node); end private @@ -320,10 +386,12 @@ RuboCop::Cop::Performance::FlatMap::FLATTEN_MULTIPLE_LEVELS = T.let(T.unsafe(nil RuboCop::Cop::Performance::FlatMap::MSG = T.let(T.unsafe(nil), String) +RuboCop::Cop::Performance::FlatMap::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) + class RuboCop::Cop::Performance::InefficientHashSearch < ::RuboCop::Cop::Base extend(::RuboCop::Cop::AutoCorrector) - def inefficient_include?(node = T.unsafe(nil)); end + def inefficient_include?(param0 = T.unsafe(nil)); end def on_send(node); end private @@ -336,13 +404,15 @@ class RuboCop::Cop::Performance::InefficientHashSearch < ::RuboCop::Cop::Base def use_long_method; end end +RuboCop::Cop::Performance::InefficientHashSearch::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) + class RuboCop::Cop::Performance::IoReadlines < ::RuboCop::Cop::Base include(::RuboCop::Cop::RangeHelp) extend(::RuboCop::Cop::AutoCorrector) def on_send(node); end - def readlines_on_class?(node = T.unsafe(nil)); end - def readlines_on_instance?(node = T.unsafe(nil)); end + def readlines_on_class?(param0 = T.unsafe(nil)); end + def readlines_on_instance?(param0 = T.unsafe(nil)); end private @@ -351,36 +421,46 @@ class RuboCop::Cop::Performance::IoReadlines < ::RuboCop::Cop::Base 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_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) +RuboCop::Cop::Performance::IoReadlines::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) + +class RuboCop::Cop::Performance::MethodObjectAsBlock < ::RuboCop::Cop::Base + def method_object_as_argument?(param0 = T.unsafe(nil)); end + def on_block_pass(node); end +end + +RuboCop::Cop::Performance::MethodObjectAsBlock::MSG = T.let(T.unsafe(nil), String) + class RuboCop::Cop::Performance::OpenStruct < ::RuboCop::Cop::Base def on_send(node); end - def open_struct(node = T.unsafe(nil)); end + def open_struct(param0 = T.unsafe(nil)); end end RuboCop::Cop::Performance::OpenStruct::MSG = T.let(T.unsafe(nil), String) +RuboCop::Cop::Performance::OpenStruct::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) + class RuboCop::Cop::Performance::RangeInclude < ::RuboCop::Cop::Base extend(::RuboCop::Cop::AutoCorrector) def on_send(node); end - def range_include(node = T.unsafe(nil)); end + def range_include(param0 = T.unsafe(nil)); end end RuboCop::Cop::Performance::RangeInclude::MSG = T.let(T.unsafe(nil), String) +RuboCop::Cop::Performance::RangeInclude::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) + class RuboCop::Cop::Performance::RedundantBlockCall < ::RuboCop::Cop::Base extend(::RuboCop::Cop::AutoCorrector) - def blockarg_assigned?(node0, param1); end - def blockarg_calls(node0, param1); end - def blockarg_def(node = T.unsafe(nil)); end + def blockarg_assigned?(param0, param1); end + def blockarg_calls(param0, param1); end + def blockarg_def(param0 = T.unsafe(nil)); end def on_def(node); end private @@ -403,9 +483,9 @@ RuboCop::Cop::Performance::RedundantBlockCall::YIELD = T.let(T.unsafe(nil), Stri class RuboCop::Cop::Performance::RedundantMatch < ::RuboCop::Cop::Base extend(::RuboCop::Cop::AutoCorrector) - def match_call?(node = T.unsafe(nil)); end + def match_call?(param0 = T.unsafe(nil)); end def on_send(node); end - def only_truthiness_matters?(node = T.unsafe(nil)); end + def only_truthiness_matters?(param0 = T.unsafe(nil)); end private @@ -414,12 +494,14 @@ end RuboCop::Cop::Performance::RedundantMatch::MSG = T.let(T.unsafe(nil), String) +RuboCop::Cop::Performance::RedundantMatch::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) + class RuboCop::Cop::Performance::RedundantMerge < ::RuboCop::Cop::Base extend(::RuboCop::Cop::AutoCorrector) - def modifier_flow_control?(node = T.unsafe(nil)); end + def modifier_flow_control?(param0 = T.unsafe(nil)); end def on_send(node); end - def redundant_merge_candidate(node = T.unsafe(nil)); end + def redundant_merge_candidate(param0 = T.unsafe(nil)); end private @@ -445,7 +527,7 @@ class RuboCop::Cop::Performance::RedundantMerge::EachWithObjectInspector def initialize(node, receiver); end - def each_with_object_node(node = T.unsafe(nil)); end + def each_with_object_node(param0 = T.unsafe(nil)); end def value_used?; end private @@ -459,6 +541,8 @@ end RuboCop::Cop::Performance::RedundantMerge::MSG = T.let(T.unsafe(nil), String) +RuboCop::Cop::Performance::RedundantMerge::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) + RuboCop::Cop::Performance::RedundantMerge::WITH_MODIFIER_CORRECTION = T.let(T.unsafe(nil), String) class RuboCop::Cop::Performance::RedundantSortBlock < ::RuboCop::Cop::Base @@ -480,7 +564,7 @@ class RuboCop::Cop::Performance::RedundantStringChars < ::RuboCop::Cop::Base extend(::RuboCop::Cop::AutoCorrector) def on_send(node); end - def redundant_chars_call?(node = T.unsafe(nil)); end + def redundant_chars_call?(param0 = T.unsafe(nil)); end private @@ -490,26 +574,25 @@ class RuboCop::Cop::Performance::RedundantStringChars < ::RuboCop::Cop::Base 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) +RuboCop::Cop::Performance::RedundantStringChars::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) class RuboCop::Cop::Performance::RegexpMatch < ::RuboCop::Cop::Base extend(::RuboCop::Cop::AutoCorrector) - def last_matches(node0); end - def match_method?(node = T.unsafe(nil)); end - def match_node?(node = T.unsafe(nil)); end - def match_operator?(node = T.unsafe(nil)); end - def match_threequals?(node = T.unsafe(nil)); end - def match_with_int_arg_method?(node = T.unsafe(nil)); end + def last_matches(param0); end + def match_method?(param0 = T.unsafe(nil)); end + def match_node?(param0 = T.unsafe(nil)); end + def match_operator?(param0 = T.unsafe(nil)); end + def match_threequals?(param0 = T.unsafe(nil)); end + def match_with_int_arg_method?(param0 = T.unsafe(nil)); end def match_with_lvasgn?(node); end def on_case(node); end def on_if(node); end - def search_match_nodes(node0); end + def search_match_nodes(param0); end private @@ -541,7 +624,7 @@ class RuboCop::Cop::Performance::ReverseEach < ::RuboCop::Cop::Base extend(::RuboCop::Cop::AutoCorrector) def on_send(node); end - def reverse_each?(node = T.unsafe(nil)); end + def reverse_each?(param0 = T.unsafe(nil)); end private @@ -550,6 +633,8 @@ end RuboCop::Cop::Performance::ReverseEach::MSG = T.let(T.unsafe(nil), String) +RuboCop::Cop::Performance::ReverseEach::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) + RuboCop::Cop::Performance::ReverseEach::UNDERSCORE = T.let(T.unsafe(nil), String) class RuboCop::Cop::Performance::ReverseFirst < ::RuboCop::Cop::Base @@ -557,7 +642,7 @@ class RuboCop::Cop::Performance::ReverseFirst < ::RuboCop::Cop::Base extend(::RuboCop::Cop::AutoCorrector) def on_send(node); end - def reverse_first_candidate?(node = T.unsafe(nil)); end + def reverse_first_candidate?(param0 = T.unsafe(nil)); end private @@ -569,17 +654,21 @@ end RuboCop::Cop::Performance::ReverseFirst::MSG = T.let(T.unsafe(nil), String) +RuboCop::Cop::Performance::ReverseFirst::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) + class RuboCop::Cop::Performance::Size < ::RuboCop::Cop::Base extend(::RuboCop::Cop::AutoCorrector) - def array?(node = T.unsafe(nil)); end - def count?(node = T.unsafe(nil)); end - def hash?(node = T.unsafe(nil)); end + def array?(param0 = T.unsafe(nil)); end + def count?(param0 = T.unsafe(nil)); end + def hash?(param0 = T.unsafe(nil)); end def on_send(node); end end RuboCop::Cop::Performance::Size::MSG = T.let(T.unsafe(nil), String) +RuboCop::Cop::Performance::Size::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) + class RuboCop::Cop::Performance::SortReverse < ::RuboCop::Cop::Base include(::RuboCop::Cop::RangeHelp) include(::RuboCop::Cop::SortBlock) @@ -598,7 +687,7 @@ class RuboCop::Cop::Performance::Squeeze < ::RuboCop::Cop::Base extend(::RuboCop::Cop::AutoCorrector) def on_send(node); end - def squeeze_candidate?(node = T.unsafe(nil)); end + def squeeze_candidate?(param0 = T.unsafe(nil)); end private @@ -609,23 +698,27 @@ RuboCop::Cop::Performance::Squeeze::MSG = T.let(T.unsafe(nil), String) RuboCop::Cop::Performance::Squeeze::PREFERRED_METHODS = T.let(T.unsafe(nil), Hash) +RuboCop::Cop::Performance::Squeeze::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) + class RuboCop::Cop::Performance::StartWith < ::RuboCop::Cop::Base include(::RuboCop::Cop::RegexpMetacharacter) extend(::RuboCop::Cop::AutoCorrector) def on_match_with_lvasgn(node); end def on_send(node); end - def redundant_regex?(node = T.unsafe(nil)); end + def redundant_regex?(param0 = T.unsafe(nil)); end end RuboCop::Cop::Performance::StartWith::MSG = T.let(T.unsafe(nil), String) +RuboCop::Cop::Performance::StartWith::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) + class RuboCop::Cop::Performance::StringInclude < ::RuboCop::Cop::Base extend(::RuboCop::Cop::AutoCorrector) def on_match_with_lvasgn(node); end def on_send(node); end - def redundant_regex?(node = T.unsafe(nil)); end + def redundant_regex?(param0 = T.unsafe(nil)); end private @@ -634,12 +727,14 @@ end RuboCop::Cop::Performance::StringInclude::MSG = T.let(T.unsafe(nil), String) +RuboCop::Cop::Performance::StringInclude::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) + class RuboCop::Cop::Performance::StringReplacement < ::RuboCop::Cop::Base include(::RuboCop::Cop::RangeHelp) extend(::RuboCop::Cop::AutoCorrector) def on_send(node); end - def string_replacement?(node = T.unsafe(nil)); end + def string_replacement?(param0 = T.unsafe(nil)); end private @@ -666,39 +761,54 @@ RuboCop::Cop::Performance::StringReplacement::DETERMINISTIC_REGEX = T.let(T.unsa RuboCop::Cop::Performance::StringReplacement::MSG = T.let(T.unsafe(nil), String) +RuboCop::Cop::Performance::StringReplacement::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) + RuboCop::Cop::Performance::StringReplacement::TR = T.let(T.unsafe(nil), String) class RuboCop::Cop::Performance::Sum < ::RuboCop::Cop::Base include(::RuboCop::Cop::RangeHelp) extend(::RuboCop::Cop::AutoCorrector) - def acc_plus_elem?(node = T.unsafe(nil), param1, param2); end - def elem_plus_acc?(node = T.unsafe(nil), param1, param2); end + def acc_plus_elem?(param0 = T.unsafe(nil), param1, param2); end + def elem_plus_acc?(param0 = T.unsafe(nil), param1, param2); end def on_block(node); end def on_send(node); end - def sum_candidate?(node = T.unsafe(nil)); end - def sum_with_block_candidate?(node = T.unsafe(nil)); end + def sum_candidate?(param0 = T.unsafe(nil)); end + def sum_map_candidate?(param0 = T.unsafe(nil)); end + def sum_with_block_candidate?(param0 = T.unsafe(nil)); end private + def array_literal?(node); end def autocorrect(corrector, init, range); end + def autocorrect_sum_map(corrector, sum, map, init); end def build_block_bad_method(method, init, var_acc, var_elem, body); end def build_block_message(send, init, var_acc, var_elem, body); end - def build_good_method(init); end + def build_good_method(init, block_pass = T.unsafe(nil)); end def build_method_bad_method(init, method, operation); end - def build_method_message(method, init, operation); end + def build_method_message(node, method, init, operation); end + def build_sum_map_message(method, init); end + def empty_array_literal?(node); end + def handle_sum_candidate(node); end + def handle_sum_map_candidate(node); end + def method_call_with_args_range(node); end def sum_block_range(send, node); end + def sum_map_range(map, sum); end def sum_method_range(node); end end RuboCop::Cop::Performance::Sum::MSG = T.let(T.unsafe(nil), String) +RuboCop::Cop::Performance::Sum::MSG_IF_NO_INIT_VALUE = T.let(T.unsafe(nil), String) + +RuboCop::Cop::Performance::Sum::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) + class RuboCop::Cop::Performance::TimesMap < ::RuboCop::Cop::Base extend(::RuboCop::Cop::AutoCorrector) def on_block(node); end def on_send(node); end - def times_map_call(node = T.unsafe(nil)); end + def times_map_call(param0 = T.unsafe(nil)); end private @@ -710,23 +820,35 @@ RuboCop::Cop::Performance::TimesMap::MESSAGE = T.let(T.unsafe(nil), String) RuboCop::Cop::Performance::TimesMap::MESSAGE_ONLY_IF = T.let(T.unsafe(nil), String) +RuboCop::Cop::Performance::TimesMap::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) + class RuboCop::Cop::Performance::UnfreezeString < ::RuboCop::Cop::Base - def dup_string?(node = T.unsafe(nil)); end + extend(::RuboCop::Cop::AutoCorrector) + + def dup_string?(param0 = T.unsafe(nil)); end def on_send(node); end - def string_new?(node = T.unsafe(nil)); end + def string_new?(param0 = T.unsafe(nil)); end + + private + + def string_value(node); end end RuboCop::Cop::Performance::UnfreezeString::MSG = T.let(T.unsafe(nil), String) +RuboCop::Cop::Performance::UnfreezeString::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) + class RuboCop::Cop::Performance::UriDefaultParser < ::RuboCop::Cop::Base extend(::RuboCop::Cop::AutoCorrector) def on_send(node); end - def uri_parser_new?(node = T.unsafe(nil)); end + def uri_parser_new?(param0 = T.unsafe(nil)); end end RuboCop::Cop::Performance::UriDefaultParser::MSG = T.let(T.unsafe(nil), String) +RuboCop::Cop::Performance::UriDefaultParser::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) + module RuboCop::Cop::RegexpMetacharacter private @@ -746,8 +868,8 @@ module RuboCop::Cop::SortBlock include(::RuboCop::Cop::RangeHelp) extend(::RuboCop::AST::NodePattern::Macros) - def replaceable_body?(node = T.unsafe(nil), param1, param2); end - def sort_with_block?(node = T.unsafe(nil)); end + def replaceable_body?(param0 = T.unsafe(nil), param1, param2); end + def sort_with_block?(param0 = T.unsafe(nil)); end private @@ -768,6 +890,9 @@ module RuboCop::Performance::Inject end module RuboCop::Performance::Version + class << self + def document_version; end + end end RuboCop::Performance::Version::STRING = T.let(T.unsafe(nil), String) diff --git a/Library/Homebrew/sorbet/rbi/gems/rubocop@1.2.0.rbi b/Library/Homebrew/sorbet/rbi/gems/rubocop@1.3.1.rbi similarity index 98% rename from Library/Homebrew/sorbet/rbi/gems/rubocop@1.2.0.rbi rename to Library/Homebrew/sorbet/rbi/gems/rubocop@1.3.1.rbi index 3f9abe9dbd..7b89bb575d 100644 --- a/Library/Homebrew/sorbet/rbi/gems/rubocop@1.2.0.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/rubocop@1.3.1.rbi @@ -329,6 +329,7 @@ class RuboCop::ConfigLoader def read_file(absolute_path); end def resolver; end def yaml_safe_load(yaml_code, filename); end + def yaml_safe_load!(yaml_code, filename); end end end @@ -674,11 +675,11 @@ RuboCop::Cop::Base::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Set) module RuboCop::Cop::Bundler end -class RuboCop::Cop::Bundler::DuplicatedGem < ::RuboCop::Cop::Cop +class RuboCop::Cop::Bundler::DuplicatedGem < ::RuboCop::Cop::Base include(::RuboCop::Cop::RangeHelp) def gem_declarations(param0); end - def investigate(processed_source); end + def on_new_investigation; end private @@ -690,7 +691,7 @@ end RuboCop::Cop::Bundler::DuplicatedGem::MSG = T.let(T.unsafe(nil), String) -class RuboCop::Cop::Bundler::GemComment < ::RuboCop::Cop::Cop +class RuboCop::Cop::Bundler::GemComment < ::RuboCop::Cop::Base include(::RuboCop::Cop::DefNode) def gem_declaration?(param0 = T.unsafe(nil)); end @@ -1298,12 +1299,12 @@ RuboCop::Cop::FrozenStringLiteral::FROZEN_STRING_LITERAL_TYPES = T.let(T.unsafe( module RuboCop::Cop::Gemspec end -class RuboCop::Cop::Gemspec::DuplicatedAssignment < ::RuboCop::Cop::Cop +class RuboCop::Cop::Gemspec::DuplicatedAssignment < ::RuboCop::Cop::Base include(::RuboCop::Cop::RangeHelp) def assignment_method_declarations(param0); end def gem_specification(param0); end - def investigate(processed_source); end + def on_new_investigation; end private @@ -1331,11 +1332,11 @@ end RuboCop::Cop::Gemspec::OrderedDependencies::MSG = T.let(T.unsafe(nil), String) -class RuboCop::Cop::Gemspec::RequiredRubyVersion < ::RuboCop::Cop::Cop +class RuboCop::Cop::Gemspec::RequiredRubyVersion < ::RuboCop::Cop::Base include(::RuboCop::Cop::RangeHelp) def defined_ruby_version(param0 = T.unsafe(nil)); end - def investigate(processed_source); end + def on_new_investigation; end def required_ruby_version(param0); end private @@ -1348,7 +1349,7 @@ RuboCop::Cop::Gemspec::RequiredRubyVersion::MISSING_MSG = T.let(T.unsafe(nil), S RuboCop::Cop::Gemspec::RequiredRubyVersion::NOT_EQUAL_MSG = T.let(T.unsafe(nil), String) -class RuboCop::Cop::Gemspec::RubyVersionGlobalsUsage < ::RuboCop::Cop::Cop +class RuboCop::Cop::Gemspec::RubyVersionGlobalsUsage < ::RuboCop::Cop::Base def gem_specification?(param0); end def on_const(node); end def ruby_version?(param0 = T.unsafe(nil)); end @@ -1372,7 +1373,6 @@ class RuboCop::Cop::Generator private def badge; end - def bump_minor_version; end def generate(template); end def generated_source; end def generated_spec; end @@ -1387,7 +1387,7 @@ end RuboCop::Cop::Generator::CONFIGURATION_ADDED_MESSAGE = T.let(T.unsafe(nil), String) class RuboCop::Cop::Generator::ConfigurationInjector - def initialize(configuration_file_path:, badge:, version_added:); end + def initialize(configuration_file_path:, badge:, version_added: T.unsafe(nil)); end def inject; end @@ -1793,6 +1793,7 @@ class RuboCop::Cop::Layout::ClassStructure < ::RuboCop::Cop::Base include(::RuboCop::Cop::VisibilityHelp) extend(::RuboCop::Cop::AutoCorrector) + def dynamic_constant?(param0 = T.unsafe(nil)); end def on_class(class_node); end private @@ -1809,6 +1810,7 @@ class RuboCop::Cop::Layout::ClassStructure < ::RuboCop::Cop::Base def find_heredoc(node); end def humanize_node(node); end def ignore?(classification); end + def ignore_for_autocorrect?(node, sibling); end def source_range_with_comment(node); end def start_line_position(node); end def walk_over_nested_class_definition(class_node); end @@ -2756,6 +2758,7 @@ class RuboCop::Cop::Layout::LineLength < ::RuboCop::Cop::Cop include(::RuboCop::Cop::LineLengthHelp) def autocorrect(range); end + def correctable?; end def investigate(processed_source); end def investigate_post_walk(processed_source); end def on_array(node); end @@ -2769,6 +2772,8 @@ class RuboCop::Cop::Layout::LineLength < ::RuboCop::Cop::Cop def allow_heredoc?; end def allowed_heredoc; end def breakable_block_range(block_node); end + def breakable_range; end + def breakable_range=(_arg0); end def breakable_range_after_semicolon(semicolon_token); end def breakable_range_by_line_index; end def check_directive_line(line, line_index); end @@ -3770,11 +3775,17 @@ end RuboCop::Cop::Lint::CircularArgumentReference::MSG = T.let(T.unsafe(nil), String) class RuboCop::Cop::Lint::ConstantDefinitionInBlock < ::RuboCop::Cop::Base + include(::RuboCop::Cop::AllowedMethods) + def constant_assigned_in_block?(param0 = T.unsafe(nil)); end def module_defined_in_block?(param0 = T.unsafe(nil)); end def on_casgn(node); end def on_class(node); end def on_module(node); end + + private + + def method_name(node); end end RuboCop::Cop::Lint::ConstantDefinitionInBlock::MSG = T.let(T.unsafe(nil), String) @@ -3793,14 +3804,12 @@ end RuboCop::Cop::Lint::ConstantResolution::MSG = T.let(T.unsafe(nil), String) class RuboCop::Cop::Lint::Debugger < ::RuboCop::Cop::Base - def binding_irb_call?(param0 = T.unsafe(nil)); end - def debugger_call?(param0 = T.unsafe(nil)); end - def kernel?(param0 = T.unsafe(nil)); end def on_send(node); end private - def binding_irb?(node); end + def debugger_method?(name); end + def debugger_receiver?(node); end def message(node); end end @@ -3874,12 +3883,23 @@ end RuboCop::Cop::Lint::DisjunctiveAssignmentInConstructor::MSG = T.let(T.unsafe(nil), String) -class RuboCop::Cop::Lint::DuplicateCaseCondition < ::RuboCop::Cop::Base - def on_case(case_node); end +class RuboCop::Cop::Lint::DuplicateBranch < ::RuboCop::Cop::Base + include(::RuboCop::Cop::RescueNode) + + def on_branching_statement(node); end + def on_case(node); end + def on_if(node); end + def on_rescue(node); end private - def repeated_condition?(previous, condition); end + def offense_range(duplicate_branch); end +end + +RuboCop::Cop::Lint::DuplicateBranch::MSG = T.let(T.unsafe(nil), String) + +class RuboCop::Cop::Lint::DuplicateCaseCondition < ::RuboCop::Cop::Base + def on_case(case_node); end end RuboCop::Cop::Lint::DuplicateCaseCondition::MSG = T.let(T.unsafe(nil), String) @@ -3994,11 +4014,25 @@ class RuboCop::Cop::Lint::EmptyBlock < ::RuboCop::Cop::Base private def allow_comment?(node); end + def allow_empty_lambdas?; end def comment_disables_cop?(comment); end end RuboCop::Cop::Lint::EmptyBlock::MSG = T.let(T.unsafe(nil), String) +class RuboCop::Cop::Lint::EmptyClass < ::RuboCop::Cop::Base + def on_class(node); end + def on_sclass(node); end + + private + + def body_or_allowed_comment_lines?(node); end +end + +RuboCop::Cop::Lint::EmptyClass::CLASS_MSG = T.let(T.unsafe(nil), String) + +RuboCop::Cop::Lint::EmptyClass::METACLASS_MSG = T.let(T.unsafe(nil), String) + class RuboCop::Cop::Lint::EmptyConditionalBody < ::RuboCop::Cop::Base def on_if(node); end end @@ -4320,8 +4354,11 @@ class RuboCop::Cop::Lint::LiteralInInterpolation < ::RuboCop::Cop::Base def autocorrected_value_for_array(node); end def autocorrected_value_for_string(node); end def autocorrected_value_for_symbol(node); end + def ends_heredoc_line?(node); end def in_array_percent_literal?(node); end + def offending?(node); end def prints_as_self?(node); end + def space_literal?(node); end def special_keyword?(node); end end @@ -4690,8 +4727,10 @@ class RuboCop::Cop::Lint::RedundantCopEnableDirective < ::RuboCop::Cop::Base def comment_start(comment); end def cop_name_indention(comment, name); end def range_of_offense(comment, name); end - def range_to_remove(begin_pos, end_pos, comma_pos, comment); end + def range_to_remove(begin_pos, end_pos, comment); end def range_with_comma(comment, name); end + def range_with_comma_after(comment, start, begin_pos, end_pos); end + def range_with_comma_before(start, begin_pos, end_pos); end def register_offense(comment, cop_names); end end @@ -6100,6 +6139,8 @@ class RuboCop::Cop::Naming::VariableNumber < ::RuboCop::Cop::Base private + def allowed_identifier?(name); end + def allowed_identifiers; end def message(style); end end @@ -6541,6 +6582,7 @@ module RuboCop::Cop::StatementModifier private + def code_after(node); end def comment_disables_cop?(comment); end def first_line_comment(node); end def length_in_modifier_form(node); end @@ -7425,9 +7467,20 @@ class RuboCop::Cop::Style::DocumentDynamicEvalDefinition < ::RuboCop::Cop::Base private - def comment_docs?(node); end + def comment_block_docs?(arg_node); end + def comment_regexp(arg_node); end + def heredoc_comment_blocks(heredoc_body); end + def inline_comment_docs?(node); end + def interpolated?(arg_node); end + def merge_adjacent_comments(line, index, hash); end + def preceding_comment_blocks(node); end + def source_to_regexp(source); end end +RuboCop::Cop::Style::DocumentDynamicEvalDefinition::BLOCK_COMMENT_REGEXP = T.let(T.unsafe(nil), Regexp) + +RuboCop::Cop::Style::DocumentDynamicEvalDefinition::COMMENT_REGEXP = T.let(T.unsafe(nil), Regexp) + RuboCop::Cop::Style::DocumentDynamicEvalDefinition::MSG = T.let(T.unsafe(nil), String) RuboCop::Cop::Style::DocumentDynamicEvalDefinition::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) @@ -8091,12 +8144,18 @@ class RuboCop::Cop::Style::IfCorrector end class RuboCop::Cop::Style::IfInsideElse < ::RuboCop::Cop::Base + include(::RuboCop::Cop::RangeHelp) + extend(::RuboCop::Cop::AutoCorrector) + def on_if(node); end private def allow_if_modifier?; end def allow_if_modifier_in_else_branch?(else_branch); end + def autocorrect(corrector, node); end + def correct_to_elsif_from_if_inside_else_form(corrector, node, condition); end + def correct_to_elsif_from_modifier_form(corrector, node); end end RuboCop::Cop::Style::IfInsideElse::MSG = T.let(T.unsafe(nil), String) @@ -8736,8 +8795,10 @@ class RuboCop::Cop::Style::NegatedIf < ::RuboCop::Cop::Base end class RuboCop::Cop::Style::NegatedIfElseCondition < ::RuboCop::Cop::Base + include(::RuboCop::Cop::RangeHelp) extend(::RuboCop::Cop::AutoCorrector) + def double_negation?(param0 = T.unsafe(nil)); end def on_if(node); end def on_new_investigation; end @@ -8896,6 +8957,16 @@ RuboCop::Cop::Style::NilComparison::PREDICATE_MSG = T.let(T.unsafe(nil), String) RuboCop::Cop::Style::NilComparison::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) +class RuboCop::Cop::Style::NilLambda < ::RuboCop::Cop::Base + include(::RuboCop::Cop::RangeHelp) + extend(::RuboCop::Cop::AutoCorrector) + + def nil_return?(param0 = T.unsafe(nil)); end + def on_block(node); end +end + +RuboCop::Cop::Style::NilLambda::MSG = T.let(T.unsafe(nil), String) + class RuboCop::Cop::Style::NonNilCheck < ::RuboCop::Cop::Base extend(::RuboCop::Cop::AutoCorrector) @@ -10129,6 +10200,21 @@ RuboCop::Cop::Style::StabbyLambdaParentheses::MSG_NO_REQUIRE = T.let(T.unsafe(ni RuboCop::Cop::Style::StabbyLambdaParentheses::MSG_REQUIRE = T.let(T.unsafe(nil), String) +class RuboCop::Cop::Style::StaticClass < ::RuboCop::Cop::Base + include(::RuboCop::Cop::VisibilityHelp) + + def on_class(class_node); end + + private + + def class_convertible_to_module?(class_node); end + def class_elements(class_node); end + def extend_call?(node); end + def sclass_convertible_to_module?(node); end +end + +RuboCop::Cop::Style::StaticClass::MSG = T.let(T.unsafe(nil), String) + class RuboCop::Cop::Style::StderrPuts < ::RuboCop::Cop::Base include(::RuboCop::Cop::RangeHelp) extend(::RuboCop::Cop::AutoCorrector) @@ -11664,9 +11750,9 @@ RuboCop::Formatter::PacmanFormatter::FALLBACK_TERMINAL_WIDTH = T.let(T.unsafe(ni RuboCop::Formatter::PacmanFormatter::GHOST = T.let(T.unsafe(nil), String) -RuboCop::Formatter::PacmanFormatter::PACDOT = T.let(T.unsafe(nil), Rainbow::NullPresenter) +RuboCop::Formatter::PacmanFormatter::PACDOT = T.let(T.unsafe(nil), Rainbow::Presenter) -RuboCop::Formatter::PacmanFormatter::PACMAN = T.let(T.unsafe(nil), Rainbow::NullPresenter) +RuboCop::Formatter::PacmanFormatter::PACMAN = T.let(T.unsafe(nil), Rainbow::Presenter) class RuboCop::Formatter::ProgressFormatter < ::RuboCop::Formatter::ClangStyleFormatter include(::RuboCop::Formatter::TextUtil) @@ -12130,6 +12216,25 @@ class RuboCop::TargetRuby::Default < ::RuboCop::TargetRuby::Source def find_version; end end +class RuboCop::TargetRuby::GemspecFile < ::RuboCop::TargetRuby::Source + extend(::RuboCop::AST::NodePattern::Macros) + + def gem_requirement?(param0 = T.unsafe(nil)); end + def name; end + def required_ruby_version(param0); end + + private + + def find_version; end + def gemspec_filename; end + def gemspec_filepath; end + def version_from_array(array); end + def version_from_gemspec_file(file); end + def version_from_str(str); end +end + +RuboCop::TargetRuby::GemspecFile::GEMSPEC_EXTENSION = T.let(T.unsafe(nil), String) + class RuboCop::TargetRuby::RuboCopConfig < ::RuboCop::TargetRuby::Source def name; end diff --git a/Library/Homebrew/sorbet/rbi/gems/ruby-macho@2.2.0.rbi b/Library/Homebrew/sorbet/rbi/gems/ruby-macho@2.5.0.rbi similarity index 100% rename from Library/Homebrew/sorbet/rbi/gems/ruby-macho@2.2.0.rbi rename to Library/Homebrew/sorbet/rbi/gems/ruby-macho@2.5.0.rbi diff --git a/Library/Homebrew/sorbet/rbi/gems/tzinfo@1.2.7.rbi b/Library/Homebrew/sorbet/rbi/gems/tzinfo@1.2.7.rbi deleted file mode 100644 index fca7e051ee..0000000000 --- a/Library/Homebrew/sorbet/rbi/gems/tzinfo@1.2.7.rbi +++ /dev/null @@ -1,7 +0,0 @@ -# DO NOT EDIT MANUALLY -# This is an autogenerated file for types exported from the `tzinfo` gem. -# Please instead update this file by running `tapioca generate --exclude json`. - -# typed: true - - diff --git a/Library/Homebrew/sorbet/rbi/gems/tzinfo@1.2.8.rbi b/Library/Homebrew/sorbet/rbi/gems/tzinfo@1.2.8.rbi new file mode 100644 index 0000000000..45e4a0cda5 --- /dev/null +++ b/Library/Homebrew/sorbet/rbi/gems/tzinfo@1.2.8.rbi @@ -0,0 +1,8 @@ +# DO NOT EDIT MANUALLY +# This is an autogenerated file for types exported from the `tzinfo` gem. +# Please instead update this file by running `tapioca sync`. + +# typed: true + +# THIS IS AN EMPTY RBI FILE. +# see https://github.com/Shopify/tapioca/blob/master/README.md#manual-gem-requires diff --git a/Library/Homebrew/sorbet/rbi/gems/zeitwerk@2.4.0.rbi b/Library/Homebrew/sorbet/rbi/gems/zeitwerk@2.4.0.rbi deleted file mode 100644 index 78c0137b3e..0000000000 --- a/Library/Homebrew/sorbet/rbi/gems/zeitwerk@2.4.0.rbi +++ /dev/null @@ -1,7 +0,0 @@ -# DO NOT EDIT MANUALLY -# This is an autogenerated file for types exported from the `zeitwerk` gem. -# Please instead update this file by running `tapioca generate --exclude json`. - -# typed: true - - diff --git a/Library/Homebrew/sorbet/rbi/gems/zeitwerk@2.4.1.rbi b/Library/Homebrew/sorbet/rbi/gems/zeitwerk@2.4.1.rbi new file mode 100644 index 0000000000..1843429730 --- /dev/null +++ b/Library/Homebrew/sorbet/rbi/gems/zeitwerk@2.4.1.rbi @@ -0,0 +1,8 @@ +# DO NOT EDIT MANUALLY +# This is an autogenerated file for types exported from the `zeitwerk` gem. +# Please instead update this file by running `tapioca sync`. + +# typed: true + +# THIS IS AN EMPTY RBI FILE. +# see https://github.com/Shopify/tapioca/blob/master/README.md#manual-gem-requires diff --git a/Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi b/Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi index 24874c0019..1c8c484e4f 100644 --- a/Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi +++ b/Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi @@ -7,6 +7,11 @@ class AbstractDownloadStrategy include ::FileUtils::StreamUtils_ end +class AbstractDownloadStrategy + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end + module ActiveSupport def parse_json_times(); end @@ -2980,10 +2985,6 @@ end BasicObject::BasicObject = BasicObject -class BasicSocket - def read_nonblock(len, str=T.unsafe(nil), exception: T.unsafe(nil)); end -end - class Benchmark::Job def initialize(width); end end @@ -3019,26 +3020,9 @@ class Binding def irb(); end end -class Bottle - def cached_download(*args, &block); end - - def clear_cache(*args, &block); end - - def fetch(*args, &block); end - - def url(*args, &block); end - - def verify_download_integrity(*args, &block); end -end - -class BottleSpecification - def cellar(val=T.unsafe(nil)); end - - def prefix(val=T.unsafe(nil)); end - - def rebuild(val=T.unsafe(nil)); end - - def sha256(val); end +class Bintray + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks end class BottleSpecification @@ -5480,16 +5464,19 @@ end module CGI::HtmlExtension end +class Cask::AbstractCaskErrorWithToken + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end + +class Cask::Artifact::AbstractArtifact + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end + class Cask::Audit - def appcast?(); end - - def new_cask?(); end - - def online?(); end - - def strict?(); end - - def token_conflicts?(); end + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks end class Cask::Cask @@ -5584,6 +5571,45 @@ class Cask::Cask def zap(&block); end end +class Cask::Cask + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end + +class Cask::CaskLoader::FromURILoader + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end + +class Cask::CaskLoader::NullLoader + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end + +class Cask::CaskQuarantineError + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end + +class Cask::CaskUnspecifiedError + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end + +module Cask::Caskroom + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end + +class Cask::Cmd::AbstractCommand + include ::Homebrew::Search::Extension +end + +class Cask::Cmd::AbstractCommand + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end + class Cask::Config def appdir(); end @@ -5717,8 +5743,6 @@ class Cask::DSL::Caveats def discontinued(*args); end - def discontinued?(); end - def files_in_usr_local(*args); end def free_license(*args); end @@ -5772,24 +5796,24 @@ class Cask::DSL::Version def underscores_to_hyphens(); end end -class Cask::Installer - def binaries?(); end +module Cask::Denylist + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end - def force?(); end +class Cask::MultipleCaskErrors + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end - def installed_as_dependency?(); end +module Cask::Quarantine + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end - def quarantine?(); end - - def reinstall?(); end - - def require_sha?(); end - - def skip_cask_deps?(); end - - def upgrade?(); end - - def verbose?(); end +module Cask::Utils + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks end class Caveats @@ -6233,6 +6257,11 @@ module CopHelper extend ::RSpec::Its end +class CxxStdlib + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end + class DRb::DRbArray def _dump(lv); end end @@ -6703,9 +6732,12 @@ class Debrew::Menu::Entry def self.members(); end end -module Debrew - def self.active?(); end +class Debrew::Menu + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end +module Debrew def self.lock(); end def self.locked?(); end @@ -6721,10 +6753,34 @@ class Delegator include ::ActiveSupport::Tryable end +class Dependencies + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end + module DependenciesHelpers include ::DependenciesHelpers::Compat end +class Dependency + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end + +class DependencyCollector + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end + +class DeprecatedOption + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end + +class DevelopmentTools + extend ::T::Private::Methods::SingletonMethodHooks +end + class Dir def children(); end @@ -6735,6 +6791,11 @@ class Dir def self.exists?(_); end end +module DiskUsageExtension + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end + module Docile VERSION = ::T.let(nil, ::T.untyped) end @@ -6923,6 +6984,11 @@ module ERB::Util def self.unwrapped_html_escape(s); end end +class EmbeddedPatch + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end + class Encoding def _dump(*_); end end @@ -6979,37 +7045,86 @@ class Enumerator::Generator def initialize(*_); end end -Errno::EAUTH = Errno::NOERROR +module EnvVar + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end -Errno::EBADARCH = Errno::NOERROR +class Errno::EAUTH + Errno = ::T.let(nil, ::T.untyped) +end -Errno::EBADEXEC = Errno::NOERROR +class Errno::EAUTH +end -Errno::EBADMACHO = Errno::NOERROR +class Errno::EBADARCH + Errno = ::T.let(nil, ::T.untyped) +end -Errno::EBADRPC = Errno::NOERROR +class Errno::EBADARCH +end -Errno::ECAPMODE = Errno::NOERROR +class Errno::EBADEXEC + Errno = ::T.let(nil, ::T.untyped) +end -Errno::EDEADLOCK = Errno::EDEADLK +class Errno::EBADEXEC +end -Errno::EDEVERR = Errno::NOERROR +class Errno::EBADMACHO + Errno = ::T.let(nil, ::T.untyped) +end + +class Errno::EBADMACHO +end + +class Errno::EBADRPC + Errno = ::T.let(nil, ::T.untyped) +end + +class Errno::EBADRPC +end + +Errno::EDEADLOCK = Errno::NOERROR + +class Errno::EDEVERR + Errno = ::T.let(nil, ::T.untyped) +end + +class Errno::EDEVERR +end Errno::EDOOFUS = Errno::NOERROR -Errno::EFTYPE = Errno::NOERROR +class Errno::EFTYPE + Errno = ::T.let(nil, ::T.untyped) +end + +class Errno::EFTYPE +end Errno::EIPSEC = Errno::NOERROR -Errno::ELAST = Errno::NOERROR +class Errno::ENEEDAUTH + Errno = ::T.let(nil, ::T.untyped) +end -Errno::ENEEDAUTH = Errno::NOERROR +class Errno::ENEEDAUTH +end -Errno::ENOATTR = Errno::NOERROR +class Errno::ENOATTR + Errno = ::T.let(nil, ::T.untyped) +end -Errno::ENOPOLICY = Errno::NOERROR +class Errno::ENOATTR +end -Errno::ENOTCAPABLE = Errno::NOERROR +class Errno::ENOPOLICY + Errno = ::T.let(nil, ::T.untyped) +end + +class Errno::ENOPOLICY +end class Errno::ENOTSUP Errno = ::T.let(nil, ::T.untyped) @@ -7018,21 +7133,61 @@ end class Errno::ENOTSUP end -Errno::EPROCLIM = Errno::NOERROR +class Errno::EPROCLIM + Errno = ::T.let(nil, ::T.untyped) +end -Errno::EPROCUNAVAIL = Errno::NOERROR +class Errno::EPROCLIM +end -Errno::EPROGMISMATCH = Errno::NOERROR +class Errno::EPROCUNAVAIL + Errno = ::T.let(nil, ::T.untyped) +end -Errno::EPROGUNAVAIL = Errno::NOERROR +class Errno::EPROCUNAVAIL +end -Errno::EPWROFF = Errno::NOERROR +class Errno::EPROGMISMATCH + Errno = ::T.let(nil, ::T.untyped) +end -Errno::EQFULL = Errno::NOERROR +class Errno::EPROGMISMATCH +end -Errno::ERPCMISMATCH = Errno::NOERROR +class Errno::EPROGUNAVAIL + Errno = ::T.let(nil, ::T.untyped) +end -Errno::ESHLIBVERS = Errno::NOERROR +class Errno::EPROGUNAVAIL +end + +class Errno::EPWROFF + Errno = ::T.let(nil, ::T.untyped) +end + +class Errno::EPWROFF +end + +class Errno::EQFULL + Errno = ::T.let(nil, ::T.untyped) +end + +class Errno::EQFULL +end + +class Errno::ERPCMISMATCH + Errno = ::T.let(nil, ::T.untyped) +end + +class Errno::ERPCMISMATCH +end + +class Errno::ESHLIBVERS + Errno = ::T.let(nil, ::T.untyped) +end + +class Errno::ESHLIBVERS +end class Etc::Group def gid(); end @@ -7062,8 +7217,16 @@ class Etc::Group end class Etc::Passwd + def change(); end + + def change=(_); end + def dir=(_); end + def expire(); end + + def expire=(_); end + def gecos(); end def gecos=(_); end @@ -7076,6 +7239,10 @@ class Etc::Passwd def shell=(_); end + def uclass(); end + + def uclass=(_); end + def uid=(_); end end @@ -7151,6 +7318,11 @@ class ExternalPatch def verify_download_integrity(*args, &block); end end +class ExternalPatch + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end + class FalseClass include ::JSON::Ext::Generator::GeneratorMethods::FalseClass end @@ -7163,18 +7335,6 @@ class Fiber def self.current(); end end -module Fiddle - NULL = ::T.let(nil, ::T.untyped) - RTLD_GLOBAL = ::T.let(nil, ::T.untyped) - RTLD_LAZY = ::T.let(nil, ::T.untyped) - RTLD_NOW = ::T.let(nil, ::T.untyped) - WINDOWS = ::T.let(nil, ::T.untyped) -end - -class Fiddle::Function - STDCALL = ::T.let(nil, ::T.untyped) -end - class File def self.atomic_write(file_name, temp_dir=T.unsafe(nil)); end @@ -7229,101 +7389,7 @@ module FileUtils end class Formula - include ::FileUtils::StreamUtils_ include ::Formula::Compat - def bottle_defined?(*args, &block); end - - def bottle_disable_reason(*args, &block); end - - def bottle_disabled?(*args, &block); end - - def bottle_specification(*args, &block); end - - def bottle_unneeded?(*args, &block); end - - def bottled?(*args, &block); end - - def cached_download(*args, &block); end - - def clear_cache(*args, &block); end - - def compiler_failures(*args, &block); end - - def conflicts(*args, &block); end - - def deprecated?(*args, &block); end - - def deprecated_flags(*args, &block); end - - def deprecated_options(*args, &block); end - - def deprecation_reason(*args, &block); end - - def deps(*args, &block); end - - def desc(*args, &block); end - - def disable_reason(*args, &block); end - - def disabled?(*args, &block); end - - def downloader(*args, &block); end - - def env(*args, &block); end - - def homepage(*args, &block); end - - def keg_only_reason(*args, &block); end - - def license(*args, &block); end - - def livecheck(*args, &block); end - - def livecheckable?(*args, &block); end - - def option_defined?(*args, &block); end - - def options(*args, &block); end - - def patchlist(*args, &block); end - - def pin(*args, &block); end - - def pinnable?(*args, &block); end - - def pinned?(*args, &block); end - - def pinned_version(*args, &block); end - - def plist_manual(*args, &block); end - - def plist_startup(*args, &block); end - - def pour_bottle_check_unsatisfied_reason(*args, &block); end - - def requirements(*args, &block); end - - def resource(*args, &block); end - - def resources(*args, &block); end - - def unpin(*args, &block); end - - def uses_from_macos_elements(*args, &block); end - - def version(*args, &block); end -end - -class Formula - def self.desc(val=T.unsafe(nil)); end - - def self.homepage(val=T.unsafe(nil)); end - - def self.revision(val=T.unsafe(nil)); end - - def self.sha256(val); end - - def self.version_scheme(val=T.unsafe(nil)); end end module FormulaCellarChecks @@ -7337,32 +7403,14 @@ class FormulaConflict def self.members(); end end -class FormulaInstaller - def debug=(debug); end +class Formulary::FromUrlLoader + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end - def force=(force); end - - def force_bottle=(force_bottle); end - - def git=(git); end - - def hold_locks?(); end - - def ignore_deps=(ignore_deps); end - - def interactive=(interactive); end - - def keep_tmp=(keep_tmp); end - - def only_deps=(only_deps); end - - def quiet=(quiet); end - - def show_header=(show_header); end - - def show_summary_heading=(show_summary_heading); end - - def verbose=(verbose); end +module Formulary + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks end module Forwardable @@ -7993,11 +8041,22 @@ end module GetText end +class GitHub::Actions::Annotation + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end + +module GitHub + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end + class HTTP::Cookie def self.parse(set_cookie, origin, options=T.unsafe(nil), &block); end end class Hardware::CPU + extend ::T::Private::Methods::SingletonMethodHooks def self.lm?(); end end @@ -8058,22 +8117,33 @@ class Hash def self.try_convert(_); end end +class HeadVersion + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end + module Homebrew MAX_PORT = ::T.let(nil, ::T.untyped) MIN_PORT = ::T.let(nil, ::T.untyped) end +class Homebrew::CLI::Args + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end + class Homebrew::CLI::Parser include ::Homebrew::CLI::Parser::Compat end -class Homebrew::Cleanup - def dry_run?(); end - - def scrub?(); end +class Homebrew::CLI::Parser + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks end module Homebrew::EnvConfig + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks def self.all_proxy(); end def self.arch(); end @@ -8199,13 +8269,28 @@ module Homebrew::EnvConfig def self.verbose_using_dots?(); end end +class Homebrew::FormulaCreator + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end + module Homebrew::MissingFormula extend ::T::Private::Methods::SingletonMethodHooks end +module Homebrew::Search + include ::Homebrew::Search::Extension +end + +class Homebrew::Style::LineLocation + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end + module Homebrew extend ::FileUtils::StreamUtils_ - extend ::DependenciesHelpers::Compat + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks extend ::Homebrew::Compat def self.default_prefix?(prefix=T.unsafe(nil)); end end @@ -10309,6 +10394,8 @@ class JSON::Ext::Parser end class JavaRequirement::CaskSuggestion + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks def self.[](*_); end def self.members(); end @@ -10344,12 +10431,27 @@ class Keg def to_s(*args, &block); end end +class Keg::ConflictError + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end + +class Keg::DirectoryNotWritableError + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end + class Keg::Relocation def self.[](*_); end def self.members(); end end +class Keg + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end + class KegOnlyReason extend ::T::Private::Methods::MethodHooks extend ::T::Private::Methods::SingletonMethodHooks @@ -10370,11 +10472,13 @@ module Kernel end module Kernel + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks def self.at_exit(); end - def self.load(*_); end + def self.gem(dep, *reqs); end - def self.method_added(name); end + def self.load(*_); end def self.require(path); end end @@ -10383,10 +10487,25 @@ module Language::Haskell::Cabal include ::Language::Haskell::Cabal::Compat end +module Language::Node + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end + +module Language::Python::Virtualenv + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end + class LoadError def is_missing?(location); end end +class Locale + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end + class Logger SEV_LABEL = ::T.let(nil, ::T.untyped) end @@ -10428,6 +10547,12 @@ end class MachO::CPUTypeError end +class MachO::CodeSigningError +end + +class MachO::CodeSigningError +end + class MachO::DylibIdMissingError def initialize(); end end @@ -11547,7 +11672,7 @@ class MachO::MachOView end class MachO::MagicError - def initialize(num); end + def initialize(magic); end end class MachO::MagicError @@ -11560,7 +11685,6 @@ class MachO::ModificationError end class MachO::NotAMachOError - def initialize(error); end end class MachO::NotAMachOError @@ -11724,6 +11848,8 @@ module MachO::Utils end module MachO + def self.codesign!(filename); end + def self.open(filename); end end @@ -11741,6 +11867,11 @@ module Marshal extend ::ActiveSupport::MarshalWithAutoloading end +class Messages + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end + class Method include ::MethodSource::SourceLocation::MethodExtensions include ::MethodSource::MethodExtensions @@ -11835,6 +11966,11 @@ module MethodSource def self.valid_expression?(str); end end +class Migrator + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end + MiniTest = Minitest module Minitest @@ -12539,6 +12675,11 @@ class Mktemp include ::FileUtils::StreamUtils_ end +class Mktemp + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end + class MockExpectationError end @@ -13139,6 +13280,8 @@ class Net::HTTP::Persistent def self.detect_idle_timeout(uri, max=T.unsafe(nil)); end end +Net::HTTP::ProxyMod = Net::HTTP::ProxyDelta + class Net::HTTPAlreadyReported HAS_BODY = ::T.let(nil, ::T.untyped) end @@ -13342,6 +13485,51 @@ class Numeric TERABYTE = ::T.let(nil, ::T.untyped) end +module OS::Linux::Glibc + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end + +module OS::Linux::Kernel + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end + +module OS::Linux + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end + +module OS::Mac::CLT + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end + +class OS::Mac::CLTSDKLocator + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end + +module OS::Mac::XQuartz + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end + +module OS::Mac::Xcode + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end + +class OS::Mac::XcodeSDKLocator + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end + +module OS::Mac + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end + class Object include ::ActiveSupport::Dependencies::Loadable include ::ActiveSupport::Tryable @@ -13376,18 +13564,14 @@ class Object def to_query(key); end def to_yaml(options=T.unsafe(nil)); end - APPLY_A = ::T.let(nil, ::T.untyped) - APPLY_B = ::T.let(nil, ::T.untyped) - APPLY_C = ::T.let(nil, ::T.untyped) + APPLE_GEM_HOME = ::T.let(nil, ::T.untyped) ARGF = ::T.let(nil, ::T.untyped) ARGV = ::T.let(nil, ::T.untyped) - BOTTLE_ERB = ::T.let(nil, ::T.untyped) BUG_REPORTS_URL = ::T.let(nil, ::T.untyped) COMMAND_DESC_WIDTH = ::T.let(nil, ::T.untyped) CROSS_COMPILING = ::T.let(nil, ::T.untyped) DEPRECATED_OFFICIAL_TAPS = ::T.let(nil, ::T.untyped) ENV = ::T.let(nil, ::T.untyped) - HEAD_URL = ::T.let(nil, ::T.untyped) HOMEBREW_BOTTLE_DEFAULT_DOMAIN = ::T.let(nil, ::T.untyped) HOMEBREW_BREW_DEFAULT_GIT_REMOTE = ::T.let(nil, ::T.untyped) HOMEBREW_BREW_FILE = ::T.let(nil, ::T.untyped) @@ -13429,19 +13613,13 @@ class Object HOMEBREW_USER_AGENT_RUBY = ::T.let(nil, ::T.untyped) HOMEBREW_VERSION = ::T.let(nil, ::T.untyped) HOMEBREW_WWW = ::T.let(nil, ::T.untyped) - HOMEPAGE_URL = ::T.let(nil, ::T.untyped) - MAXIMUM_STRING_MATCHES = ::T.let(nil, ::T.untyped) OFFICIAL_CASK_TAPS = ::T.let(nil, ::T.untyped) OFFICIAL_CMD_TAPS = ::T.let(nil, ::T.untyped) OPTION_DESC_WIDTH = ::T.let(nil, ::T.untyped) ORIGINAL_PATHS = ::T.let(nil, ::T.untyped) OS_VERSION = ::T.let(nil, ::T.untyped) - PATCH_A_CONTENTS = ::T.let(nil, ::T.untyped) PATCH_A_SHA256 = ::T.let(nil, ::T.untyped) - PATCH_B_CONTENTS = ::T.let(nil, ::T.untyped) PATCH_B_SHA256 = ::T.let(nil, ::T.untyped) - PATCH_URL_A = ::T.let(nil, ::T.untyped) - PATCH_URL_B = ::T.let(nil, ::T.untyped) REQUIRED_RUBY_X = ::T.let(nil, ::T.untyped) REQUIRED_RUBY_Y = ::T.let(nil, ::T.untyped) RUBY_BIN = ::T.let(nil, ::T.untyped) @@ -13449,6 +13627,8 @@ class Object RUBY_DESCRIPTION = ::T.let(nil, ::T.untyped) RUBY_ENGINE = ::T.let(nil, ::T.untyped) RUBY_ENGINE_VERSION = ::T.let(nil, ::T.untyped) + RUBY_FRAMEWORK = ::T.let(nil, ::T.untyped) + RUBY_FRAMEWORK_VERSION = ::T.let(nil, ::T.untyped) RUBY_PATCHLEVEL = ::T.let(nil, ::T.untyped) RUBY_PATH = ::T.let(nil, ::T.untyped) RUBY_PLATFORM = ::T.let(nil, ::T.untyped) @@ -13457,15 +13637,11 @@ class Object RUBY_VERSION = ::T.let(nil, ::T.untyped) RUBY_X = ::T.let(nil, ::T.untyped) RUBY_Y = ::T.let(nil, ::T.untyped) - STABLE_URL = ::T.let(nil, ::T.untyped) STDERR = ::T.let(nil, ::T.untyped) STDIN = ::T.let(nil, ::T.untyped) STDOUT = ::T.let(nil, ::T.untyped) TESTBALL_PATCHES_SHA256 = ::T.let(nil, ::T.untyped) - TESTBALL_PATCHES_URL = ::T.let(nil, ::T.untyped) TESTBALL_SHA256 = ::T.let(nil, ::T.untyped) - TESTBALL_URL = ::T.let(nil, ::T.untyped) - TEST_DIRECTORIES = ::T.let(nil, ::T.untyped) TEST_FIXTURE_DIR = ::T.let(nil, ::T.untyped) TEST_SHA1 = ::T.let(nil, ::T.untyped) TEST_SHA256 = ::T.let(nil, ::T.untyped) @@ -13479,6 +13655,10 @@ class Object def self.yaml_tag(url); end end +module ObserverPathnameExtension + extend ::T::Private::Methods::SingletonMethodHooks +end + class OpenSSL::ASN1::ASN1Data def indefinite_length(); end @@ -13509,11 +13689,7 @@ class OpenSSL::KDF::KDFError end module OpenSSL::KDF - def self.hkdf(*_); end - def self.pbkdf2_hmac(*_); end - - def self.scrypt(*_); end end class OpenSSL::OCSP::Request @@ -13522,29 +13698,20 @@ end OpenSSL::PKCS7::Signer = OpenSSL::PKCS7::SignerInfo -class OpenSSL::PKey::EC - EXPLICIT_CURVE = ::T.let(nil, ::T.untyped) -end - class OpenSSL::PKey::EC::Point def to_octet_string(_); end end module OpenSSL::SSL - OP_ALLOW_NO_DHE_KEX = ::T.let(nil, ::T.untyped) OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION = ::T.let(nil, ::T.untyped) OP_CRYPTOPRO_TLSEXT_BUG = ::T.let(nil, ::T.untyped) OP_LEGACY_SERVER_CONNECT = ::T.let(nil, ::T.untyped) - OP_NO_ENCRYPT_THEN_MAC = ::T.let(nil, ::T.untyped) - OP_NO_RENEGOTIATION = ::T.let(nil, ::T.untyped) - OP_NO_TLSv1_3 = ::T.let(nil, ::T.untyped) OP_SAFARI_ECDHE_ECDSA_BUG = ::T.let(nil, ::T.untyped) OP_TLSEXT_PADDING = ::T.let(nil, ::T.untyped) SSL2_VERSION = ::T.let(nil, ::T.untyped) SSL3_VERSION = ::T.let(nil, ::T.untyped) TLS1_1_VERSION = ::T.let(nil, ::T.untyped) TLS1_2_VERSION = ::T.let(nil, ::T.untyped) - TLS1_3_VERSION = ::T.let(nil, ::T.untyped) TLS1_VERSION = ::T.let(nil, ::T.untyped) end @@ -13559,8 +13726,6 @@ class OpenSSL::SSL::SSLContext def alpn_select_cb=(alpn_select_cb); end - def enable_fallback_scsv(); end - def max_version=(version); end def min_version=(version); end @@ -13660,7 +13825,12 @@ module OpenURI def self.scan_open_optional_arguments(*rest); end end -class OsxfuseRequirement +class Option + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end + +class Options extend ::T::Private::Methods::MethodHooks extend ::T::Private::Methods::SingletonMethodHooks end @@ -15141,8 +15311,8 @@ class Parser::Ruby26 end class Pathname - include ::ELFShim include ::MachOShim + include ::ELFShim def fnmatch?(*_); end def glob(*_); end @@ -15150,6 +15320,11 @@ class Pathname def make_symlink(_); end end +class Pathname + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end + class PkgVersion def major(*args, &block); end @@ -22218,16 +22393,12 @@ module RSpec::Matchers def a_hash_including(*args, &block); end - def a_json_string(*expected, &block_arg); end - def a_kind_of(*args, &block); end def a_nil_value(*args, &block); end def a_range_covering(*args, &block); end - def a_string_containing(*args, &block); end - def a_string_ending_with(*args, &block); end def a_string_including(*args, &block); end @@ -22266,14 +22437,10 @@ module RSpec::Matchers def an_object_satisfying(*args, &block); end - def array_including_cons(*expected, &block_arg); end - def be(*args); end def be_a(klass); end - def be_a_failure(*args, &block); end - def be_a_kind_of(expected); end def be_an(klass); end @@ -22332,8 +22499,6 @@ module RSpec::Matchers def have_attributes(expected); end - def have_failed(*args, &block); end - def having_attributes(*args, &block); end def include(*expected); end @@ -22348,8 +22513,6 @@ module RSpec::Matchers def matching(*args, &block); end - def not_to_output(*args, &block); end - def output(expected=T.unsafe(nil)); end def raise_error(error=T.unsafe(nil), message=T.unsafe(nil), &block); end @@ -25848,11 +26011,9 @@ class Regexp::Expression::CharacterSet include ::RuboCop::Ext::RegexpParser::Expression::CharacterSet end -class ReporterHub - def empty?(*args, &block); end -end - class Requirement + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks def self.cask(val=T.unsafe(nil)); end def self.download(val=T.unsafe(nil)); end @@ -25860,6 +26021,11 @@ class Requirement def self.fatal(val=T.unsafe(nil)); end end +class Requirements + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end + class Resolv::DNS def extract_resources(msg, name, typeclass); end @@ -25953,6 +26119,11 @@ class ResourceStageContext def version(*args, &block); end end +class ResourceStageContext + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end + module Ronn REV = ::T.let(nil, ::T.untyped) VERSION = ::T.let(nil, ::T.untyped) @@ -26245,12 +26416,18 @@ module RuboCop::AST::NodePattern::Sets SET_INCLUDE_WITH_WITHOUT = ::T.let(nil, ::T.untyped) SET_SYSTEM_SHELL_OUTPUT_PIPE_OUTPUT = ::T.let(nil, ::T.untyped) SET_WITH_WITHOUT = ::T.let(nil, ::T.untyped) + SET___METHOD_____CALLEE__ = ::T.let(nil, ::T.untyped) end class RuboCop::Cask::AST::CaskBlock def cask_body(*args, &block); end end +class RuboCop::Cask::AST::CaskHeader + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end + class RuboCop::Cask::AST::Stanza def app?(); end @@ -26357,6 +26534,11 @@ class RuboCop::Cop::Cask::NoDslVersion def preferred_header_str(*args, &block); end end +class RuboCop::Cop::Cask::NoDslVersion + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end + module RuboCop::Cop::Cask::OnDescStanza def toplevel_stanzas(*args, &block); end end @@ -26445,6 +26627,16 @@ class RuboCop::Cop::FormulaAudit::Patches def patch_data?(param0); end end +class RuboCop::Cop::FormulaAudit::Patches + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end + +class RuboCop::Cop::FormulaAudit::PyPiUrls + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end + class RuboCop::Cop::FormulaAudit::Test def test_calls(param0); end end @@ -27484,6 +27676,11 @@ class RubyVM def self.resolve_feature_path(_); end end +class Sandbox + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end + ScanError = StringScanner::Error class Set @@ -27517,6 +27714,11 @@ module SharedEnvExtension def llvm_clang(); end end +module SharedEnvExtension + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end + module SimpleCov VERSION = ::T.let(nil, ::T.untyped) end @@ -28285,36 +28487,188 @@ module Singleton def self.__init__(klass); end end -class SoftwareSpec - def cached_download(*args, &block); end +class Socket + AF_CCITT = ::T.let(nil, ::T.untyped) + AF_CHAOS = ::T.let(nil, ::T.untyped) + AF_CNT = ::T.let(nil, ::T.untyped) + AF_COIP = ::T.let(nil, ::T.untyped) + AF_DATAKIT = ::T.let(nil, ::T.untyped) + AF_DLI = ::T.let(nil, ::T.untyped) + AF_E164 = ::T.let(nil, ::T.untyped) + AF_ECMA = ::T.let(nil, ::T.untyped) + AF_HYLINK = ::T.let(nil, ::T.untyped) + AF_IMPLINK = ::T.let(nil, ::T.untyped) + AF_ISO = ::T.let(nil, ::T.untyped) + AF_LAT = ::T.let(nil, ::T.untyped) + AF_LINK = ::T.let(nil, ::T.untyped) + AF_NATM = ::T.let(nil, ::T.untyped) + AF_NDRV = ::T.let(nil, ::T.untyped) + AF_NETBIOS = ::T.let(nil, ::T.untyped) + AF_NS = ::T.let(nil, ::T.untyped) + AF_OSI = ::T.let(nil, ::T.untyped) + AF_PPP = ::T.let(nil, ::T.untyped) + AF_PUP = ::T.let(nil, ::T.untyped) + AF_SIP = ::T.let(nil, ::T.untyped) + AF_SYSTEM = ::T.let(nil, ::T.untyped) + AI_DEFAULT = ::T.let(nil, ::T.untyped) + AI_MASK = ::T.let(nil, ::T.untyped) + AI_V4MAPPED_CFG = ::T.let(nil, ::T.untyped) + EAI_BADHINTS = ::T.let(nil, ::T.untyped) + EAI_MAX = ::T.let(nil, ::T.untyped) + EAI_PROTOCOL = ::T.let(nil, ::T.untyped) + IFF_ALTPHYS = ::T.let(nil, ::T.untyped) + IFF_LINK0 = ::T.let(nil, ::T.untyped) + IFF_LINK1 = ::T.let(nil, ::T.untyped) + IFF_LINK2 = ::T.let(nil, ::T.untyped) + IFF_OACTIVE = ::T.let(nil, ::T.untyped) + IFF_SIMPLEX = ::T.let(nil, ::T.untyped) + IPPROTO_EON = ::T.let(nil, ::T.untyped) + IPPROTO_GGP = ::T.let(nil, ::T.untyped) + IPPROTO_HELLO = ::T.let(nil, ::T.untyped) + IPPROTO_MAX = ::T.let(nil, ::T.untyped) + IPPROTO_ND = ::T.let(nil, ::T.untyped) + IPPROTO_XTP = ::T.let(nil, ::T.untyped) + IPV6_DONTFRAG = ::T.let(nil, ::T.untyped) + IPV6_PATHMTU = ::T.let(nil, ::T.untyped) + IPV6_RECVPATHMTU = ::T.let(nil, ::T.untyped) + IPV6_USE_MIN_MTU = ::T.let(nil, ::T.untyped) + IP_DONTFRAG = ::T.let(nil, ::T.untyped) + IP_PORTRANGE = ::T.let(nil, ::T.untyped) + IP_RECVDSTADDR = ::T.let(nil, ::T.untyped) + IP_RECVIF = ::T.let(nil, ::T.untyped) + LOCAL_PEERCRED = ::T.let(nil, ::T.untyped) + MSG_EOF = ::T.let(nil, ::T.untyped) + MSG_FLUSH = ::T.let(nil, ::T.untyped) + MSG_HAVEMORE = ::T.let(nil, ::T.untyped) + MSG_HOLD = ::T.let(nil, ::T.untyped) + MSG_RCVMORE = ::T.let(nil, ::T.untyped) + MSG_SEND = ::T.let(nil, ::T.untyped) + PF_CCITT = ::T.let(nil, ::T.untyped) + PF_CHAOS = ::T.let(nil, ::T.untyped) + PF_CNT = ::T.let(nil, ::T.untyped) + PF_COIP = ::T.let(nil, ::T.untyped) + PF_DATAKIT = ::T.let(nil, ::T.untyped) + PF_DLI = ::T.let(nil, ::T.untyped) + PF_ECMA = ::T.let(nil, ::T.untyped) + PF_HYLINK = ::T.let(nil, ::T.untyped) + PF_IMPLINK = ::T.let(nil, ::T.untyped) + PF_ISO = ::T.let(nil, ::T.untyped) + PF_LAT = ::T.let(nil, ::T.untyped) + PF_LINK = ::T.let(nil, ::T.untyped) + PF_NATM = ::T.let(nil, ::T.untyped) + PF_NDRV = ::T.let(nil, ::T.untyped) + PF_NETBIOS = ::T.let(nil, ::T.untyped) + PF_NS = ::T.let(nil, ::T.untyped) + PF_OSI = ::T.let(nil, ::T.untyped) + PF_PIP = ::T.let(nil, ::T.untyped) + PF_PPP = ::T.let(nil, ::T.untyped) + PF_PUP = ::T.let(nil, ::T.untyped) + PF_RTIP = ::T.let(nil, ::T.untyped) + PF_SIP = ::T.let(nil, ::T.untyped) + PF_SYSTEM = ::T.let(nil, ::T.untyped) + PF_XTP = ::T.let(nil, ::T.untyped) + SCM_CREDS = ::T.let(nil, ::T.untyped) + SO_DONTTRUNC = ::T.let(nil, ::T.untyped) + SO_NKE = ::T.let(nil, ::T.untyped) + SO_NOSIGPIPE = ::T.let(nil, ::T.untyped) + SO_NREAD = ::T.let(nil, ::T.untyped) + SO_USELOOPBACK = ::T.let(nil, ::T.untyped) + SO_WANTMORE = ::T.let(nil, ::T.untyped) + SO_WANTOOBFLAG = ::T.let(nil, ::T.untyped) + TCP_NOOPT = ::T.let(nil, ::T.untyped) + TCP_NOPUSH = ::T.let(nil, ::T.untyped) +end - def checksum(*args, &block); end - - def clear_cache(*args, &block); end - - def download_name(*args, &block); end - - def downloader(*args, &block); end - - def fetch(*args, &block); end - - def mirror(*args, &block); end - - def mirrors(*args, &block); end - - def sha256(*args, &block); end - - def source_modified_time(*args, &block); end - - def specs(*args, &block); end - - def stage(*args, &block); end - - def using(*args, &block); end - - def verify_download_integrity(*args, &block); end - - def version(*args, &block); end +module Socket::Constants + AF_CCITT = ::T.let(nil, ::T.untyped) + AF_CHAOS = ::T.let(nil, ::T.untyped) + AF_CNT = ::T.let(nil, ::T.untyped) + AF_COIP = ::T.let(nil, ::T.untyped) + AF_DATAKIT = ::T.let(nil, ::T.untyped) + AF_DLI = ::T.let(nil, ::T.untyped) + AF_E164 = ::T.let(nil, ::T.untyped) + AF_ECMA = ::T.let(nil, ::T.untyped) + AF_HYLINK = ::T.let(nil, ::T.untyped) + AF_IMPLINK = ::T.let(nil, ::T.untyped) + AF_ISO = ::T.let(nil, ::T.untyped) + AF_LAT = ::T.let(nil, ::T.untyped) + AF_LINK = ::T.let(nil, ::T.untyped) + AF_NATM = ::T.let(nil, ::T.untyped) + AF_NDRV = ::T.let(nil, ::T.untyped) + AF_NETBIOS = ::T.let(nil, ::T.untyped) + AF_NS = ::T.let(nil, ::T.untyped) + AF_OSI = ::T.let(nil, ::T.untyped) + AF_PPP = ::T.let(nil, ::T.untyped) + AF_PUP = ::T.let(nil, ::T.untyped) + AF_SIP = ::T.let(nil, ::T.untyped) + AF_SYSTEM = ::T.let(nil, ::T.untyped) + AI_DEFAULT = ::T.let(nil, ::T.untyped) + AI_MASK = ::T.let(nil, ::T.untyped) + AI_V4MAPPED_CFG = ::T.let(nil, ::T.untyped) + EAI_BADHINTS = ::T.let(nil, ::T.untyped) + EAI_MAX = ::T.let(nil, ::T.untyped) + EAI_PROTOCOL = ::T.let(nil, ::T.untyped) + IFF_ALTPHYS = ::T.let(nil, ::T.untyped) + IFF_LINK0 = ::T.let(nil, ::T.untyped) + IFF_LINK1 = ::T.let(nil, ::T.untyped) + IFF_LINK2 = ::T.let(nil, ::T.untyped) + IFF_OACTIVE = ::T.let(nil, ::T.untyped) + IFF_SIMPLEX = ::T.let(nil, ::T.untyped) + IPPROTO_EON = ::T.let(nil, ::T.untyped) + IPPROTO_GGP = ::T.let(nil, ::T.untyped) + IPPROTO_HELLO = ::T.let(nil, ::T.untyped) + IPPROTO_MAX = ::T.let(nil, ::T.untyped) + IPPROTO_ND = ::T.let(nil, ::T.untyped) + IPPROTO_XTP = ::T.let(nil, ::T.untyped) + IPV6_DONTFRAG = ::T.let(nil, ::T.untyped) + IPV6_PATHMTU = ::T.let(nil, ::T.untyped) + IPV6_RECVPATHMTU = ::T.let(nil, ::T.untyped) + IPV6_USE_MIN_MTU = ::T.let(nil, ::T.untyped) + IP_DONTFRAG = ::T.let(nil, ::T.untyped) + IP_PORTRANGE = ::T.let(nil, ::T.untyped) + IP_RECVDSTADDR = ::T.let(nil, ::T.untyped) + IP_RECVIF = ::T.let(nil, ::T.untyped) + LOCAL_PEERCRED = ::T.let(nil, ::T.untyped) + MSG_EOF = ::T.let(nil, ::T.untyped) + MSG_FLUSH = ::T.let(nil, ::T.untyped) + MSG_HAVEMORE = ::T.let(nil, ::T.untyped) + MSG_HOLD = ::T.let(nil, ::T.untyped) + MSG_RCVMORE = ::T.let(nil, ::T.untyped) + MSG_SEND = ::T.let(nil, ::T.untyped) + PF_CCITT = ::T.let(nil, ::T.untyped) + PF_CHAOS = ::T.let(nil, ::T.untyped) + PF_CNT = ::T.let(nil, ::T.untyped) + PF_COIP = ::T.let(nil, ::T.untyped) + PF_DATAKIT = ::T.let(nil, ::T.untyped) + PF_DLI = ::T.let(nil, ::T.untyped) + PF_ECMA = ::T.let(nil, ::T.untyped) + PF_HYLINK = ::T.let(nil, ::T.untyped) + PF_IMPLINK = ::T.let(nil, ::T.untyped) + PF_ISO = ::T.let(nil, ::T.untyped) + PF_LAT = ::T.let(nil, ::T.untyped) + PF_LINK = ::T.let(nil, ::T.untyped) + PF_NATM = ::T.let(nil, ::T.untyped) + PF_NDRV = ::T.let(nil, ::T.untyped) + PF_NETBIOS = ::T.let(nil, ::T.untyped) + PF_NS = ::T.let(nil, ::T.untyped) + PF_OSI = ::T.let(nil, ::T.untyped) + PF_PIP = ::T.let(nil, ::T.untyped) + PF_PPP = ::T.let(nil, ::T.untyped) + PF_PUP = ::T.let(nil, ::T.untyped) + PF_RTIP = ::T.let(nil, ::T.untyped) + PF_SIP = ::T.let(nil, ::T.untyped) + PF_SYSTEM = ::T.let(nil, ::T.untyped) + PF_XTP = ::T.let(nil, ::T.untyped) + SCM_CREDS = ::T.let(nil, ::T.untyped) + SO_DONTTRUNC = ::T.let(nil, ::T.untyped) + SO_NKE = ::T.let(nil, ::T.untyped) + SO_NOSIGPIPE = ::T.let(nil, ::T.untyped) + SO_NREAD = ::T.let(nil, ::T.untyped) + SO_USELOOPBACK = ::T.let(nil, ::T.untyped) + SO_WANTMORE = ::T.let(nil, ::T.untyped) + SO_WANTOOBFLAG = ::T.let(nil, ::T.untyped) + TCP_NOOPT = ::T.let(nil, ::T.untyped) + TCP_NOPUSH = ::T.let(nil, ::T.untyped) end class SortedSet @@ -28371,6 +28725,11 @@ module Stdenv def Os(); end end +module Stdenv + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end + class String include ::String::Compat def acts_like_string?(); end @@ -28568,6 +28927,11 @@ class String ENCODED_BLANKS = ::T.let(nil, ::T.untyped) end +class String + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end + class StringInreplaceExtension extend ::T::Private::Methods::MethodHooks extend ::T::Private::Methods::SingletonMethodHooks @@ -28667,6 +29031,11 @@ module Superenv def Os(); end end +module Superenv + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end + class SynchronizedDelegator def method_missing(method, *args, &block); end @@ -28679,24 +29048,69 @@ class SynchronizedDelegator end class SystemCommand - def must_succeed?(); end - - def print_stderr?(); end - - def print_stdout?(); end - - def sudo?(); end + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks end module TZInfo end +class TZInfo::AbsoluteDayOfYearTransitionRule + def get_day(year); end + + def initialize(day, transition_at=T.unsafe(nil)); end + + def is_always_first_day_of_year?(); end + + def is_always_last_day_of_year?(); end +end + +class TZInfo::AbsoluteDayOfYearTransitionRule +end + class TZInfo::AmbiguousTime end class TZInfo::AmbiguousTime end +class TZInfo::AnnualRules + def dst_end_rule(); end + + def dst_offset(); end + + def dst_start_rule(); end + + def initialize(std_offset, dst_offset, dst_start_rule, dst_end_rule); end + + def std_offset(); end + + def transitions(year); end +end + +class TZInfo::AnnualRules::Transition + def at(); end + + def at=(_); end + + def offset(); end + + def offset=(_); end + + def previous_offset(); end + + def previous_offset=(_); end +end + +class TZInfo::AnnualRules::Transition + def self.[](*_); end + + def self.members(); end +end + +class TZInfo::AnnualRules +end + class TZInfo::Country include ::Comparable def _dump(limit); end @@ -28834,6 +29248,41 @@ end class TZInfo::DataTimezoneInfo end +class TZInfo::DayOfMonthTransitionRule + def get_day(year); end + + def initialize(month, week, day_of_week, transition_at=T.unsafe(nil)); end + + def offset_start(); end +end + +class TZInfo::DayOfMonthTransitionRule +end + +class TZInfo::DayOfWeekTransitionRule + def day_of_week(); end + + def initialize(month, day_of_week, transition_at); end + + def is_always_first_day_of_year?(); end + + def is_always_last_day_of_year?(); end + + def month(); end +end + +class TZInfo::DayOfWeekTransitionRule +end + +class TZInfo::DayOfYearTransitionRule + def initialize(day, transition_at); end + + def seconds(); end +end + +class TZInfo::DayOfYearTransitionRule +end + class TZInfo::InfoTimezone def info(); end @@ -28856,6 +29305,12 @@ end class TZInfo::InvalidDataSource end +class TZInfo::InvalidPosixTimeZone +end + +class TZInfo::InvalidPosixTimeZone +end + class TZInfo::InvalidTimezoneIdentifier end @@ -28874,6 +29329,30 @@ end class TZInfo::InvalidZoneinfoFile end +class TZInfo::JulianDayOfYearTransitionRule + def get_day(year); end + + def initialize(day, transition_at=T.unsafe(nil)); end + + def is_always_first_day_of_year?(); end + + def is_always_last_day_of_year?(); end + LEAP = ::T.let(nil, ::T.untyped) + YEAR = ::T.let(nil, ::T.untyped) +end + +class TZInfo::JulianDayOfYearTransitionRule +end + +class TZInfo::LastDayOfMonthTransitionRule + def get_day(year); end + + def initialize(month, day_of_week, transition_at=T.unsafe(nil)); end +end + +class TZInfo::LastDayOfMonthTransitionRule +end + class TZInfo::LinkedTimezone end @@ -28908,6 +29387,13 @@ end class TZInfo::PeriodNotFound end +class TZInfo::PosixTimeZoneParser + def parse(tz_string); end +end + +class TZInfo::PosixTimeZoneParser +end + module TZInfo::RubyCoreSupport HALF_DAYS_IN_DAY = ::T.let(nil, ::T.untyped) end @@ -28988,6 +29474,8 @@ class TZInfo::TimeOrDateTime def usec(); end + def wday(); end + def year(); end end @@ -29276,6 +29764,25 @@ end class TZInfo::TransitionDataTimezoneInfo end +class TZInfo::TransitionRule + def ==(r); end + + def at(offset, year); end + + def eql?(r); end + + def hash_args(); end + + def initialize(transition_at); end + + def new_time_or_datetime(year, month=T.unsafe(nil), day=T.unsafe(nil)); end + + def transition_at(); end +end + +class TZInfo::TransitionRule +end + class TZInfo::UnknownTimezone end @@ -29316,7 +29823,8 @@ class TZInfo::ZoneinfoDirectoryNotFound end class TZInfo::ZoneinfoTimezoneInfo - def initialize(identifier, file_path); end + def initialize(identifier, file_path, posix_tz_parser); end + GENERATE_UP_TO = ::T.let(nil, ::T.untyped) MAX_TIMESTAMP = ::T.let(nil, ::T.untyped) MIN_TIMESTAMP = ::T.let(nil, ::T.untyped) end @@ -29327,6 +29835,11 @@ end module TZInfo end +class Tab + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end + class Tapioca::Compilers::Dsl::Base extend ::T::Sig extend ::T::Helpers @@ -30081,6 +30594,96 @@ end module UnicodeNormalize end +class UnpackStrategy::Air + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end + +class UnpackStrategy::Bzip2 + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end + +class UnpackStrategy::Cab + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end + +class UnpackStrategy::Directory + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end + +class UnpackStrategy::Dmg + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end + +class UnpackStrategy::Fossil + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end + +class UnpackStrategy::GenericUnar + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end + +class UnpackStrategy::Gzip + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end + +class UnpackStrategy::Lha + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end + +class UnpackStrategy::Lzip + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end + +class UnpackStrategy::Lzma + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end + +class UnpackStrategy::P7Zip + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end + +class UnpackStrategy::Pax + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end + +class UnpackStrategy::Rar + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end + +class UnpackStrategy::Tar + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end + +class UnpackStrategy::Uncompressed + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end + +class UnpackStrategy::Xar + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end + +class UnpackStrategy::Xz + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end + class UnpackStrategy::Zip include ::UnpackStrategy::Zip::MacOSZipExtension end @@ -30123,6 +30726,15 @@ class Utils::Bottles::Collector def keys(*args, &block); end end +class Utils::Bottles::Collector + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end + +module Utils::Bottles + extend ::T::Private::Methods::SingletonMethodHooks +end + module Utils::Inreplace extend ::T::Private::Methods::MethodHooks extend ::T::Private::Methods::SingletonMethodHooks @@ -30137,6 +30749,11 @@ module Utils::Svn extend ::T::Private::Methods::SingletonMethodHooks end +class Version::Token + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end + module Warning extend ::Warning end @@ -30165,14 +30782,10 @@ module Zeitwerk::ExplicitNamespace extend ::Zeitwerk::RealModName def self.cpaths(); end - def self.disable_tracer_if_unneeded(); end - def self.mutex(); end def self.register(cpath, loader); end - def self.tracepoint_class_callback(event); end - def self.tracer(); end def self.unregister(loader); end