Merge pull request #8968 from Homebrew/sorbet-files-update
sorbet: Update RBI files.
This commit is contained in:
commit
0d56c47b96
@ -1,6 +1,6 @@
|
|||||||
# DO NOT EDIT MANUALLY
|
# DO NOT EDIT MANUALLY
|
||||||
# This is an autogenerated file for types exported from the `rubocop-rspec` gem.
|
# This is an autogenerated file for types exported from the `rubocop-rspec` gem.
|
||||||
# Please instead update this file by running `tapioca sync --exclude json`.
|
# Please instead update this file by running `tapioca sync`.
|
||||||
|
|
||||||
# typed: true
|
# typed: true
|
||||||
|
|
||||||
@ -74,15 +74,15 @@ end
|
|||||||
RuboCop::Cop::RSpec::AlignRightLetBrace::MSG = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::RSpec::AlignRightLetBrace::MSG = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
class RuboCop::Cop::RSpec::AnyInstance < ::RuboCop::Cop::RSpec::Base
|
class RuboCop::Cop::RSpec::AnyInstance < ::RuboCop::Cop::RSpec::Base
|
||||||
def disallowed_stub(node = T.unsafe(nil)); end
|
def disallowed_stub(param0 = T.unsafe(nil)); end
|
||||||
def on_send(node); end
|
def on_send(node); end
|
||||||
end
|
end
|
||||||
|
|
||||||
RuboCop::Cop::RSpec::AnyInstance::MSG = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::RSpec::AnyInstance::MSG = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
class RuboCop::Cop::RSpec::AroundBlock < ::RuboCop::Cop::RSpec::Base
|
class RuboCop::Cop::RSpec::AroundBlock < ::RuboCop::Cop::RSpec::Base
|
||||||
def find_arg_usage(node0); end
|
def find_arg_usage(param0); end
|
||||||
def hook(node = T.unsafe(nil)); end
|
def hook(param0 = T.unsafe(nil)); end
|
||||||
def on_block(node); end
|
def on_block(node); end
|
||||||
|
|
||||||
private
|
private
|
||||||
@ -119,7 +119,7 @@ RuboCop::Cop::RSpec::Base::DEFAULT_CONFIGURATION = T.let(T.unsafe(nil), Hash)
|
|||||||
RuboCop::Cop::RSpec::Base::DEFAULT_PATTERN_RE = T.let(T.unsafe(nil), Regexp)
|
RuboCop::Cop::RSpec::Base::DEFAULT_PATTERN_RE = T.let(T.unsafe(nil), Regexp)
|
||||||
|
|
||||||
class RuboCop::Cop::RSpec::Be < ::RuboCop::Cop::RSpec::Base
|
class RuboCop::Cop::RSpec::Be < ::RuboCop::Cop::RSpec::Base
|
||||||
def be_without_args(node = T.unsafe(nil)); end
|
def be_without_args(param0 = T.unsafe(nil)); end
|
||||||
def on_send(node); end
|
def on_send(node); end
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -128,14 +128,14 @@ RuboCop::Cop::RSpec::Be::MSG = T.let(T.unsafe(nil), String)
|
|||||||
class RuboCop::Cop::RSpec::BeEql < ::RuboCop::Cop::RSpec::Base
|
class RuboCop::Cop::RSpec::BeEql < ::RuboCop::Cop::RSpec::Base
|
||||||
extend(::RuboCop::Cop::AutoCorrector)
|
extend(::RuboCop::Cop::AutoCorrector)
|
||||||
|
|
||||||
def eql_type_with_identity(node = T.unsafe(nil)); end
|
def eql_type_with_identity(param0 = T.unsafe(nil)); end
|
||||||
def on_send(node); end
|
def on_send(node); end
|
||||||
end
|
end
|
||||||
|
|
||||||
RuboCop::Cop::RSpec::BeEql::MSG = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::RSpec::BeEql::MSG = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
class RuboCop::Cop::RSpec::BeforeAfterAll < ::RuboCop::Cop::RSpec::Base
|
class RuboCop::Cop::RSpec::BeforeAfterAll < ::RuboCop::Cop::RSpec::Base
|
||||||
def before_or_after_all(node = T.unsafe(nil)); end
|
def before_or_after_all(param0 = T.unsafe(nil)); end
|
||||||
def on_send(node); end
|
def on_send(node); end
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -147,10 +147,10 @@ end
|
|||||||
class RuboCop::Cop::RSpec::Capybara::CurrentPathExpectation < ::RuboCop::Cop::RSpec::Base
|
class RuboCop::Cop::RSpec::Capybara::CurrentPathExpectation < ::RuboCop::Cop::RSpec::Base
|
||||||
extend(::RuboCop::Cop::AutoCorrector)
|
extend(::RuboCop::Cop::AutoCorrector)
|
||||||
|
|
||||||
def as_is_matcher(node = T.unsafe(nil)); end
|
def as_is_matcher(param0 = T.unsafe(nil)); end
|
||||||
def expectation_set_on_current_path(node = T.unsafe(nil)); end
|
def expectation_set_on_current_path(param0 = T.unsafe(nil)); end
|
||||||
def on_send(node); end
|
def on_send(node); end
|
||||||
def regexp_str_matcher(node = T.unsafe(nil)); end
|
def regexp_str_matcher(param0 = T.unsafe(nil)); end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
@ -165,11 +165,11 @@ RuboCop::Cop::RSpec::Capybara::CurrentPathExpectation::MSG = T.let(T.unsafe(nil)
|
|||||||
class RuboCop::Cop::RSpec::Capybara::FeatureMethods < ::RuboCop::Cop::RSpec::Base
|
class RuboCop::Cop::RSpec::Capybara::FeatureMethods < ::RuboCop::Cop::RSpec::Base
|
||||||
extend(::RuboCop::Cop::AutoCorrector)
|
extend(::RuboCop::Cop::AutoCorrector)
|
||||||
|
|
||||||
def capybara_speak(node = T.unsafe(nil)); end
|
def capybara_speak(param0 = T.unsafe(nil)); end
|
||||||
def feature_method(node = T.unsafe(nil)); end
|
def feature_method(param0 = T.unsafe(nil)); end
|
||||||
def message(range); end
|
def message(range); end
|
||||||
def on_block(node); end
|
def on_block(node); end
|
||||||
def spec?(node = T.unsafe(nil)); end
|
def spec?(param0 = T.unsafe(nil)); end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
@ -186,8 +186,8 @@ RuboCop::Cop::RSpec::Capybara::FeatureMethods::MSG = T.let(T.unsafe(nil), String
|
|||||||
|
|
||||||
class RuboCop::Cop::RSpec::Capybara::VisibilityMatcher < ::RuboCop::Cop::RSpec::Base
|
class RuboCop::Cop::RSpec::Capybara::VisibilityMatcher < ::RuboCop::Cop::RSpec::Base
|
||||||
def on_send(node); end
|
def on_send(node); end
|
||||||
def visible_false?(node = T.unsafe(nil)); end
|
def visible_false?(param0 = T.unsafe(nil)); end
|
||||||
def visible_true?(node = T.unsafe(nil)); end
|
def visible_true?(param0 = T.unsafe(nil)); end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
@ -203,7 +203,7 @@ RuboCop::Cop::RSpec::Capybara::VisibilityMatcher::MSG_TRUE = T.let(T.unsafe(nil)
|
|||||||
class RuboCop::Cop::RSpec::ContextMethod < ::RuboCop::Cop::RSpec::Base
|
class RuboCop::Cop::RSpec::ContextMethod < ::RuboCop::Cop::RSpec::Base
|
||||||
extend(::RuboCop::Cop::AutoCorrector)
|
extend(::RuboCop::Cop::AutoCorrector)
|
||||||
|
|
||||||
def context_method(node = T.unsafe(nil)); end
|
def context_method(param0 = T.unsafe(nil)); end
|
||||||
def on_block(node); end
|
def on_block(node); end
|
||||||
|
|
||||||
private
|
private
|
||||||
@ -214,7 +214,7 @@ end
|
|||||||
RuboCop::Cop::RSpec::ContextMethod::MSG = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::RSpec::ContextMethod::MSG = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
class RuboCop::Cop::RSpec::ContextWording < ::RuboCop::Cop::RSpec::Base
|
class RuboCop::Cop::RSpec::ContextWording < ::RuboCop::Cop::RSpec::Base
|
||||||
def context_wording(node = T.unsafe(nil)); end
|
def context_wording(param0 = T.unsafe(nil)); end
|
||||||
def on_block(node); end
|
def on_block(node); end
|
||||||
|
|
||||||
private
|
private
|
||||||
@ -231,13 +231,15 @@ RuboCop::Cop::RSpec::Cop = RuboCop::Cop::RSpec::Base
|
|||||||
class RuboCop::Cop::RSpec::DescribeClass < ::RuboCop::Cop::RSpec::Base
|
class RuboCop::Cop::RSpec::DescribeClass < ::RuboCop::Cop::RSpec::Base
|
||||||
include(::RuboCop::RSpec::TopLevelGroup)
|
include(::RuboCop::RSpec::TopLevelGroup)
|
||||||
|
|
||||||
def example_group_with_rails_metadata?(node = T.unsafe(nil)); end
|
def example_group_with_ignored_metadata?(param0 = T.unsafe(nil)); end
|
||||||
def not_a_const_described(node = T.unsafe(nil)); end
|
def not_a_const_described(param0 = T.unsafe(nil)); end
|
||||||
def on_top_level_group(top_level_node); end
|
def on_top_level_group(node); end
|
||||||
def rails_metadata?(node = T.unsafe(nil)); end
|
def sym_pair(param0 = T.unsafe(nil)); end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
|
def ignored_metadata; end
|
||||||
|
def ignored_metadata?(node); end
|
||||||
def string_constant?(described); end
|
def string_constant?(described); end
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -247,13 +249,13 @@ class RuboCop::Cop::RSpec::DescribeMethod < ::RuboCop::Cop::RSpec::Base
|
|||||||
include(::RuboCop::RSpec::TopLevelGroup)
|
include(::RuboCop::RSpec::TopLevelGroup)
|
||||||
|
|
||||||
def on_top_level_group(node); end
|
def on_top_level_group(node); end
|
||||||
def second_argument(node = T.unsafe(nil)); end
|
def second_argument(param0 = T.unsafe(nil)); end
|
||||||
end
|
end
|
||||||
|
|
||||||
RuboCop::Cop::RSpec::DescribeMethod::MSG = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::RSpec::DescribeMethod::MSG = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
class RuboCop::Cop::RSpec::DescribeSymbol < ::RuboCop::Cop::RSpec::Base
|
class RuboCop::Cop::RSpec::DescribeSymbol < ::RuboCop::Cop::RSpec::Base
|
||||||
def describe_symbol?(node = T.unsafe(nil)); end
|
def describe_symbol?(param0 = T.unsafe(nil)); end
|
||||||
def on_send(node); end
|
def on_send(node); end
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -263,12 +265,12 @@ class RuboCop::Cop::RSpec::DescribedClass < ::RuboCop::Cop::RSpec::Base
|
|||||||
include(::RuboCop::Cop::ConfigurableEnforcedStyle)
|
include(::RuboCop::Cop::ConfigurableEnforcedStyle)
|
||||||
extend(::RuboCop::Cop::AutoCorrector)
|
extend(::RuboCop::Cop::AutoCorrector)
|
||||||
|
|
||||||
def common_instance_exec_closure?(node = T.unsafe(nil)); end
|
def common_instance_exec_closure?(param0 = T.unsafe(nil)); end
|
||||||
def contains_described_class?(node0); end
|
def contains_described_class?(param0); end
|
||||||
def described_constant(node = T.unsafe(nil)); end
|
def described_constant(param0 = T.unsafe(nil)); end
|
||||||
def on_block(node); end
|
def on_block(node); end
|
||||||
def rspec_block?(node = T.unsafe(nil)); end
|
def rspec_block?(param0 = T.unsafe(nil)); end
|
||||||
def scope_changing_syntax?(node = T.unsafe(nil)); end
|
def scope_changing_syntax?(param0 = T.unsafe(nil)); end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
@ -291,7 +293,7 @@ RuboCop::Cop::RSpec::DescribedClass::DESCRIBED_CLASS = T.let(T.unsafe(nil), Stri
|
|||||||
RuboCop::Cop::RSpec::DescribedClass::MSG = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::RSpec::DescribedClass::MSG = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
class RuboCop::Cop::RSpec::DescribedClassModuleWrapping < ::RuboCop::Cop::RSpec::Base
|
class RuboCop::Cop::RSpec::DescribedClassModuleWrapping < ::RuboCop::Cop::RSpec::Base
|
||||||
def find_rspec_blocks(node0); end
|
def find_rspec_blocks(param0); end
|
||||||
def on_module(node); end
|
def on_module(node); end
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -302,23 +304,26 @@ class RuboCop::Cop::RSpec::Dialect < ::RuboCop::Cop::RSpec::Base
|
|||||||
extend(::RuboCop::Cop::AutoCorrector)
|
extend(::RuboCop::Cop::AutoCorrector)
|
||||||
|
|
||||||
def on_send(node); end
|
def on_send(node); end
|
||||||
def rspec_method?(node = T.unsafe(nil)); end
|
def rspec_method?(param0 = T.unsafe(nil)); end
|
||||||
end
|
end
|
||||||
|
|
||||||
RuboCop::Cop::RSpec::Dialect::MSG = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::RSpec::Dialect::MSG = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
class RuboCop::Cop::RSpec::EmptyExampleGroup < ::RuboCop::Cop::RSpec::Base
|
class RuboCop::Cop::RSpec::EmptyExampleGroup < ::RuboCop::Cop::RSpec::Base
|
||||||
def example_group_body(node = T.unsafe(nil)); end
|
def example_group_body(param0 = T.unsafe(nil)); end
|
||||||
def example_or_group_or_include?(node = T.unsafe(nil)); end
|
def example_or_group_or_include?(param0 = T.unsafe(nil)); end
|
||||||
def examples?(node = T.unsafe(nil)); end
|
def examples?(param0 = T.unsafe(nil)); end
|
||||||
def examples_directly_or_in_block?(node = T.unsafe(nil)); end
|
def examples_directly_or_in_block?(param0 = T.unsafe(nil)); end
|
||||||
def examples_inside_block?(node = T.unsafe(nil)); end
|
def examples_inside_block?(param0 = T.unsafe(nil)); end
|
||||||
def on_block(node); end
|
def on_block(node); end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
|
def conditionals_with_examples?(body); end
|
||||||
def custom_include?(method_name); end
|
def custom_include?(method_name); end
|
||||||
def custom_include_methods; end
|
def custom_include_methods; end
|
||||||
|
def examples_in_branches?(if_node); end
|
||||||
|
def offensive?(body); end
|
||||||
end
|
end
|
||||||
|
|
||||||
RuboCop::Cop::RSpec::EmptyExampleGroup::MSG = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::RSpec::EmptyExampleGroup::MSG = T.let(T.unsafe(nil), String)
|
||||||
@ -327,7 +332,7 @@ class RuboCop::Cop::RSpec::EmptyHook < ::RuboCop::Cop::RSpec::Base
|
|||||||
include(::RuboCop::Cop::RangeHelp)
|
include(::RuboCop::Cop::RangeHelp)
|
||||||
extend(::RuboCop::Cop::AutoCorrector)
|
extend(::RuboCop::Cop::AutoCorrector)
|
||||||
|
|
||||||
def empty_hook?(node = T.unsafe(nil)); end
|
def empty_hook?(param0 = T.unsafe(nil)); end
|
||||||
def on_block(node); end
|
def on_block(node); end
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -414,7 +419,7 @@ RuboCop::Cop::RSpec::ExampleLength::MSG = T.let(T.unsafe(nil), String)
|
|||||||
class RuboCop::Cop::RSpec::ExampleWithoutDescription < ::RuboCop::Cop::RSpec::Base
|
class RuboCop::Cop::RSpec::ExampleWithoutDescription < ::RuboCop::Cop::RSpec::Base
|
||||||
include(::RuboCop::Cop::ConfigurableEnforcedStyle)
|
include(::RuboCop::Cop::ConfigurableEnforcedStyle)
|
||||||
|
|
||||||
def example_description(node = T.unsafe(nil)); end
|
def example_description(param0 = T.unsafe(nil)); end
|
||||||
def on_block(node); end
|
def on_block(node); end
|
||||||
|
|
||||||
private
|
private
|
||||||
@ -430,7 +435,7 @@ RuboCop::Cop::RSpec::ExampleWithoutDescription::MSG_DEFAULT_ARGUMENT = T.let(T.u
|
|||||||
class RuboCop::Cop::RSpec::ExampleWording < ::RuboCop::Cop::RSpec::Base
|
class RuboCop::Cop::RSpec::ExampleWording < ::RuboCop::Cop::RSpec::Base
|
||||||
extend(::RuboCop::Cop::AutoCorrector)
|
extend(::RuboCop::Cop::AutoCorrector)
|
||||||
|
|
||||||
def it_description(node = T.unsafe(nil)); end
|
def it_description(param0 = T.unsafe(nil)); end
|
||||||
def on_block(node); end
|
def on_block(node); end
|
||||||
|
|
||||||
private
|
private
|
||||||
@ -454,7 +459,7 @@ RuboCop::Cop::RSpec::ExampleWording::SHOULD_PREFIX = T.let(T.unsafe(nil), Regexp
|
|||||||
class RuboCop::Cop::RSpec::ExpectActual < ::RuboCop::Cop::RSpec::Base
|
class RuboCop::Cop::RSpec::ExpectActual < ::RuboCop::Cop::RSpec::Base
|
||||||
extend(::RuboCop::Cop::AutoCorrector)
|
extend(::RuboCop::Cop::AutoCorrector)
|
||||||
|
|
||||||
def expect_literal(node = T.unsafe(nil)); end
|
def expect_literal(param0 = T.unsafe(nil)); end
|
||||||
def on_send(node); end
|
def on_send(node); end
|
||||||
|
|
||||||
private
|
private
|
||||||
@ -477,8 +482,8 @@ class RuboCop::Cop::RSpec::ExpectChange < ::RuboCop::Cop::RSpec::Base
|
|||||||
include(::RuboCop::Cop::ConfigurableEnforcedStyle)
|
include(::RuboCop::Cop::ConfigurableEnforcedStyle)
|
||||||
extend(::RuboCop::Cop::AutoCorrector)
|
extend(::RuboCop::Cop::AutoCorrector)
|
||||||
|
|
||||||
def expect_change_with_arguments(node = T.unsafe(nil)); end
|
def expect_change_with_arguments(param0 = T.unsafe(nil)); end
|
||||||
def expect_change_with_block(node = T.unsafe(nil)); end
|
def expect_change_with_block(param0 = T.unsafe(nil)); end
|
||||||
def on_block(node); end
|
def on_block(node); end
|
||||||
def on_send(node); end
|
def on_send(node); end
|
||||||
end
|
end
|
||||||
@ -488,7 +493,7 @@ RuboCop::Cop::RSpec::ExpectChange::MSG_BLOCK = T.let(T.unsafe(nil), String)
|
|||||||
RuboCop::Cop::RSpec::ExpectChange::MSG_CALL = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::RSpec::ExpectChange::MSG_CALL = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
class RuboCop::Cop::RSpec::ExpectInHook < ::RuboCop::Cop::RSpec::Base
|
class RuboCop::Cop::RSpec::ExpectInHook < ::RuboCop::Cop::RSpec::Base
|
||||||
def expectation(node0); end
|
def expectation(param0); end
|
||||||
def on_block(node); end
|
def on_block(node); end
|
||||||
|
|
||||||
private
|
private
|
||||||
@ -512,8 +517,8 @@ module RuboCop::Cop::RSpec::ExplicitHelper
|
|||||||
include(::RuboCop::RSpec::Language)
|
include(::RuboCop::RSpec::Language)
|
||||||
extend(::RuboCop::AST::NodePattern::Macros)
|
extend(::RuboCop::AST::NodePattern::Macros)
|
||||||
|
|
||||||
def predicate_matcher?(node = T.unsafe(nil)); end
|
def predicate_matcher?(param0 = T.unsafe(nil)); end
|
||||||
def predicate_matcher_block?(node = T.unsafe(nil)); end
|
def predicate_matcher_block?(param0 = T.unsafe(nil)); end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
@ -537,10 +542,10 @@ end
|
|||||||
class RuboCop::Cop::RSpec::FactoryBot::AttributeDefinedStatically < ::RuboCop::Cop::RSpec::Base
|
class RuboCop::Cop::RSpec::FactoryBot::AttributeDefinedStatically < ::RuboCop::Cop::RSpec::Base
|
||||||
extend(::RuboCop::Cop::AutoCorrector)
|
extend(::RuboCop::Cop::AutoCorrector)
|
||||||
|
|
||||||
def association?(node = T.unsafe(nil)); end
|
def association?(param0 = T.unsafe(nil)); end
|
||||||
def factory_attributes(node = T.unsafe(nil)); end
|
def factory_attributes(param0 = T.unsafe(nil)); end
|
||||||
def on_block(node); end
|
def on_block(node); end
|
||||||
def value_matcher(node = T.unsafe(nil)); end
|
def value_matcher(param0 = T.unsafe(nil)); end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
@ -562,9 +567,9 @@ class RuboCop::Cop::RSpec::FactoryBot::CreateList < ::RuboCop::Cop::RSpec::Base
|
|||||||
include(::RuboCop::Cop::ConfigurableEnforcedStyle)
|
include(::RuboCop::Cop::ConfigurableEnforcedStyle)
|
||||||
extend(::RuboCop::Cop::AutoCorrector)
|
extend(::RuboCop::Cop::AutoCorrector)
|
||||||
|
|
||||||
def factory_call(node = T.unsafe(nil)); end
|
def factory_call(param0 = T.unsafe(nil)); end
|
||||||
def factory_list_call(node = T.unsafe(nil)); end
|
def factory_list_call(param0 = T.unsafe(nil)); end
|
||||||
def n_times_block_without_arg?(node = T.unsafe(nil)); end
|
def n_times_block_without_arg?(param0 = T.unsafe(nil)); end
|
||||||
def on_block(node); end
|
def on_block(node); end
|
||||||
def on_send(node); end
|
def on_send(node); end
|
||||||
|
|
||||||
@ -620,7 +625,7 @@ end
|
|||||||
class RuboCop::Cop::RSpec::FactoryBot::FactoryClassName < ::RuboCop::Cop::RSpec::Base
|
class RuboCop::Cop::RSpec::FactoryBot::FactoryClassName < ::RuboCop::Cop::RSpec::Base
|
||||||
extend(::RuboCop::Cop::AutoCorrector)
|
extend(::RuboCop::Cop::AutoCorrector)
|
||||||
|
|
||||||
def class_name(node = T.unsafe(nil)); end
|
def class_name(param0 = T.unsafe(nil)); end
|
||||||
def on_send(node); end
|
def on_send(node); end
|
||||||
|
|
||||||
private
|
private
|
||||||
@ -635,9 +640,9 @@ RuboCop::Cop::RSpec::FactoryBot::FactoryClassName::MSG = T.let(T.unsafe(nil), St
|
|||||||
class RuboCop::Cop::RSpec::FilePath < ::RuboCop::Cop::RSpec::Base
|
class RuboCop::Cop::RSpec::FilePath < ::RuboCop::Cop::RSpec::Base
|
||||||
include(::RuboCop::RSpec::TopLevelGroup)
|
include(::RuboCop::RSpec::TopLevelGroup)
|
||||||
|
|
||||||
def const_described(node = T.unsafe(nil)); end
|
def const_described(param0 = T.unsafe(nil)); end
|
||||||
def on_top_level_example_group(node); end
|
def on_top_level_example_group(node); end
|
||||||
def routing_metadata?(node0); end
|
def routing_metadata?(param0); end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
@ -658,9 +663,9 @@ end
|
|||||||
RuboCop::Cop::RSpec::FilePath::MSG = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::RSpec::FilePath::MSG = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
class RuboCop::Cop::RSpec::Focus < ::RuboCop::Cop::RSpec::Base
|
class RuboCop::Cop::RSpec::Focus < ::RuboCop::Cop::RSpec::Base
|
||||||
def focusable_selector?(node = T.unsafe(nil)); end
|
def focusable_selector?(param0 = T.unsafe(nil)); end
|
||||||
def focused_block?(node = T.unsafe(nil)); end
|
def focused_block?(param0 = T.unsafe(nil)); end
|
||||||
def metadata(node = T.unsafe(nil)); end
|
def metadata(param0 = T.unsafe(nil)); end
|
||||||
def on_send(node); end
|
def on_send(node); end
|
||||||
|
|
||||||
private
|
private
|
||||||
@ -674,10 +679,10 @@ class RuboCop::Cop::RSpec::HookArgument < ::RuboCop::Cop::RSpec::Base
|
|||||||
include(::RuboCop::Cop::ConfigurableEnforcedStyle)
|
include(::RuboCop::Cop::ConfigurableEnforcedStyle)
|
||||||
extend(::RuboCop::Cop::AutoCorrector)
|
extend(::RuboCop::Cop::AutoCorrector)
|
||||||
|
|
||||||
def hook?(node = T.unsafe(nil)); end
|
def hook?(param0 = T.unsafe(nil)); end
|
||||||
def on_block(node); end
|
def on_block(node); end
|
||||||
def scoped_hook(node = T.unsafe(nil)); end
|
def scoped_hook(param0 = T.unsafe(nil)); end
|
||||||
def unscoped_hook(node = T.unsafe(nil)); end
|
def unscoped_hook(param0 = T.unsafe(nil)); end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
@ -695,7 +700,7 @@ RuboCop::Cop::RSpec::HookArgument::IMPLICIT_MSG = T.let(T.unsafe(nil), String)
|
|||||||
class RuboCop::Cop::RSpec::HooksBeforeExamples < ::RuboCop::Cop::RSpec::Base
|
class RuboCop::Cop::RSpec::HooksBeforeExamples < ::RuboCop::Cop::RSpec::Base
|
||||||
extend(::RuboCop::Cop::AutoCorrector)
|
extend(::RuboCop::Cop::AutoCorrector)
|
||||||
|
|
||||||
def example_or_group?(node = T.unsafe(nil)); end
|
def example_or_group?(param0 = T.unsafe(nil)); end
|
||||||
def on_block(node); end
|
def on_block(node); end
|
||||||
|
|
||||||
private
|
private
|
||||||
@ -709,9 +714,9 @@ end
|
|||||||
RuboCop::Cop::RSpec::HooksBeforeExamples::MSG = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::RSpec::HooksBeforeExamples::MSG = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
class RuboCop::Cop::RSpec::ImplicitBlockExpectation < ::RuboCop::Cop::RSpec::Base
|
class RuboCop::Cop::RSpec::ImplicitBlockExpectation < ::RuboCop::Cop::RSpec::Base
|
||||||
def implicit_expect(node = T.unsafe(nil)); end
|
def implicit_expect(param0 = T.unsafe(nil)); end
|
||||||
def lambda?(node = T.unsafe(nil)); end
|
def lambda?(param0 = T.unsafe(nil)); end
|
||||||
def lambda_subject?(node = T.unsafe(nil)); end
|
def lambda_subject?(param0 = T.unsafe(nil)); end
|
||||||
def on_send(node); end
|
def on_send(node); end
|
||||||
|
|
||||||
private
|
private
|
||||||
@ -727,7 +732,7 @@ class RuboCop::Cop::RSpec::ImplicitExpect < ::RuboCop::Cop::RSpec::Base
|
|||||||
include(::RuboCop::Cop::ConfigurableEnforcedStyle)
|
include(::RuboCop::Cop::ConfigurableEnforcedStyle)
|
||||||
extend(::RuboCop::Cop::AutoCorrector)
|
extend(::RuboCop::Cop::AutoCorrector)
|
||||||
|
|
||||||
def implicit_expect(node = T.unsafe(nil)); end
|
def implicit_expect(param0 = T.unsafe(nil)); end
|
||||||
def on_send(node); end
|
def on_send(node); end
|
||||||
|
|
||||||
private
|
private
|
||||||
@ -746,7 +751,7 @@ class RuboCop::Cop::RSpec::ImplicitSubject < ::RuboCop::Cop::RSpec::Base
|
|||||||
include(::RuboCop::Cop::ConfigurableEnforcedStyle)
|
include(::RuboCop::Cop::ConfigurableEnforcedStyle)
|
||||||
extend(::RuboCop::Cop::AutoCorrector)
|
extend(::RuboCop::Cop::AutoCorrector)
|
||||||
|
|
||||||
def implicit_subject?(node = T.unsafe(nil)); end
|
def implicit_subject?(param0 = T.unsafe(nil)); end
|
||||||
def on_send(node); end
|
def on_send(node); end
|
||||||
|
|
||||||
private
|
private
|
||||||
@ -762,9 +767,9 @@ module RuboCop::Cop::RSpec::InflectedHelper
|
|||||||
include(::RuboCop::RSpec::Language)
|
include(::RuboCop::RSpec::Language)
|
||||||
extend(::RuboCop::AST::NodePattern::Macros)
|
extend(::RuboCop::AST::NodePattern::Macros)
|
||||||
|
|
||||||
def be_bool?(node = T.unsafe(nil)); end
|
def be_bool?(param0 = T.unsafe(nil)); end
|
||||||
def be_boolthy?(node = T.unsafe(nil)); end
|
def be_boolthy?(param0 = T.unsafe(nil)); end
|
||||||
def predicate_in_actual?(node = T.unsafe(nil)); end
|
def predicate_in_actual?(param0 = T.unsafe(nil)); end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
@ -783,8 +788,8 @@ RuboCop::Cop::RSpec::InflectedHelper::MSG_INFLECTED = T.let(T.unsafe(nil), Strin
|
|||||||
class RuboCop::Cop::RSpec::InstanceSpy < ::RuboCop::Cop::RSpec::Base
|
class RuboCop::Cop::RSpec::InstanceSpy < ::RuboCop::Cop::RSpec::Base
|
||||||
extend(::RuboCop::Cop::AutoCorrector)
|
extend(::RuboCop::Cop::AutoCorrector)
|
||||||
|
|
||||||
def have_received_usage(node0); end
|
def have_received_usage(param0); end
|
||||||
def null_double(node0); end
|
def null_double(param0); end
|
||||||
def on_block(node); end
|
def on_block(node); end
|
||||||
|
|
||||||
private
|
private
|
||||||
@ -797,10 +802,10 @@ RuboCop::Cop::RSpec::InstanceSpy::MSG = T.let(T.unsafe(nil), String)
|
|||||||
class RuboCop::Cop::RSpec::InstanceVariable < ::RuboCop::Cop::RSpec::Base
|
class RuboCop::Cop::RSpec::InstanceVariable < ::RuboCop::Cop::RSpec::Base
|
||||||
include(::RuboCop::RSpec::TopLevelGroup)
|
include(::RuboCop::RSpec::TopLevelGroup)
|
||||||
|
|
||||||
def custom_matcher?(node = T.unsafe(nil)); end
|
def custom_matcher?(param0 = T.unsafe(nil)); end
|
||||||
def dynamic_class?(node = T.unsafe(nil)); end
|
def dynamic_class?(param0 = T.unsafe(nil)); end
|
||||||
def ivar_assigned?(node0, param1); end
|
def ivar_assigned?(param0, param1); end
|
||||||
def ivar_usage(node0); end
|
def ivar_usage(param0); end
|
||||||
def on_top_level_group(node); end
|
def on_top_level_group(node); end
|
||||||
|
|
||||||
private
|
private
|
||||||
@ -812,7 +817,7 @@ end
|
|||||||
RuboCop::Cop::RSpec::InstanceVariable::MSG = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::RSpec::InstanceVariable::MSG = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
class RuboCop::Cop::RSpec::InvalidPredicateMatcher < ::RuboCop::Cop::RSpec::Base
|
class RuboCop::Cop::RSpec::InvalidPredicateMatcher < ::RuboCop::Cop::RSpec::Base
|
||||||
def invalid_predicate_matcher?(node = T.unsafe(nil)); end
|
def invalid_predicate_matcher?(param0 = T.unsafe(nil)); end
|
||||||
def on_send(node); end
|
def on_send(node); end
|
||||||
|
|
||||||
private
|
private
|
||||||
@ -826,7 +831,7 @@ class RuboCop::Cop::RSpec::ItBehavesLike < ::RuboCop::Cop::RSpec::Base
|
|||||||
include(::RuboCop::Cop::ConfigurableEnforcedStyle)
|
include(::RuboCop::Cop::ConfigurableEnforcedStyle)
|
||||||
extend(::RuboCop::Cop::AutoCorrector)
|
extend(::RuboCop::Cop::AutoCorrector)
|
||||||
|
|
||||||
def example_inclusion_offense(node = T.unsafe(nil), param1); end
|
def example_inclusion_offense(param0 = T.unsafe(nil), param1); end
|
||||||
def on_send(node); end
|
def on_send(node); end
|
||||||
|
|
||||||
private
|
private
|
||||||
@ -837,8 +842,8 @@ end
|
|||||||
RuboCop::Cop::RSpec::ItBehavesLike::MSG = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::RSpec::ItBehavesLike::MSG = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
class RuboCop::Cop::RSpec::IteratedExpectation < ::RuboCop::Cop::RSpec::Base
|
class RuboCop::Cop::RSpec::IteratedExpectation < ::RuboCop::Cop::RSpec::Base
|
||||||
def each?(node = T.unsafe(nil)); end
|
def each?(param0 = T.unsafe(nil)); end
|
||||||
def expectation?(node = T.unsafe(nil), param1); end
|
def expectation?(param0 = T.unsafe(nil), param1); end
|
||||||
def on_block(node); end
|
def on_block(node); end
|
||||||
|
|
||||||
private
|
private
|
||||||
@ -885,7 +890,7 @@ RuboCop::Cop::RSpec::LeakyConstantDeclaration::MSG_MODULE = T.let(T.unsafe(nil),
|
|||||||
class RuboCop::Cop::RSpec::LetBeforeExamples < ::RuboCop::Cop::RSpec::Base
|
class RuboCop::Cop::RSpec::LetBeforeExamples < ::RuboCop::Cop::RSpec::Base
|
||||||
extend(::RuboCop::Cop::AutoCorrector)
|
extend(::RuboCop::Cop::AutoCorrector)
|
||||||
|
|
||||||
def example_or_group?(node = T.unsafe(nil)); end
|
def example_or_group?(param0 = T.unsafe(nil)); end
|
||||||
def on_block(node); end
|
def on_block(node); end
|
||||||
|
|
||||||
private
|
private
|
||||||
@ -899,9 +904,9 @@ end
|
|||||||
RuboCop::Cop::RSpec::LetBeforeExamples::MSG = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::RSpec::LetBeforeExamples::MSG = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
class RuboCop::Cop::RSpec::LetSetup < ::RuboCop::Cop::RSpec::Base
|
class RuboCop::Cop::RSpec::LetSetup < ::RuboCop::Cop::RSpec::Base
|
||||||
def example_or_shared_group_or_including?(node = T.unsafe(nil)); end
|
def example_or_shared_group_or_including?(param0 = T.unsafe(nil)); end
|
||||||
def let_bang(node = T.unsafe(nil)); end
|
def let_bang(param0 = T.unsafe(nil)); end
|
||||||
def method_called?(node0, param1); end
|
def method_called?(param0, param1); end
|
||||||
def on_block(node); end
|
def on_block(node); end
|
||||||
|
|
||||||
private
|
private
|
||||||
@ -913,7 +918,7 @@ end
|
|||||||
RuboCop::Cop::RSpec::LetSetup::MSG = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::RSpec::LetSetup::MSG = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
class RuboCop::Cop::RSpec::MessageChain < ::RuboCop::Cop::RSpec::Base
|
class RuboCop::Cop::RSpec::MessageChain < ::RuboCop::Cop::RSpec::Base
|
||||||
def message_chain(node = T.unsafe(nil)); end
|
def message_chain(param0 = T.unsafe(nil)); end
|
||||||
def on_send(node); end
|
def on_send(node); end
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -922,9 +927,9 @@ RuboCop::Cop::RSpec::MessageChain::MSG = T.let(T.unsafe(nil), String)
|
|||||||
class RuboCop::Cop::RSpec::MessageExpectation < ::RuboCop::Cop::RSpec::Base
|
class RuboCop::Cop::RSpec::MessageExpectation < ::RuboCop::Cop::RSpec::Base
|
||||||
include(::RuboCop::Cop::ConfigurableEnforcedStyle)
|
include(::RuboCop::Cop::ConfigurableEnforcedStyle)
|
||||||
|
|
||||||
def message_expectation(node = T.unsafe(nil)); end
|
def message_expectation(param0 = T.unsafe(nil)); end
|
||||||
def on_send(node); end
|
def on_send(node); end
|
||||||
def receive_message?(node0); end
|
def receive_message?(param0); end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
@ -938,9 +943,9 @@ RuboCop::Cop::RSpec::MessageExpectation::SUPPORTED_STYLES = T.let(T.unsafe(nil),
|
|||||||
class RuboCop::Cop::RSpec::MessageSpies < ::RuboCop::Cop::RSpec::Base
|
class RuboCop::Cop::RSpec::MessageSpies < ::RuboCop::Cop::RSpec::Base
|
||||||
include(::RuboCop::Cop::ConfigurableEnforcedStyle)
|
include(::RuboCop::Cop::ConfigurableEnforcedStyle)
|
||||||
|
|
||||||
def message_expectation(node = T.unsafe(nil)); end
|
def message_expectation(param0 = T.unsafe(nil)); end
|
||||||
def on_send(node); end
|
def on_send(node); end
|
||||||
def receive_message(node0); end
|
def receive_message(param0); end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
@ -972,9 +977,9 @@ RuboCop::Cop::RSpec::MultipleDescribes::MSG = T.let(T.unsafe(nil), String)
|
|||||||
class RuboCop::Cop::RSpec::MultipleExpectations < ::RuboCop::Cop::RSpec::Base
|
class RuboCop::Cop::RSpec::MultipleExpectations < ::RuboCop::Cop::RSpec::Base
|
||||||
include(::RuboCop::Cop::ConfigurableMax)
|
include(::RuboCop::Cop::ConfigurableMax)
|
||||||
|
|
||||||
def aggregate_failures?(node = T.unsafe(nil), param1); end
|
def aggregate_failures?(param0 = T.unsafe(nil), param1); end
|
||||||
def aggregate_failures_block?(node = T.unsafe(nil)); end
|
def aggregate_failures_block?(param0 = T.unsafe(nil)); end
|
||||||
def expect?(node = T.unsafe(nil)); end
|
def expect?(param0 = T.unsafe(nil)); end
|
||||||
def on_block(node); end
|
def on_block(node); end
|
||||||
|
|
||||||
private
|
private
|
||||||
@ -1030,9 +1035,9 @@ RuboCop::Cop::RSpec::MultipleSubjects::MSG = T.let(T.unsafe(nil), String)
|
|||||||
class RuboCop::Cop::RSpec::NamedSubject < ::RuboCop::Cop::RSpec::Base
|
class RuboCop::Cop::RSpec::NamedSubject < ::RuboCop::Cop::RSpec::Base
|
||||||
def ignored_shared_example?(node); end
|
def ignored_shared_example?(node); end
|
||||||
def on_block(node); end
|
def on_block(node); end
|
||||||
def rspec_block?(node = T.unsafe(nil)); end
|
def rspec_block?(param0 = T.unsafe(nil)); end
|
||||||
def shared_example?(node = T.unsafe(nil)); end
|
def shared_example?(param0 = T.unsafe(nil)); end
|
||||||
def subject_usage(node0); end
|
def subject_usage(param0); end
|
||||||
end
|
end
|
||||||
|
|
||||||
RuboCop::Cop::RSpec::NamedSubject::MSG = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::RSpec::NamedSubject::MSG = T.let(T.unsafe(nil), String)
|
||||||
@ -1061,7 +1066,7 @@ class RuboCop::Cop::RSpec::NotToNot < ::RuboCop::Cop::RSpec::Base
|
|||||||
include(::RuboCop::Cop::ConfigurableEnforcedStyle)
|
include(::RuboCop::Cop::ConfigurableEnforcedStyle)
|
||||||
extend(::RuboCop::Cop::AutoCorrector)
|
extend(::RuboCop::Cop::AutoCorrector)
|
||||||
|
|
||||||
def not_to_not_offense(node = T.unsafe(nil), param1); end
|
def not_to_not_offense(param0 = T.unsafe(nil), param1); end
|
||||||
def on_send(node); end
|
def on_send(node); end
|
||||||
|
|
||||||
private
|
private
|
||||||
@ -1072,9 +1077,9 @@ end
|
|||||||
RuboCop::Cop::RSpec::NotToNot::MSG = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::RSpec::NotToNot::MSG = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
class RuboCop::Cop::RSpec::OverwritingSetup < ::RuboCop::Cop::RSpec::Base
|
class RuboCop::Cop::RSpec::OverwritingSetup < ::RuboCop::Cop::RSpec::Base
|
||||||
def first_argument_name(node = T.unsafe(nil)); end
|
def first_argument_name(param0 = T.unsafe(nil)); end
|
||||||
def on_block(node); end
|
def on_block(node); end
|
||||||
def setup?(node = T.unsafe(nil)); end
|
def setup?(param0 = T.unsafe(nil)); end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
@ -1086,10 +1091,10 @@ RuboCop::Cop::RSpec::OverwritingSetup::MSG = T.let(T.unsafe(nil), String)
|
|||||||
|
|
||||||
class RuboCop::Cop::RSpec::Pending < ::RuboCop::Cop::RSpec::Base
|
class RuboCop::Cop::RSpec::Pending < ::RuboCop::Cop::RSpec::Base
|
||||||
def on_send(node); end
|
def on_send(node); end
|
||||||
def pending_block?(node = T.unsafe(nil)); end
|
def pending_block?(param0 = T.unsafe(nil)); end
|
||||||
def skip_or_pending?(node = T.unsafe(nil)); end
|
def skip_or_pending?(param0 = T.unsafe(nil)); end
|
||||||
def skippable?(node = T.unsafe(nil)); end
|
def skippable?(param0 = T.unsafe(nil)); end
|
||||||
def skipped_in_metadata?(node = T.unsafe(nil)); end
|
def skipped_in_metadata?(param0 = T.unsafe(nil)); end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
@ -1121,8 +1126,8 @@ class RuboCop::Cop::RSpec::ReceiveCounts < ::RuboCop::Cop::RSpec::Base
|
|||||||
extend(::RuboCop::Cop::AutoCorrector)
|
extend(::RuboCop::Cop::AutoCorrector)
|
||||||
|
|
||||||
def on_send(node); end
|
def on_send(node); end
|
||||||
def receive_counts(node = T.unsafe(nil)); end
|
def receive_counts(param0 = T.unsafe(nil)); end
|
||||||
def stub?(node0); end
|
def stub?(param0); end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
@ -1137,7 +1142,7 @@ RuboCop::Cop::RSpec::ReceiveCounts::MSG = T.let(T.unsafe(nil), String)
|
|||||||
class RuboCop::Cop::RSpec::ReceiveNever < ::RuboCop::Cop::RSpec::Base
|
class RuboCop::Cop::RSpec::ReceiveNever < ::RuboCop::Cop::RSpec::Base
|
||||||
extend(::RuboCop::Cop::AutoCorrector)
|
extend(::RuboCop::Cop::AutoCorrector)
|
||||||
|
|
||||||
def method_on_stub?(node0); end
|
def method_on_stub?(param0); end
|
||||||
def on_send(node); end
|
def on_send(node); end
|
||||||
|
|
||||||
private
|
private
|
||||||
@ -1170,12 +1175,12 @@ end
|
|||||||
RuboCop::Cop::RSpec::RepeatedExample::MSG = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::RSpec::RepeatedExample::MSG = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
class RuboCop::Cop::RSpec::RepeatedExampleGroupBody < ::RuboCop::Cop::RSpec::Base
|
class RuboCop::Cop::RSpec::RepeatedExampleGroupBody < ::RuboCop::Cop::RSpec::Base
|
||||||
def body(node = T.unsafe(nil)); end
|
def body(param0 = T.unsafe(nil)); end
|
||||||
def const_arg(node = T.unsafe(nil)); end
|
def const_arg(param0 = T.unsafe(nil)); end
|
||||||
def metadata(node = T.unsafe(nil)); end
|
def metadata(param0 = T.unsafe(nil)); end
|
||||||
def on_begin(node); end
|
def on_begin(node); end
|
||||||
def several_example_groups?(node = T.unsafe(nil)); end
|
def several_example_groups?(param0 = T.unsafe(nil)); end
|
||||||
def skip_or_pending?(node = T.unsafe(nil)); end
|
def skip_or_pending?(param0 = T.unsafe(nil)); end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
@ -1188,11 +1193,11 @@ end
|
|||||||
RuboCop::Cop::RSpec::RepeatedExampleGroupBody::MSG = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::RSpec::RepeatedExampleGroupBody::MSG = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
class RuboCop::Cop::RSpec::RepeatedExampleGroupDescription < ::RuboCop::Cop::RSpec::Base
|
class RuboCop::Cop::RSpec::RepeatedExampleGroupDescription < ::RuboCop::Cop::RSpec::Base
|
||||||
def doc_string_and_metadata(node = T.unsafe(nil)); end
|
def doc_string_and_metadata(param0 = T.unsafe(nil)); end
|
||||||
def empty_description?(node = T.unsafe(nil)); end
|
def empty_description?(param0 = T.unsafe(nil)); end
|
||||||
def on_begin(node); end
|
def on_begin(node); end
|
||||||
def several_example_groups?(node = T.unsafe(nil)); end
|
def several_example_groups?(param0 = T.unsafe(nil)); end
|
||||||
def skip_or_pending?(node = T.unsafe(nil)); end
|
def skip_or_pending?(param0 = T.unsafe(nil)); end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
@ -1203,15 +1208,32 @@ end
|
|||||||
|
|
||||||
RuboCop::Cop::RSpec::RepeatedExampleGroupDescription::MSG = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::RSpec::RepeatedExampleGroupDescription::MSG = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
|
class RuboCop::Cop::RSpec::RepeatedIncludeExample < ::RuboCop::Cop::RSpec::Base
|
||||||
|
def include_examples?(param0 = T.unsafe(nil)); end
|
||||||
|
def on_begin(node); end
|
||||||
|
def several_include_examples?(param0 = T.unsafe(nil)); end
|
||||||
|
def shared_examples_name(param0 = T.unsafe(nil)); end
|
||||||
|
|
||||||
|
private
|
||||||
|
|
||||||
|
def add_repeated_lines(items); end
|
||||||
|
def literal_include_examples?(node); end
|
||||||
|
def message(item, repeats); end
|
||||||
|
def repeated_include_examples(node); end
|
||||||
|
def signature_keys(item); end
|
||||||
|
end
|
||||||
|
|
||||||
|
RuboCop::Cop::RSpec::RepeatedIncludeExample::MSG = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
class RuboCop::Cop::RSpec::ReturnFromStub < ::RuboCop::Cop::RSpec::Base
|
class RuboCop::Cop::RSpec::ReturnFromStub < ::RuboCop::Cop::RSpec::Base
|
||||||
include(::RuboCop::Cop::ConfigurableEnforcedStyle)
|
include(::RuboCop::Cop::ConfigurableEnforcedStyle)
|
||||||
extend(::RuboCop::Cop::AutoCorrector)
|
extend(::RuboCop::Cop::AutoCorrector)
|
||||||
|
|
||||||
def and_return_value(node0); end
|
def and_return_value(param0); end
|
||||||
def contains_stub?(node0); end
|
def contains_stub?(param0); end
|
||||||
def on_block(node); end
|
def on_block(node); end
|
||||||
def on_send(node); end
|
def on_send(node); end
|
||||||
def stub_with_block?(node = T.unsafe(nil)); end
|
def stub_with_block?(param0 = T.unsafe(nil)); end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
@ -1279,11 +1301,11 @@ RuboCop::Cop::RSpec::ScatteredSetup::MSG = T.let(T.unsafe(nil), String)
|
|||||||
class RuboCop::Cop::RSpec::SharedContext < ::RuboCop::Cop::RSpec::Base
|
class RuboCop::Cop::RSpec::SharedContext < ::RuboCop::Cop::RSpec::Base
|
||||||
extend(::RuboCop::Cop::AutoCorrector)
|
extend(::RuboCop::Cop::AutoCorrector)
|
||||||
|
|
||||||
def context?(node0); end
|
def context?(param0); end
|
||||||
def examples?(node0); end
|
def examples?(param0); end
|
||||||
def on_block(node); end
|
def on_block(node); end
|
||||||
def shared_context(node = T.unsafe(nil)); end
|
def shared_context(param0 = T.unsafe(nil)); end
|
||||||
def shared_example(node = T.unsafe(nil)); end
|
def shared_example(param0 = T.unsafe(nil)); end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
@ -1299,7 +1321,7 @@ class RuboCop::Cop::RSpec::SharedExamples < ::RuboCop::Cop::RSpec::Base
|
|||||||
extend(::RuboCop::Cop::AutoCorrector)
|
extend(::RuboCop::Cop::AutoCorrector)
|
||||||
|
|
||||||
def on_send(node); end
|
def on_send(node); end
|
||||||
def shared_examples(node = T.unsafe(nil)); end
|
def shared_examples(param0 = T.unsafe(nil)); end
|
||||||
end
|
end
|
||||||
|
|
||||||
class RuboCop::Cop::RSpec::SharedExamples::Checker
|
class RuboCop::Cop::RSpec::SharedExamples::Checker
|
||||||
@ -1320,9 +1342,9 @@ RuboCop::Cop::RSpec::SharedExamples::Checker::MSG = T.let(T.unsafe(nil), String)
|
|||||||
class RuboCop::Cop::RSpec::SingleArgumentMessageChain < ::RuboCop::Cop::RSpec::Base
|
class RuboCop::Cop::RSpec::SingleArgumentMessageChain < ::RuboCop::Cop::RSpec::Base
|
||||||
extend(::RuboCop::Cop::AutoCorrector)
|
extend(::RuboCop::Cop::AutoCorrector)
|
||||||
|
|
||||||
def message_chain(node = T.unsafe(nil)); end
|
def message_chain(param0 = T.unsafe(nil)); end
|
||||||
def on_send(node); end
|
def on_send(node); end
|
||||||
def single_key_hash?(node = T.unsafe(nil)); end
|
def single_key_hash?(param0 = T.unsafe(nil)); end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
@ -1337,13 +1359,32 @@ end
|
|||||||
|
|
||||||
RuboCop::Cop::RSpec::SingleArgumentMessageChain::MSG = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::RSpec::SingleArgumentMessageChain::MSG = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
|
class RuboCop::Cop::RSpec::StubbedMock < ::RuboCop::Cop::RSpec::Base
|
||||||
|
def configured_response?(param0 = T.unsafe(nil)); end
|
||||||
|
def expectation(param0 = T.unsafe(nil)); end
|
||||||
|
def matcher_with_blockpass(param0 = T.unsafe(nil)); end
|
||||||
|
def matcher_with_configured_response(param0 = T.unsafe(nil)); end
|
||||||
|
def matcher_with_hash(param0 = T.unsafe(nil)); end
|
||||||
|
def matcher_with_return_block(param0 = T.unsafe(nil)); end
|
||||||
|
def message_expectation?(param0 = T.unsafe(nil)); end
|
||||||
|
def on_send(node); end
|
||||||
|
|
||||||
|
private
|
||||||
|
|
||||||
|
def msg(method_name); end
|
||||||
|
def on_expectation(expectation, method_name, matcher); end
|
||||||
|
def replacement(method_name); end
|
||||||
|
end
|
||||||
|
|
||||||
|
RuboCop::Cop::RSpec::StubbedMock::MSG = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
class RuboCop::Cop::RSpec::SubjectStub < ::RuboCop::Cop::RSpec::Base
|
class RuboCop::Cop::RSpec::SubjectStub < ::RuboCop::Cop::RSpec::Base
|
||||||
include(::RuboCop::RSpec::TopLevelGroup)
|
include(::RuboCop::RSpec::TopLevelGroup)
|
||||||
|
|
||||||
def message_expectation?(node = T.unsafe(nil), param1); end
|
def message_expectation?(param0 = T.unsafe(nil), param1); end
|
||||||
def message_expectation_matcher?(node0); end
|
def message_expectation_matcher?(param0); end
|
||||||
def on_top_level_group(node); end
|
def on_top_level_group(node); end
|
||||||
def subject(node = T.unsafe(nil)); end
|
def subject(param0 = T.unsafe(nil)); end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
@ -1356,7 +1397,7 @@ RuboCop::Cop::RSpec::SubjectStub::MSG = T.let(T.unsafe(nil), String)
|
|||||||
class RuboCop::Cop::RSpec::UnspecifiedException < ::RuboCop::Cop::RSpec::Base
|
class RuboCop::Cop::RSpec::UnspecifiedException < ::RuboCop::Cop::RSpec::Base
|
||||||
def block_with_args?(node); end
|
def block_with_args?(node); end
|
||||||
def empty_exception_matcher?(node); end
|
def empty_exception_matcher?(node); end
|
||||||
def empty_raise_error_or_exception(node = T.unsafe(nil)); end
|
def empty_raise_error_or_exception(param0 = T.unsafe(nil)); end
|
||||||
def on_send(node); end
|
def on_send(node); end
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -1395,7 +1436,7 @@ RuboCop::Cop::RSpec::VariableName::MSG = T.let(T.unsafe(nil), String)
|
|||||||
|
|
||||||
class RuboCop::Cop::RSpec::VerifiedDoubles < ::RuboCop::Cop::RSpec::Base
|
class RuboCop::Cop::RSpec::VerifiedDoubles < ::RuboCop::Cop::RSpec::Base
|
||||||
def on_send(node); end
|
def on_send(node); end
|
||||||
def unverified_double(node = T.unsafe(nil)); end
|
def unverified_double(param0 = T.unsafe(nil)); end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
@ -1405,8 +1446,8 @@ end
|
|||||||
RuboCop::Cop::RSpec::VerifiedDoubles::MSG = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::RSpec::VerifiedDoubles::MSG = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
class RuboCop::Cop::RSpec::VoidExpect < ::RuboCop::Cop::RSpec::Base
|
class RuboCop::Cop::RSpec::VoidExpect < ::RuboCop::Cop::RSpec::Base
|
||||||
def expect?(node = T.unsafe(nil)); end
|
def expect?(param0 = T.unsafe(nil)); end
|
||||||
def expect_block?(node = T.unsafe(nil)); end
|
def expect_block?(param0 = T.unsafe(nil)); end
|
||||||
def on_block(node); end
|
def on_block(node); end
|
||||||
def on_send(node); end
|
def on_send(node); end
|
||||||
|
|
||||||
@ -1422,9 +1463,9 @@ class RuboCop::Cop::RSpec::Yield < ::RuboCop::Cop::RSpec::Base
|
|||||||
include(::RuboCop::Cop::RangeHelp)
|
include(::RuboCop::Cop::RangeHelp)
|
||||||
extend(::RuboCop::Cop::AutoCorrector)
|
extend(::RuboCop::Cop::AutoCorrector)
|
||||||
|
|
||||||
def block_arg(node = T.unsafe(nil)); end
|
def block_arg(param0 = T.unsafe(nil)); end
|
||||||
def block_call?(node = T.unsafe(nil), param1); end
|
def block_call?(param0 = T.unsafe(nil), param1); end
|
||||||
def method_on_stub?(node0); end
|
def method_on_stub?(param0); end
|
||||||
def on_block(node); end
|
def on_block(node); end
|
||||||
|
|
||||||
private
|
private
|
||||||
@ -1518,9 +1559,9 @@ end
|
|||||||
class RuboCop::RSpec::Example < ::RuboCop::RSpec::Concept
|
class RuboCop::RSpec::Example < ::RuboCop::RSpec::Concept
|
||||||
def definition; end
|
def definition; end
|
||||||
def doc_string; end
|
def doc_string; end
|
||||||
def extract_doc_string(node = T.unsafe(nil)); end
|
def extract_doc_string(param0 = T.unsafe(nil)); end
|
||||||
def extract_implementation(node = T.unsafe(nil)); end
|
def extract_implementation(param0 = T.unsafe(nil)); end
|
||||||
def extract_metadata(node = T.unsafe(nil)); end
|
def extract_metadata(param0 = T.unsafe(nil)); end
|
||||||
def implementation; end
|
def implementation; end
|
||||||
def metadata; end
|
def metadata; end
|
||||||
end
|
end
|
||||||
@ -1529,7 +1570,7 @@ class RuboCop::RSpec::ExampleGroup < ::RuboCop::RSpec::Concept
|
|||||||
def examples; end
|
def examples; end
|
||||||
def hooks; end
|
def hooks; end
|
||||||
def lets; end
|
def lets; end
|
||||||
def scope_change?(node = T.unsafe(nil)); end
|
def scope_change?(param0 = T.unsafe(nil)); end
|
||||||
def subjects; end
|
def subjects; end
|
||||||
|
|
||||||
private
|
private
|
||||||
@ -1551,7 +1592,7 @@ end
|
|||||||
|
|
||||||
class RuboCop::RSpec::Hook < ::RuboCop::RSpec::Concept
|
class RuboCop::RSpec::Hook < ::RuboCop::RSpec::Concept
|
||||||
def example?; end
|
def example?; end
|
||||||
def extract_metadata(node = T.unsafe(nil)); end
|
def extract_metadata(param0 = T.unsafe(nil)); end
|
||||||
def knowable_scope?; end
|
def knowable_scope?; end
|
||||||
def metadata; end
|
def metadata; end
|
||||||
def name; end
|
def name; end
|
||||||
@ -1633,16 +1674,16 @@ RuboCop::RSpec::Language::Includes::EXAMPLES = T.let(T.unsafe(nil), RuboCop::RSp
|
|||||||
module RuboCop::RSpec::Language::NodePattern
|
module RuboCop::RSpec::Language::NodePattern
|
||||||
extend(::RuboCop::AST::NodePattern::Macros)
|
extend(::RuboCop::AST::NodePattern::Macros)
|
||||||
|
|
||||||
def example?(node = T.unsafe(nil)); end
|
def example?(param0 = T.unsafe(nil)); end
|
||||||
def example_group?(node = T.unsafe(nil)); end
|
def example_group?(param0 = T.unsafe(nil)); end
|
||||||
def example_group_with_body?(node = T.unsafe(nil)); end
|
def example_group_with_body?(param0 = T.unsafe(nil)); end
|
||||||
def hook?(node = T.unsafe(nil)); end
|
def hook?(param0 = T.unsafe(nil)); end
|
||||||
def include?(node = T.unsafe(nil)); end
|
def include?(param0 = T.unsafe(nil)); end
|
||||||
def let?(node = T.unsafe(nil)); end
|
def let?(param0 = T.unsafe(nil)); end
|
||||||
def rspec?(node = T.unsafe(nil)); end
|
def rspec?(param0 = T.unsafe(nil)); end
|
||||||
def shared_group?(node = T.unsafe(nil)); end
|
def shared_group?(param0 = T.unsafe(nil)); end
|
||||||
def spec_group?(node = T.unsafe(nil)); end
|
def spec_group?(param0 = T.unsafe(nil)); end
|
||||||
def subject?(node = T.unsafe(nil)); end
|
def subject?(param0 = T.unsafe(nil)); end
|
||||||
end
|
end
|
||||||
|
|
||||||
module RuboCop::RSpec::Language::Runners
|
module RuboCop::RSpec::Language::Runners
|
||||||
@ -1663,6 +1704,7 @@ class RuboCop::RSpec::Language::SelectorSet
|
|||||||
def node_pattern_union; end
|
def node_pattern_union; end
|
||||||
def send_or_block_or_block_pass_pattern; end
|
def send_or_block_or_block_pass_pattern; end
|
||||||
def send_pattern; end
|
def send_pattern; end
|
||||||
|
def to_a; end
|
||||||
|
|
||||||
protected
|
protected
|
||||||
|
|
||||||
@ -1705,7 +1747,7 @@ module RuboCop::RSpec::TopLevelGroup
|
|||||||
include(::RuboCop::RSpec::Language)
|
include(::RuboCop::RSpec::Language)
|
||||||
extend(::RuboCop::AST::NodePattern::Macros)
|
extend(::RuboCop::AST::NodePattern::Macros)
|
||||||
|
|
||||||
def example_or_shared_group?(node = T.unsafe(nil)); end
|
def example_or_shared_group?(param0 = T.unsafe(nil)); end
|
||||||
def on_new_investigation; end
|
def on_new_investigation; end
|
||||||
def top_level_groups; end
|
def top_level_groups; end
|
||||||
|
|
||||||
@ -1722,7 +1764,7 @@ module RuboCop::RSpec::Variable
|
|||||||
include(::RuboCop::RSpec::Language)
|
include(::RuboCop::RSpec::Language)
|
||||||
extend(::RuboCop::AST::NodePattern::Macros)
|
extend(::RuboCop::AST::NodePattern::Macros)
|
||||||
|
|
||||||
def variable_definition?(node = T.unsafe(nil)); end
|
def variable_definition?(param0 = T.unsafe(nil)); end
|
||||||
end
|
end
|
||||||
|
|
||||||
module RuboCop::RSpec::Version
|
module RuboCop::RSpec::Version
|
@ -22364,9 +22364,12 @@ class RuboCop::AST::NodePattern::Parser
|
|||||||
end
|
end
|
||||||
|
|
||||||
module RuboCop::AST::NodePattern::Sets
|
module RuboCop::AST::NodePattern::Sets
|
||||||
|
SET_AND_RETURN_AND_RAISE_AND_THROW_ETC = ::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_INCLUDE_WITH_WITHOUT = ::T.let(nil, ::T.untyped)
|
SET_INCLUDE_WITH_WITHOUT = ::T.let(nil, ::T.untyped)
|
||||||
|
SET_PROC_LAMBDA = ::T.let(nil, ::T.untyped)
|
||||||
|
SET_RECEIVE_RECEIVE_MESSAGE_CHAIN = ::T.let(nil, ::T.untyped)
|
||||||
SET_SYSTEM_SHELL_OUTPUT_PIPE_OUTPUT = ::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_WITH_WITHOUT = ::T.let(nil, ::T.untyped)
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user