Update RBI files for rubocop.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
This commit is contained in:
parent
a441999ea3
commit
6c39dad788
@ -64,6 +64,7 @@ class RuboCop::CLI::Command::AutoGenerateConfig < ::RuboCop::CLI::Command::Base
|
|||||||
def max_line_length(config); end
|
def max_line_length(config); end
|
||||||
def maybe_run_line_length_cop; end
|
def maybe_run_line_length_cop; end
|
||||||
def options_config_in_root?; end
|
def options_config_in_root?; end
|
||||||
|
def options_has_only_flag?; end
|
||||||
def relative_path_to_todo_from_options_config; end
|
def relative_path_to_todo_from_options_config; end
|
||||||
def reset_config_and_auto_gen_file; end
|
def reset_config_and_auto_gen_file; end
|
||||||
def run_all_cops(line_length_contents); end
|
def run_all_cops(line_length_contents); end
|
||||||
@ -77,6 +78,7 @@ RuboCop::CLI::Command::AutoGenerateConfig::AUTO_GENERATED_FILE = T.let(T.unsafe(
|
|||||||
RuboCop::CLI::Command::AutoGenerateConfig::PHASE_1 = T.let(T.unsafe(nil), String)
|
RuboCop::CLI::Command::AutoGenerateConfig::PHASE_1 = T.let(T.unsafe(nil), String)
|
||||||
RuboCop::CLI::Command::AutoGenerateConfig::PHASE_1_DISABLED = T.let(T.unsafe(nil), String)
|
RuboCop::CLI::Command::AutoGenerateConfig::PHASE_1_DISABLED = T.let(T.unsafe(nil), String)
|
||||||
RuboCop::CLI::Command::AutoGenerateConfig::PHASE_1_OVERRIDDEN = T.let(T.unsafe(nil), String)
|
RuboCop::CLI::Command::AutoGenerateConfig::PHASE_1_OVERRIDDEN = T.let(T.unsafe(nil), String)
|
||||||
|
RuboCop::CLI::Command::AutoGenerateConfig::PHASE_1_SKIPPED = T.let(T.unsafe(nil), String)
|
||||||
RuboCop::CLI::Command::AutoGenerateConfig::PHASE_2 = T.let(T.unsafe(nil), String)
|
RuboCop::CLI::Command::AutoGenerateConfig::PHASE_2 = T.let(T.unsafe(nil), String)
|
||||||
RuboCop::CLI::Command::AutoGenerateConfig::YAML_OPTIONAL_DOC_START = T.let(T.unsafe(nil), Regexp)
|
RuboCop::CLI::Command::AutoGenerateConfig::YAML_OPTIONAL_DOC_START = T.let(T.unsafe(nil), Regexp)
|
||||||
|
|
||||||
@ -242,6 +244,8 @@ end
|
|||||||
RuboCop::CommentConfig::CONFIG_DISABLED_LINE_RANGE_MIN = T.let(T.unsafe(nil), Float)
|
RuboCop::CommentConfig::CONFIG_DISABLED_LINE_RANGE_MIN = T.let(T.unsafe(nil), Float)
|
||||||
|
|
||||||
class RuboCop::CommentConfig::ConfigDisabledCopDirectiveComment
|
class RuboCop::CommentConfig::ConfigDisabledCopDirectiveComment
|
||||||
|
include ::RuboCop::Ext::Comment
|
||||||
|
|
||||||
def initialize(cop_name); end
|
def initialize(cop_name); end
|
||||||
|
|
||||||
def line_number; end
|
def line_number; end
|
||||||
@ -5208,8 +5212,11 @@ class RuboCop::Cop::Lint::LiteralInInterpolation < ::RuboCop::Cop::Base
|
|||||||
|
|
||||||
def autocorrected_value(node); end
|
def autocorrected_value(node); end
|
||||||
def autocorrected_value_for_array(node); end
|
def autocorrected_value_for_array(node); end
|
||||||
|
def autocorrected_value_for_hash(node); end
|
||||||
def autocorrected_value_for_string(node); end
|
def autocorrected_value_for_string(node); end
|
||||||
def autocorrected_value_for_symbol(node); end
|
def autocorrected_value_for_symbol(node); end
|
||||||
|
def autocorrected_value_in_hash(node); end
|
||||||
|
def autocorrected_value_in_hash_for_symbol(node); end
|
||||||
def ends_heredoc_line?(node); end
|
def ends_heredoc_line?(node); end
|
||||||
def in_array_percent_literal?(node); end
|
def in_array_percent_literal?(node); end
|
||||||
def offending?(node); end
|
def offending?(node); end
|
||||||
@ -5254,6 +5261,7 @@ RuboCop::Cop::Lint::MissingCopEnableDirective::MSG = T.let(T.unsafe(nil), String
|
|||||||
RuboCop::Cop::Lint::MissingCopEnableDirective::MSG_BOUND = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::Lint::MissingCopEnableDirective::MSG_BOUND = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
class RuboCop::Cop::Lint::MissingSuper < ::RuboCop::Cop::Base
|
class RuboCop::Cop::Lint::MissingSuper < ::RuboCop::Cop::Base
|
||||||
|
def class_new_block(param0 = T.unsafe(nil)); end
|
||||||
def on_def(node); end
|
def on_def(node); end
|
||||||
def on_defs(node); end
|
def on_defs(node); end
|
||||||
|
|
||||||
@ -6616,6 +6624,20 @@ class RuboCop::Cop::Metrics::ClassLength < ::RuboCop::Cop::Base
|
|||||||
def message(length, max_length); end
|
def message(length, max_length); end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class RuboCop::Cop::Metrics::CollectionLiteralLength < ::RuboCop::Cop::Base
|
||||||
|
def on_array(node); end
|
||||||
|
def on_hash(node); end
|
||||||
|
def on_index(node); end
|
||||||
|
def on_send(node); end
|
||||||
|
|
||||||
|
private
|
||||||
|
|
||||||
|
def collection_threshold; end
|
||||||
|
end
|
||||||
|
|
||||||
|
RuboCop::Cop::Metrics::CollectionLiteralLength::MSG = T.let(T.unsafe(nil), String)
|
||||||
|
RuboCop::Cop::Metrics::CollectionLiteralLength::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
|
||||||
|
|
||||||
class RuboCop::Cop::Metrics::CyclomaticComplexity < ::RuboCop::Cop::Base
|
class RuboCop::Cop::Metrics::CyclomaticComplexity < ::RuboCop::Cop::Base
|
||||||
include ::RuboCop::Cop::AllowedMethods
|
include ::RuboCop::Cop::AllowedMethods
|
||||||
include ::RuboCop::Cop::AllowedPattern
|
include ::RuboCop::Cop::AllowedPattern
|
||||||
@ -9700,6 +9722,8 @@ class RuboCop::Cop::Style::IfUnlessModifier < ::RuboCop::Cop::Base
|
|||||||
def allowed_patterns; end
|
def allowed_patterns; end
|
||||||
def another_statement_on_same_line?(node); end
|
def another_statement_on_same_line?(node); end
|
||||||
def autocorrect(corrector, node); end
|
def autocorrect(corrector, node); end
|
||||||
|
def defined_argument_is_undefined?(if_node, defined_node); end
|
||||||
|
def defined_nodes(node); end
|
||||||
def extract_heredoc_from(last_argument); end
|
def extract_heredoc_from(last_argument); end
|
||||||
def line_length_enabled_at_line?(line); end
|
def line_length_enabled_at_line?(line); end
|
||||||
def named_capture_in_condition?(node); end
|
def named_capture_in_condition?(node); end
|
||||||
@ -13546,7 +13570,7 @@ class RuboCop::Cop::VariableForce::Variable
|
|||||||
def captured_by_block?; end
|
def captured_by_block?; end
|
||||||
def declaration_node; end
|
def declaration_node; end
|
||||||
def explicit_block_local_variable?; end
|
def explicit_block_local_variable?; end
|
||||||
def in_modifier_if?(assignment); end
|
def in_modifier_conditional?(assignment); end
|
||||||
def keyword_argument?; end
|
def keyword_argument?; end
|
||||||
def method_argument?; end
|
def method_argument?; end
|
||||||
def name; end
|
def name; end
|
||||||
@ -13681,6 +13705,11 @@ end
|
|||||||
|
|
||||||
module RuboCop::Ext; end
|
module RuboCop::Ext; end
|
||||||
|
|
||||||
|
module RuboCop::Ext::Comment
|
||||||
|
def source; end
|
||||||
|
def source_range; end
|
||||||
|
end
|
||||||
|
|
||||||
module RuboCop::Ext::ProcessedSource
|
module RuboCop::Ext::ProcessedSource
|
||||||
def comment_config; end
|
def comment_config; end
|
||||||
def config; end
|
def config; end
|
||||||
@ -5412,6 +5412,7 @@ class Object
|
|||||||
TARGET_MAN_PATH = ::T.let(nil, ::T.untyped)
|
TARGET_MAN_PATH = ::T.let(nil, ::T.untyped)
|
||||||
TESTBALL_PATCHES_SHA256 = ::T.let(nil, ::T.untyped)
|
TESTBALL_PATCHES_SHA256 = ::T.let(nil, ::T.untyped)
|
||||||
TESTBALL_SHA256 = ::T.let(nil, ::T.untyped)
|
TESTBALL_SHA256 = ::T.let(nil, ::T.untyped)
|
||||||
|
TEST_DIRECTORIES = ::T.let(nil, ::T.untyped)
|
||||||
TEST_FIXTURE_DIR = ::T.let(nil, ::T.untyped)
|
TEST_FIXTURE_DIR = ::T.let(nil, ::T.untyped)
|
||||||
TEST_SHA1 = ::T.let(nil, ::T.untyped)
|
TEST_SHA1 = ::T.let(nil, ::T.untyped)
|
||||||
TEST_SHA256 = ::T.let(nil, ::T.untyped)
|
TEST_SHA256 = ::T.let(nil, ::T.untyped)
|
||||||
@ -5629,6 +5630,10 @@ class Parser::Ruby26
|
|||||||
Racc_debug_parser = ::T.let(nil, ::T.untyped)
|
Racc_debug_parser = ::T.let(nil, ::T.untyped)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class Parser::Source::Comment
|
||||||
|
include ::RuboCop::Ext::Comment
|
||||||
|
end
|
||||||
|
|
||||||
class PkgVersion
|
class PkgVersion
|
||||||
def major(*args, &block); end
|
def major(*args, &block); end
|
||||||
|
|
||||||
@ -5889,6 +5894,22 @@ class RSpec::Expectations::MultipleExpectationsNotMetError
|
|||||||
include ::RSpec::Core::MultipleExceptionError::InterfaceTag
|
include ::RSpec::Core::MultipleExceptionError::InterfaceTag
|
||||||
end
|
end
|
||||||
|
|
||||||
|
module RSpec::Matchers
|
||||||
|
def a_json_string(*expected, &block_arg); end
|
||||||
|
|
||||||
|
def a_string_containing(*args, &block); end
|
||||||
|
|
||||||
|
def array_including_cons(*expected, &block_arg); end
|
||||||
|
|
||||||
|
def be_a_failure(*args, &block); end
|
||||||
|
|
||||||
|
def have_failed(*args, &block); end
|
||||||
|
|
||||||
|
def not_raise_error(*args, &block); end
|
||||||
|
|
||||||
|
def not_to_output(*args, &block); end
|
||||||
|
end
|
||||||
|
|
||||||
module Racc
|
module Racc
|
||||||
Racc_No_Extensions = ::T.let(nil, ::T.untyped)
|
Racc_No_Extensions = ::T.let(nil, ::T.untyped)
|
||||||
end
|
end
|
||||||
@ -6624,6 +6645,7 @@ module RuboCop::AST::NodePattern::Sets
|
|||||||
SET_BASH_COMPLETION_ZSH_COMPLETION_FISH_COMPLETION = ::T.let(nil, ::T.untyped)
|
SET_BASH_COMPLETION_ZSH_COMPLETION_FISH_COMPLETION = ::T.let(nil, ::T.untyped)
|
||||||
SET_BUILD_RECOMMENDED_TEST_OPTIONAL = ::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_DEPENDS_ON_USES_FROM_MACOS = ::T.let(nil, ::T.untyped)
|
||||||
|
SET_FILE_TEMPFILE_STRINGIO = ::T.let(nil, ::T.untyped)
|
||||||
SET_INCLUDE_WITH_WITHOUT = ::T.let(nil, ::T.untyped)
|
SET_INCLUDE_WITH_WITHOUT = ::T.let(nil, ::T.untyped)
|
||||||
SET_MAC_LINUX = ::T.let(nil, ::T.untyped)
|
SET_MAC_LINUX = ::T.let(nil, ::T.untyped)
|
||||||
SET_ON_INTEL_ON_ARM = ::T.let(nil, ::T.untyped)
|
SET_ON_INTEL_ON_ARM = ::T.let(nil, ::T.untyped)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user