Merge pull request #16527 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-1.60.2

build(deps-dev): bump rubocop from 1.60.1 to 1.60.2 in /Library/Homebrew
This commit is contained in:
Patrick Linnane 2024-01-24 08:47:46 -08:00 committed by GitHub
commit a4b6287292
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 56 additions and 37 deletions

View File

@ -96,7 +96,7 @@ GEM
rspec-support (3.12.1) rspec-support (3.12.1)
rspec_junit_formatter (0.6.0) rspec_junit_formatter (0.6.0)
rspec-core (>= 2, < 4, != 2.12.0) rspec-core (>= 2, < 4, != 2.12.0)
rubocop (1.60.1) rubocop (1.60.2)
json (~> 2.3) json (~> 2.3)
language_server-protocol (>= 3.17.0) language_server-protocol (>= 3.17.0)
parallel (~> 1.10) parallel (~> 1.10)

View File

@ -5007,7 +5007,7 @@ class RuboCop::Cop::Corrector < ::Parser::Source::TreeRewriter
# Legacy # Legacy
# #
# source://parser/3.3.0.4/lib/parser/source/tree_rewriter.rb#252 # source://parser/3.3.0.5/lib/parser/source/tree_rewriter.rb#252
def rewrite; end def rewrite; end
# Swaps sources at the given ranges. # Swaps sources at the given ranges.
@ -14115,17 +14115,17 @@ class RuboCop::Cop::Layout::RedundantLineBreak < ::RuboCop::Cop::Base
# @return [Boolean] # @return [Boolean]
# #
# source://rubocop//lib/rubocop/cop/layout/redundant_line_break.rb#121 # source://rubocop//lib/rubocop/cop/layout/redundant_line_break.rb#125
def comment_within?(node); end def comment_within?(node); end
# @return [Boolean] # @return [Boolean]
# #
# source://rubocop//lib/rubocop/cop/layout/redundant_line_break.rb#91 # source://rubocop//lib/rubocop/cop/layout/redundant_line_break.rb#95
def configured_to_not_be_inspected?(node); end def configured_to_not_be_inspected?(node); end
# @return [Boolean] # @return [Boolean]
# #
# source://rubocop//lib/rubocop/cop/layout/redundant_line_break.rb#115 # source://rubocop//lib/rubocop/cop/layout/redundant_line_break.rb#119
def convertible_block?(node); end def convertible_block?(node); end
# @return [Boolean] # @return [Boolean]
@ -14133,7 +14133,12 @@ class RuboCop::Cop::Layout::RedundantLineBreak < ::RuboCop::Cop::Base
# source://rubocop//lib/rubocop/cop/layout/redundant_line_break.rb#69 # source://rubocop//lib/rubocop/cop/layout/redundant_line_break.rb#69
def end_with_percent_blank_string?(processed_source); end def end_with_percent_blank_string?(processed_source); end
# source://rubocop//lib/rubocop/cop/layout/redundant_line_break.rb#143 # @return [Boolean]
#
# source://rubocop//lib/rubocop/cop/layout/redundant_line_break.rb#91
def index_access_call_chained?(node); end
# source://rubocop//lib/rubocop/cop/layout/redundant_line_break.rb#147
def max_line_length; end def max_line_length; end
# @return [Boolean] # @return [Boolean]
@ -14143,7 +14148,7 @@ class RuboCop::Cop::Layout::RedundantLineBreak < ::RuboCop::Cop::Base
# @return [Boolean] # @return [Boolean]
# #
# source://rubocop//lib/rubocop/cop/layout/redundant_line_break.rb#98 # source://rubocop//lib/rubocop/cop/layout/redundant_line_break.rb#102
def other_cop_takes_precedence?(node); end def other_cop_takes_precedence?(node); end
# source://rubocop//lib/rubocop/cop/layout/redundant_line_break.rb#79 # source://rubocop//lib/rubocop/cop/layout/redundant_line_break.rb#79
@ -14151,20 +14156,20 @@ class RuboCop::Cop::Layout::RedundantLineBreak < ::RuboCop::Cop::Base
# @return [Boolean] # @return [Boolean]
# #
# source://rubocop//lib/rubocop/cop/layout/redundant_line_break.rb#104 # source://rubocop//lib/rubocop/cop/layout/redundant_line_break.rb#108
def single_line_block_chain_enabled?; end def single_line_block_chain_enabled?; end
# @return [Boolean] # @return [Boolean]
# #
# source://rubocop//lib/rubocop/cop/layout/redundant_line_break.rb#108 # source://rubocop//lib/rubocop/cop/layout/redundant_line_break.rb#112
def suitable_as_single_line?(node); end def suitable_as_single_line?(node); end
# source://rubocop//lib/rubocop/cop/layout/redundant_line_break.rb#134 # source://rubocop//lib/rubocop/cop/layout/redundant_line_break.rb#138
def to_single_line(source); end def to_single_line(source); end
# @return [Boolean] # @return [Boolean]
# #
# source://rubocop//lib/rubocop/cop/layout/redundant_line_break.rb#129 # source://rubocop//lib/rubocop/cop/layout/redundant_line_break.rb#133
def too_long?(node); end def too_long?(node); end
end end
@ -30942,7 +30947,7 @@ RuboCop::Cop::Style::AndOr::MSG = T.let(T.unsafe(nil), String)
# Names not on this list are likely to be meaningful and are allowed by default. # Names not on this list are likely to be meaningful and are allowed by default.
# #
# @example RedundantBlockArgumentNames: ['blk', 'block', 'proc'] (default) # @example RedundantBlockArgumentNames: ['blk', 'block', 'proc'] (default)
# # bad # # bad - But it is good with `EnforcedStyle: explicit` set for `Naming/BlockForwarding`.
# def foo(&block) # def foo(&block)
# bar(&block) # bar(&block)
# end # end
@ -31062,6 +31067,11 @@ class RuboCop::Cop::Style::ArgumentsForwarding < ::RuboCop::Cop::Base
# source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#227 # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#227
def classify_send_nodes(def_node, send_nodes, referenced_lvars, forwardable_args); end def classify_send_nodes(def_node, send_nodes, referenced_lvars, forwardable_args); end
# @return [Boolean]
#
# source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#473
def explicit_block_name?; end
# source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#159 # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#159
def extract_forwardable_args(args); end def extract_forwardable_args(args); end
@ -37493,19 +37503,22 @@ class RuboCop::Cop::Style::HashEachMethods < ::RuboCop::Cop::Base
include ::RuboCop::Cop::Lint::UnusedArgument include ::RuboCop::Cop::Lint::UnusedArgument
extend ::RuboCop::Cop::AutoCorrector extend ::RuboCop::Cop::AutoCorrector
# source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#50 # source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#74
def check_unused_block_args(node, key, value); end
# source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#51
def each_arguments(param0 = T.unsafe(nil)); end def each_arguments(param0 = T.unsafe(nil)); end
# source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#45 # source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#46
def kv_each(param0 = T.unsafe(nil)); end def kv_each(param0 = T.unsafe(nil)); end
# source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#55 # source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#56
def kv_each_with_block_pass(param0 = T.unsafe(nil)); end def kv_each_with_block_pass(param0 = T.unsafe(nil)); end
# source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#60 # source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#60
def on_block(node); end def on_block(node); end
# source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#85 # source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#95
def on_block_pass(node); end def on_block_pass(node); end
# source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#60 # source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#60
@ -37513,55 +37526,63 @@ class RuboCop::Cop::Style::HashEachMethods < ::RuboCop::Cop::Base
private private
# source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#159 # source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#180
def check_argument(variable); end def check_argument(variable); end
# source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#183 # source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#204
def correct_args(node, corrector); end def correct_args(node, corrector); end
# source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#169 # source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#190
def correct_implicit(node, corrector, method_name); end def correct_implicit(node, corrector, method_name); end
# source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#174 # source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#195
def correct_key_value_each(node, corrector); end def correct_key_value_each(node, corrector); end
# source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#155 # source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#176
def format_message(method_name, current); end def format_message(method_name, current); end
# @return [Boolean] # @return [Boolean]
# #
# source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#93 # source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#103
def handleable?(node); end def handleable?(node); end
# source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#190 # source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#211
def kv_range(outer_node); end def kv_range(outer_node); end
# source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#122 # source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#133
def message(prefer, method_name, unused_code); end def message(prefer, method_name, unused_code); end
# source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#128 # source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#139
def register_each_args_offense(node, message, prefer, unused_range); end def register_each_args_offense(node, message, prefer, unused_range); end
# source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#99 # source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#110
def register_kv_offense(target, method); end def register_kv_offense(target, method); end
# source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#135 # source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#146
def register_kv_with_block_pass_offense(node, target, method); end def register_kv_with_block_pass_offense(node, target, method); end
# source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#146 # source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#167
def root_receiver(node); end def root_receiver(node); end
# @return [Boolean] # @return [Boolean]
# #
# source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#110 # source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#121
def unused_block_arg_exist?(node, block_arg); end def unused_block_arg_exist?(node, block_arg); end
# @return [Boolean] # @return [Boolean]
# #
# source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#165 # source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#157
def use_array_converter_method_as_preceding?(node); end
# @return [Boolean]
#
# source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#186
def used?(arg); end def used?(arg); end
end end
# source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#43
RuboCop::Cop::Style::HashEachMethods::ARRAY_CONVERTER_METHODS = T.let(T.unsafe(nil), Array)
# source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#41 # source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#41
RuboCop::Cop::Style::HashEachMethods::MSG = T.let(T.unsafe(nil), String) RuboCop::Cop::Style::HashEachMethods::MSG = T.let(T.unsafe(nil), String)

