Merge pull request #12656 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-1.24.1
build(deps): bump rubocop from 1.24.0 to 1.24.1 in /Library/Homebrew
This commit is contained in:
commit
26bffd4051
@ -124,13 +124,13 @@ GEM
|
||||
rspec (>= 3, < 4)
|
||||
rspec_junit_formatter (0.4.1)
|
||||
rspec-core (>= 2, < 4, != 2.12.0)
|
||||
rubocop (1.24.0)
|
||||
rubocop (1.24.1)
|
||||
parallel (~> 1.10)
|
||||
parser (>= 3.0.0.0)
|
||||
rainbow (>= 2.2.2, < 4.0)
|
||||
regexp_parser (>= 1.8, < 3.0)
|
||||
rexml
|
||||
rubocop-ast (>= 1.15.0, < 2.0)
|
||||
rubocop-ast (>= 1.15.1, < 2.0)
|
||||
ruby-progressbar (~> 1.7)
|
||||
unicode-display_width (>= 1.4.0, < 3.0)
|
||||
rubocop-ast (1.15.1)
|
||||
|
||||
@ -1572,7 +1572,7 @@ class RuboCop::Cop::Gemspec::RequireMFA < ::RuboCop::Cop::Base
|
||||
def autocorrect(corrector, node, block_var, metadata); end
|
||||
def change_value(corrector, value); end
|
||||
def correct_metadata(corrector, metadata); end
|
||||
def correct_missing_metadata(corrector, node, block_var); end
|
||||
def insert_mfa_required(corrector, node, block_var); end
|
||||
def mfa_value(metadata_value); end
|
||||
end
|
||||
|
||||
@ -5116,10 +5116,11 @@ class RuboCop::Cop::Lint::ParenthesesAsGroupedExpression < ::RuboCop::Cop::Base
|
||||
|
||||
def chained_calls?(node); end
|
||||
def first_argument_starts_with_left_parenthesis?(node); end
|
||||
def operator_keyword?(node); end
|
||||
def space_range(expr, space_length); end
|
||||
def spaces_before_left_parenthesis(node); end
|
||||
def ternary_expression?(node); end
|
||||
def valid_context?(node); end
|
||||
def valid_first_argument?(first_arg); end
|
||||
end
|
||||
|
||||
RuboCop::Cop::Lint::ParenthesesAsGroupedExpression::MSG = T.let(T.unsafe(nil), String)
|
||||
@ -6518,6 +6519,7 @@ RuboCop::Cop::Naming::BinaryOperatorParameterName::OP_LIKE_METHODS = T.let(T.uns
|
||||
|
||||
class RuboCop::Cop::Naming::BlockForwarding < ::RuboCop::Cop::Base
|
||||
include ::RuboCop::Cop::ConfigurableEnforcedStyle
|
||||
include ::RuboCop::Cop::RangeHelp
|
||||
extend ::RuboCop::Cop::AutoCorrector
|
||||
extend ::RuboCop::Cop::TargetRubyVersion
|
||||
|
||||
@ -8610,6 +8612,9 @@ class RuboCop::Cop::Style::FileWrite < ::RuboCop::Cop::Base
|
||||
private
|
||||
|
||||
def file_open_write?(node); end
|
||||
def heredoc?(write_node); end
|
||||
def heredoc_range(first_argument); end
|
||||
def replacement(mode, filename, content, write_node); end
|
||||
def write_method(mode); end
|
||||
end
|
||||
|
||||
@ -9341,6 +9346,7 @@ module RuboCop::Cop::Style::MethodCallWithArgsParentheses::OmitParentheses
|
||||
def omit_parentheses(node); end
|
||||
def parentheses_at_the_end_of_multiline_call?(node); end
|
||||
def regexp_slash_literal?(node); end
|
||||
def require_parentheses_for_hash_value_omission?(node); end
|
||||
def splat?(node); end
|
||||
def super_call_without_arguments?(node); end
|
||||
def syntax_like_method_call?(node); end
|
||||
@ -9402,9 +9408,9 @@ class RuboCop::Cop::Style::MethodDefParentheses < ::RuboCop::Cop::Base
|
||||
|
||||
private
|
||||
|
||||
def anonymous_block_arg?(node); end
|
||||
def arguments_without_parentheses?(node); end
|
||||
def correct_arguments(arg_node, corrector); end
|
||||
def correct_definition(def_node, corrector); end
|
||||
def forced_parentheses?(node); end
|
||||
def missing_parentheses(node); end
|
||||
def require_parentheses?(args); end
|
||||
@ -86,7 +86,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.24.0/lib"
|
||||
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rubocop-1.24.1/lib"
|
||||
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rubocop-performance-1.13.0/lib"
|
||||
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rubocop-rails-2.13.0/lib"
|
||||
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rubocop-rspec-2.7.0/lib"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user