From 32901b71f551478226acf571f77ba6ad59ab461b Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Thu, 3 Dec 2020 06:30:38 +0000 Subject: [PATCH] Update RBI files for rubocop-rspec. --- ...op-ast@1.2.0.rbi => rubocop-ast@1.3.0.rbi} | 44 ++++++++++++ ...spec@2.0.0.rbi => rubocop-rspec@2.0.1.rbi} | 51 +++++++++++++ .../sorbet/rbi/hidden-definitions/hidden.rbi | 71 ------------------- 3 files changed, 95 insertions(+), 71 deletions(-) rename Library/Homebrew/sorbet/rbi/gems/{rubocop-ast@1.2.0.rbi => rubocop-ast@1.3.0.rbi} (96%) rename Library/Homebrew/sorbet/rbi/gems/{rubocop-rspec@2.0.0.rbi => rubocop-rspec@2.0.1.rbi} (97%) diff --git a/Library/Homebrew/sorbet/rbi/gems/rubocop-ast@1.2.0.rbi b/Library/Homebrew/sorbet/rbi/gems/rubocop-ast@1.3.0.rbi similarity index 96% rename from Library/Homebrew/sorbet/rbi/gems/rubocop-ast@1.2.0.rbi rename to Library/Homebrew/sorbet/rbi/gems/rubocop-ast@1.3.0.rbi index 72a4499850..9dca6681cd 100644 --- a/Library/Homebrew/sorbet/rbi/gems/rubocop-ast@1.2.0.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/rubocop-ast@1.3.0.rbi @@ -1116,6 +1116,8 @@ RuboCop::AST::NodePattern::LexerRex::IDENTIFIER = T.let(T.unsafe(nil), Regexp) class RuboCop::AST::NodePattern::LexerRex::LexerError < ::StandardError end +RuboCop::AST::NodePattern::LexerRex::NODE_TYPE = T.let(T.unsafe(nil), Regexp) + RuboCop::AST::NodePattern::LexerRex::REGEXP = T.let(T.unsafe(nil), Regexp) RuboCop::AST::NodePattern::LexerRex::REGEXP_BODY = T.let(T.unsafe(nil), Regexp) @@ -1350,6 +1352,8 @@ RuboCop::AST::NodePattern::Sets::SET_ABSTRACT_OVERRIDE_OVERRIDABLE_ETC = T.let(T RuboCop::AST::NodePattern::Sets::SET_ADD_DEPENDENCY_ADD_RUNTIME_DEPENDENCY_ADD_DEVELOPMENT_DEPENDENCY = T.let(T.unsafe(nil), Set) +RuboCop::AST::NodePattern::Sets::SET_AFTER_ACTION_APPEND_AFTER_ACTION_APPEND_AROUND_ACTION_ETC = T.let(T.unsafe(nil), Set) + RuboCop::AST::NodePattern::Sets::SET_ALL_CONTEXT = T.let(T.unsafe(nil), Set) RuboCop::AST::NodePattern::Sets::SET_AND_RETURN_AND_RAISE_AND_THROW_ETC = T.let(T.unsafe(nil), Set) @@ -1358,6 +1362,8 @@ RuboCop::AST::NodePattern::Sets::SET_ANY_ALL_NORETURN_ETC = T.let(T.unsafe(nil), RuboCop::AST::NodePattern::Sets::SET_ANY_INSTANCE_ALLOW_ANY_INSTANCE_OF_EXPECT_ANY_INSTANCE_OF = T.let(T.unsafe(nil), Set) +RuboCop::AST::NodePattern::Sets::SET_AP_P_PP_ETC = T.let(T.unsafe(nil), Set) + RuboCop::AST::NodePattern::Sets::SET_ATTR_READER_ATTR_WRITER_ATTR_ACCESSOR = T.let(T.unsafe(nil), Set) RuboCop::AST::NodePattern::Sets::SET_ATTR_READER_ATTR_WRITER_ATTR_ACCESSOR_ATTR = T.let(T.unsafe(nil), Set) @@ -1366,10 +1372,14 @@ RuboCop::AST::NodePattern::Sets::SET_BACKGROUND_SCENARIO_XSCENARIO_ETC = T.let(T RuboCop::AST::NodePattern::Sets::SET_BEFORE_AFTER = T.let(T.unsafe(nil), Set) +RuboCop::AST::NodePattern::Sets::SET_BELONGS_TO_HAS_ONE_HAS_MANY_HAS_AND_BELONGS_TO_MANY = T.let(T.unsafe(nil), Set) + RuboCop::AST::NodePattern::Sets::SET_BE_EQ_EQL_EQUAL = T.let(T.unsafe(nil), Set) RuboCop::AST::NodePattern::Sets::SET_BE_TRUTHY_BE_FALSEY_BE_FALSY_ETC = T.let(T.unsafe(nil), Set) +RuboCop::AST::NodePattern::Sets::SET_BINWRITE_SYSWRITE_WRITE_WRITE_NONBLOCK = T.let(T.unsafe(nil), Set) + RuboCop::AST::NodePattern::Sets::SET_CALLER_CALLER_LOCATIONS = T.let(T.unsafe(nil), Set) RuboCop::AST::NodePattern::Sets::SET_CALL_RUN = T.let(T.unsafe(nil), Set) @@ -1392,6 +1402,10 @@ RuboCop::AST::NodePattern::Sets::SET_CONTEXT_SHARED_CONTEXT = T.let(T.unsafe(nil RuboCop::AST::NodePattern::Sets::SET_COUNT_LENGTH_SIZE = T.let(T.unsafe(nil), Set) +RuboCop::AST::NodePattern::Sets::SET_CREATED_AT_UPDATED_AT = T.let(T.unsafe(nil), Set) + +RuboCop::AST::NodePattern::Sets::SET_CREATED_AT_UPDATED_AT_2 = T.let(T.unsafe(nil), Set) + RuboCop::AST::NodePattern::Sets::SET_DEFINE_METHOD_DEFINE_SINGLETON_METHOD = T.let(T.unsafe(nil), Set) RuboCop::AST::NodePattern::Sets::SET_DESCRIBE_FEATURE = T.let(T.unsafe(nil), Set) @@ -1412,12 +1426,16 @@ RuboCop::AST::NodePattern::Sets::SET_ESCAPE_ENCODE_UNESCAPE_DECODE = T.let(T.uns RuboCop::AST::NodePattern::Sets::SET_EXACTLY_AT_LEAST_AT_MOST = T.let(T.unsafe(nil), Set) +RuboCop::AST::NodePattern::Sets::SET_EXECUTE_REMOVE_BELONGS_TO = T.let(T.unsafe(nil), Set) + RuboCop::AST::NodePattern::Sets::SET_EXPECT_ALLOW = T.let(T.unsafe(nil), Set) RuboCop::AST::NodePattern::Sets::SET_FACTORYGIRL_FACTORYBOT = T.let(T.unsafe(nil), Set) RuboCop::AST::NodePattern::Sets::SET_FIRST_LAST__ETC = T.let(T.unsafe(nil), Set) +RuboCop::AST::NodePattern::Sets::SET_FIRST_TAKE = T.let(T.unsafe(nil), Set) + RuboCop::AST::NodePattern::Sets::SET_FIXNUM_BIGNUM = T.let(T.unsafe(nil), Set) RuboCop::AST::NodePattern::Sets::SET_FLATTEN_FLATTEN = T.let(T.unsafe(nil), Set) @@ -1426,14 +1444,22 @@ RuboCop::AST::NodePattern::Sets::SET_FORMAT_SPRINTF_PRINTF = T.let(T.unsafe(nil) RuboCop::AST::NodePattern::Sets::SET_GEMCUTTER_RUBYGEMS_RUBYFORGE = T.let(T.unsafe(nil), Set) +RuboCop::AST::NodePattern::Sets::SET_GET_POST_PUT_ETC = T.let(T.unsafe(nil), Set) + RuboCop::AST::NodePattern::Sets::SET_GSUB_GSUB = T.let(T.unsafe(nil), Set) RuboCop::AST::NodePattern::Sets::SET_GSUB_GSUB_SUB_SUB = T.let(T.unsafe(nil), Set) +RuboCop::AST::NodePattern::Sets::SET_HAS_MANY_HAS_ONE = T.let(T.unsafe(nil), Set) + +RuboCop::AST::NodePattern::Sets::SET_HAS_MANY_HAS_ONE_BELONGS_TO = T.let(T.unsafe(nil), Set) + RuboCop::AST::NodePattern::Sets::SET_INCLUDE_EXTEND_PREPEND = T.let(T.unsafe(nil), Set) RuboCop::AST::NodePattern::Sets::SET_INCLUDE_MEMBER = T.let(T.unsafe(nil), Set) +RuboCop::AST::NodePattern::Sets::SET_INSERT_INSERT = T.let(T.unsafe(nil), Set) + RuboCop::AST::NodePattern::Sets::SET_INSTANCE_EVAL_CLASS_EVAL_MODULE_EVAL = T.let(T.unsafe(nil), Set) RuboCop::AST::NodePattern::Sets::SET_INSTANCE_EXEC_CLASS_EXEC_MODULE_EXEC = T.let(T.unsafe(nil), Set) @@ -1464,6 +1490,8 @@ RuboCop::AST::NodePattern::Sets::SET_NEW_OPEN = T.let(T.unsafe(nil), Set) RuboCop::AST::NodePattern::Sets::SET_NIL_ = T.let(T.unsafe(nil), Set) +RuboCop::AST::NodePattern::Sets::SET_ONLY_EXCEPT = T.let(T.unsafe(nil), Set) + RuboCop::AST::NodePattern::Sets::SET_PIPELINE_PIPELINE_R_PIPELINE_RW_ETC = T.let(T.unsafe(nil), Set) RuboCop::AST::NodePattern::Sets::SET_PRIVATE_PROTECTED = T.let(T.unsafe(nil), Set) @@ -1494,10 +1522,16 @@ RuboCop::AST::NodePattern::Sets::SET_RECEIVE_RECEIVE_MESSAGE_CHAIN = T.let(T.uns RuboCop::AST::NodePattern::Sets::SET_REDUCE_INJECT = T.let(T.unsafe(nil), Set) +RuboCop::AST::NodePattern::Sets::SET_REFERER_REFERRER = T.let(T.unsafe(nil), Set) + RuboCop::AST::NodePattern::Sets::SET_REJECT_REJECT = T.let(T.unsafe(nil), Set) +RuboCop::AST::NodePattern::Sets::SET_RENDER_REDIRECT_TO = T.let(T.unsafe(nil), Set) + RuboCop::AST::NodePattern::Sets::SET_REQUIRE_REQUIRE_RELATIVE = T.let(T.unsafe(nil), Set) +RuboCop::AST::NodePattern::Sets::SET_RETURNING_UNIQUE_BY = T.let(T.unsafe(nil), Set) + RuboCop::AST::NodePattern::Sets::SET_SELECT_FILTER_FIND_ALL_REJECT = T.let(T.unsafe(nil), Set) RuboCop::AST::NodePattern::Sets::SET_SELECT_SELECT = T.let(T.unsafe(nil), Set) @@ -1506,6 +1540,10 @@ RuboCop::AST::NodePattern::Sets::SET_SEND_PUBLIC_SEND___SEND__ = T.let(T.unsafe( RuboCop::AST::NodePattern::Sets::SET_SHOULD_SHOULD_NOT = T.let(T.unsafe(nil), Set) +RuboCop::AST::NodePattern::Sets::SET_SINCE_FROM_NOW_AFTER_ETC = T.let(T.unsafe(nil), Set) + +RuboCop::AST::NodePattern::Sets::SET_SKIP_AFTER_ACTION_SKIP_AROUND_ACTION_SKIP_BEFORE_ACTION_SKIP_ACTION_CALLBACK = T.let(T.unsafe(nil), Set) + RuboCop::AST::NodePattern::Sets::SET_SKIP_PENDING = T.let(T.unsafe(nil), Set) RuboCop::AST::NodePattern::Sets::SET_SORT_BY_SORT = T.let(T.unsafe(nil), Set) @@ -1530,10 +1568,16 @@ RuboCop::AST::NodePattern::Sets::SET_TO_ENUM_ENUM_FOR = T.let(T.unsafe(nil), Set RuboCop::AST::NodePattern::Sets::SET_TO_I_TO_F_TO_C = T.let(T.unsafe(nil), Set) +RuboCop::AST::NodePattern::Sets::SET_TRANSLATE_LOCALIZE = T.let(T.unsafe(nil), Set) + RuboCop::AST::NodePattern::Sets::SET_TRUE_FALSE = T.let(T.unsafe(nil), Set) +RuboCop::AST::NodePattern::Sets::SET_TRY_TRY = T.let(T.unsafe(nil), Set) + RuboCop::AST::NodePattern::Sets::SET_TYPE_TEMPLATE_TYPE_MEMBER = T.let(T.unsafe(nil), Set) +RuboCop::AST::NodePattern::Sets::SET_UNIQ_DISTINCT = T.let(T.unsafe(nil), Set) + RuboCop::AST::NodePattern::Sets::SET_ZERO_POSITIVE_NEGATIVE = T.let(T.unsafe(nil), Set) RuboCop::AST::NodePattern::Sets::SET__ = T.let(T.unsafe(nil), Set) diff --git a/Library/Homebrew/sorbet/rbi/gems/rubocop-rspec@2.0.0.rbi b/Library/Homebrew/sorbet/rbi/gems/rubocop-rspec@2.0.1.rbi similarity index 97% rename from Library/Homebrew/sorbet/rbi/gems/rubocop-rspec@2.0.0.rbi rename to Library/Homebrew/sorbet/rbi/gems/rubocop-rspec@2.0.1.rbi index ccfba8e7f9..dccdfae6de 100644 --- a/Library/Homebrew/sorbet/rbi/gems/rubocop-rspec@2.0.0.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/rubocop-rspec@2.0.1.rbi @@ -1112,6 +1112,57 @@ class RuboCop::Cop::RSpec::PredicateMatcher < ::RuboCop::Cop::RSpec::Base def block_loc(send_node); end end +module RuboCop::Cop::RSpec::Rails +end + +class RuboCop::Cop::RSpec::Rails::HttpStatus < ::RuboCop::Cop::RSpec::Base + include(::RuboCop::Cop::ConfigurableEnforcedStyle) + extend(::RuboCop::Cop::AutoCorrector) + + def http_status(param0 = T.unsafe(nil)); end + def on_send(node); end + + private + + def checker_class; end +end + +class RuboCop::Cop::RSpec::Rails::HttpStatus::NumericStyleChecker + def initialize(node); end + + def message; end + def node; end + def offensive?; end + def preferred_style; end + + private + + def allowed_symbol?; end + def number; end + def symbol; end +end + +RuboCop::Cop::RSpec::Rails::HttpStatus::NumericStyleChecker::ALLOWED_STATUSES = T.let(T.unsafe(nil), Array) + +RuboCop::Cop::RSpec::Rails::HttpStatus::NumericStyleChecker::MSG = T.let(T.unsafe(nil), String) + +class RuboCop::Cop::RSpec::Rails::HttpStatus::SymbolicStyleChecker + def initialize(node); end + + def message; end + def node; end + def offensive?; end + def preferred_style; end + + private + + def custom_http_status_code?; end + def number; end + def symbol; end +end + +RuboCop::Cop::RSpec::Rails::HttpStatus::SymbolicStyleChecker::MSG = T.let(T.unsafe(nil), String) + class RuboCop::Cop::RSpec::ReceiveCounts < ::RuboCop::Cop::RSpec::Base extend(::RuboCop::Cop::AutoCorrector) diff --git a/Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi b/Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi index decbac3f71..33d50c97d9 100644 --- a/Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi +++ b/Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi @@ -28085,31 +28085,10 @@ class RuboCop::AST::NodePattern::Parser end module RuboCop::AST::NodePattern::Sets - SET_AFTER_ACTION_APPEND_AFTER_ACTION_APPEND_AROUND_ACTION_ETC = ::T.let(nil, ::T.untyped) - SET_AP_P_PP_ETC = ::T.let(nil, ::T.untyped) - SET_BELONGS_TO_HAS_ONE_HAS_MANY_HAS_AND_BELONGS_TO_MANY = ::T.let(nil, ::T.untyped) - SET_BINWRITE_SYSWRITE_WRITE_WRITE_NONBLOCK = ::T.let(nil, ::T.untyped) SET_BUILD_RECOMMENDED_TEST_OPTIONAL = ::T.let(nil, ::T.untyped) - SET_CREATED_AT_UPDATED_AT = ::T.let(nil, ::T.untyped) - SET_CREATED_AT_UPDATED_AT_2 = ::T.let(nil, ::T.untyped) SET_DEPENDS_ON_USES_FROM_MACOS = ::T.let(nil, ::T.untyped) - SET_EXECUTE_REMOVE_BELONGS_TO = ::T.let(nil, ::T.untyped) - SET_FIRST_TAKE = ::T.let(nil, ::T.untyped) - SET_GET_POST_PUT_ETC = ::T.let(nil, ::T.untyped) - SET_HAS_MANY_HAS_ONE = ::T.let(nil, ::T.untyped) - SET_HAS_MANY_HAS_ONE_BELONGS_TO = ::T.let(nil, ::T.untyped) SET_INCLUDE_WITH_WITHOUT = ::T.let(nil, ::T.untyped) - SET_INSERT_INSERT = ::T.let(nil, ::T.untyped) - SET_ONLY_EXCEPT = ::T.let(nil, ::T.untyped) - SET_REFERER_REFERRER = ::T.let(nil, ::T.untyped) - SET_RENDER_REDIRECT_TO = ::T.let(nil, ::T.untyped) - SET_RETURNING_UNIQUE_BY = ::T.let(nil, ::T.untyped) - SET_SINCE_FROM_NOW_AFTER_ETC = ::T.let(nil, ::T.untyped) - SET_SKIP_AFTER_ACTION_SKIP_AROUND_ACTION_SKIP_BEFORE_ACTION_SKIP_ACTION_CALLBACK = ::T.let(nil, ::T.untyped) SET_SYSTEM_SHELL_OUTPUT_PIPE_OUTPUT = ::T.let(nil, ::T.untyped) - SET_TRANSLATE_LOCALIZE = ::T.let(nil, ::T.untyped) - SET_TRY_TRY = ::T.let(nil, ::T.untyped) - SET_UNIQ_DISTINCT = ::T.let(nil, ::T.untyped) SET_WITH_WITHOUT = ::T.let(nil, ::T.untyped) end @@ -28309,56 +28288,6 @@ class RuboCop::Cop::FormulaCop def required_dependency_name?(param0, param1); end end -module RuboCop::Cop::RSpec::Rails -end - -class RuboCop::Cop::RSpec::Rails::HttpStatus - include ::RuboCop::Cop::ConfigurableEnforcedStyle - def http_status(param0=T.unsafe(nil)); end - - def on_send(node); end -end - -class RuboCop::Cop::RSpec::Rails::HttpStatus::NumericStyleChecker - def initialize(node); end - - def message(); end - - def node(); end - - def offensive?(); end - - def preferred_style(); end - ALLOWED_STATUSES = ::T.let(nil, ::T.untyped) - MSG = ::T.let(nil, ::T.untyped) -end - -class RuboCop::Cop::RSpec::Rails::HttpStatus::NumericStyleChecker -end - -class RuboCop::Cop::RSpec::Rails::HttpStatus::SymbolicStyleChecker - def initialize(node); end - - def message(); end - - def node(); end - - def offensive?(); end - - def preferred_style(); end - MSG = ::T.let(nil, ::T.untyped) -end - -class RuboCop::Cop::RSpec::Rails::HttpStatus::SymbolicStyleChecker -end - -class RuboCop::Cop::RSpec::Rails::HttpStatus - extend ::RuboCop::Cop::AutoCorrector -end - -module RuboCop::Cop::RSpec::Rails -end - module RuboCop::RSpec::ExpectOffense def expect_correction(correction, loop: T.unsafe(nil)); end