View File

@ -6400,6 +6400,8 @@ end
class Net::HTTPRangeNotSatisfiable class Net::HTTPRangeNotSatisfiable
end end
Net::HTTPRedirection::EXCEPTION_TYPE = Net::HTTPRetriableError
Net::HTTPRedirectionCode = Net::HTTPRedirection Net::HTTPRedirectionCode = Net::HTTPRedirection
Net::HTTPRequestURITooLarge = Net::HTTPURITooLong Net::HTTPRequestURITooLarge = Net::HTTPURITooLong
@ -6430,13 +6432,9 @@ Net::HTTPServerErrorCode = Net::HTTPServerError
Net::HTTPSession = Net::HTTP Net::HTTPSession = Net::HTTP
class Net::HTTPSuccess Net::HTTPSuccess::EXCEPTION_TYPE = Net::HTTPError
end
Net::HTTPSuccessCode::EXCEPTION_TYPE = Net::HTTPError Net::HTTPSuccessCode = Net::HTTPSuccess
class Net::HTTPSuccess
end
class Net::HTTPURITooLong class Net::HTTPURITooLong
HAS_BODY = ::T.let(nil, ::T.untyped) HAS_BODY = ::T.let(nil, ::T.untyped)

View File

@ -98,7 +98,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-ast-1.30.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-ast-1.30.0/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/ruby-progressbar-1.13.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/ruby-progressbar-1.13.0/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/unicode-display_width-2.5.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/unicode-display_width-2.5.0/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-1.60.1/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-1.60.2/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-capybara-2.20.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-capybara-2.20.0/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-factory_bot-2.25.1/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-factory_bot-2.25.1/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-performance-1.20.2/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-performance-1.20.2/lib")