From 8db86f712f4f1a2a5e5e25368e3b04059746825b Mon Sep 17 00:00:00 2001 From: Douglas Eichelberger Date: Fri, 19 Jan 2024 15:22:19 -0800 Subject: [PATCH] brew typecheck --update-all --- .../sorbet/rbi/gems/byebug@11.1.3.rbi | 2 - .../sorbet/rbi/gems/commander@4.6.0.rbi | 1 - .../sorbet/rbi/gems/highline@2.0.3.rbi | 1 - .../sorbet/rbi/gems/hpricot@0.8.6.rbi | 3 - .../sorbet/rbi/gems/parlour@8.1.0.rbi | 16 +- .../Homebrew/sorbet/rbi/gems/pry@0.14.2.rbi | 3 - .../Homebrew/sorbet/rbi/gems/racc@1.7.3.rbi | 1 - .../sorbet/rbi/gems/rainbow@3.1.1.rbi | 1 - .../Homebrew/sorbet/rbi/gems/rbi@0.1.6.rbi | 26 +- .../sorbet/rbi/gems/rspec-core@3.12.2.rbi | 24 - .../sorbet/rbi/gems/rspec-sorbet@1.9.2.rbi | 2 +- .../sorbet/rbi/gems/rubocop-ast@1.30.0.rbi | 89 +-- .../rbi/gems/rubocop-performance@1.20.2.rbi | 12 +- .../sorbet/rbi/gems/rubocop-rspec@2.26.1.rbi | 171 +----- .../sorbet/rbi/gems/rubocop@1.60.2.rbi | 35 +- .../sorbet/rbi/gems/ruby-prof@1.7.0.rbi | 10 +- .../Homebrew/sorbet/rbi/gems/spoom@1.2.4.rbi | 30 +- .../sorbet/rbi/gems/tapioca@0.12.0.rbi | 12 +- .../sorbet/rbi/gems/yard-sorbet@0.8.1.rbi | 2 +- .../Homebrew/sorbet/rbi/gems/yard@0.9.34.rbi | 1 - .../sorbet/rbi/hidden-definitions/hidden.rbi | 543 ++++++------------ 21 files changed, 260 insertions(+), 725 deletions(-) diff --git a/Library/Homebrew/sorbet/rbi/gems/byebug@11.1.3.rbi b/Library/Homebrew/sorbet/rbi/gems/byebug@11.1.3.rbi index bbd147bdc1..f61e06845c 100644 --- a/Library/Homebrew/sorbet/rbi/gems/byebug@11.1.3.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/byebug@11.1.3.rbi @@ -25,8 +25,6 @@ end # # source://byebug//lib/byebug/attacher.rb#34 module Kernel - include ::ActiveSupport::ForkTracker::CoreExt - # source://byebug//lib/byebug/attacher.rb#35 def byebug; end diff --git a/Library/Homebrew/sorbet/rbi/gems/commander@4.6.0.rbi b/Library/Homebrew/sorbet/rbi/gems/commander@4.6.0.rbi index 79579a361a..1b39ed4724 100644 --- a/Library/Homebrew/sorbet/rbi/gems/commander@4.6.0.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/commander@4.6.0.rbi @@ -1233,7 +1233,6 @@ Commander::VERSION = T.let(T.unsafe(nil), String) # source://commander//lib/commander/core_ext/object.rb#3 class Object < ::BasicObject - include ::ActiveSupport::ForkTracker::CoreExt include ::Kernel include ::PP::ObjectMixin diff --git a/Library/Homebrew/sorbet/rbi/gems/highline@2.0.3.rbi b/Library/Homebrew/sorbet/rbi/gems/highline@2.0.3.rbi index 47c5411cf1..1b18ddcabe 100644 --- a/Library/Homebrew/sorbet/rbi/gems/highline@2.0.3.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/highline@2.0.3.rbi @@ -3802,7 +3802,6 @@ end # # source://highline//lib/highline/import.rb#30 class Object < ::BasicObject - include ::ActiveSupport::ForkTracker::CoreExt include ::Kernel include ::PP::ObjectMixin diff --git a/Library/Homebrew/sorbet/rbi/gems/hpricot@0.8.6.rbi b/Library/Homebrew/sorbet/rbi/gems/hpricot@0.8.6.rbi index 6d1aaa89d7..373773f4d6 100644 --- a/Library/Homebrew/sorbet/rbi/gems/hpricot@0.8.6.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/hpricot@0.8.6.rbi @@ -1743,8 +1743,6 @@ end # # source://hpricot//lib/hpricot/blankslate.rb#37 module Kernel - include ::ActiveSupport::ForkTracker::CoreExt - class << self # Detect method additions to Kernel and remove them in the # BlankSlate class. @@ -1756,7 +1754,6 @@ end # source://hpricot//lib/hpricot/blankslate.rb#51 class Object < ::BasicObject - include ::ActiveSupport::ForkTracker::CoreExt include ::Kernel include ::PP::ObjectMixin diff --git a/Library/Homebrew/sorbet/rbi/gems/parlour@8.1.0.rbi b/Library/Homebrew/sorbet/rbi/gems/parlour@8.1.0.rbi index c3982381fc..fcf1ca6a19 100644 --- a/Library/Homebrew/sorbet/rbi/gems/parlour@8.1.0.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/parlour@8.1.0.rbi @@ -913,7 +913,7 @@ class Parlour::RbiGenerator::Namespace < ::Parlour::RbiGenerator::RbiObject # @param block [T.proc.params(x: Attribute).void, nil] # @return [Attribute] # - # source://sorbet-runtime/0.5.11150/lib/types/private/methods/_methods.rb#255 + # source://sorbet-runtime/0.5.11219/lib/types/private/methods/_methods.rb#252 def create_attr(*args, **_arg1, &blk); end # source://parlour//lib/parlour/rbi_generator/namespace.rb#472 @@ -1121,7 +1121,7 @@ class Parlour::RbiGenerator::Namespace < ::Parlour::RbiGenerator::RbiObject # @return [Array] # - # source://sorbet-runtime/0.5.11150/lib/types/private/methods/_methods.rb#255 + # source://sorbet-runtime/0.5.11219/lib/types/private/methods/_methods.rb#252 def type_aliases(*args, **_arg1, &blk); end private @@ -1885,7 +1885,7 @@ class Parlour::RbsGenerator::Namespace < ::Parlour::RbsGenerator::RbsObject # @param block [T.proc.params(x: Attribute).void, nil] # @return [Attribute] # - # source://sorbet-runtime/0.5.11150/lib/types/private/methods/_methods.rb#255 + # source://sorbet-runtime/0.5.11219/lib/types/private/methods/_methods.rb#252 def create_attr(*args, **_arg1, &blk); end # source://parlour//lib/parlour/rbs_generator/namespace.rb#347 @@ -2052,7 +2052,7 @@ class Parlour::RbsGenerator::Namespace < ::Parlour::RbsGenerator::RbsObject # @return [Array] # - # source://sorbet-runtime/0.5.11150/lib/types/private/methods/_methods.rb#255 + # source://sorbet-runtime/0.5.11219/lib/types/private/methods/_methods.rb#252 def type_aliases(*args, **_arg1, &blk); end private @@ -2395,7 +2395,7 @@ class Parlour::TypeParser::IntermediateSig < ::T::Struct prop :params, T.nilable(T::Array[::Parser::AST::Node]) class << self - # source://sorbet-runtime/0.5.11150/lib/types/struct.rb#13 + # source://sorbet-runtime/0.5.11219/lib/types/struct.rb#13 def inherited(s); end end end @@ -2450,7 +2450,7 @@ class Parlour::TypedObject # @param comment [String, Array] # @return [void] # - # source://sorbet-runtime/0.5.11150/lib/types/private/methods/_methods.rb#255 + # source://sorbet-runtime/0.5.11219/lib/types/private/methods/_methods.rb#252 def add_comments(*args, **_arg1, &blk); end # source://parlour//lib/parlour/typed_object.rb#32 @@ -2471,7 +2471,7 @@ class Parlour::TypedObject # @return [String] # - # source://sorbet-runtime/0.5.11150/lib/types/private/methods/_methods.rb#255 + # source://sorbet-runtime/0.5.11219/lib/types/private/methods/_methods.rb#252 def inspect(*args, **_arg1, &blk); end # source://parlour//lib/parlour/typed_object.rb#26 @@ -2480,7 +2480,7 @@ class Parlour::TypedObject # @return [String] # - # source://sorbet-runtime/0.5.11150/lib/types/private/methods/_methods.rb#255 + # source://sorbet-runtime/0.5.11219/lib/types/private/methods/_methods.rb#252 def to_s(*args, **_arg1, &blk); end protected diff --git a/Library/Homebrew/sorbet/rbi/gems/pry@0.14.2.rbi b/Library/Homebrew/sorbet/rbi/gems/pry@0.14.2.rbi index fce6b9d79c..10ea8f68ea 100644 --- a/Library/Homebrew/sorbet/rbi/gems/pry@0.14.2.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/pry@0.14.2.rbi @@ -22,7 +22,6 @@ end # source://pry//lib/pry/core_extensions.rb#24 class Object < ::BasicObject - include ::ActiveSupport::ForkTracker::CoreExt include ::Kernel include ::PP::ObjectMixin @@ -969,8 +968,6 @@ Pry::BINDING_METHOD_IMPL = T.let(T.unsafe(nil), Array) # source://pry//lib/pry/basic_object.rb#4 class Pry::BasicObject < ::BasicObject include ::Kernel - include ::ActiveSupport::ForkTracker::CoreExt - include ::ActiveSupport::ForkTracker::CoreExtPrivate end # source://pry//lib/pry/basic_object.rb#6 diff --git a/Library/Homebrew/sorbet/rbi/gems/racc@1.7.3.rbi b/Library/Homebrew/sorbet/rbi/gems/racc@1.7.3.rbi index c6c7c2deef..24b613eab6 100644 --- a/Library/Homebrew/sorbet/rbi/gems/racc@1.7.3.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/racc@1.7.3.rbi @@ -6,7 +6,6 @@ # source://racc//lib/racc/compat.rb#14 class Object < ::BasicObject - include ::ActiveSupport::ForkTracker::CoreExt include ::Kernel include ::PP::ObjectMixin end diff --git a/Library/Homebrew/sorbet/rbi/gems/rainbow@3.1.1.rbi b/Library/Homebrew/sorbet/rbi/gems/rainbow@3.1.1.rbi index e12c5edf9b..87f4c33ef2 100644 --- a/Library/Homebrew/sorbet/rbi/gems/rainbow@3.1.1.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/rainbow@3.1.1.rbi @@ -5,7 +5,6 @@ # Please instead update this file by running `bin/tapioca gem rainbow`. class Object < ::BasicObject - include ::ActiveSupport::ForkTracker::CoreExt include ::Kernel include ::PP::ObjectMixin diff --git a/Library/Homebrew/sorbet/rbi/gems/rbi@0.1.6.rbi b/Library/Homebrew/sorbet/rbi/gems/rbi@0.1.6.rbi index c90cf6f147..ec3c48ec8c 100644 --- a/Library/Homebrew/sorbet/rbi/gems/rbi@0.1.6.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/rbi@0.1.6.rbi @@ -1820,7 +1820,7 @@ class RBI::Rewriters::Merge::Conflict < ::T::Struct def to_s; end class << self - # source://sorbet-runtime/0.5.11155/lib/types/struct.rb#13 + # source://sorbet-runtime/0.5.11219/lib/types/struct.rb#13 def inherited(s); end end end @@ -2037,7 +2037,7 @@ class RBI::Rewriters::RemoveKnownDefinitions::Operation < ::T::Struct def to_s; end class << self - # source://sorbet-runtime/0.5.11155/lib/types/struct.rb#13 + # source://sorbet-runtime/0.5.11219/lib/types/struct.rb#13 def inherited(s); end end end @@ -2670,7 +2670,7 @@ class RBI::Tree < ::RBI::NodeWithComments sig { params(annotation: ::String, annotate_scopes: T::Boolean, annotate_properties: T::Boolean).void } def annotate!(annotation, annotate_scopes: T.unsafe(nil), annotate_properties: T.unsafe(nil)); end - # source://tapioca/0.11.13/lib/tapioca/rbi_ext/model.rb#38 + # source://tapioca/0.12.0/lib/tapioca/rbi_ext/model.rb#38 sig do params( name: ::String, @@ -2680,19 +2680,19 @@ class RBI::Tree < ::RBI::NodeWithComments end def create_class(name, superclass_name: T.unsafe(nil), &block); end - # source://tapioca/0.11.13/lib/tapioca/rbi_ext/model.rb#45 + # source://tapioca/0.12.0/lib/tapioca/rbi_ext/model.rb#45 sig { params(name: ::String, value: ::String).void } def create_constant(name, value:); end - # source://tapioca/0.11.13/lib/tapioca/rbi_ext/model.rb#55 + # source://tapioca/0.12.0/lib/tapioca/rbi_ext/model.rb#55 sig { params(name: ::String).void } def create_extend(name); end - # source://tapioca/0.11.13/lib/tapioca/rbi_ext/model.rb#50 + # source://tapioca/0.12.0/lib/tapioca/rbi_ext/model.rb#50 sig { params(name: ::String).void } def create_include(name); end - # source://tapioca/0.11.13/lib/tapioca/rbi_ext/model.rb#89 + # source://tapioca/0.12.0/lib/tapioca/rbi_ext/model.rb#89 sig do params( name: ::String, @@ -2705,19 +2705,19 @@ class RBI::Tree < ::RBI::NodeWithComments end def create_method(name, parameters: T.unsafe(nil), return_type: T.unsafe(nil), class_method: T.unsafe(nil), visibility: T.unsafe(nil), comments: T.unsafe(nil)); end - # source://tapioca/0.11.13/lib/tapioca/rbi_ext/model.rb#60 + # source://tapioca/0.12.0/lib/tapioca/rbi_ext/model.rb#60 sig { params(name: ::String).void } def create_mixes_in_class_methods(name); end - # source://tapioca/0.11.13/lib/tapioca/rbi_ext/model.rb#25 + # source://tapioca/0.12.0/lib/tapioca/rbi_ext/model.rb#25 sig { params(name: ::String, block: T.nilable(T.proc.params(scope: ::RBI::Scope).void)).returns(::RBI::Scope) } def create_module(name, &block); end - # source://tapioca/0.11.13/lib/tapioca/rbi_ext/model.rb#9 + # source://tapioca/0.12.0/lib/tapioca/rbi_ext/model.rb#9 sig { params(constant: ::Module, block: T.nilable(T.proc.params(scope: ::RBI::Scope).void)).returns(::RBI::Scope) } def create_path(constant, &block); end - # source://tapioca/0.11.13/lib/tapioca/rbi_ext/model.rb#74 + # source://tapioca/0.12.0/lib/tapioca/rbi_ext/model.rb#74 sig do params( name: ::String, @@ -2779,11 +2779,11 @@ class RBI::Tree < ::RBI::NodeWithComments private - # source://tapioca/0.11.13/lib/tapioca/rbi_ext/model.rb#116 + # source://tapioca/0.12.0/lib/tapioca/rbi_ext/model.rb#116 sig { params(node: ::RBI::Node).returns(::RBI::Node) } def create_node(node); end - # source://tapioca/0.11.13/lib/tapioca/rbi_ext/model.rb#111 + # source://tapioca/0.12.0/lib/tapioca/rbi_ext/model.rb#111 sig { returns(T::Hash[::String, ::RBI::Node]) } def nodes_cache; end end diff --git a/Library/Homebrew/sorbet/rbi/gems/rspec-core@3.12.2.rbi b/Library/Homebrew/sorbet/rbi/gems/rspec-core@3.12.2.rbi index a3411064d1..20ae355cc1 100644 --- a/Library/Homebrew/sorbet/rbi/gems/rspec-core@3.12.2.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/rspec-core@3.12.2.rbi @@ -6269,12 +6269,6 @@ module RSpec::Core::HashImitatable # source://rspec-core//lib/rspec/core/metadata.rb#367 def deconstruct_keys(*args, &block); end - # source://rspec-core//lib/rspec/core/metadata.rb#367 - def deep_merge(*args, &block); end - - # source://rspec-core//lib/rspec/core/metadata.rb#367 - def deep_merge!(*args, &block); end - # source://rspec-core//lib/rspec/core/metadata.rb#367 def default(*args, &block); end @@ -6341,12 +6335,6 @@ module RSpec::Core::HashImitatable # source://rspec-core//lib/rspec/core/metadata.rb#367 def except(*args, &block); end - # source://rspec-core//lib/rspec/core/metadata.rb#367 - def except!(*args, &block); end - - # source://rspec-core//lib/rspec/core/metadata.rb#367 - def extract!(*args, &block); end - # source://rspec-core//lib/rspec/core/metadata.rb#367 def fetch(*args, &block); end @@ -6497,9 +6485,6 @@ module RSpec::Core::HashImitatable # source://rspec-core//lib/rspec/core/metadata.rb#367 def slice(*args, &block); end - # source://rspec-core//lib/rspec/core/metadata.rb#367 - def slice!(*args, &block); end - # source://rspec-core//lib/rspec/core/metadata.rb#367 def slice_after(*args, &block); end @@ -9337,15 +9322,6 @@ class RSpec::Core::OutputWrapper # source://rspec-core//lib/rspec/core/output_wrapper.rb#23 def noecho(*args, &block); end - # source://rspec-core//lib/rspec/core/output_wrapper.rb#23 - def nonblock(*args, &block); end - - # source://rspec-core//lib/rspec/core/output_wrapper.rb#23 - def nonblock=(*args, &block); end - - # source://rspec-core//lib/rspec/core/output_wrapper.rb#23 - def nonblock?(*args, &block); end - # source://rspec-core//lib/rspec/core/output_wrapper.rb#23 def nread(*args, &block); end diff --git a/Library/Homebrew/sorbet/rbi/gems/rspec-sorbet@1.9.2.rbi b/Library/Homebrew/sorbet/rbi/gems/rspec-sorbet@1.9.2.rbi index 417f5b7336..ffde20ab47 100644 --- a/Library/Homebrew/sorbet/rbi/gems/rspec-sorbet@1.9.2.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/rspec-sorbet@1.9.2.rbi @@ -90,7 +90,7 @@ module RSpec::Sorbet::Doubles # @return [void] # - # source://sorbet-runtime/0.5.11150/lib/types/private/methods/_methods.rb#255 + # source://sorbet-runtime/0.5.11219/lib/types/private/methods/_methods.rb#252 def allow_instance_doubles!(*args, **_arg1, &blk); end # source://rspec-sorbet//lib/rspec/sorbet/doubles.rb#36 diff --git a/Library/Homebrew/sorbet/rbi/gems/rubocop-ast@1.30.0.rbi b/Library/Homebrew/sorbet/rbi/gems/rubocop-ast@1.30.0.rbi index e7dc316c87..9c22af394c 100644 --- a/Library/Homebrew/sorbet/rbi/gems/rubocop-ast@1.30.0.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/rubocop-ast@1.30.0.rbi @@ -5134,9 +5134,6 @@ RuboCop::AST::NodePattern::Sets::SET_ABSTRACT_OVERRIDE_OVERRIDABLE_ETC = T.let(T # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_ADD_DEPENDENCY_ADD_RUNTIME_DEPENDENCY_ADD_DEVELOPMENT_DEPENDENCY = T.let(T.unsafe(nil), Set) -# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 -RuboCop::AST::NodePattern::Sets::SET_AFTER_ACTION_APPEND_AFTER_ACTION_APPEND_AROUND_ACTION_ETC = T.let(T.unsafe(nil), Set) - # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_ALL_ANY_CLASS_OF_ETC = T.let(T.unsafe(nil), Set) @@ -5152,9 +5149,6 @@ RuboCop::AST::NodePattern::Sets::SET_ANY_EMPTY = T.let(T.unsafe(nil), Set) # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_ANY_EMPTY_NONE_ETC = T.let(T.unsafe(nil), Set) -# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 -RuboCop::AST::NodePattern::Sets::SET_AP_P_PP_ETC = T.let(T.unsafe(nil), Set) - # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_ASSERT_EQUAL_REFUTE_EQUAL = T.let(T.unsafe(nil), Set) @@ -5167,21 +5161,12 @@ RuboCop::AST::NodePattern::Sets::SET_ATTR_READER_ATTR_WRITER_ATTR_ACCESSOR_ATTR # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_BACKGROUND_SCENARIO_XSCENARIO_ETC = T.let(T.unsafe(nil), Set) -# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 -RuboCop::AST::NodePattern::Sets::SET_BEFORE_AFTER = T.let(T.unsafe(nil), Set) - -# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 -RuboCop::AST::NodePattern::Sets::SET_BELONGS_TO_HAS_ONE_HAS_MANY_HAS_AND_BELONGS_TO_MANY = T.let(T.unsafe(nil), Set) - # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_BE_EQ_EQL_EQUAL = T.let(T.unsafe(nil), Set) # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_BE_TRUTHY_BE_FALSEY_BE_FALSY_ETC = T.let(T.unsafe(nil), Set) -# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 -RuboCop::AST::NodePattern::Sets::SET_BINWRITE_SYSWRITE_WRITE_WRITE_NONBLOCK = T.let(T.unsafe(nil), Set) - # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_BRANCH_REF_TAG = T.let(T.unsafe(nil), Set) @@ -5194,9 +5179,6 @@ RuboCop::AST::NodePattern::Sets::SET_CALL_RUN = T.let(T.unsafe(nil), Set) # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_CAPTURE2_CAPTURE2E_CAPTURE3_ETC = T.let(T.unsafe(nil), Set) -# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 -RuboCop::AST::NodePattern::Sets::SET_CHANGE_COLUMN_EXECUTE = T.let(T.unsafe(nil), Set) - # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_CIPHER_DIGEST = T.let(T.unsafe(nil), Set) @@ -5224,12 +5206,6 @@ RuboCop::AST::NodePattern::Sets::SET_CONTEXT_SHARED_CONTEXT = T.let(T.unsafe(nil # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_COUNT_LENGTH_SIZE = T.let(T.unsafe(nil), Set) -# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 -RuboCop::AST::NodePattern::Sets::SET_CREATED_AT_UPDATED_AT = T.let(T.unsafe(nil), Set) - -# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 -RuboCop::AST::NodePattern::Sets::SET_CREATED_AT_UPDATED_AT_2 = T.let(T.unsafe(nil), Set) - # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_DEFINE_METHOD = T.let(T.unsafe(nil), Set) @@ -5308,33 +5284,18 @@ RuboCop::AST::NodePattern::Sets::SET_FORMAT_SPRINTF_PRINTF = T.let(T.unsafe(nil) # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_GETHOSTBYADDR_GETHOSTBYNAME = T.let(T.unsafe(nil), Set) -# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 -RuboCop::AST::NodePattern::Sets::SET_GET_POST_PUT_ETC = T.let(T.unsafe(nil), Set) - # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_GSUB_GSUB = T.let(T.unsafe(nil), Set) # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_GSUB_GSUB_SUB_SUB = T.let(T.unsafe(nil), Set) -# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 -RuboCop::AST::NodePattern::Sets::SET_HAS_MANY_HAS_ONE = T.let(T.unsafe(nil), Set) - -# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 -RuboCop::AST::NodePattern::Sets::SET_HAS_MANY_HAS_ONE_BELONGS_TO = T.let(T.unsafe(nil), Set) - -# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 -RuboCop::AST::NodePattern::Sets::SET_IF_UNLESS = T.let(T.unsafe(nil), Set) - # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_INCLUDE_EXTEND_PREPEND = T.let(T.unsafe(nil), Set) # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_INCLUDE_MEMBER = T.let(T.unsafe(nil), Set) -# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 -RuboCop::AST::NodePattern::Sets::SET_INSERT_INSERT = T.let(T.unsafe(nil), Set) - # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_INSTANCE_EVAL_CLASS_EVAL_MODULE_EVAL = T.let(T.unsafe(nil), Set) @@ -5350,9 +5311,6 @@ RuboCop::AST::NodePattern::Sets::SET_IS_EXPECTED_SHOULD_SHOULD_NOT = T.let(T.uns # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_KEYS_VALUES = T.let(T.unsafe(nil), Set) -# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 -RuboCop::AST::NodePattern::Sets::SET_KEYS_VALUES_TO_H_TO_XML = T.let(T.unsafe(nil), Set) - # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_KEY_HAS_KEY_FETCH_ETC = T.let(T.unsafe(nil), Set) @@ -5371,15 +5329,15 @@ RuboCop::AST::NodePattern::Sets::SET_MAP_COLLECT = T.let(T.unsafe(nil), Set) # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_MATCH_MATCH = T.let(T.unsafe(nil), Set) +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 +RuboCop::AST::NodePattern::Sets::SET_MATCH_MATCH_ = T.let(T.unsafe(nil), Set) + # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_MATCH__MATCH = T.let(T.unsafe(nil), Set) # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_MATCH___MATCH = T.let(T.unsafe(nil), Set) -# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 -RuboCop::AST::NodePattern::Sets::SET_MESSAGES_DETAILS = T.let(T.unsafe(nil), Set) - # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_MODULE_FUNCTION_RUBY2_KEYWORDS = T.let(T.unsafe(nil), Set) @@ -5395,12 +5353,6 @@ RuboCop::AST::NodePattern::Sets::SET_NEW_OPEN = T.let(T.unsafe(nil), Set) # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_NIL_ = T.let(T.unsafe(nil), Set) -# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 -RuboCop::AST::NodePattern::Sets::SET_NOTICE_ALERT = T.let(T.unsafe(nil), Set) - -# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 -RuboCop::AST::NodePattern::Sets::SET_ONLY_EXCEPT = T.let(T.unsafe(nil), Set) - # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_PIPELINE_PIPELINE_R_PIPELINE_RW_ETC = T.let(T.unsafe(nil), Set) @@ -5452,24 +5404,12 @@ RuboCop::AST::NodePattern::Sets::SET_RECEIVE_RECEIVE_MESSAGE_CHAIN = T.let(T.uns # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_REDUCE_INJECT = T.let(T.unsafe(nil), Set) -# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 -RuboCop::AST::NodePattern::Sets::SET_REFERER_REFERRER = T.let(T.unsafe(nil), Set) - # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_REJECT_DELETE_IF_REJECT = T.let(T.unsafe(nil), Set) -# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 -RuboCop::AST::NodePattern::Sets::SET_RENDER_REDIRECT_TO = T.let(T.unsafe(nil), Set) - # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_REQUIRE_REQUIRE_RELATIVE = T.let(T.unsafe(nil), Set) -# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 -RuboCop::AST::NodePattern::Sets::SET_RETURNING_UNIQUE_BY = T.let(T.unsafe(nil), Set) - -# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 -RuboCop::AST::NodePattern::Sets::SET_ROOT_PUBLIC_PATH = T.let(T.unsafe(nil), Set) - # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_SELECT_FILTER_FIND_ALL = T.let(T.unsafe(nil), Set) @@ -5482,15 +5422,15 @@ RuboCop::AST::NodePattern::Sets::SET_SELECT_SELECT = T.let(T.unsafe(nil), Set) # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_SEND_PUBLIC_SEND___SEND__ = T.let(T.unsafe(nil), Set) +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 +RuboCop::AST::NodePattern::Sets::SET_SEND___SEND__ = T.let(T.unsafe(nil), Set) + # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_SHOULD_SHOULD_NOT = T.let(T.unsafe(nil), Set) # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_SIG_HELPERS = T.let(T.unsafe(nil), Set) -# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 -RuboCop::AST::NodePattern::Sets::SET_SKIP_AFTER_ACTION_SKIP_AROUND_ACTION_SKIP_BEFORE_ACTION_SKIP_ACTION_CALLBACK = T.let(T.unsafe(nil), Set) - # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_SKIP_PENDING = T.let(T.unsafe(nil), Set) @@ -5515,9 +5455,6 @@ RuboCop::AST::NodePattern::Sets::SET_START_WITH_STARTS_WITH_END_WITH_ENDS_WITH = # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_STATUS_CODE = T.let(T.unsafe(nil), Set) -# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 -RuboCop::AST::NodePattern::Sets::SET_STDOUT_STDERR = T.let(T.unsafe(nil), Set) - # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_STRUCT_CLASS = T.let(T.unsafe(nil), Set) @@ -5531,7 +5468,7 @@ RuboCop::AST::NodePattern::Sets::SET_STRUCT_IMMUTABLESTRUCT_INEXACTSTRUCT = T.le RuboCop::AST::NodePattern::Sets::SET_SUCC_PRED_NEXT = T.let(T.unsafe(nil), Set) # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 -RuboCop::AST::NodePattern::Sets::SET_TIME_DATETIME = T.let(T.unsafe(nil), Set) +RuboCop::AST::NodePattern::Sets::SET_TEXT_EXACT_TEXT = T.let(T.unsafe(nil), Set) # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_TO_ENUM_ENUM_FOR = T.let(T.unsafe(nil), Set) @@ -5545,21 +5482,9 @@ RuboCop::AST::NodePattern::Sets::SET_TO_I_TO_F_TO_C_TO_R = T.let(T.unsafe(nil), # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_TO_TO_NOT_NOT_TO = T.let(T.unsafe(nil), Set) -# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 -RuboCop::AST::NodePattern::Sets::SET_TRANSLATE_LOCALIZE = T.let(T.unsafe(nil), Set) - -# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 -RuboCop::AST::NodePattern::Sets::SET_TRANSLATE_T = T.let(T.unsafe(nil), Set) - # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_TRUE_FALSE = T.let(T.unsafe(nil), Set) -# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 -RuboCop::AST::NodePattern::Sets::SET_TRY_TRY = T.let(T.unsafe(nil), Set) - -# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 -RuboCop::AST::NodePattern::Sets::SET_T_TRANSLATE_L_LOCALIZE = T.let(T.unsafe(nil), Set) - # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_ZERO_POSITIVE_NEGATIVE = T.let(T.unsafe(nil), Set) diff --git a/Library/Homebrew/sorbet/rbi/gems/rubocop-performance@1.20.2.rbi b/Library/Homebrew/sorbet/rbi/gems/rubocop-performance@1.20.2.rbi index 3ac231fe54..28ac7fb747 100644 --- a/Library/Homebrew/sorbet/rbi/gems/rubocop-performance@1.20.2.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/rubocop-performance@1.20.2.rbi @@ -13,28 +13,28 @@ module RuboCop::Cop; end module RuboCop::Cop::Lint; end class RuboCop::Cop::Lint::UnusedMethodArgument < ::RuboCop::Cop::Base - # source://rubocop/1.59.0/lib/rubocop/cop/lint/unused_method_argument.rb#66 + # source://rubocop/1.60.2/lib/rubocop/cop/lint/unused_method_argument.rb#66 def not_implemented?(param0 = T.unsafe(nil)); end private - # source://rubocop/1.59.0/lib/rubocop/cop/lint/unused_method_argument.rb#81 + # source://rubocop/1.60.2/lib/rubocop/cop/lint/unused_method_argument.rb#81 def autocorrect(corrector, node); end - # source://rubocop/1.59.0/lib/rubocop/cop/lint/unused_method_argument.rb#85 + # source://rubocop/1.60.2/lib/rubocop/cop/lint/unused_method_argument.rb#85 def check_argument(variable); end - # source://rubocop/1.59.0/lib/rubocop/cop/lint/unused_method_argument.rb#93 + # source://rubocop/1.60.2/lib/rubocop/cop/lint/unused_method_argument.rb#93 def ignored_method?(body); end - # source://rubocop/1.59.0/lib/rubocop/cop/lint/unused_method_argument.rb#98 + # source://rubocop/1.60.2/lib/rubocop/cop/lint/unused_method_argument.rb#98 def message(variable); end class << self # source://rubocop-performance//lib/rubocop-performance.rb#15 def autocorrect_incompatible_with; end - # source://rubocop/1.59.0/lib/rubocop/cop/lint/unused_method_argument.rb#75 + # source://rubocop/1.60.2/lib/rubocop/cop/lint/unused_method_argument.rb#75 def joining_forces; end end end diff --git a/Library/Homebrew/sorbet/rbi/gems/rubocop-rspec@2.26.1.rbi b/Library/Homebrew/sorbet/rbi/gems/rubocop-rspec@2.26.1.rbi index b92af393df..1997c6d121 100644 --- a/Library/Homebrew/sorbet/rbi/gems/rubocop-rspec@2.26.1.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/rubocop-rspec@2.26.1.rbi @@ -5303,173 +5303,6 @@ RuboCop::Cop::RSpec::Rails::HaveHttpStatus::RESTRICT_ON_SEND = T.let(T.unsafe(ni # source://rubocop-rspec//lib/rubocop/cop/rspec/rails/have_http_status.rb#24 RuboCop::Cop::RSpec::Rails::HaveHttpStatus::RUNNERS = T.let(T.unsafe(nil), Set) -# Enforces use of symbolic or numeric value to describe HTTP status. -# -# This cop inspects only `have_http_status` calls. -# So, this cop does not check if a method starting with `be_*` is used -# when setting for `EnforcedStyle: symbolic` or -# `EnforcedStyle: numeric`. -# -# @example `EnforcedStyle: symbolic` (default) -# # bad -# it { is_expected.to have_http_status 200 } -# it { is_expected.to have_http_status 404 } -# it { is_expected.to have_http_status "403" } -# -# # good -# it { is_expected.to have_http_status :ok } -# it { is_expected.to have_http_status :not_found } -# it { is_expected.to have_http_status :forbidden } -# it { is_expected.to have_http_status :success } -# it { is_expected.to have_http_status :error } -# @example `EnforcedStyle: numeric` -# # bad -# it { is_expected.to have_http_status :ok } -# it { is_expected.to have_http_status :not_found } -# it { is_expected.to have_http_status "forbidden" } -# -# # good -# it { is_expected.to have_http_status 200 } -# it { is_expected.to have_http_status 404 } -# it { is_expected.to have_http_status 403 } -# it { is_expected.to have_http_status :success } -# it { is_expected.to have_http_status :error } -# @example `EnforcedStyle: be_status` -# # bad -# it { is_expected.to have_http_status :ok } -# it { is_expected.to have_http_status :not_found } -# it { is_expected.to have_http_status "forbidden" } -# it { is_expected.to have_http_status 200 } -# it { is_expected.to have_http_status 404 } -# it { is_expected.to have_http_status "403" } -# -# # good -# it { is_expected.to be_ok } -# it { is_expected.to be_not_found } -# it { is_expected.to have_http_status :success } -# it { is_expected.to have_http_status :error } -# -# source://rubocop-rspec//lib/rubocop/cop/rspec/rails/http_status.rb#57 -class RuboCop::Cop::RSpec::Rails::HttpStatus < ::RuboCop::Cop::RSpec::Base - include ::RuboCop::Cop::ConfigurableEnforcedStyle - extend ::RuboCop::Cop::AutoCorrector - - # source://rubocop-rspec//lib/rubocop/cop/rspec/rails/http_status.rb#63 - def http_status(param0 = T.unsafe(nil)); end - - # source://rubocop-rspec//lib/rubocop/cop/rspec/rails/http_status.rb#67 - def on_send(node); end - - private - - # source://rubocop-rspec//lib/rubocop/cop/rspec/rails/http_status.rb#83 - def checker_class; end -end - -# source://rubocop-rspec//lib/rubocop/cop/rspec/rails/http_status.rb#171 -class RuboCop::Cop::RSpec::Rails::HttpStatus::BeStatusStyleChecker < ::RuboCop::Cop::RSpec::Rails::HttpStatus::StyleCheckerBase - # source://rubocop-rspec//lib/rubocop/cop/rspec/rails/http_status.rb#177 - def offense_range; end - - # @return [Boolean] - # - # source://rubocop-rspec//lib/rubocop/cop/rspec/rails/http_status.rb#172 - def offensive?; end - - # source://rubocop-rspec//lib/rubocop/cop/rspec/rails/http_status.rb#181 - def prefer; end - - private - - # source://rubocop-rspec//lib/rubocop/cop/rspec/rails/http_status.rb#201 - def normalize_str; end - - # source://rubocop-rspec//lib/rubocop/cop/rspec/rails/http_status.rb#197 - def number; end - - # source://rubocop-rspec//lib/rubocop/cop/rspec/rails/http_status.rb#193 - def symbol; end -end - -# source://rubocop-rspec//lib/rubocop/cop/rspec/rails/http_status.rb#150 -class RuboCop::Cop::RSpec::Rails::HttpStatus::NumericStyleChecker < ::RuboCop::Cop::RSpec::Rails::HttpStatus::StyleCheckerBase - # @return [Boolean] - # - # source://rubocop-rspec//lib/rubocop/cop/rspec/rails/http_status.rb#151 - def offensive?; end - - # source://rubocop-rspec//lib/rubocop/cop/rspec/rails/http_status.rb#155 - def prefer; end - - private - - # source://rubocop-rspec//lib/rubocop/cop/rspec/rails/http_status.rb#165 - def number; end - - # source://rubocop-rspec//lib/rubocop/cop/rspec/rails/http_status.rb#161 - def symbol; end -end - -# source://rubocop-rspec//lib/rubocop/cop/rspec/rails/http_status.rb#60 -RuboCop::Cop::RSpec::Rails::HttpStatus::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) - -# source://rubocop-rspec//lib/rubocop/cop/rspec/rails/http_status.rb#95 -class RuboCop::Cop::RSpec::Rails::HttpStatus::StyleCheckerBase - # @return [StyleCheckerBase] a new instance of StyleCheckerBase - # - # source://rubocop-rspec//lib/rubocop/cop/rspec/rails/http_status.rb#102 - def initialize(node); end - - # @return [Boolean] - # - # source://rubocop-rspec//lib/rubocop/cop/rspec/rails/http_status.rb#118 - def allowed_symbol?; end - - # source://rubocop-rspec//lib/rubocop/cop/rspec/rails/http_status.rb#110 - def current; end - - # @return [Boolean] - # - # source://rubocop-rspec//lib/rubocop/cop/rspec/rails/http_status.rb#122 - def custom_http_status_code?; end - - # source://rubocop-rspec//lib/rubocop/cop/rspec/rails/http_status.rb#106 - def message; end - - # Returns the value of attribute node. - # - # source://rubocop-rspec//lib/rubocop/cop/rspec/rails/http_status.rb#100 - def node; end - - # source://rubocop-rspec//lib/rubocop/cop/rspec/rails/http_status.rb#114 - def offense_range; end -end - -# source://rubocop-rspec//lib/rubocop/cop/rspec/rails/http_status.rb#98 -RuboCop::Cop::RSpec::Rails::HttpStatus::StyleCheckerBase::ALLOWED_STATUSES = T.let(T.unsafe(nil), Array) - -# source://rubocop-rspec//lib/rubocop/cop/rspec/rails/http_status.rb#96 -RuboCop::Cop::RSpec::Rails::HttpStatus::StyleCheckerBase::MSG = T.let(T.unsafe(nil), String) - -# source://rubocop-rspec//lib/rubocop/cop/rspec/rails/http_status.rb#129 -class RuboCop::Cop::RSpec::Rails::HttpStatus::SymbolicStyleChecker < ::RuboCop::Cop::RSpec::Rails::HttpStatus::StyleCheckerBase - # @return [Boolean] - # - # source://rubocop-rspec//lib/rubocop/cop/rspec/rails/http_status.rb#130 - def offensive?; end - - # source://rubocop-rspec//lib/rubocop/cop/rspec/rails/http_status.rb#134 - def prefer; end - - private - - # source://rubocop-rspec//lib/rubocop/cop/rspec/rails/http_status.rb#144 - def number; end - - # source://rubocop-rspec//lib/rubocop/cop/rspec/rails/http_status.rb#140 - def symbol; end -end - # Identifies redundant spec type. # # After setting up rspec-rails, you will have enabled @@ -7686,10 +7519,10 @@ class RuboCop::Cop::Style::TrailingCommaInArguments < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::RangeHelp - # source://rubocop/1.59.0/lib/rubocop/cop/style/trailing_comma_in_arguments.rb#95 + # source://rubocop/1.60.2/lib/rubocop/cop/style/trailing_comma_in_arguments.rb#95 def on_csend(node); end - # source://rubocop/1.59.0/lib/rubocop/cop/style/trailing_comma_in_arguments.rb#95 + # source://rubocop/1.60.2/lib/rubocop/cop/style/trailing_comma_in_arguments.rb#95 def on_send(node); end class << self diff --git a/Library/Homebrew/sorbet/rbi/gems/rubocop@1.60.2.rbi b/Library/Homebrew/sorbet/rbi/gems/rubocop@1.60.2.rbi index 31b3803e3f..e69a7a3d9c 100644 --- a/Library/Homebrew/sorbet/rbi/gems/rubocop@1.60.2.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/rubocop@1.60.2.rbi @@ -5339,24 +5339,19 @@ RuboCop::Cop::EndKeywordAlignment::MSG = T.let(T.unsafe(nil), String) module RuboCop::Cop::EnforceSuperclass # @api private # - # source://rubocop-rails/2.23.1/lib/rubocop/cop/mixin/enforce_superclass.rb#19 + # source://rubocop//lib/rubocop/cop/mixin/enforce_superclass.rb#35 def on_class(node); end # @api private # - # source://rubocop-rails/2.23.1/lib/rubocop/cop/mixin/enforce_superclass.rb#25 + # source://rubocop//lib/rubocop/cop/mixin/enforce_superclass.rb#39 def on_send(node); end - private - - # source://rubocop-rails/2.23.1/lib/rubocop/cop/mixin/enforce_superclass.rb#33 - def register_offense(offense_node); end - class << self # @api private # @private # - # source://rubocop-rails/2.23.1/lib/rubocop/cop/mixin/enforce_superclass.rb#7 + # source://rubocop//lib/rubocop/cop/mixin/enforce_superclass.rb#16 def included(base); end end end @@ -38899,7 +38894,7 @@ class RuboCop::Cop::Style::InverseMethods < ::RuboCop::Cop::Base def remove_end_parenthesis(corrector, node, method, method_call); end class << self - # source://rubocop-rails/2.23.1/lib/rubocop-rails.rb#22 + # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#56 def autocorrect_incompatible_with; end end end @@ -39940,7 +39935,7 @@ class RuboCop::Cop::Style::MethodCallWithArgsParentheses < ::RuboCop::Cop::Base def args_parenthesized?(node); end class << self - # source://rubocop-rails/2.23.1/lib/rubocop-rails.rb#30 + # source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses.rb#213 def autocorrect_incompatible_with; end end end @@ -46496,7 +46491,7 @@ class RuboCop::Cop::Style::RedundantSelf < ::RuboCop::Cop::Base def regular_method_call?(node); end class << self - # source://rubocop-rails/2.23.1/lib/rubocop-rails.rb#38 + # source://rubocop//lib/rubocop/cop/style/redundant_self.rb#56 def autocorrect_incompatible_with; end end end @@ -55094,10 +55089,10 @@ RuboCop::Formatter::PacmanFormatter::FALLBACK_TERMINAL_WIDTH = T.let(T.unsafe(ni RuboCop::Formatter::PacmanFormatter::GHOST = T.let(T.unsafe(nil), String) # source://rubocop//lib/rubocop/formatter/pacman_formatter.rb#17 -RuboCop::Formatter::PacmanFormatter::PACDOT = T.let(T.unsafe(nil), Rainbow::NullPresenter) +RuboCop::Formatter::PacmanFormatter::PACDOT = T.let(T.unsafe(nil), Rainbow::Presenter) # source://rubocop//lib/rubocop/formatter/pacman_formatter.rb#16 -RuboCop::Formatter::PacmanFormatter::PACMAN = T.let(T.unsafe(nil), Rainbow::NullPresenter) +RuboCop::Formatter::PacmanFormatter::PACMAN = T.let(T.unsafe(nil), Rainbow::Presenter) # This formatter display dots for files with no offenses and # letters for files with problems in the them. In the end it @@ -57374,4 +57369,18 @@ end # source://rubocop//lib/rubocop/core_ext/string.rb#4 class String include ::Comparable + + # Checks whether a string is blank. A string is considered blank if it + # is either empty or contains only whitespace characters. + # + # @example + # ''.blank? #=> true + # @example + # ' '.blank? #=> true + # @example + # ' test'.blank? #=> false + # @return [Boolean] true is the string is blank, false otherwise + # + # source://rubocop//lib/rubocop/core_ext/string.rb#19 + def blank?; end end diff --git a/Library/Homebrew/sorbet/rbi/gems/ruby-prof@1.7.0.rbi b/Library/Homebrew/sorbet/rbi/gems/ruby-prof@1.7.0.rbi index f1e54b8254..4a36e98b31 100644 --- a/Library/Homebrew/sorbet/rbi/gems/ruby-prof@1.7.0.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/ruby-prof@1.7.0.rbi @@ -5,15 +5,7 @@ # Please instead update this file by running `bin/tapioca gem ruby-prof`. # source://ruby-prof//lib/ruby-prof/rack.rb#4 -module Rack - class << self - # source://rack/3.0.8/lib/rack/version.rb#31 - def release; end - - # source://rack/3.0.8/lib/rack/version.rb#23 - def version; end - end -end +module Rack; end # source://ruby-prof//lib/ruby-prof/rack.rb#5 class Rack::RubyProf diff --git a/Library/Homebrew/sorbet/rbi/gems/spoom@1.2.4.rbi b/Library/Homebrew/sorbet/rbi/gems/spoom@1.2.4.rbi index bb3b031bec..4c8cc4963b 100644 --- a/Library/Homebrew/sorbet/rbi/gems/spoom@1.2.4.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/spoom@1.2.4.rbi @@ -958,7 +958,7 @@ class Spoom::Coverage::D3::ColorPalette < ::T::Struct prop :strong, ::String class << self - # source://sorbet-runtime/0.5.11150/lib/types/struct.rb#13 + # source://sorbet-runtime/0.5.11219/lib/types/struct.rb#13 def inherited(s); end end end @@ -1298,7 +1298,7 @@ class Spoom::Coverage::Snapshot < ::T::Struct sig { params(obj: T::Hash[::String, T.untyped]).returns(::Spoom::Coverage::Snapshot) } def from_obj(obj); end - # source://sorbet-runtime/0.5.11150/lib/types/struct.rb#13 + # source://sorbet-runtime/0.5.11219/lib/types/struct.rb#13 def inherited(s); end end end @@ -1450,7 +1450,7 @@ class Spoom::Deadcode::Definition < ::T::Struct def module?; end class << self - # source://sorbet-runtime/0.5.11150/lib/types/struct.rb#13 + # source://sorbet-runtime/0.5.11219/lib/types/struct.rb#13 def inherited(s); end end end @@ -2343,7 +2343,7 @@ class Spoom::Deadcode::Reference < ::T::Struct def method?; end class << self - # source://sorbet-runtime/0.5.11150/lib/types/struct.rb#13 + # source://sorbet-runtime/0.5.11219/lib/types/struct.rb#13 def inherited(s); end end end @@ -2593,7 +2593,7 @@ class Spoom::Deadcode::Send < ::T::Struct def each_arg_assoc(&block); end class << self - # source://sorbet-runtime/0.5.11150/lib/types/struct.rb#13 + # source://sorbet-runtime/0.5.11219/lib/types/struct.rb#13 def inherited(s); end end end @@ -2613,7 +2613,7 @@ class Spoom::ExecResult < ::T::Struct def to_s; end class << self - # source://sorbet-runtime/0.5.11150/lib/types/struct.rb#13 + # source://sorbet-runtime/0.5.11219/lib/types/struct.rb#13 def inherited(s); end end end @@ -2821,7 +2821,7 @@ class Spoom::FileTree::Node < ::T::Struct def path; end class << self - # source://sorbet-runtime/0.5.11150/lib/types/struct.rb#13 + # source://sorbet-runtime/0.5.11219/lib/types/struct.rb#13 def inherited(s); end end end @@ -2887,7 +2887,7 @@ class Spoom::Git::Commit < ::T::Struct def timestamp; end class << self - # source://sorbet-runtime/0.5.11150/lib/types/struct.rb#13 + # source://sorbet-runtime/0.5.11219/lib/types/struct.rb#13 def inherited(s); end # Parse a line formated as `%h %at` into a `Commit` @@ -2999,7 +2999,7 @@ class Spoom::LSP::Diagnostic < ::T::Struct sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::Diagnostic) } def from_json(json); end - # source://sorbet-runtime/0.5.11150/lib/types/struct.rb#13 + # source://sorbet-runtime/0.5.11219/lib/types/struct.rb#13 def inherited(s); end end end @@ -3032,7 +3032,7 @@ class Spoom::LSP::DocumentSymbol < ::T::Struct sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::DocumentSymbol) } def from_json(json); end - # source://sorbet-runtime/0.5.11150/lib/types/struct.rb#13 + # source://sorbet-runtime/0.5.11219/lib/types/struct.rb#13 def inherited(s); end end end @@ -3090,7 +3090,7 @@ class Spoom::LSP::Hover < ::T::Struct sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::Hover) } def from_json(json); end - # source://sorbet-runtime/0.5.11150/lib/types/struct.rb#13 + # source://sorbet-runtime/0.5.11219/lib/types/struct.rb#13 def inherited(s); end end end @@ -3115,7 +3115,7 @@ class Spoom::LSP::Location < ::T::Struct sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::Location) } def from_json(json); end - # source://sorbet-runtime/0.5.11150/lib/types/struct.rb#13 + # source://sorbet-runtime/0.5.11219/lib/types/struct.rb#13 def inherited(s); end end end @@ -3178,7 +3178,7 @@ class Spoom::LSP::Position < ::T::Struct sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::Position) } def from_json(json); end - # source://sorbet-runtime/0.5.11150/lib/types/struct.rb#13 + # source://sorbet-runtime/0.5.11219/lib/types/struct.rb#13 def inherited(s); end end end @@ -3216,7 +3216,7 @@ class Spoom::LSP::Range < ::T::Struct sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::Range) } def from_json(json); end - # source://sorbet-runtime/0.5.11150/lib/types/struct.rb#13 + # source://sorbet-runtime/0.5.11219/lib/types/struct.rb#13 def inherited(s); end end end @@ -3282,7 +3282,7 @@ class Spoom::LSP::SignatureHelp < ::T::Struct sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::SignatureHelp) } def from_json(json); end - # source://sorbet-runtime/0.5.11150/lib/types/struct.rb#13 + # source://sorbet-runtime/0.5.11219/lib/types/struct.rb#13 def inherited(s); end end end diff --git a/Library/Homebrew/sorbet/rbi/gems/tapioca@0.12.0.rbi b/Library/Homebrew/sorbet/rbi/gems/tapioca@0.12.0.rbi index 37090fb76c..63280ceda9 100644 --- a/Library/Homebrew/sorbet/rbi/gems/tapioca@0.12.0.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/tapioca@0.12.0.rbi @@ -204,7 +204,7 @@ class RBI::TypedParam < ::T::Struct const :type, ::String class << self - # source://sorbet-runtime/0.5.11218/lib/types/struct.rb#13 + # source://sorbet-runtime/0.5.11219/lib/types/struct.rb#13 def inherited(s); end end end @@ -212,8 +212,6 @@ end # source://tapioca//lib/tapioca/sorbet_ext/generic_name_patch.rb#5 module T::Generic include ::Kernel - include ::ActiveSupport::ForkTracker::CoreExt - include ::ActiveSupport::ForkTracker::CoreExtPrivate # source://tapioca//lib/tapioca/sorbet_ext/generic_name_patch.rb#13 def [](*types); end @@ -1123,7 +1121,7 @@ class Tapioca::ConfigHelper::ConfigError < ::T::Struct const :message_parts, T::Array[::Tapioca::ConfigHelper::ConfigErrorMessagePart] class << self - # source://sorbet-runtime/0.5.11218/lib/types/struct.rb#13 + # source://sorbet-runtime/0.5.11219/lib/types/struct.rb#13 def inherited(s); end end end @@ -1134,7 +1132,7 @@ class Tapioca::ConfigHelper::ConfigErrorMessagePart < ::T::Struct const :colors, T::Array[::Symbol] class << self - # source://sorbet-runtime/0.5.11218/lib/types/struct.rb#13 + # source://sorbet-runtime/0.5.11219/lib/types/struct.rb#13 def inherited(s); end end end @@ -2434,7 +2432,7 @@ class Tapioca::Loaders::Loader # @param engine [T.class_of(Rails::Engine)] # @return [Array] # - # source://sorbet-runtime/0.5.11218/lib/types/private/methods/_methods.rb#252 + # source://sorbet-runtime/0.5.11219/lib/types/private/methods/_methods.rb#252 def eager_load_paths(*args, **_arg1, &blk); end # source://tapioca//lib/tapioca/loaders/loader.rb#198 @@ -3342,7 +3340,7 @@ module Tapioca::Static::SymbolLoader # @return [Array] # - # source://sorbet-runtime/0.5.11218/lib/types/private/methods/_methods.rb#252 + # source://sorbet-runtime/0.5.11219/lib/types/private/methods/_methods.rb#252 def engines(*args, **_arg1, &blk); end # source://tapioca//lib/tapioca/static/symbol_loader.rb#82 diff --git a/Library/Homebrew/sorbet/rbi/gems/yard-sorbet@0.8.1.rbi b/Library/Homebrew/sorbet/rbi/gems/yard-sorbet@0.8.1.rbi index d8f5edb877..f511d4ccea 100644 --- a/Library/Homebrew/sorbet/rbi/gems/yard-sorbet@0.8.1.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/yard-sorbet@0.8.1.rbi @@ -381,7 +381,7 @@ class YARDSorbet::TStructProp < ::T::Struct const :types, T::Array[::String] class << self - # source://sorbet-runtime/0.5.11150/lib/types/struct.rb#13 + # source://sorbet-runtime/0.5.11219/lib/types/struct.rb#13 def inherited(s); end end end diff --git a/Library/Homebrew/sorbet/rbi/gems/yard@0.9.34.rbi b/Library/Homebrew/sorbet/rbi/gems/yard@0.9.34.rbi index 19efd11c8e..62cbcec606 100644 --- a/Library/Homebrew/sorbet/rbi/gems/yard@0.9.34.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/yard@0.9.34.rbi @@ -464,7 +464,6 @@ class Module end class Object < ::BasicObject - include ::ActiveSupport::ForkTracker::CoreExt include ::Kernel include ::PP::ObjectMixin diff --git a/Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi b/Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi index a42afe87b8..e0d3e44aed 100644 --- a/Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi +++ b/Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi @@ -11,10 +11,6 @@ class AbstractDownloadStrategy include ::FileUtils::StreamUtils_ end -class ActiveSupport::Deprecation - def self.initialize(*arg, **arg1, &arg2); end -end - class Addrinfo def connect_internal(local_addrinfo, timeout=T.unsafe(nil)); end end @@ -27,8 +23,6 @@ class Array def shelljoin(); end - def to_default_s(); end - def to_h(); end end @@ -79,10 +73,6 @@ class Benchmark::Tms def to_h(); end end -module Benchmark - def self.ms(&block); end -end - class BigDecimal def clone(); end @@ -93,8 +83,6 @@ class BigDecimal def precision_scale(); end def scale(); end - - def to_digits(); end VERSION = ::T.let(nil, ::T.untyped) end @@ -1944,6 +1932,8 @@ class Bundler::Thor::CoreExt::HashWithIndifferentAccess def reverse_merge(other); end + def reverse_merge!(other_hash); end + def values_at(*indices); end end @@ -3473,18 +3463,6 @@ class Class def json_creatable?(); end end -class Complex - def to_d(*args); end -end - -class Concurrent::SerializedExecutionDelegator - RUBYGEMS_ACTIVATION_MONITOR = ::T.let(nil, ::T.untyped) -end - -class Concurrent::SynchronizedDelegator - RUBYGEMS_ACTIVATION_MONITOR = ::T.let(nil, ::T.untyped) -end - module CopHelper def _investigate(cop, processed_source); end @@ -3507,17 +3485,7 @@ module CopHelper end class Date - def compare_without_coercion(arg); end - - def default_inspect(); end - def infinite?(); end - - def minus_without_duration(arg); end - - def plus_without_duration(arg); end - - def to_default_s(); end VERSION = ::T.let(nil, ::T.untyped) end @@ -4131,6 +4099,8 @@ class Etc::Passwd end class Exception + def as_json(*arg); end + def to_json(*args); end end @@ -4193,6 +4163,7 @@ module Fiddle TYPE_INT32_T = ::T.let(nil, ::T.untyped) TYPE_INT64_T = ::T.let(nil, ::T.untyped) TYPE_INT8_T = ::T.let(nil, ::T.untyped) + TYPE_VARIADIC = ::T.let(nil, ::T.untyped) VERSION = ::T.let(nil, ::T.untyped) WINDOWS = ::T.let(nil, ::T.untyped) end @@ -5444,8 +5415,123 @@ class IO def winsize(); end def winsize=(winsize); end + PRIORITY = ::T.let(nil, ::T.untyped) + READABLE = ::T.let(nil, ::T.untyped) + WRITABLE = ::T.let(nil, ::T.untyped) end +class IO::Buffer + include ::Comparable + def clear(*arg); end + + def copy(*arg); end + + def empty?(); end + + def external?(); end + + def free(); end + + def get_string(*arg); end + + def get_value(arg, arg1); end + + def hexdump(); end + + def initialize(*arg); end + + def internal?(); end + + def locked(); end + + def locked?(); end + + def mapped?(); end + + def null?(); end + + def pread(arg, arg1, arg2); end + + def pwrite(arg, arg1, arg2); end + + def read(arg, arg1); end + + def readonly?(); end + + def resize(arg); end + + def set_string(*arg); end + + def set_value(arg, arg1, arg2); end + + def size(); end + + def slice(arg, arg1); end + + def transfer(); end + + def valid?(); end + + def write(arg, arg1); end + BIG_ENDIAN = ::T.let(nil, ::T.untyped) + DEFAULT_SIZE = ::T.let(nil, ::T.untyped) + EXTERNAL = ::T.let(nil, ::T.untyped) + HOST_ENDIAN = ::T.let(nil, ::T.untyped) + INTERNAL = ::T.let(nil, ::T.untyped) + LITTLE_ENDIAN = ::T.let(nil, ::T.untyped) + LOCKED = ::T.let(nil, ::T.untyped) + MAPPED = ::T.let(nil, ::T.untyped) + NETWORK_ENDIAN = ::T.let(nil, ::T.untyped) + PAGE_SIZE = ::T.let(nil, ::T.untyped) + PRIVATE = ::T.let(nil, ::T.untyped) + READONLY = ::T.let(nil, ::T.untyped) +end + +class IO::Buffer::AccessError +end + +class IO::Buffer::AccessError +end + +class IO::Buffer::AllocationError +end + +class IO::Buffer::AllocationError +end + +class IO::Buffer::InvalidatedError +end + +class IO::Buffer::InvalidatedError +end + +class IO::Buffer::LockedError +end + +class IO::Buffer::LockedError +end + +class IO::Buffer + def self.for(arg); end + + def self.map(*arg); end +end + +class IO::ConsoleMode + def echo=(echo); end + + def raw(*arg); end + + def raw!(*arg); end +end + +class IO::ConsoleMode +end + +IO::EWOULDBLOCKWaitReadable = IO::EAGAINWaitReadable + +IO::EWOULDBLOCKWaitWritable = IO::EAGAINWaitWritable + class IO def self.console(*arg); end @@ -5841,8 +5927,6 @@ end module Kernel extend ::Forwardable def self.at_exit(); end - - def self.load(*arg); end end class KeyError @@ -5887,6 +5971,10 @@ class LinuxRunnerSpec def self.inherited(s); end end +class LoadError + include ::DidYouMean::Correctable +end + class Logger def debug!(); end @@ -6015,208 +6103,10 @@ class Method def public?(); end end -module Minitest::Assertions - def assert_mock(mock); end -end - -class Minitest::Expectation - def ctx(); end - - def ctx=(_); end - - def target(); end - - def target=(_); end -end - -class Minitest::Expectation - def self.[](*arg); end - - def self.keyword_init?(); end - - def self.members(); end -end - -module Minitest::Expectations - def must_be(*args, **arg); end - - def must_be_close_to(*args, **arg); end - - def must_be_empty(*args, **arg); end - - def must_be_instance_of(*args, **arg); end - - def must_be_kind_of(*args, **arg); end - - def must_be_nil(*args, **arg); end - - def must_be_same_as(*args, **arg); end - - def must_be_silent(*args, **arg); end - - def must_be_within_delta(*args, **arg); end - - def must_be_within_epsilon(*args, **arg); end - - def must_equal(*args, **arg); end - - def must_include(*args, **arg); end - - def must_match(*args, **arg); end - - def must_output(*args, **arg); end - - def must_pattern_match(*args, **arg); end - - def must_raise(*args, **arg); end - - def must_respond_to(*args, **arg); end - - def must_throw(*args, **arg); end - - def path_must_exist(*args, **arg); end - - def path_wont_exist(*args, **arg); end - - def wont_be(*args, **arg); end - - def wont_be_close_to(*args, **arg); end - - def wont_be_empty(*args, **arg); end - - def wont_be_instance_of(*args, **arg); end - - def wont_be_kind_of(*args, **arg); end - - def wont_be_nil(*args, **arg); end - - def wont_be_same_as(*args, **arg); end - - def wont_be_within_delta(*args, **arg); end - - def wont_be_within_epsilon(*args, **arg); end - - def wont_equal(*args, **arg); end - - def wont_include(*args, **arg); end - - def wont_match(*args, **arg); end - - def wont_pattern_match(*args, **arg); end - - def wont_respond_to(*args, **arg); end -end - -module Minitest::Expectations -end - -class Minitest::Mock - def ===(*args, **kwargs, &b); end - - def __call(name, data); end - - def __respond_to?(*arg); end - - def class(*args, **kwargs, &b); end - - def expect(name, retval, args=T.unsafe(nil), **kwargs, &blk); end - - def initialize(delegator=T.unsafe(nil)); end - - def inspect(*args, **kwargs, &b); end - - def instance_eval(*args, **kwargs, &b); end - - def instance_variables(*args, **kwargs, &b); end - - def method_missing(sym, *args, **kwargs, &block); end - - def object_id(*args, **kwargs, &b); end - - def public_send(*args, **kwargs, &b); end - - def respond_to?(sym, include_private=T.unsafe(nil)); end - - def send(*args, **kwargs, &b); end - - def to_s(*args, **kwargs, &b); end - - def verify(); end -end - -class Minitest::Mock -end - -class Minitest::Spec - include ::Minitest::Spec::DSL::InstanceMethods - TYPES = ::T.let(nil, ::T.untyped) -end - -module Minitest::Spec::DSL - def after(_type=T.unsafe(nil), &block); end - - def before(_type=T.unsafe(nil), &block); end - - def children(); end - - def create(name, desc); end - - def desc(); end - - def describe_stack(); end - - def it(desc=T.unsafe(nil), &block); end - - def let(name, &block); end - - def name(); end - - def nuke_test_methods!(); end - - def register_spec_type(*args, &block); end - - def spec_type(desc, *additional); end - - def specify(desc=T.unsafe(nil), &block); end - - def subject(&block); end - - def to_s(); end - TYPES = ::T.let(nil, ::T.untyped) -end - -module Minitest::Spec::DSL::InstanceMethods - def _(value=T.unsafe(nil), &block); end - - def before_setup(); end - - def expect(value=T.unsafe(nil), &block); end - - def value(value=T.unsafe(nil), &block); end -end - -module Minitest::Spec::DSL::InstanceMethods -end - -module Minitest::Spec::DSL - def self.extended(obj); end -end - -class Minitest::Spec - extend ::Minitest::Spec::DSL - def self.current(); end -end - class Mktemp include ::FileUtils::StreamUtils_ end -class MockExpectationError -end - -class MockExpectationError -end - class Module def context(*a, &b); end @@ -6228,8 +6118,6 @@ class Module def fdescribe(*a, &b); end - def infect_an_assertion(meth, new_name, dont_flip=T.unsafe(nil)); end - def shared_context(name, *args, &block); end def shared_examples(name, *args, &block); end @@ -6279,8 +6167,9 @@ class MonitorMixin::ConditionVariable def initialize(monitor); end end -module Mutex_m - VERSION = ::T.let(nil, ::T.untyped) +class NameError + include ::ErrorHighlight::CoreExt + include ::DidYouMean::Correctable end class Net::BufferedIO @@ -6324,8 +6213,6 @@ class Net::HTTP VERSION = ::T.let(nil, ::T.untyped) end -Net::HTTP::ProxyMod = Net::HTTP::ProxyDelta - class Net::HTTPAlreadyReported HAS_BODY = ::T.let(nil, ::T.untyped) end @@ -6346,13 +6233,9 @@ end Net::HTTPFatalErrorCode = Net::HTTPClientError -class Net::HTTPInformation -end +Net::HTTPInformation::EXCEPTION_TYPE = Net::HTTPError -Net::HTTPInformationCode::EXCEPTION_TYPE = Net::HTTPError - -class Net::HTTPInformation -end +Net::HTTPInformationCode = Net::HTTPInformation class Net::HTTPLoopDetected HAS_BODY = ::T.let(nil, ::T.untyped) @@ -6400,8 +6283,6 @@ end class Net::HTTPRangeNotSatisfiable end -Net::HTTPRedirection::EXCEPTION_TYPE = Net::HTTPRetriableError - Net::HTTPRedirectionCode = Net::HTTPRedirection Net::HTTPRequestURITooLarge = Net::HTTPURITooLong @@ -6432,9 +6313,13 @@ Net::HTTPServerErrorCode = Net::HTTPServerError Net::HTTPSession = Net::HTTP -Net::HTTPSuccess::EXCEPTION_TYPE = Net::HTTPError +class Net::HTTPSuccess +end -Net::HTTPSuccessCode = Net::HTTPSuccess +Net::HTTPSuccessCode::EXCEPTION_TYPE = Net::HTTPError + +class Net::HTTPSuccess +end class Net::HTTPURITooLong HAS_BODY = ::T.let(nil, ::T.untyped) @@ -6476,7 +6361,6 @@ end class NilClass include ::JSON::Ext::Generator::GeneratorMethods::NilClass - def to_d(); end end class NoMatchingPatternKeyError @@ -6525,14 +6409,11 @@ end class Object include ::JSON::Ext::Generator::GeneratorMethods::Object - include ::Minitest::Expectations include ::SystemCommand::Mixin def __send(*arg); end def __send!(*arg); end - def stub(name, val_or_callable, *block_args, **block_kwargs, &block); end - def to_yaml(options=T.unsafe(nil)); end ARGF = ::T.let(nil, ::T.untyped) ARGV = ::T.let(nil, ::T.untyped) @@ -6686,7 +6567,6 @@ class OpenSSL::BN end module OpenSSL::Buffering - include ::ActiveSupport::ToJsonWithActiveSupportEncoder def getbyte(); end end @@ -8021,7 +7901,9 @@ module RSpec::Core::HashImitatable def compact_blank(*args, &block); end - def compact_blank!(*args, &block); end + def deep_merge(*args, &block); end + + def deep_merge!(*args, &block); end def deep_stringify_keys(*args, &block); end @@ -8041,39 +7923,9 @@ module RSpec::Core::HashImitatable def exclude?(*args, &block); end - def excluding(*args, &block); end - - def extractable_options?(*args, &block); end - - def including(*args, &block); end - - def index_by(*args, &block); end - - def index_with(*args, &block); end - - def many?(*args, &block); end - - def pick(*args, &block); end - - def pluck(*args, &block); end - def save_plist(*args, &block); end - def stringify_keys(*args, &block); end - - def stringify_keys!(*args, &block); end - - def symbolize_keys(*args, &block); end - - def symbolize_keys!(*args, &block); end - - def to_options(*args, &block); end - - def to_options!(*args, &block); end - def to_plist(*args, &block); end - - def without(*args, &block); end end module RSpec::Core::MockingAdapters @@ -8100,8 +7952,6 @@ module RSpec::Core::MockingAdapters end class RSpec::Core::OutputWrapper - def as_json(*args, &block); end - def readline_nonblock(*args, &block); end end @@ -8219,6 +8069,12 @@ module Reline VERSION = ::T.let(nil, ::T.untyped) end +class Reline::ANSI + CAPNAME_KEY_BINDINGS = ::T.let(nil, ::T.untyped) + END_BRACKETED_PASTE = ::T.let(nil, ::T.untyped) + START_BRACKETED_PASTE = ::T.let(nil, ::T.untyped) +end + class Reline::Config KEYSEQ_PATTERN = ::T.let(nil, ::T.untyped) VARIABLE_NAMES = ::T.let(nil, ::T.untyped) @@ -8229,7 +8085,7 @@ class Reline::Core ATTR_READER_NAMES = ::T.let(nil, ::T.untyped) end -Reline::IOGate = Reline::GeneralIO +Reline::IOGate = Reline::ANSI Reline::Key = Struct::Key @@ -8990,47 +8846,21 @@ end module RuboCop::AST::CollectionNode def compact_blank(*args, **arg, &block); end - def compact_blank!(*args, **arg, &block); end - def exclude?(*args, **arg, &block); end - def excluding(*args, **arg, &block); end - - def extract_options!(*args, **arg, &block); end - def fifth(*args, **arg, &block); end def fourth(*args, **arg, &block); end - def including(*args, **arg, &block); end - - def index_by(*args, **arg, &block); end - - def index_with(*args, **arg, &block); end - - def many?(*args, **arg, &block); end - - def pick(*args, **arg, &block); end - - def pluck(*args, **arg, &block); end - def save_plist(*args, **arg, &block); end def second(*args, **arg, &block); end def third(*args, **arg, &block); end - def to_default_s(*args, **arg, &block); end - - def to_formatted_s(*args, **arg, &block); end - def to_plist(*args, **arg, &block); end def to_sentence(*args, **arg, &block); end - - def to_xml(*args, **arg, &block); end - - def without(*args, **arg, &block); end end class RuboCop::AST::Node @@ -9058,16 +8888,12 @@ module RuboCop::AST::NodePattern::Sets SET_BASH_COMPLETION_ZSH_COMPLETION_FISH_COMPLETION = ::T.let(nil, ::T.untyped) SET_BUILD_RECOMMENDED_TEST_OPTIONAL = ::T.let(nil, ::T.untyped) SET_DEPENDS_ON_USES_FROM_MACOS = ::T.let(nil, ::T.untyped) - SET_HTML_HTML5 = ::T.let(nil, ::T.untyped) SET_INCLUDE_WITH_WITHOUT = ::T.let(nil, ::T.untyped) SET_MAC_LINUX = ::T.let(nil, ::T.untyped) - SET_MATCH_MATCH_ = ::T.let(nil, ::T.untyped) SET_ON_ARM_ON_INTEL_ON_SONOMA_ETC = ::T.let(nil, ::T.untyped) SET_ON_INTEL_ON_ARM = ::T.let(nil, ::T.untyped) SET_OR_NEWER_OR_OLDER = ::T.let(nil, ::T.untyped) - SET_SEND___SEND__ = ::T.let(nil, ::T.untyped) SET_SYSTEM_SHELL_OUTPUT_PIPE_OUTPUT = ::T.let(nil, ::T.untyped) - SET_TEXT_EXACT_TEXT = ::T.let(nil, ::T.untyped) SET_WITH_WITHOUT = ::T.let(nil, ::T.untyped) SET____ETC_5 = ::T.let(nil, ::T.untyped) end @@ -9355,10 +9181,38 @@ module RuboCop::Cop::HelperFunctions extend ::T::Private::Methods::SingletonMethodHooks end +class RuboCop::Cop::Homebrew::Blank + def nil_or_empty?(param0=T.unsafe(nil)); end +end + +class RuboCop::Cop::Homebrew::CompactBlank + def reject_with_block?(param0=T.unsafe(nil)); end + + def reject_with_block_pass?(param0=T.unsafe(nil)); end +end + class RuboCop::Cop::Homebrew::MoveToExtendOS def os_check?(param0=T.unsafe(nil)); end end +class RuboCop::Cop::Homebrew::NegateInclude + def negate_include_call?(param0=T.unsafe(nil)); end +end + +class RuboCop::Cop::Homebrew::Presence + def redundant_negative_receiver_and_other(param0=T.unsafe(nil)); end + + def redundant_receiver_and_other(param0=T.unsafe(nil)); end +end + +class RuboCop::Cop::Homebrew::Present + def exists_and_not_empty?(param0=T.unsafe(nil)); end +end + +class RuboCop::Cop::Homebrew::SafeNavigationWithBlank + def safe_navigation_blank_in_conditional?(param0=T.unsafe(nil)); end +end + module RuboCop::Cop::OnSystemConditionalsHelper def hardware_cpu_search(param0, method:); end @@ -9506,21 +9360,6 @@ module RubyVM::MJIT def self.resume(); end end -module RubyVM::YJIT -end - -module RubyVM::YJIT - def self.enabled?(); end - - def self.reset_stats!(); end - - def self.runtime_stats(); end - - def self.simulate_oom!(); end - - def self.stats_enabled?(); end -end - class RubyVM def self.keep_script_lines(); end @@ -9602,6 +9441,7 @@ class Socket AF_PUP = ::T.let(nil, ::T.untyped) AF_SIP = ::T.let(nil, ::T.untyped) AF_SYSTEM = ::T.let(nil, ::T.untyped) + AF_VSOCK = ::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) @@ -9624,6 +9464,7 @@ class Socket 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) @@ -9658,6 +9499,7 @@ class Socket PF_RTIP = ::T.let(nil, ::T.untyped) PF_SIP = ::T.let(nil, ::T.untyped) PF_SYSTEM = ::T.let(nil, ::T.untyped) + PF_VSOCK = ::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) @@ -9695,6 +9537,7 @@ module Socket::Constants AF_PUP = ::T.let(nil, ::T.untyped) AF_SIP = ::T.let(nil, ::T.untyped) AF_SYSTEM = ::T.let(nil, ::T.untyped) + AF_VSOCK = ::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) @@ -9717,6 +9560,7 @@ module Socket::Constants 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) @@ -9751,6 +9595,7 @@ module Socket::Constants PF_RTIP = ::T.let(nil, ::T.untyped) PF_SIP = ::T.let(nil, ::T.untyped) PF_SYSTEM = ::T.let(nil, ::T.untyped) + PF_VSOCK = ::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) @@ -9871,16 +9716,12 @@ end class String include ::JSON::Ext::Generator::GeneratorMethods::String - def ends_with?(*arg); end - def fast_xs(); end def shellescape(); end def shellsplit(); end - def starts_with?(*arg); end - def to_nfc(); end def to_nfd(); end @@ -9931,10 +9772,6 @@ module Superenv end class Symbol - def ends_with?(*arg); end - - def starts_with?(*arg); end - def to_msgpack_ext(); end end @@ -9972,22 +9809,6 @@ class Thread def self.new(*arg); end end -class Time - def compare_without_coercion(arg); end - - def eql_without_coercion(arg); end - - def minus_without_duration(arg); end - - def plus_without_duration(arg); end - - def to_default_s(); end -end - -class Time - def self.at_without_coercion(time, subsec=T.unsafe(nil), unit=T.unsafe(nil), in: T.unsafe(nil)); end -end - module Timeout VERSION = ::T.let(nil, ::T.untyped) end @@ -10238,12 +10059,6 @@ class Version::Token extend ::T::Private::Abstract::Hooks end -class WeakRef - def initialize(orig); end - RUBYGEMS_ACTIVATION_MONITOR = ::T.let(nil, ::T.untyped) - VERSION = ::T.let(nil, ::T.untyped) -end - module YARDSorbet::Directives extend ::T::Private::Methods::MethodHooks extend ::T::Private::Methods::SingletonMethodHooks