Merge pull request #10264 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-1.8.0

build(deps): bump rubocop from 1.7.0 to 1.8.0 in /Library/Homebrew
This commit is contained in:
Mike McQuaid 2021-01-08 11:40:04 +00:00 committed by GitHub
commit 8ecc8b1e54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 121 additions and 18 deletions

View File

@ -104,15 +104,15 @@ GEM
rspec-support (3.10.0)
rspec-wait (0.0.9)
rspec (>= 3, < 4)
rubocop (1.7.0)
rubocop (1.8.0)
parallel (~> 1.10)
parser (>= 2.7.1.5)
parser (>= 3.0.0.0)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 1.8, < 3.0)
rexml
rubocop-ast (>= 1.2.0, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 1.4.0, < 2.0)
unicode-display_width (>= 1.4.0, < 3.0)
rubocop-ast (1.4.0)
parser (>= 2.7.1.5)
rubocop-performance (1.9.2)
@ -158,7 +158,7 @@ GEM
unf (0.1.4)
unf_ext
unf_ext (0.0.7.7)
unicode-display_width (1.7.0)
unicode-display_width (2.0.0)
webrobots (0.1.2)
zeitwerk (2.4.2)

View File

@ -174,6 +174,7 @@ end
class RuboCop::CommentConfig
def initialize(processed_source); end
def comment_only_line?(line_number); end
def cop_disabled_line_ranges; end
def cop_enabled_at_line?(cop, line_number); end
def extra_enabled_comments; end
@ -187,7 +188,6 @@ class RuboCop::CommentConfig
def analyze_disabled(analysis, line); end
def analyze_rest(analysis, line); end
def analyze_single_line(analysis, line, disabled); end
def comment_only_line?(line_number); end
def cop_line_ranges(analysis); end
def directive_on_comment_line?(comment); end
def directive_parts(comment); end
@ -632,6 +632,13 @@ class RuboCop::Cop::AlignmentCorrector
end
end
module RuboCop::Cop::AllowedIdentifiers
def allowed_identifier?(name); end
def allowed_identifiers; end
end
RuboCop::Cop::AllowedIdentifiers::SIGILS = T.let(T.unsafe(nil), String)
module RuboCop::Cop::AllowedMethods
private
@ -3474,9 +3481,9 @@ class RuboCop::Cop::Layout::SpaceBeforeBrackets < ::RuboCop::Cop::Base
private
def offense_range(node, first_argument, begin_pos); end
def offense_range(node, begin_pos); end
def reference_variable_with_brackets?(node); end
def register_offense(range); end
def space_before_brackets?(node, first_argument); end
end
RuboCop::Cop::Layout::SpaceBeforeBrackets::MSG = T.let(T.unsafe(nil), String)
@ -4042,6 +4049,22 @@ RuboCop::Cop::Lint::DeprecatedClassMethods::MSG = T.let(T.unsafe(nil), String)
RuboCop::Cop::Lint::DeprecatedClassMethods::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
class RuboCop::Cop::Lint::DeprecatedConstants < ::RuboCop::Cop::Base
extend(::RuboCop::Cop::AutoCorrector)
def on_const(node); end
private
def consntant_name(node, nested_constant_name); end
def deprecated_constants; end
def message(good, bad, deprecated_version); end
end
RuboCop::Cop::Lint::DeprecatedConstants::DO_NOT_USE_MSG = T.let(T.unsafe(nil), String)
RuboCop::Cop::Lint::DeprecatedConstants::SUGGEST_GOOD_MSG = T.let(T.unsafe(nil), String)
class RuboCop::Cop::Lint::DeprecatedOpenSSLConstant < ::RuboCop::Cop::Base
include(::RuboCop::Cop::RangeHelp)
extend(::RuboCop::Cop::AutoCorrector)
@ -4516,6 +4539,16 @@ end
RuboCop::Cop::Lint::InterpolationCheck::MSG = T.let(T.unsafe(nil), String)
class RuboCop::Cop::Lint::LambdaWithoutLiteralBlock < ::RuboCop::Cop::Base
extend(::RuboCop::Cop::AutoCorrector)
def on_send(node); end
end
RuboCop::Cop::Lint::LambdaWithoutLiteralBlock::MSG = T.let(T.unsafe(nil), String)
RuboCop::Cop::Lint::LambdaWithoutLiteralBlock::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
class RuboCop::Cop::Lint::LiteralAsCondition < ::RuboCop::Cop::Base
include(::RuboCop::Cop::RangeHelp)
@ -4937,6 +4970,19 @@ end
RuboCop::Cop::Lint::RedundantCopEnableDirective::MSG = T.let(T.unsafe(nil), String)
class RuboCop::Cop::Lint::RedundantDirGlobSort < ::RuboCop::Cop::Base
extend(::RuboCop::Cop::AutoCorrector)
extend(::RuboCop::Cop::TargetRubyVersion)
def on_send(node); end
end
RuboCop::Cop::Lint::RedundantDirGlobSort::GLOB_METHODS = T.let(T.unsafe(nil), Array)
RuboCop::Cop::Lint::RedundantDirGlobSort::MSG = T.let(T.unsafe(nil), String)
RuboCop::Cop::Lint::RedundantDirGlobSort::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
class RuboCop::Cop::Lint::RedundantRequireStatement < ::RuboCop::Cop::Base
include(::RuboCop::Cop::RangeHelp)
extend(::RuboCop::Cop::AutoCorrector)
@ -6365,6 +6411,7 @@ end
RuboCop::Cop::Naming::RescuedExceptionsVariableName::MSG = T.let(T.unsafe(nil), String)
class RuboCop::Cop::Naming::VariableName < ::RuboCop::Cop::Base
include(::RuboCop::Cop::AllowedIdentifiers)
include(::RuboCop::Cop::ConfigurableEnforcedStyle)
include(::RuboCop::Cop::ConfigurableFormatting)
include(::RuboCop::Cop::ConfigurableNaming)
@ -6389,6 +6436,7 @@ end
RuboCop::Cop::Naming::VariableName::MSG = T.let(T.unsafe(nil), String)
class RuboCop::Cop::Naming::VariableNumber < ::RuboCop::Cop::Base
include(::RuboCop::Cop::AllowedIdentifiers)
include(::RuboCop::Cop::ConfigurableEnforcedStyle)
include(::RuboCop::Cop::ConfigurableFormatting)
include(::RuboCop::Cop::ConfigurableNumbering)
@ -6403,8 +6451,6 @@ class RuboCop::Cop::Naming::VariableNumber < ::RuboCop::Cop::Base
private
def allowed_identifier?(name); end
def allowed_identifiers; end
def message(style); end
end
@ -8011,6 +8057,27 @@ end
RuboCop::Cop::Style::EndBlock::MSG = T.let(T.unsafe(nil), String)
class RuboCop::Cop::Style::EndlessMethod < ::RuboCop::Cop::Base
include(::RuboCop::Cop::ConfigurableEnforcedStyle)
extend(::RuboCop::Cop::TargetRubyVersion)
extend(::RuboCop::Cop::AutoCorrector)
def on_def(node); end
private
def arguments(node, missing = T.unsafe(nil)); end
def correct_to_multiline(corrector, node); end
def handle_allow_style(node); end
def handle_disallow_style(node); end
end
RuboCop::Cop::Style::EndlessMethod::CORRECTION_STYLES = T.let(T.unsafe(nil), Array)
RuboCop::Cop::Style::EndlessMethod::MSG = T.let(T.unsafe(nil), String)
RuboCop::Cop::Style::EndlessMethod::MSG_MULTI_LINE = T.let(T.unsafe(nil), String)
class RuboCop::Cop::Style::EvalWithLocation < ::RuboCop::Cop::Base
def eval_without_location?(param0 = T.unsafe(nil)); end
def line_with_offset?(param0 = T.unsafe(nil), param1, param2); end
@ -8459,6 +8526,7 @@ class RuboCop::Cop::Style::IfInsideElse < ::RuboCop::Cop::Base
def autocorrect(corrector, node); end
def correct_to_elsif_from_if_inside_else_form(corrector, node, condition); end
def correct_to_elsif_from_modifier_form(corrector, node); end
def find_end_range(node); end
end
RuboCop::Cop::Style::IfInsideElse::MSG = T.let(T.unsafe(nil), String)
@ -8738,6 +8806,10 @@ class RuboCop::Cop::Style::MethodCallWithArgsParentheses < ::RuboCop::Cop::Base
def args_begin(node); end
def args_end(node); end
def args_parenthesized?(node); end
class << self
def autocorrect_incompatible_with; end
end
end
module RuboCop::Cop::Style::MethodCallWithArgsParentheses::OmitParentheses
@ -9199,6 +9271,10 @@ class RuboCop::Cop::Style::NestedParenthesizedCalls < ::RuboCop::Cop::Base
def allowed?(send_node); end
def allowed_omission?(send_node); end
def autocorrect(corrector, nested); end
class << self
def autocorrect_incompatible_with; end
end
end
RuboCop::Cop::Style::NestedParenthesizedCalls::MSG = T.let(T.unsafe(nil), String)
@ -10473,6 +10549,9 @@ class RuboCop::Cop::Style::SingleLineMethods < ::RuboCop::Cop::Base
def allow_empty?; end
def autocorrect(corrector, node); end
def correct_to_endless(corrector, node); end
def correct_to_endless?(body_node); end
def correct_to_multiline(corrector, node); end
def each_part(body); end
def move_comment(node, corrector); end
end
@ -12630,11 +12709,15 @@ class RuboCop::TargetRuby::RubyVersionFile < ::RuboCop::TargetRuby::Source
private
def filename; end
def find_version; end
def ruby_version_file; end
def pattern; end
def version_file; end
end
RuboCop::TargetRuby::RubyVersionFile::FILENAME = T.let(T.unsafe(nil), String)
RuboCop::TargetRuby::RubyVersionFile::RUBY_VERSION_FILENAME = T.let(T.unsafe(nil), String)
RuboCop::TargetRuby::RubyVersionFile::RUBY_VERSION_PATTERN = T.let(T.unsafe(nil), Regexp)
class RuboCop::TargetRuby::Source
def initialize(config); end
@ -12644,6 +12727,19 @@ class RuboCop::TargetRuby::Source
def version; end
end
class RuboCop::TargetRuby::ToolVersionsFile < ::RuboCop::TargetRuby::RubyVersionFile
def name; end
private
def filename; end
def pattern; end
end
RuboCop::TargetRuby::ToolVersionsFile::TOOL_VERSIONS_FILENAME = T.let(T.unsafe(nil), String)
RuboCop::TargetRuby::ToolVersionsFile::TOOL_VERSIONS_PATTERN = T.let(T.unsafe(nil), Regexp)
RuboCop::Token = RuboCop::AST::Token
module RuboCop::Util

