Update RBI files for rspec-expectations.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
This commit is contained in:
parent
ef352789ac
commit
fba59689de
@ -4,6 +4,7 @@
|
||||
# This is an autogenerated file for types exported from the `rspec-expectations` gem.
|
||||
# Please instead update this file by running `bin/tapioca gem rspec-expectations`.
|
||||
|
||||
|
||||
# RSpec's top level namespace. All of rspec-expectations is contained
|
||||
# in the `RSpec::Expectations` and `RSpec::Matchers` namespaces.
|
||||
#
|
||||
@ -3317,7 +3318,7 @@ end
|
||||
#
|
||||
# @private
|
||||
#
|
||||
# source://rspec-expectations//lib/rspec/matchers/aliased_matcher.rb#65
|
||||
# source://rspec-expectations//lib/rspec/matchers/aliased_matcher.rb#64
|
||||
class RSpec::Matchers::AliasedMatcherWithOperatorSupport < ::RSpec::Matchers::AliasedMatcher; end
|
||||
|
||||
# @private
|
||||
@ -3390,7 +3391,7 @@ module RSpec::Matchers::BuiltIn; end
|
||||
#
|
||||
# @api private
|
||||
#
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/all.rb#8
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/all.rb#7
|
||||
class RSpec::Matchers::BuiltIn::All < ::RSpec::Matchers::BuiltIn::BaseMatcher
|
||||
# @api private
|
||||
# @return [All] a new instance of All
|
||||
@ -3827,7 +3828,7 @@ end
|
||||
#
|
||||
# @api private
|
||||
#
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/be_instance_of.rb#9
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/be_instance_of.rb#7
|
||||
class RSpec::Matchers::BuiltIn::BeAnInstanceOf < ::RSpec::Matchers::BuiltIn::BaseMatcher
|
||||
# @api private
|
||||
# @return [String]
|
||||
@ -3971,7 +3972,7 @@ end
|
||||
#
|
||||
# @api private
|
||||
#
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/be.rb#32
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/be.rb#30
|
||||
class RSpec::Matchers::BuiltIn::BeFalsey < ::RSpec::Matchers::BuiltIn::BaseMatcher
|
||||
# @api private
|
||||
# @return [String]
|
||||
@ -4020,7 +4021,7 @@ end
|
||||
#
|
||||
# @api private
|
||||
#
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/be.rb#55
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/be.rb#53
|
||||
class RSpec::Matchers::BuiltIn::BeNil < ::RSpec::Matchers::BuiltIn::BaseMatcher
|
||||
# @api private
|
||||
# @return [String]
|
||||
@ -4047,7 +4048,7 @@ end
|
||||
#
|
||||
# @api private
|
||||
#
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/has.rb#138
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/has.rb#137
|
||||
class RSpec::Matchers::BuiltIn::BePredicate < ::RSpec::Matchers::BuiltIn::DynamicPredicate
|
||||
private
|
||||
|
||||
@ -4088,7 +4089,7 @@ RSpec::Matchers::BuiltIn::BePredicate::REGEX = T.let(T.unsafe(nil), Regexp)
|
||||
#
|
||||
# @api private
|
||||
#
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/be.rb#9
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/be.rb#7
|
||||
class RSpec::Matchers::BuiltIn::BeTruthy < ::RSpec::Matchers::BuiltIn::BaseMatcher
|
||||
# @api private
|
||||
# @return [String]
|
||||
@ -4221,7 +4222,7 @@ end
|
||||
#
|
||||
# @api private
|
||||
#
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/change.rb#9
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/change.rb#7
|
||||
class RSpec::Matchers::BuiltIn::Change < ::RSpec::Matchers::BuiltIn::BaseMatcher
|
||||
# @api private
|
||||
# @return [Change] a new instance of Change
|
||||
@ -4539,7 +4540,7 @@ end
|
||||
#
|
||||
# @api private
|
||||
#
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/compound.rb#7
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/compound.rb#6
|
||||
class RSpec::Matchers::BuiltIn::Compound < ::RSpec::Matchers::BuiltIn::BaseMatcher
|
||||
# @api private
|
||||
# @return [Compound] a new instance of Compound
|
||||
@ -4678,7 +4679,7 @@ end
|
||||
#
|
||||
# @api public
|
||||
#
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/compound.rb#244
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/compound.rb#242
|
||||
class RSpec::Matchers::BuiltIn::Compound::And < ::RSpec::Matchers::BuiltIn::Compound
|
||||
# @api private
|
||||
# @return [String]
|
||||
@ -4787,7 +4788,7 @@ end
|
||||
#
|
||||
# @api public
|
||||
#
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/compound.rb#271
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/compound.rb#269
|
||||
class RSpec::Matchers::BuiltIn::Compound::Or < ::RSpec::Matchers::BuiltIn::Compound
|
||||
# @api private
|
||||
# @return [String]
|
||||
@ -4832,7 +4833,7 @@ end
|
||||
#
|
||||
# @api private
|
||||
#
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/contain_exactly.rb#10
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/contain_exactly.rb#8
|
||||
class RSpec::Matchers::BuiltIn::ContainExactly < ::RSpec::Matchers::BuiltIn::BaseMatcher
|
||||
# @api private
|
||||
# @return [String]
|
||||
@ -5430,7 +5431,7 @@ end
|
||||
#
|
||||
# @api private
|
||||
#
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/eq.rb#9
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/eq.rb#7
|
||||
class RSpec::Matchers::BuiltIn::Eq < ::RSpec::Matchers::BuiltIn::BaseMatcher
|
||||
# @api private
|
||||
# @return [String]
|
||||
@ -5469,7 +5470,7 @@ end
|
||||
#
|
||||
# @api private
|
||||
#
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/eql.rb#9
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/eql.rb#7
|
||||
class RSpec::Matchers::BuiltIn::Eql < ::RSpec::Matchers::BuiltIn::BaseMatcher
|
||||
# @api private
|
||||
# @return [Boolean]
|
||||
@ -5502,7 +5503,7 @@ end
|
||||
#
|
||||
# @api private
|
||||
#
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/equal.rb#9
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/equal.rb#7
|
||||
class RSpec::Matchers::BuiltIn::Equal < ::RSpec::Matchers::BuiltIn::BaseMatcher
|
||||
# @api private
|
||||
# @return [Boolean]
|
||||
@ -5604,7 +5605,7 @@ end
|
||||
#
|
||||
# @api private
|
||||
#
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/exist.rb#45
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/exist.rb#43
|
||||
class RSpec::Matchers::BuiltIn::Exist::ExistenceTest < ::Struct
|
||||
# @api private
|
||||
# @return [Boolean]
|
||||
@ -5652,7 +5653,7 @@ end
|
||||
#
|
||||
# @api private
|
||||
#
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/has.rb#126
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/has.rb#125
|
||||
class RSpec::Matchers::BuiltIn::Has < ::RSpec::Matchers::BuiltIn::DynamicPredicate
|
||||
private
|
||||
|
||||
@ -5672,7 +5673,7 @@ RSpec::Matchers::BuiltIn::Has::REGEX = T.let(T.unsafe(nil), Regexp)
|
||||
#
|
||||
# @api private
|
||||
#
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/have_attributes.rb#8
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/have_attributes.rb#7
|
||||
class RSpec::Matchers::BuiltIn::HaveAttributes < ::RSpec::Matchers::BuiltIn::BaseMatcher
|
||||
# @api private
|
||||
# @return [HaveAttributes] a new instance of HaveAttributes
|
||||
@ -6237,176 +6238,176 @@ class RSpec::Matchers::BuiltIn::RaiseError
|
||||
# @api private
|
||||
# @return [RaiseError] a new instance of RaiseError
|
||||
#
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#18
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#22
|
||||
def initialize(expected_error_or_message, expected_message, &block); end
|
||||
|
||||
# @api private
|
||||
# @return [String]
|
||||
#
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#113
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#117
|
||||
def description; end
|
||||
|
||||
# @api private
|
||||
# @private
|
||||
# @return [Boolean]
|
||||
#
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#79
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#83
|
||||
def does_not_match?(given_proc); end
|
||||
|
||||
# @api private
|
||||
# @private
|
||||
# @return [Boolean]
|
||||
#
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#95
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#99
|
||||
def expects_call_stack_jump?; end
|
||||
|
||||
# @api private
|
||||
# @return [String]
|
||||
#
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#101
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#105
|
||||
def failure_message; end
|
||||
|
||||
# @api private
|
||||
# @return [String]
|
||||
#
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#107
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#111
|
||||
def failure_message_when_negated; end
|
||||
|
||||
# @api private
|
||||
# @private
|
||||
# @return [Boolean]
|
||||
#
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#48
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#52
|
||||
def matches?(given_proc, negative_expectation = T.unsafe(nil), &block); end
|
||||
|
||||
# @api private
|
||||
# @private
|
||||
# @return [Boolean]
|
||||
#
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#85
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#89
|
||||
def supports_block_expectations?; end
|
||||
|
||||
# @api private
|
||||
# @private
|
||||
# @return [Boolean]
|
||||
#
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#90
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#94
|
||||
def supports_value_expectations?; end
|
||||
|
||||
# Specifies the expected error message.
|
||||
#
|
||||
# @api public
|
||||
#
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#39
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#43
|
||||
def with_message(expected_message); end
|
||||
|
||||
private
|
||||
|
||||
# @api private
|
||||
#
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#119
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#123
|
||||
def actual_error_message; end
|
||||
|
||||
# @api private
|
||||
# @return [Boolean]
|
||||
#
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#133
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#137
|
||||
def block_matches?; end
|
||||
|
||||
# @api private
|
||||
# @return [Boolean]
|
||||
#
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#129
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#133
|
||||
def error_and_message_match?; end
|
||||
|
||||
# @api private
|
||||
#
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#141
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#145
|
||||
def eval_block; end
|
||||
|
||||
# @api private
|
||||
# @return [Boolean]
|
||||
#
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#125
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#129
|
||||
def expectation_matched?; end
|
||||
|
||||
# @api private
|
||||
#
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#222
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#226
|
||||
def expected_error; end
|
||||
|
||||
# @api private
|
||||
# @return [Boolean]
|
||||
#
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#253
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#257
|
||||
def expecting_specific_exception?; end
|
||||
|
||||
# @api private
|
||||
#
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#237
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#241
|
||||
def format_backtrace(backtrace); end
|
||||
|
||||
# @api private
|
||||
#
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#242
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#246
|
||||
def given_error; end
|
||||
|
||||
# @api private
|
||||
#
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#172
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#176
|
||||
def handle_warning(message); end
|
||||
|
||||
# @api private
|
||||
#
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#257
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#261
|
||||
def raise_message_already_set; end
|
||||
|
||||
# @api private
|
||||
# @return [Boolean]
|
||||
#
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#137
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#141
|
||||
def ready_to_eval_block?; end
|
||||
|
||||
# @api private
|
||||
#
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#151
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#155
|
||||
def verify_message; end
|
||||
|
||||
# @api private
|
||||
#
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#184
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#188
|
||||
def warn_about_bare_error!; end
|
||||
|
||||
# @api private
|
||||
# @return [Boolean]
|
||||
#
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#176
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#180
|
||||
def warn_about_bare_error?; end
|
||||
|
||||
# @api private
|
||||
#
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#210
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#214
|
||||
def warn_about_negative_false_positive!(expression); end
|
||||
|
||||
# @api private
|
||||
#
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#197
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#201
|
||||
def warn_about_nil_error!; end
|
||||
|
||||
# @api private
|
||||
# @return [Boolean]
|
||||
#
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#180
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#184
|
||||
def warn_about_nil_error?; end
|
||||
|
||||
# @api private
|
||||
#
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#156
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#160
|
||||
def warn_for_negative_false_positives!; end
|
||||
|
||||
# @api private
|
||||
#
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#262
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#266
|
||||
def warning; end
|
||||
end
|
||||
|
||||
@ -6415,9 +6416,13 @@ end
|
||||
# passed in a different way. It's an Object, not a Module, since Module's `===`
|
||||
# does not evaluate to true when compared to itself.
|
||||
#
|
||||
# Note; this _is_ the default value supplied for expected_error_or_message, but
|
||||
# because there are two method-calls involved, that default is actually supplied
|
||||
# in the definition of the _matcher_ method, `RSpec::Matchers#raise_error`
|
||||
#
|
||||
# @api private
|
||||
#
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#16
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/raise_error.rb#20
|
||||
RSpec::Matchers::BuiltIn::RaiseError::UndefinedValue = T.let(T.unsafe(nil), Object)
|
||||
|
||||
# Used to wrap match data and make it reliable for 1.8.7
|
||||
@ -6714,7 +6719,7 @@ end
|
||||
#
|
||||
# @api private
|
||||
#
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/change.rb#182
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/change.rb#181
|
||||
class RSpec::Matchers::BuiltIn::SpecificValuesChange < ::RSpec::Matchers::BuiltIn::BaseMatcher
|
||||
# @api private
|
||||
# @return [SpecificValuesChange] a new instance of SpecificValuesChange
|
||||
@ -7261,7 +7266,7 @@ end
|
||||
#
|
||||
# @api private
|
||||
#
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/yield.rb#150
|
||||
# source://rspec-expectations//lib/rspec/matchers/built_in/yield.rb#149
|
||||
class RSpec::Matchers::BuiltIn::YieldWithNoArgs < ::RSpec::Matchers::BuiltIn::BaseMatcher
|
||||
# @api private
|
||||
# @private
|
||||
Loading…
x
Reference in New Issue
Block a user