Update RBI files for rubocop-rspec.
This commit is contained in:
parent
5e64a50464
commit
4ffc69764a
@ -6,39 +6,6 @@
|
||||
|
||||
module RuboCop; end
|
||||
module RuboCop::Cop; end
|
||||
module RuboCop::Cop::Layout; end
|
||||
|
||||
class RuboCop::Cop::Layout::ExtraSpacing < ::RuboCop::Cop::Base
|
||||
include ::RuboCop::Cop::PrecedingFollowingAlignment
|
||||
include ::RuboCop::Cop::RangeHelp
|
||||
extend ::RuboCop::Cop::AutoCorrector
|
||||
|
||||
def on_new_investigation; end
|
||||
|
||||
private
|
||||
|
||||
def align_column(asgn_token); end
|
||||
def align_equal_sign(corrector, token, align_to); end
|
||||
def align_equal_signs(range, corrector); end
|
||||
def aligned_locations(locs); end
|
||||
def aligned_tok?(token); end
|
||||
def all_relevant_assignment_lines(line_number); end
|
||||
def allow_for_trailing_comments?; end
|
||||
def check_assignment(token); end
|
||||
def check_other(token1, token2, ast); end
|
||||
def check_tokens(ast, token1, token2); end
|
||||
def extra_space_range(token1, token2); end
|
||||
def force_equal_sign_alignment?; end
|
||||
def ignored_range?(ast, start_pos); end
|
||||
def ignored_ranges(ast); end
|
||||
|
||||
class << self
|
||||
def autocorrect_incompatible_with; end
|
||||
end
|
||||
end
|
||||
|
||||
RuboCop::Cop::Layout::ExtraSpacing::MSG_UNALIGNED_ASGN = T.let(T.unsafe(nil), String)
|
||||
RuboCop::Cop::Layout::ExtraSpacing::MSG_UNNECESSARY = T.let(T.unsafe(nil), String)
|
||||
module RuboCop::Cop::RSpec; end
|
||||
|
||||
class RuboCop::Cop::RSpec::AlignLeftLetBrace < ::RuboCop::Cop::RSpec::Base
|
||||
@ -133,13 +100,21 @@ RuboCop::Cop::RSpec::BeEql::MSG = T.let(T.unsafe(nil), String)
|
||||
RuboCop::Cop::RSpec::BeEql::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
|
||||
|
||||
class RuboCop::Cop::RSpec::BeNil < ::RuboCop::Cop::RSpec::Base
|
||||
include ::RuboCop::Cop::ConfigurableEnforcedStyle
|
||||
extend ::RuboCop::Cop::AutoCorrector
|
||||
|
||||
def be_nil_matcher?(param0 = T.unsafe(nil)); end
|
||||
def nil_value_expectation?(param0 = T.unsafe(nil)); end
|
||||
def on_send(node); end
|
||||
|
||||
private
|
||||
|
||||
def check_be_nil_style(node); end
|
||||
def check_be_style(node); end
|
||||
end
|
||||
|
||||
RuboCop::Cop::RSpec::BeNil::MSG = T.let(T.unsafe(nil), String)
|
||||
RuboCop::Cop::RSpec::BeNil::BE_MSG = T.let(T.unsafe(nil), String)
|
||||
RuboCop::Cop::RSpec::BeNil::BE_NIL_MSG = T.let(T.unsafe(nil), String)
|
||||
RuboCop::Cop::RSpec::BeNil::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
|
||||
|
||||
class RuboCop::Cop::RSpec::BeforeAfterAll < ::RuboCop::Cop::RSpec::Base
|
||||
@ -165,6 +140,10 @@ class RuboCop::Cop::RSpec::Capybara::CurrentPathExpectation < ::RuboCop::Cop::RS
|
||||
def autocorrect(corrector, node); end
|
||||
def convert_regexp_str_to_literal(corrector, matcher_node, regexp_str); end
|
||||
def rewrite_expectation(corrector, node, to_symbol, matcher_node); end
|
||||
|
||||
class << self
|
||||
def autocorrect_incompatible_with; end
|
||||
end
|
||||
end
|
||||
|
||||
RuboCop::Cop::RSpec::Capybara::CurrentPathExpectation::MSG = T.let(T.unsafe(nil), String)
|
||||
@ -332,7 +311,7 @@ class RuboCop::Cop::RSpec::EmptyExampleGroup < ::RuboCop::Cop::RSpec::Base
|
||||
private
|
||||
|
||||
def conditionals_with_examples?(body); end
|
||||
def examples_in_branches?(if_node); end
|
||||
def examples_in_branches?(condition_node); end
|
||||
def offensive?(body); end
|
||||
end
|
||||
|
||||
@ -1576,6 +1555,23 @@ end
|
||||
|
||||
RuboCop::Cop::RSpec::VariableName::MSG = T.let(T.unsafe(nil), String)
|
||||
|
||||
class RuboCop::Cop::RSpec::VerifiedDoubleReference < ::RuboCop::Cop::RSpec::Base
|
||||
include ::RuboCop::Cop::ConfigurableEnforcedStyle
|
||||
extend ::RuboCop::Cop::AutoCorrector
|
||||
|
||||
def on_send(node); end
|
||||
def verified_double(param0 = T.unsafe(nil)); end
|
||||
|
||||
private
|
||||
|
||||
def correct_style(violation); end
|
||||
def opposing_style?(class_reference); end
|
||||
end
|
||||
|
||||
RuboCop::Cop::RSpec::VerifiedDoubleReference::MSG = T.let(T.unsafe(nil), String)
|
||||
RuboCop::Cop::RSpec::VerifiedDoubleReference::REFERENCE_TYPE_STYLES = T.let(T.unsafe(nil), Hash)
|
||||
RuboCop::Cop::RSpec::VerifiedDoubleReference::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Set)
|
||||
|
||||
class RuboCop::Cop::RSpec::VerifiedDoubles < ::RuboCop::Cop::RSpec::Base
|
||||
def on_send(node); end
|
||||
def unverified_double(param0 = T.unsafe(nil)); end
|
||||
Loading…
x
Reference in New Issue
Block a user