Merge pull request #18650 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-rspec-3.2.0

build(deps-dev): bump rubocop-rspec from 3.1.0 to 3.2.0 in /Library/Homebrew
This commit is contained in:
Ruoyu Zhong 2024-10-29 04:07:51 +08:00 committed by GitHub
commit abfdc21af9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 44 additions and 34 deletions

View File

@ -89,7 +89,7 @@ GEM
rubocop-performance (1.22.1)
rubocop (>= 1.48.1, < 2.0)
rubocop-ast (>= 1.31.1, < 2.0)
rubocop-rspec (3.1.0)
rubocop-rspec (3.2.0)
rubocop (~> 1.61)
rubocop-sorbet (0.8.6)
rubocop (>= 1)
@ -146,6 +146,7 @@ GEM
PLATFORMS
aarch64-linux
arm-linux
arm64-darwin
x86_64-darwin
x86_64-linux

View File

@ -489,10 +489,10 @@ class RuboCop::Cop::RSpec::ChangeByZero < ::RuboCop::Cop::RSpec::Base
private
# source://rubocop-rspec//lib/rubocop/cop/rspec/change_by_zero.rb#133
# source://rubocop-rspec//lib/rubocop/cop/rspec/change_by_zero.rb#134
def autocorrect(corrector, node, change_node); end
# source://rubocop-rspec//lib/rubocop/cop/rspec/change_by_zero.rb#140
# source://rubocop-rspec//lib/rubocop/cop/rspec/change_by_zero.rb#141
def autocorrect_compound(corrector, node); end
# @return [Boolean]
@ -500,28 +500,28 @@ class RuboCop::Cop::RSpec::ChangeByZero < ::RuboCop::Cop::RSpec::Base
# source://rubocop-rspec//lib/rubocop/cop/rspec/change_by_zero.rb#120
def compound_expectations?(node); end
# source://rubocop-rspec//lib/rubocop/cop/rspec/change_by_zero.rb#150
# source://rubocop-rspec//lib/rubocop/cop/rspec/change_by_zero.rb#151
def insert_operator(corrector, node, change_node); end
# source://rubocop-rspec//lib/rubocop/cop/rspec/change_by_zero.rb#124
# source://rubocop-rspec//lib/rubocop/cop/rspec/change_by_zero.rb#125
def message(change_node); end
# source://rubocop-rspec//lib/rubocop/cop/rspec/change_by_zero.rb#128
# source://rubocop-rspec//lib/rubocop/cop/rspec/change_by_zero.rb#129
def message_compound(change_node); end
# source://rubocop-rspec//lib/rubocop/cop/rspec/change_by_zero.rb#174
# source://rubocop-rspec//lib/rubocop/cop/rspec/change_by_zero.rb#175
def negated_matcher; end
# source://rubocop-rspec//lib/rubocop/cop/rspec/change_by_zero.rb#178
# source://rubocop-rspec//lib/rubocop/cop/rspec/change_by_zero.rb#179
def preferred_method; end
# source://rubocop-rspec//lib/rubocop/cop/rspec/change_by_zero.rb#105
def register_offense(node, change_node); end
# source://rubocop-rspec//lib/rubocop/cop/rspec/change_by_zero.rb#163
# source://rubocop-rspec//lib/rubocop/cop/rspec/change_by_zero.rb#164
def remove_by_zero(corrector, node, change_node); end
# source://rubocop-rspec//lib/rubocop/cop/rspec/change_by_zero.rb#159
# source://rubocop-rspec//lib/rubocop/cop/rspec/change_by_zero.rb#160
def replace_node(node, change_node); end
end
@ -713,6 +713,9 @@ RuboCop::Cop::RSpec::ContextMethod::MSG = T.let(T.unsafe(nil), String)
# include `if`, `unless`, `for`, `before`, `after`, or `during`.
# They may consist of multiple words if desired.
#
# If both `Prefixes` and `AllowedPatterns` are empty, this cop will always
# report an offense. So you need to set at least one of them.
#
# This cop can be customized allowed context description pattern
# with `AllowedPatterns`. By default, there are no checking by pattern.
#
@ -754,41 +757,42 @@ RuboCop::Cop::RSpec::ContextMethod::MSG = T.let(T.unsafe(nil), String)
# end
# @see http://www.betterspecs.org/#contexts
#
# source://rubocop-rspec//lib/rubocop/cop/rspec/context_wording.rb#58
# source://rubocop-rspec//lib/rubocop/cop/rspec/context_wording.rb#61
class RuboCop::Cop::RSpec::ContextWording < ::RuboCop::Cop::RSpec::Base
include ::RuboCop::Cop::AllowedPattern
# source://rubocop-rspec//lib/rubocop/cop/rspec/context_wording.rb#64
# source://rubocop-rspec//lib/rubocop/cop/rspec/context_wording.rb#69
def context_wording(param0 = T.unsafe(nil)); end
# source://rubocop-rspec//lib/rubocop/cop/rspec/context_wording.rb#68
# source://rubocop-rspec//lib/rubocop/cop/rspec/context_wording.rb#73
def on_block(node); end
private
# source://rubocop-rspec//lib/rubocop/cop/rspec/context_wording.rb#79
# source://rubocop-rspec//lib/rubocop/cop/rspec/context_wording.rb#83
def allowed_patterns; end
# @return [Boolean]
#
# source://rubocop-rspec//lib/rubocop/cop/rspec/context_wording.rb#87
def bad_pattern?(node); end
# source://rubocop-rspec//lib/rubocop/cop/rspec/context_wording.rb#93
# source://rubocop-rspec//lib/rubocop/cop/rspec/context_wording.rb#91
def description(context); end
# source://rubocop-rspec//lib/rubocop/cop/rspec/context_wording.rb#101
# source://rubocop-rspec//lib/rubocop/cop/rspec/context_wording.rb#107
def expect_patterns; end
# source://rubocop-rspec//lib/rubocop/cop/rspec/context_wording.rb#83
# source://rubocop-rspec//lib/rubocop/cop/rspec/context_wording.rb#99
def message; end
# source://rubocop-rspec//lib/rubocop/cop/rspec/context_wording.rb#87
def prefix_regexes; end
# source://rubocop-rspec//lib/rubocop/cop/rspec/context_wording.rb#111
# source://rubocop-rspec//lib/rubocop/cop/rspec/context_wording.rb#117
def prefixes; end
end
# source://rubocop-rspec//lib/rubocop/cop/rspec/context_wording.rb#61
RuboCop::Cop::RSpec::ContextWording::MSG = T.let(T.unsafe(nil), String)
# source://rubocop-rspec//lib/rubocop/cop/rspec/context_wording.rb#65
RuboCop::Cop::RSpec::ContextWording::MSG_ALWAYS = T.let(T.unsafe(nil), String)
# source://rubocop-rspec//lib/rubocop/cop/rspec/context_wording.rb#64
RuboCop::Cop::RSpec::ContextWording::MSG_MATCH = T.let(T.unsafe(nil), String)
# Check that the first argument to the top-level describe is a constant.
#
@ -4010,7 +4014,7 @@ class RuboCop::Cop::RSpec::MultipleExpectations < ::RuboCop::Cop::RSpec::Base
# source://rubocop-rspec//lib/rubocop/cop/rspec/multiple_expectations.rb#86
def expect?(param0 = T.unsafe(nil)); end
# source://rubocop/1.66.1/lib/rubocop/cop/exclude_limit.rb#11
# source://rubocop/1.67.0/lib/rubocop/cop/exclude_limit.rb#11
def max=(value); end
# source://rubocop-rspec//lib/rubocop/cop/rspec/multiple_expectations.rb#93
@ -4125,7 +4129,7 @@ RuboCop::Cop::RSpec::MultipleExpectations::TRUE_NODE = T.let(T.unsafe(nil), Proc
class RuboCop::Cop::RSpec::MultipleMemoizedHelpers < ::RuboCop::Cop::RSpec::Base
include ::RuboCop::Cop::RSpec::Variable
# source://rubocop/1.66.1/lib/rubocop/cop/exclude_limit.rb#11
# source://rubocop/1.67.0/lib/rubocop/cop/exclude_limit.rb#11
def max=(value); end
# source://rubocop-rspec//lib/rubocop/cop/rspec/multiple_memoized_helpers.rb#91
@ -4467,7 +4471,7 @@ end
class RuboCop::Cop::RSpec::NestedGroups < ::RuboCop::Cop::RSpec::Base
include ::RuboCop::Cop::RSpec::TopLevelGroup
# source://rubocop/1.66.1/lib/rubocop/cop/exclude_limit.rb#11
# source://rubocop/1.67.0/lib/rubocop/cop/exclude_limit.rb#11
def max=(value); end
# source://rubocop-rspec//lib/rubocop/cop/rspec/nested_groups.rb#107
@ -6958,7 +6962,7 @@ class RuboCop::Cop::RSpec::VoidExpect < ::RuboCop::Cop::RSpec::Base
# source://rubocop-rspec//lib/rubocop/cop/rspec/void_expect.rb#26
def expect_block?(param0 = T.unsafe(nil)); end
# source://rubocop-rspec//lib/rubocop/cop/rspec/void_expect.rb#36
# source://rubocop-rspec//lib/rubocop/cop/rspec/void_expect.rb#37
def on_block(node); end
# source://rubocop-rspec//lib/rubocop/cop/rspec/void_expect.rb#30
@ -6966,12 +6970,17 @@ class RuboCop::Cop::RSpec::VoidExpect < ::RuboCop::Cop::RSpec::Base
private
# source://rubocop-rspec//lib/rubocop/cop/rspec/void_expect.rb#44
# source://rubocop-rspec//lib/rubocop/cop/rspec/void_expect.rb#46
def check_expect(node); end
# @return [Boolean]
#
# source://rubocop-rspec//lib/rubocop/cop/rspec/void_expect.rb#50
# source://rubocop-rspec//lib/rubocop/cop/rspec/void_expect.rb#59
def inside_example?(node); end
# @return [Boolean]
#
# source://rubocop-rspec//lib/rubocop/cop/rspec/void_expect.rb#52
def void?(expect); end
end

View File

@ -47,8 +47,8 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/elftools-1.3.1/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/erubi-1.13.0/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/hana-1.3.7/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/json-2.7.3")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/json-2.7.3/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/json-2.7.4")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/json-2.7.4/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/regexp_parser-2.9.2/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simpleidn-0.2.3/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/json_schemer-2.3.0/lib")
@ -91,7 +91,7 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-1.67.0/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-md-1.2.4/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-performance-1.22.1/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-rspec-3.1.0/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-rspec-3.2.0/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-sorbet-0.8.6/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/ruby-lsp-0.20.1/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/ruby-macho-4.1.0/lib")