Merge pull request #13525 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-1.31.2

build(deps): bump rubocop from 1.31.1 to 1.31.2 in /Library/Homebrew
This commit is contained in:
Mike McQuaid 2022-07-08 13:07:03 +01:00 committed by GitHub
commit 8dd96ae8ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 12 deletions

View File

@ -124,7 +124,7 @@ GEM
rspec (>= 3, < 4) rspec (>= 3, < 4)
rspec_junit_formatter (0.5.1) rspec_junit_formatter (0.5.1)
rspec-core (>= 2, < 4, != 2.12.0) rspec-core (>= 2, < 4, != 2.12.0)
rubocop (1.31.1) rubocop (1.31.2)
json (~> 2.3) json (~> 2.3)
parallel (~> 1.10) parallel (~> 1.10)
parser (>= 3.1.0.0) parser (>= 3.1.0.0)

View File

@ -861,6 +861,7 @@ end
RuboCop::Cop::Bundler::DuplicatedGem::MSG = T.let(T.unsafe(nil), String) RuboCop::Cop::Bundler::DuplicatedGem::MSG = T.let(T.unsafe(nil), String)
class RuboCop::Cop::Bundler::GemComment < ::RuboCop::Cop::Base class RuboCop::Cop::Bundler::GemComment < ::RuboCop::Cop::Base
include ::RuboCop::Cop::VisibilityHelp
include ::RuboCop::Cop::DefNode include ::RuboCop::Cop::DefNode
include ::RuboCop::Cop::GemDeclaration include ::RuboCop::Cop::GemDeclaration
@ -1336,6 +1337,7 @@ end
RuboCop::Cop::Corrector::NOOP_CONSUMER = T.let(T.unsafe(nil), Proc) RuboCop::Cop::Corrector::NOOP_CONSUMER = T.let(T.unsafe(nil), Proc)
module RuboCop::Cop::DefNode module RuboCop::Cop::DefNode
include ::RuboCop::Cop::VisibilityHelp
extend ::RuboCop::AST::NodePattern::Macros extend ::RuboCop::AST::NodePattern::Macros
def non_public_modifier?(param0 = T.unsafe(nil)); end def non_public_modifier?(param0 = T.unsafe(nil)); end
@ -1344,11 +1346,8 @@ module RuboCop::Cop::DefNode
def non_public?(node); end def non_public?(node); end
def preceding_non_public_modifier?(node); end def preceding_non_public_modifier?(node); end
def stripped_source_upto(index); end
end end
RuboCop::Cop::DefNode::NON_PUBLIC_MODIFIERS = T.let(T.unsafe(nil), Array)
module RuboCop::Cop::Documentation module RuboCop::Cop::Documentation
private private
@ -2797,7 +2796,7 @@ class RuboCop::Cop::Layout::FirstArrayElementIndentation < ::RuboCop::Cop::Base
def base_description(indent_base_type); end def base_description(indent_base_type); end
def brace_alignment_style; end def brace_alignment_style; end
def check(array_node, left_parenthesis); end def check(array_node, left_parenthesis); end
def check_right_bracket(right_bracket, left_bracket, left_parenthesis); end def check_right_bracket(right_bracket, first_elem, left_bracket, left_parenthesis); end
def message(base_description); end def message(base_description); end
def message_for_right_bracket(indent_base_type); end def message_for_right_bracket(indent_base_type); end
end end
@ -2835,7 +2834,7 @@ class RuboCop::Cop::Layout::FirstHashElementIndentation < ::RuboCop::Cop::Base
def brace_alignment_style; end def brace_alignment_style; end
def check(hash_node, left_parenthesis); end def check(hash_node, left_parenthesis); end
def check_based_on_longest_key(hash_node, left_brace, left_parenthesis); end def check_based_on_longest_key(hash_node, left_brace, left_parenthesis); end
def check_right_brace(right_brace, left_brace, left_parenthesis); end def check_right_brace(right_brace, first_pair, left_brace, left_parenthesis); end
def enforce_first_argument_with_fixed_indentation?; end def enforce_first_argument_with_fixed_indentation?; end
def message(base_description); end def message(base_description); end
def message_for_right_brace(indent_base_type); end def message_for_right_brace(indent_base_type); end
@ -5127,10 +5126,11 @@ class RuboCop::Cop::Lint::NonAtomicFileOperation < ::RuboCop::Cop::Base
private private
def allowable_use_with_if?(if_node); end
def autocorrect(corrector, node, range); end def autocorrect(corrector, node, range); end
def force_option?(node); end def force_option?(node); end
def message(node); end def message(node); end
def offense(node, exist_node); end def register_offense(node, exist_node); end
def replacement_method(node); end def replacement_method(node); end
end end
@ -6542,11 +6542,10 @@ module RuboCop::Cop::MultilineElementIndentation
def detected_styles(actual_column, offset, left_parenthesis, left_brace); end def detected_styles(actual_column, offset, left_parenthesis, left_brace); end
def detected_styles_for_column(column, left_parenthesis, left_brace); end def detected_styles_for_column(column, left_parenthesis, left_brace); end
def each_argument_node(node, type); end def each_argument_node(node, type); end
def hash_pair_where_value_beginning_with(left_brace); end def hash_pair_where_value_beginning_with(left_brace, first); end
def incorrect_style_detected(styles, first, base_column_type); end def incorrect_style_detected(styles, first, base_column_type); end
def indent_base(left_brace, left_parenthesis); end def indent_base(left_brace, first, left_parenthesis); end
def key_and_value_begin_on_same_line?(pair); end def key_and_value_begin_on_same_line?(pair); end
def node_beginning_with(left_brace); end
def right_sibling_begins_on_subsequent_line?(pair); end def right_sibling_begins_on_subsequent_line?(pair); end
end end
@ -8421,6 +8420,7 @@ RuboCop::Cop::Style::Documentation::MSG = T.let(T.unsafe(nil), String)
class RuboCop::Cop::Style::DocumentationMethod < ::RuboCop::Cop::Base class RuboCop::Cop::Style::DocumentationMethod < ::RuboCop::Cop::Base
include ::RuboCop::Cop::DocumentationComment include ::RuboCop::Cop::DocumentationComment
include ::RuboCop::Cop::VisibilityHelp
include ::RuboCop::Cop::DefNode include ::RuboCop::Cop::DefNode
def module_function_node?(param0 = T.unsafe(nil)); end def module_function_node?(param0 = T.unsafe(nil)); end
@ -11971,7 +11971,6 @@ class RuboCop::Cop::Style::TopLevelMethodDefinition < ::RuboCop::Cop::Base
end end
RuboCop::Cop::Style::TopLevelMethodDefinition::MSG = T.let(T.unsafe(nil), String) RuboCop::Cop::Style::TopLevelMethodDefinition::MSG = T.let(T.unsafe(nil), String)
RuboCop::Cop::Style::TopLevelMethodDefinition::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
class RuboCop::Cop::Style::TrailingBodyOnClass < ::RuboCop::Cop::Base class RuboCop::Cop::Style::TrailingBodyOnClass < ::RuboCop::Cop::Base
include ::RuboCop::Cop::Alignment include ::RuboCop::Cop::Alignment

View File

@ -86,7 +86,7 @@ $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rspec_junit_formatter
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rubocop-ast-1.18.0/lib" $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rubocop-ast-1.18.0/lib"
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/ruby-progressbar-1.11.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.2.0/lib" $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/unicode-display_width-2.2.0/lib"
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rubocop-1.31.1/lib" $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rubocop-1.31.2/lib"
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rubocop-performance-1.14.2/lib" $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rubocop-performance-1.14.2/lib"
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rubocop-rails-2.15.2/lib" $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rubocop-rails-2.15.2/lib"
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rubocop-rspec-2.12.1/lib" $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rubocop-rspec-2.12.1/lib"