Merge pull request #12977 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-1.26.0
build(deps): bump rubocop from 1.25.1 to 1.26.0 in /Library/Homebrew
This commit is contained in:
commit
e62094f52a
@ -123,13 +123,13 @@ 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.25.1)
|
rubocop (1.26.0)
|
||||||
parallel (~> 1.10)
|
parallel (~> 1.10)
|
||||||
parser (>= 3.1.0.0)
|
parser (>= 3.1.0.0)
|
||||||
rainbow (>= 2.2.2, < 4.0)
|
rainbow (>= 2.2.2, < 4.0)
|
||||||
regexp_parser (>= 1.8, < 3.0)
|
regexp_parser (>= 1.8, < 3.0)
|
||||||
rexml
|
rexml
|
||||||
rubocop-ast (>= 1.15.1, < 2.0)
|
rubocop-ast (>= 1.16.0, < 2.0)
|
||||||
ruby-progressbar (~> 1.7)
|
ruby-progressbar (~> 1.7)
|
||||||
unicode-display_width (>= 1.4.0, < 3.0)
|
unicode-display_width (>= 1.4.0, < 3.0)
|
||||||
rubocop-ast (1.16.0)
|
rubocop-ast (1.16.0)
|
||||||
|
|||||||
@ -158,7 +158,7 @@ class RuboCop::CLI::Environment
|
|||||||
def run(name); end
|
def run(name); end
|
||||||
end
|
end
|
||||||
|
|
||||||
class RuboCop::CLI::Finished < ::RuntimeError; end
|
class RuboCop::CLI::Finished < ::StandardError; end
|
||||||
RuboCop::CLI::STATUS_ERROR = T.let(T.unsafe(nil), Integer)
|
RuboCop::CLI::STATUS_ERROR = T.let(T.unsafe(nil), Integer)
|
||||||
RuboCop::CLI::STATUS_INTERRUPTED = T.let(T.unsafe(nil), Integer)
|
RuboCop::CLI::STATUS_INTERRUPTED = T.let(T.unsafe(nil), Integer)
|
||||||
RuboCop::CLI::STATUS_OFFENSES = T.let(T.unsafe(nil), Integer)
|
RuboCop::CLI::STATUS_OFFENSES = T.let(T.unsafe(nil), Integer)
|
||||||
@ -720,6 +720,7 @@ class RuboCop::Cop::Badge
|
|||||||
def with_department(department); end
|
def with_department(department); end
|
||||||
|
|
||||||
class << self
|
class << self
|
||||||
|
def camel_case(name_part); end
|
||||||
def for(class_name); end
|
def for(class_name); end
|
||||||
def parse(identifier); end
|
def parse(identifier); end
|
||||||
end
|
end
|
||||||
@ -4795,12 +4796,11 @@ class RuboCop::Cop::Lint::InheritException < ::RuboCop::Cop::Base
|
|||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
def illegal_class_name?(class_node); end
|
def exception_class?(class_node); end
|
||||||
def message(node); end
|
def message(node); end
|
||||||
def preferred_base_class; end
|
def preferred_base_class; end
|
||||||
end
|
end
|
||||||
|
|
||||||
RuboCop::Cop::Lint::InheritException::ILLEGAL_CLASSES = T.let(T.unsafe(nil), Array)
|
|
||||||
RuboCop::Cop::Lint::InheritException::MSG = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::Lint::InheritException::MSG = T.let(T.unsafe(nil), String)
|
||||||
RuboCop::Cop::Lint::InheritException::PREFERRED_BASE_CLASS = T.let(T.unsafe(nil), Hash)
|
RuboCop::Cop::Lint::InheritException::PREFERRED_BASE_CLASS = T.let(T.unsafe(nil), Hash)
|
||||||
RuboCop::Cop::Lint::InheritException::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
|
RuboCop::Cop::Lint::InheritException::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
|
||||||
@ -6015,6 +6015,7 @@ class RuboCop::Cop::Lint::UselessTimes < ::RuboCop::Cop::Base
|
|||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
|
def autocorrect(corrector, count, node, proc_name); end
|
||||||
def autocorrect_block(corrector, node); end
|
def autocorrect_block(corrector, node); end
|
||||||
def autocorrect_block_pass(corrector, node, proc_name); end
|
def autocorrect_block_pass(corrector, node, proc_name); end
|
||||||
def fix_indentation(source, range); end
|
def fix_indentation(source, range); end
|
||||||
@ -9244,17 +9245,17 @@ class RuboCop::Cop::Style::LambdaCall < ::RuboCop::Cop::Base
|
|||||||
include ::RuboCop::Cop::ConfigurableEnforcedStyle
|
include ::RuboCop::Cop::ConfigurableEnforcedStyle
|
||||||
extend ::RuboCop::Cop::AutoCorrector
|
extend ::RuboCop::Cop::AutoCorrector
|
||||||
|
|
||||||
def autocorrect(corrector, node); end
|
|
||||||
def on_send(node); end
|
def on_send(node); end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
def explicit_style?; end
|
def explicit_style?; end
|
||||||
def implicit_style?; end
|
def implicit_style?; end
|
||||||
def message(_node); end
|
|
||||||
def offense?(node); end
|
def offense?(node); end
|
||||||
|
def prefer(node); end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
RuboCop::Cop::Style::LambdaCall::MSG = T.let(T.unsafe(nil), String)
|
||||||
RuboCop::Cop::Style::LambdaCall::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
|
RuboCop::Cop::Style::LambdaCall::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
|
||||||
|
|
||||||
class RuboCop::Cop::Style::LineEndConcatenation < ::RuboCop::Cop::Base
|
class RuboCop::Cop::Style::LineEndConcatenation < ::RuboCop::Cop::Base
|
||||||
@ -9784,6 +9785,23 @@ class RuboCop::Cop::Style::NegatedWhile < ::RuboCop::Cop::Base
|
|||||||
def on_while(node); end
|
def on_while(node); end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class RuboCop::Cop::Style::NestedFileDirname < ::RuboCop::Cop::Base
|
||||||
|
include ::RuboCop::Cop::RangeHelp
|
||||||
|
extend ::RuboCop::Cop::AutoCorrector
|
||||||
|
extend ::RuboCop::Cop::TargetRubyVersion
|
||||||
|
|
||||||
|
def file_dirname?(param0 = T.unsafe(nil)); end
|
||||||
|
def on_send(node); end
|
||||||
|
|
||||||
|
private
|
||||||
|
|
||||||
|
def offense_range(node); end
|
||||||
|
def path_with_dir_level(node, level); end
|
||||||
|
end
|
||||||
|
|
||||||
|
RuboCop::Cop::Style::NestedFileDirname::MSG = T.let(T.unsafe(nil), String)
|
||||||
|
RuboCop::Cop::Style::NestedFileDirname::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
|
||||||
|
|
||||||
class RuboCop::Cop::Style::NestedModifier < ::RuboCop::Cop::Base
|
class RuboCop::Cop::Style::NestedModifier < ::RuboCop::Cop::Base
|
||||||
include ::RuboCop::Cop::RangeHelp
|
include ::RuboCop::Cop::RangeHelp
|
||||||
extend ::RuboCop::Cop::AutoCorrector
|
extend ::RuboCop::Cop::AutoCorrector
|
||||||
@ -11345,6 +11363,7 @@ class RuboCop::Cop::Style::StringConcatenation < ::RuboCop::Cop::Base
|
|||||||
def corrected_ancestor?(node); end
|
def corrected_ancestor?(node); end
|
||||||
def find_topmost_plus_node(node); end
|
def find_topmost_plus_node(node); end
|
||||||
def handle_quotes(parts); end
|
def handle_quotes(parts); end
|
||||||
|
def heredoc?(node); end
|
||||||
def line_end_concatenation?(node); end
|
def line_end_concatenation?(node); end
|
||||||
def offensive_for_mode?(receiver_node); end
|
def offensive_for_mode?(receiver_node); end
|
||||||
def plus_node?(node); end
|
def plus_node?(node); end
|
||||||
@ -13318,7 +13337,7 @@ class RuboCop::Runner
|
|||||||
def warm_cache(target_files); end
|
def warm_cache(target_files); end
|
||||||
end
|
end
|
||||||
|
|
||||||
class RuboCop::Runner::InfiniteCorrectionLoop < ::RuntimeError
|
class RuboCop::Runner::InfiniteCorrectionLoop < ::StandardError
|
||||||
def initialize(path, offenses_by_iteration, loop_start: T.unsafe(nil)); end
|
def initialize(path, offenses_by_iteration, loop_start: T.unsafe(nil)); end
|
||||||
|
|
||||||
def offenses; end
|
def offenses; end
|
||||||
@ -84,7 +84,7 @@ $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rspec_junit_formatter
|
|||||||
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rubocop-ast-1.16.0/lib"
|
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rubocop-ast-1.16.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.1.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.1/lib"
|
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rubocop-1.26.0/lib"
|
||||||
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rubocop-performance-1.13.3/lib"
|
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rubocop-performance-1.13.3/lib"
|
||||||
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rubocop-rails-2.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.9.0/lib"
|
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rubocop-rspec-2.9.0/lib"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user