Merge pull request #12834 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-1.25.1

build(deps): bump rubocop from 1.25.0 to 1.25.1 in /Library/Homebrew
This commit is contained in:
Nanda H Krishna 2022-02-03 19:24:09 -05:00 committed by GitHub
commit 423f34dee1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 6 deletions

View File

@ -123,7 +123,7 @@ GEM
rspec (>= 3, < 4)
rspec_junit_formatter (0.5.1)
rspec-core (>= 2, < 4, != 2.12.0)
rubocop (1.25.0)
rubocop (1.25.1)
parallel (~> 1.10)
parser (>= 3.1.0.0)
rainbow (>= 2.2.2, < 4.0)

View File

@ -1742,10 +1742,12 @@ module RuboCop::Cop::HashShorthandSyntax
private
def enforced_shorthand_syntax; end
def node_with_block_and_arguments?(node); end
def ignore_hash_shorthand_syntax?(pair_node); end
def require_hash_value?(hash_key_source, node); end
def without_parentheses?(node); end
def without_parentheses_call_expr_follows?(node); end
def require_hash_value_for_around_hash_literal?(node); end
def use_element_of_hash_literal_as_receiver?(ancestor, parent); end
def use_modifier_form_without_parenthesized_method_call?(ancestor); end
def without_parentheses_call_expr_follows?(ancestor); end
end
RuboCop::Cop::HashShorthandSyntax::EXPLICIT_HASH_VALUE_MSG = T.let(T.unsafe(nil), String)
@ -2590,6 +2592,7 @@ class RuboCop::Cop::Layout::EmptyLinesAroundExceptionHandlingKeywords < ::RuboCo
def keyword_locations(node); end
def keyword_locations_in_ensure(node); end
def keyword_locations_in_rescue(node); end
def last_rescue_and_end_on_same_line(body); end
def message(location, keyword); end
def style; end
end
@ -2860,6 +2863,7 @@ class RuboCop::Cop::Layout::HashAlignment < ::RuboCop::Cop::Base
def alignment_for_colons; end
def alignment_for_hash_rockets; end
def argument_alignment_config; end
def argument_before_hash(hash_node); end
def autocorrect_incompatible_with_other_cops?(node); end
def check_delta(delta, node:, alignment:); end
def check_pairs(node); end
@ -9342,12 +9346,14 @@ module RuboCop::Cop::Style::MethodCallWithArgsParentheses::OmitParentheses
def call_in_single_line_inheritance?(node); end
def call_with_ambiguous_arguments?(node); end
def call_with_braced_block?(node); end
def exist_next_line_expression?(node); end
def hash_literal?(node); end
def hash_literal_in_arguments?(node); end
def inside_endless_method_def?(node); end
def inside_string_interpolation?(node); end
def legitimate_call_with_parentheses?(node); end
def logical_operator?(node); end
def modifier_form?(node); end
def offense_range(node); end
def omit_parentheses(node); end
def parentheses_at_the_end_of_multiline_call?(node); end
@ -10449,7 +10455,6 @@ class RuboCop::Cop::Style::RedundantBegin < ::RuboCop::Cop::Base
private
def any_ancestor_assignment_node?(node); end
def begin_block_has_multiline_statements?(node); end
def condition_range(node); end
def contain_rescue_or_ensure?(node); end
@ -12708,6 +12713,8 @@ class RuboCop::Formatter::DisabledConfigFormatter < ::RuboCop::Formatter::BaseFo
def set_max(cfg, cop_name); end
def show_offense_counts?; end
def show_timestamp?; end
def supports_safe_auto_correct?(cop_class, default_cfg); end
def supports_unsafe_autocorrect?(cop_class, default_cfg); end
def timestamp; end
class << self

View File

@ -84,7 +84,7 @@ $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rspec_junit_formatter
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rubocop-ast-1.15.1/lib"
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/ruby-progressbar-1.11.0/lib"
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/unicode-display_width-2.1.0/lib"
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rubocop-1.25.0/lib"
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rubocop-1.25.1/lib"
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rubocop-performance-1.13.2/lib"
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rubocop-rails-2.13.2/lib"
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rubocop-rspec-2.8.0/lib"