Merge pull request #11763 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-1.18.4

build(deps): bump rubocop from 1.18.3 to 1.18.4 in /Library/Homebrew
This commit is contained in:
Nanda H Krishna 2021-07-23 23:59:22 +05:30 committed by GitHub
commit 4cf2820943
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 9 deletions

View File

@ -112,13 +112,13 @@ GEM
rspec (>= 3, < 4)
rspec_junit_formatter (0.4.1)
rspec-core (>= 2, < 4, != 2.12.0)
rubocop (1.18.3)
rubocop (1.18.4)
parallel (~> 1.10)
parser (>= 3.0.0.0)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 1.8, < 3.0)
rexml
rubocop-ast (>= 1.7.0, < 2.0)
rubocop-ast (>= 1.8.0, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 1.4.0, < 3.0)
rubocop-ast (1.8.0)

View File

@ -793,6 +793,7 @@ class RuboCop::ConfigValidator
def msg_not_boolean(parent, key, value); end
def reject_conflicting_safe_settings; end
def reject_mutually_exclusive_defaults; end
def suggestion(name); end
def target_ruby; end
def validate_enforced_styles(valid_cop_names); end
def validate_new_cops_parameter; end
@ -2222,6 +2223,7 @@ class RuboCop::Cop::Layout::ClassStructure < ::RuboCop::Cop::Base
def source_range_with_comment(node); end
def start_line_position(node); end
def walk_over_nested_class_definition(class_node); end
def whole_line_comment_at_line?(line); end
end
RuboCop::Cop::Layout::ClassStructure::HUMANIZED_NODE_TYPE = T.let(T.unsafe(nil), Hash)
@ -2731,6 +2733,7 @@ class RuboCop::Cop::Layout::EndAlignment < ::RuboCop::Cop::Base
def alignment_node(node); end
def alignment_node_for_variable_style(node); end
def asgn_variable_align_with(outer_node, inner_node); end
def assignment_or_operator_method(node); end
def autocorrect(corrector, node); end
def check_asgn_alignment(outer_node, inner_node); end
def check_assignment(node, rhs); end
@ -2933,8 +2936,8 @@ class RuboCop::Cop::Layout::HashAlignment < ::RuboCop::Cop::Base
def column_deltas; end
def column_deltas=(_arg0); end
def offences_by; end
def offences_by=(_arg0); end
def offenses_by; end
def offenses_by=(_arg0); end
def on_hash(node); end
def on_send(node); end
def on_super(node); end
@ -2942,7 +2945,7 @@ class RuboCop::Cop::Layout::HashAlignment < ::RuboCop::Cop::Base
private
def add_offences; end
def add_offenses; end
def adjust(corrector, delta, range); end
def alignment_for(pair); end
def alignment_for_colons; end
@ -2959,7 +2962,7 @@ class RuboCop::Cop::Layout::HashAlignment < ::RuboCop::Cop::Base
def good_alignment?(column_deltas); end
def ignore_hash_argument?(node); end
def new_alignment(key); end
def register_offences_with_format(offences, format); end
def register_offenses_with_format(offenses, format); end
def reset!; end
end
@ -3070,7 +3073,7 @@ class RuboCop::Cop::Layout::IndentationStyle < ::RuboCop::Cop::Base
def autocorrect(corrector, range); end
def autocorrect_lambda_for_spaces(corrector, range); end
def autocorrect_lambda_for_tabs(corrector, range); end
def find_offence(line, lineno); end
def find_offense(line, lineno); end
def in_string_literal?(ranges, tabs_range); end
def message(_node); end
def string_literal_ranges(ast); end
@ -4414,6 +4417,7 @@ class RuboCop::Cop::Lint::DuplicateBranch < ::RuboCop::Cop::Base
def on_branching_statement(node); end
def on_case(node); end
def on_case_match(node); end
def on_if(node); end
def on_rescue(node); end
@ -9538,7 +9542,6 @@ class RuboCop::Cop::Style::MutableConstant < ::RuboCop::Cop::Base
extend ::RuboCop::Cop::AutoCorrector
def on_casgn(node); end
def on_or_asgn(node); end
def operation_produces_immutable_object?(param0 = T.unsafe(nil)); end
def range_enclosed_in_parentheses?(param0 = T.unsafe(nil)); end
def splat_value(param0 = T.unsafe(nil)); end
@ -10918,6 +10921,7 @@ class RuboCop::Cop::Style::SingleLineMethods < ::RuboCop::Cop::Base
def allow_empty?; end
def autocorrect(corrector, node); end
def break_line_before(corrector, node, range, indent_steps: T.unsafe(nil)); end
def correct_to_endless(corrector, node); end
def correct_to_endless?(body_node); end
def correct_to_multiline(corrector, node); end

View File

@ -81,7 +81,7 @@ $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rspec_junit_formatter
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rubocop-ast-1.8.0/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.0.0/lib"
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rubocop-1.18.3/lib"
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rubocop-1.18.4/lib"
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rubocop-performance-1.11.4/lib"
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rubocop-rails-2.11.3/lib"
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rubocop-rspec-2.4.0/lib"