View File

@ -1,13 +1,18 @@
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `unicode-display_width` gem.
# Please instead update this file by running `tapioca generate --exclude json`.
# Please instead update this file by running `tapioca sync`.
# typed: true
module Unicode
end
module Unicode::DisplayWidth
class Unicode::DisplayWidth
def initialize(ambiguous: T.unsafe(nil), overwrite: T.unsafe(nil), emoji: T.unsafe(nil)); end
def get_config(**kwargs); end
def of(string, **kwargs); end
class << self
def emoji_extra_width_of(string, ambiguous = T.unsafe(nil), overwrite = T.unsafe(nil), _ = T.unsafe(nil)); end
def of(string, ambiguous = T.unsafe(nil), overwrite = T.unsafe(nil), options = T.unsafe(nil)); end
@ -22,8 +27,6 @@ Unicode::DisplayWidth::INDEX = T.let(T.unsafe(nil), Array)
Unicode::DisplayWidth::INDEX_FILENAME = T.let(T.unsafe(nil), String)
Unicode::DisplayWidth::NO_STRING_EXT = T.let(T.unsafe(nil), TrueClass)
Unicode::DisplayWidth::UNICODE_VERSION = T.let(T.unsafe(nil), String)
Unicode::DisplayWidth::VERSION = T.let(T.unsafe(nil), String)

View File

@ -26570,7 +26570,6 @@ end
class Resource
include ::FileUtils::StreamUtils_
def sha256(val); end
end
class Resource::Partial
@ -30075,6 +30074,11 @@ module Utils::Svn
extend ::T::Private::Methods::SingletonMethodHooks
end
module Utils
extend ::T::Private::Methods::MethodHooks
extend ::T::Private::Methods::SingletonMethodHooks
end
class Version::Token
extend ::T::Private::Methods::MethodHooks
extend ::T::Private::Methods::SingletonMethodHooks

View File

@ -75,8 +75,8 @@ $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rspec-sorbet-1.8.0/li
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rspec-wait-0.0.9/lib"
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rubocop-ast-1.4.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-1.7.0/lib"
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rubocop-1.7.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.8.0/lib"
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rubocop-performance-1.9.2/lib"
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rubocop-rails-2.9.1/lib"
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rubocop-rspec-2.1.0/lib"