srb/tapioca: update rbi of recently bumped gems
This commit is contained in:
parent
0d58d2a46c
commit
1d2e68d184
@ -1,5 +1,5 @@
|
|||||||
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
|
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
|
||||||
# tapioca sync
|
# tapioca sync --exclude json
|
||||||
|
|
||||||
# typed: true
|
# typed: true
|
||||||
|
|
||||||
@ -1,5 +1,5 @@
|
|||||||
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
|
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
|
||||||
# tapioca sync
|
# tapioca sync --exclude json
|
||||||
|
|
||||||
# typed: true
|
# typed: true
|
||||||
|
|
||||||
@ -225,7 +225,6 @@ class RuboCop::Cop::RSpec::DescribeClass < ::RuboCop::Cop::RSpec::Cop
|
|||||||
def describe_with_rails_metadata?(node = _); end
|
def describe_with_rails_metadata?(node = _); end
|
||||||
def on_top_level_describe(node, _); end
|
def on_top_level_describe(node, _); end
|
||||||
def rails_metadata?(node = _); end
|
def rails_metadata?(node = _); end
|
||||||
def shared_group?(node = _); end
|
|
||||||
def valid_describe?(node = _); end
|
def valid_describe?(node = _); end
|
||||||
|
|
||||||
private
|
private
|
||||||
@ -528,7 +527,7 @@ end
|
|||||||
class RuboCop::Cop::RSpec::FactoryBot::AttributeDefinedStatically < ::RuboCop::Cop::RSpec::Cop
|
class RuboCop::Cop::RSpec::FactoryBot::AttributeDefinedStatically < ::RuboCop::Cop::RSpec::Cop
|
||||||
def association?(node = _); end
|
def association?(node = _); end
|
||||||
def autocorrect(node); end
|
def autocorrect(node); end
|
||||||
def factory_attributes(node0); end
|
def factory_attributes(node = _); end
|
||||||
def on_block(node); end
|
def on_block(node); end
|
||||||
def value_matcher(node = _); end
|
def value_matcher(node = _); end
|
||||||
|
|
||||||
@ -773,12 +772,13 @@ end
|
|||||||
RuboCop::Cop::RSpec::InstanceSpy::MSG = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::RSpec::InstanceSpy::MSG = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
class RuboCop::Cop::RSpec::InstanceVariable < ::RuboCop::Cop::RSpec::Cop
|
class RuboCop::Cop::RSpec::InstanceVariable < ::RuboCop::Cop::RSpec::Cop
|
||||||
|
include(::RuboCop::RSpec::TopLevelGroup)
|
||||||
|
|
||||||
def custom_matcher?(node = _); end
|
def custom_matcher?(node = _); end
|
||||||
def dynamic_class?(node = _); end
|
def dynamic_class?(node = _); end
|
||||||
def ivar_assigned?(node0, param1); end
|
def ivar_assigned?(node0, param1); end
|
||||||
def ivar_usage(node0); end
|
def ivar_usage(node0); end
|
||||||
def on_block(node); end
|
def on_top_level_group(node); end
|
||||||
def spec_group?(node = _); end
|
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
@ -786,8 +786,6 @@ class RuboCop::Cop::RSpec::InstanceVariable < ::RuboCop::Cop::RSpec::Cop
|
|||||||
def valid_usage?(node); end
|
def valid_usage?(node); end
|
||||||
end
|
end
|
||||||
|
|
||||||
RuboCop::Cop::RSpec::InstanceVariable::EXAMPLE_GROUP_METHODS = T.let(T.unsafe(nil), RuboCop::RSpec::Language::SelectorSet)
|
|
||||||
|
|
||||||
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::Cop
|
class RuboCop::Cop::RSpec::InvalidPredicateMatcher < ::RuboCop::Cop::RSpec::Cop
|
||||||
@ -844,7 +842,6 @@ end
|
|||||||
RuboCop::Cop::RSpec::LeadingSubject::MSG = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::RSpec::LeadingSubject::MSG = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
class RuboCop::Cop::RSpec::LeakyConstantDeclaration < ::RuboCop::Cop::RSpec::Cop
|
class RuboCop::Cop::RSpec::LeakyConstantDeclaration < ::RuboCop::Cop::RSpec::Cop
|
||||||
def in_example_or_shared_group?(node = _); end
|
|
||||||
def on_casgn(node); end
|
def on_casgn(node); end
|
||||||
def on_class(node); end
|
def on_class(node); end
|
||||||
def on_module(node); end
|
def on_module(node); end
|
||||||
@ -875,12 +872,14 @@ 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::Cop
|
class RuboCop::Cop::RSpec::LetSetup < ::RuboCop::Cop::RSpec::Cop
|
||||||
def let_bang(node0); end
|
def example_or_shared_group_or_including?(node = _); end
|
||||||
|
def let_bang(node = _); end
|
||||||
def method_called?(node0, param1); end
|
def method_called?(node0, param1); end
|
||||||
def on_block(node); end
|
def on_block(node); end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
|
def child_let_bang(node, &block); end
|
||||||
def unused_let_bang(node); end
|
def unused_let_bang(node); end
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -993,12 +992,11 @@ class RuboCop::Cop::RSpec::NestedGroups < ::RuboCop::Cop::RSpec::Cop
|
|||||||
include(::RuboCop::Cop::ConfigurableMax)
|
include(::RuboCop::Cop::ConfigurableMax)
|
||||||
include(::RuboCop::RSpec::TopLevelDescribe)
|
include(::RuboCop::RSpec::TopLevelDescribe)
|
||||||
|
|
||||||
def find_contexts(node0); end
|
|
||||||
def on_top_level_describe(node, _args); end
|
def on_top_level_describe(node, _args); end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
def find_nested_contexts(node, nesting: _, &block); end
|
def find_nested_example_groups(node, nesting: _, &block); end
|
||||||
def max_nesting; end
|
def max_nesting; end
|
||||||
def max_nesting_config; end
|
def max_nesting_config; end
|
||||||
def message(nesting); end
|
def message(nesting); end
|
||||||
@ -1157,6 +1155,7 @@ class RuboCop::Cop::RSpec::ReturnFromStub < ::RuboCop::Cop::RSpec::Cop
|
|||||||
def contains_stub?(node0); end
|
def contains_stub?(node0); 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 = _); end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
@ -1280,16 +1279,17 @@ 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::SubjectStub < ::RuboCop::Cop::RSpec::Cop
|
class RuboCop::Cop::RSpec::SubjectStub < ::RuboCop::Cop::RSpec::Cop
|
||||||
|
include(::RuboCop::RSpec::TopLevelGroup)
|
||||||
|
|
||||||
def message_expectation?(node = _, param1); end
|
def message_expectation?(node = _, param1); end
|
||||||
def message_expectation_matcher?(node0); end
|
def message_expectation_matcher?(node0); end
|
||||||
def on_block(node); end
|
def on_top_level_group(node); end
|
||||||
def subject(node = _); end
|
def subject(node = _); end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
def find_all_explicit_subjects(node); end
|
def find_all_explicit_subjects(node); end
|
||||||
def find_subject_expectations(node, subject_names = _, &block); end
|
def find_subject_expectations(node, subject_names = _, &block); end
|
||||||
def processed_example_groups; end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
RuboCop::Cop::RSpec::SubjectStub::MSG = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::RSpec::SubjectStub::MSG = T.let(T.unsafe(nil), String)
|
||||||
@ -1467,17 +1467,14 @@ end
|
|||||||
class RuboCop::RSpec::ExampleGroup < ::RuboCop::RSpec::Concept
|
class RuboCop::RSpec::ExampleGroup < ::RuboCop::RSpec::Concept
|
||||||
def examples; end
|
def examples; end
|
||||||
def hooks; end
|
def hooks; end
|
||||||
|
def lets; end
|
||||||
def scope_change?(node = _); end
|
def scope_change?(node = _); end
|
||||||
def subjects; end
|
def subjects; end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
def examples_in_scope(node, &blk); end
|
def find_all(node, predicate); end
|
||||||
def find_examples(node); end
|
def find_all_in_scope(node, predicate); end
|
||||||
def find_hooks(node); end
|
|
||||||
def find_subjects(node); end
|
|
||||||
def hooks_in_scope(node); end
|
|
||||||
def subjects_in_scope(node); end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
module RuboCop::RSpec::FactoryBot
|
module RuboCop::RSpec::FactoryBot
|
||||||
@ -1576,6 +1573,8 @@ module RuboCop::RSpec::Language::NodePattern
|
|||||||
def example_group_with_body?(node = _); end
|
def example_group_with_body?(node = _); end
|
||||||
def hook?(node = _); end
|
def hook?(node = _); end
|
||||||
def let?(node = _); end
|
def let?(node = _); end
|
||||||
|
def shared_group?(node = _); end
|
||||||
|
def spec_group?(node = _); end
|
||||||
def subject?(node = _); end
|
def subject?(node = _); end
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -1636,6 +1635,21 @@ module RuboCop::RSpec::TopLevelDescribe
|
|||||||
def top_level_nodes; end
|
def top_level_nodes; end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
module RuboCop::RSpec::TopLevelGroup
|
||||||
|
include(::RuboCop::RSpec::Language)
|
||||||
|
extend(::RuboCop::AST::NodePattern::Macros)
|
||||||
|
|
||||||
|
def example_or_shared_group?(node = _); end
|
||||||
|
def on_block(node); end
|
||||||
|
|
||||||
|
private
|
||||||
|
|
||||||
|
def root_node; end
|
||||||
|
def top_level_group?(node); end
|
||||||
|
def top_level_groups; end
|
||||||
|
def top_level_nodes; end
|
||||||
|
end
|
||||||
|
|
||||||
module RuboCop::RSpec::Variable
|
module RuboCop::RSpec::Variable
|
||||||
include(::RuboCop::RSpec::Language)
|
include(::RuboCop::RSpec::Language)
|
||||||
extend(::RuboCop::AST::NodePattern::Macros)
|
extend(::RuboCop::AST::NodePattern::Macros)
|
||||||
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user