Merge pull request #10457 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-1.9.0
build(deps): bump rubocop from 1.8.1 to 1.9.0 in /Library/Homebrew
This commit is contained in:
commit
109d03030c
@ -54,6 +54,12 @@ FormulaAudit:
|
|||||||
FormulaAuditStrict:
|
FormulaAuditStrict:
|
||||||
Enabled: true
|
Enabled: true
|
||||||
|
|
||||||
|
# TODO: try to re-enable in RuboCop >=1.9.1
|
||||||
|
Lint/SymbolConversion:
|
||||||
|
Enabled: false
|
||||||
|
Style/EvalWithLocation:
|
||||||
|
Enabled: false
|
||||||
|
|
||||||
# makes DSL usage ugly.
|
# makes DSL usage ugly.
|
||||||
Layout/SpaceBeforeBrackets:
|
Layout/SpaceBeforeBrackets:
|
||||||
Exclude:
|
Exclude:
|
||||||
@ -204,7 +210,8 @@ Rails/TimeZone:
|
|||||||
|
|
||||||
# Don't allow cops to be disabled in casks and formulae.
|
# Don't allow cops to be disabled in casks and formulae.
|
||||||
Style/DisableCopsWithinSourceCodeDirective:
|
Style/DisableCopsWithinSourceCodeDirective:
|
||||||
Enabled: true
|
# TODO: try to re-enable in RuboCop >=1.9.1
|
||||||
|
Enabled: false
|
||||||
Include:
|
Include:
|
||||||
- "Taps/*/*/*.rb"
|
- "Taps/*/*/*.rb"
|
||||||
- "/**/{Formula,Casks}/*.rb"
|
- "/**/{Formula,Casks}/*.rb"
|
||||||
|
|||||||
@ -104,7 +104,7 @@ GEM
|
|||||||
rspec-support (3.10.0)
|
rspec-support (3.10.0)
|
||||||
rspec-wait (0.0.9)
|
rspec-wait (0.0.9)
|
||||||
rspec (>= 3, < 4)
|
rspec (>= 3, < 4)
|
||||||
rubocop (1.8.1)
|
rubocop (1.9.0)
|
||||||
parallel (~> 1.10)
|
parallel (~> 1.10)
|
||||||
parser (>= 3.0.0.0)
|
parser (>= 3.0.0.0)
|
||||||
rainbow (>= 2.2.2, < 4.0)
|
rainbow (>= 2.2.2, < 4.0)
|
||||||
|
|||||||
@ -22,7 +22,7 @@ class CxxStdlib
|
|||||||
def self.create(type, compiler)
|
def self.create(type, compiler)
|
||||||
raise ArgumentError, "Invalid C++ stdlib type: #{type}" if type && [:libstdcxx, :libcxx].exclude?(type)
|
raise ArgumentError, "Invalid C++ stdlib type: #{type}" if type && [:libstdcxx, :libcxx].exclude?(type)
|
||||||
|
|
||||||
apple_compiler = compiler.to_s.match?(GNU_GCC_REGEXP) ? false : true
|
apple_compiler = !compiler.to_s.match?(GNU_GCC_REGEXP)
|
||||||
CxxStdlib.new(type, compiler, apple_compiler)
|
CxxStdlib.new(type, compiler, apple_compiler)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@ -3,11 +3,8 @@
|
|||||||
|
|
||||||
class Module
|
class Module
|
||||||
def attr_rw(*attrs)
|
def attr_rw(*attrs)
|
||||||
file, line, = caller.first.split(":")
|
|
||||||
line = line.to_i
|
|
||||||
|
|
||||||
attrs.each do |attr|
|
attrs.each do |attr|
|
||||||
module_eval <<-EOS, file, line
|
module_eval <<-EOS, __FILE__, __LINE__+1
|
||||||
def #{attr}(val=nil) # def prefix(val=nil)
|
def #{attr}(val=nil) # def prefix(val=nil)
|
||||||
@#{attr} ||= nil # @prefix ||= nil
|
@#{attr} ||= nil # @prefix ||= nil
|
||||||
return @#{attr} if val.nil? # return @prefix if val.nil?
|
return @#{attr} if val.nil? # return @prefix if val.nil?
|
||||||
|
|||||||
@ -78,14 +78,23 @@ HOMEBREW_RELEASES_URL_REGEX =
|
|||||||
require "fileutils"
|
require "fileutils"
|
||||||
|
|
||||||
require "os"
|
require "os"
|
||||||
require "os/global"
|
require "env_config"
|
||||||
require "messages"
|
require "messages"
|
||||||
|
|
||||||
module Homebrew
|
module Homebrew
|
||||||
extend FileUtils
|
extend FileUtils
|
||||||
|
|
||||||
DEFAULT_PREFIX ||= HOMEBREW_DEFAULT_PREFIX
|
remove_const :DEFAULT_PREFIX if defined?(DEFAULT_PREFIX)
|
||||||
DEFAULT_REPOSITORY ||= HOMEBREW_DEFAULT_REPOSITORY
|
remove_const :DEFAULT_REPOSITORY if defined?(DEFAULT_REPOSITORY)
|
||||||
|
|
||||||
|
DEFAULT_PREFIX, DEFAULT_REPOSITORY = if OS.mac? && Hardware::CPU.arm?
|
||||||
|
[HOMEBREW_MACOS_ARM_DEFAULT_PREFIX, HOMEBREW_MACOS_ARM_DEFAULT_REPOSITORY]
|
||||||
|
elsif OS.linux? && !EnvConfig.force_homebrew_on_linux?
|
||||||
|
[HOMEBREW_LINUX_DEFAULT_PREFIX, HOMEBREW_LINUX_DEFAULT_REPOSITORY]
|
||||||
|
else
|
||||||
|
[HOMEBREW_DEFAULT_PREFIX, HOMEBREW_DEFAULT_REPOSITORY]
|
||||||
|
end.freeze
|
||||||
|
|
||||||
DEFAULT_CELLAR = "#{DEFAULT_PREFIX}/Cellar"
|
DEFAULT_CELLAR = "#{DEFAULT_PREFIX}/Cellar"
|
||||||
DEFAULT_MACOS_CELLAR = "#{HOMEBREW_DEFAULT_PREFIX}/Cellar"
|
DEFAULT_MACOS_CELLAR = "#{HOMEBREW_DEFAULT_PREFIX}/Cellar"
|
||||||
DEFAULT_MACOS_ARM_CELLAR = "#{HOMEBREW_MACOS_ARM_DEFAULT_PREFIX}/Cellar"
|
DEFAULT_MACOS_ARM_CELLAR = "#{HOMEBREW_MACOS_ARM_DEFAULT_PREFIX}/Cellar"
|
||||||
@ -117,8 +126,6 @@ module Homebrew
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
require "env_config"
|
|
||||||
|
|
||||||
require "config"
|
require "config"
|
||||||
require "context"
|
require "context"
|
||||||
require "extend/pathname"
|
require "extend/pathname"
|
||||||
@ -148,3 +155,6 @@ require "tap"
|
|||||||
require "tap_constants"
|
require "tap_constants"
|
||||||
|
|
||||||
require "compat" unless Homebrew::EnvConfig.no_compat?
|
require "compat" unless Homebrew::EnvConfig.no_compat?
|
||||||
|
|
||||||
|
# Enables `patchelf.rb` write support.
|
||||||
|
HOMEBREW_PATCHELF_RB_WRITE = ENV["HOMEBREW_NO_PATCHELF_RB_WRITE"].blank?.freeze
|
||||||
|
|||||||
@ -1,8 +0,0 @@
|
|||||||
# typed: strict
|
|
||||||
# frozen_string_literal: true
|
|
||||||
|
|
||||||
if OS.mac?
|
|
||||||
require "os/mac/global"
|
|
||||||
elsif OS.linux?
|
|
||||||
require "os/linux/global"
|
|
||||||
end
|
|
||||||
@ -1,17 +0,0 @@
|
|||||||
# typed: false
|
|
||||||
# frozen_string_literal: true
|
|
||||||
|
|
||||||
require "env_config"
|
|
||||||
|
|
||||||
# Enables `patchelf.rb` write support.
|
|
||||||
HOMEBREW_PATCHELF_RB_WRITE = ENV["HOMEBREW_NO_PATCHELF_RB_WRITE"].blank?.freeze
|
|
||||||
|
|
||||||
module Homebrew
|
|
||||||
if EnvConfig.force_homebrew_on_linux?
|
|
||||||
DEFAULT_PREFIX ||= HOMEBREW_DEFAULT_PREFIX.freeze
|
|
||||||
DEFAULT_REPOSITORY ||= HOMEBREW_DEFAULT_REPOSITORY.freeze
|
|
||||||
else
|
|
||||||
DEFAULT_PREFIX ||= HOMEBREW_LINUX_DEFAULT_PREFIX.freeze
|
|
||||||
DEFAULT_REPOSITORY ||= HOMEBREW_LINUX_DEFAULT_REPOSITORY.freeze
|
|
||||||
end
|
|
||||||
end
|
|
||||||
@ -1,12 +0,0 @@
|
|||||||
# typed: false
|
|
||||||
# frozen_string_literal: true
|
|
||||||
|
|
||||||
module Homebrew
|
|
||||||
if Hardware::CPU.arm?
|
|
||||||
DEFAULT_PREFIX ||= HOMEBREW_MACOS_ARM_DEFAULT_PREFIX.freeze
|
|
||||||
DEFAULT_REPOSITORY ||= HOMEBREW_MACOS_ARM_DEFAULT_REPOSITORY.freeze
|
|
||||||
else
|
|
||||||
DEFAULT_PREFIX ||= HOMEBREW_DEFAULT_PREFIX.freeze
|
|
||||||
DEFAULT_REPOSITORY ||= HOMEBREW_DEFAULT_REPOSITORY.freeze
|
|
||||||
end
|
|
||||||
end
|
|
||||||
@ -67,6 +67,8 @@ RuboCop::CLI::Command::AutoGenerateConfig::PHASE_1_OVERRIDDEN = T.let(T.unsafe(n
|
|||||||
|
|
||||||
RuboCop::CLI::Command::AutoGenerateConfig::PHASE_2 = T.let(T.unsafe(nil), String)
|
RuboCop::CLI::Command::AutoGenerateConfig::PHASE_2 = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
|
RuboCop::CLI::Command::AutoGenerateConfig::YAML_OPTIONAL_DOC_START = T.let(T.unsafe(nil), Regexp)
|
||||||
|
|
||||||
class RuboCop::CLI::Command::Base
|
class RuboCop::CLI::Command::Base
|
||||||
def initialize(env); end
|
def initialize(env); end
|
||||||
|
|
||||||
@ -285,7 +287,7 @@ class RuboCop::Config
|
|||||||
def target_rails_version_from_bundler_lock_file; end
|
def target_rails_version_from_bundler_lock_file; end
|
||||||
|
|
||||||
class << self
|
class << self
|
||||||
def create(hash, path); end
|
def create(hash, path, check: T.unsafe(nil)); end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -314,7 +316,7 @@ class RuboCop::ConfigLoader
|
|||||||
def add_missing_namespaces(path, hash); end
|
def add_missing_namespaces(path, hash); end
|
||||||
def clear_options; end
|
def clear_options; end
|
||||||
def configuration_file_for(target_dir); end
|
def configuration_file_for(target_dir); end
|
||||||
def configuration_from_file(config_file); end
|
def configuration_from_file(config_file, check: T.unsafe(nil)); end
|
||||||
def debug; end
|
def debug; end
|
||||||
def debug=(_arg0); end
|
def debug=(_arg0); end
|
||||||
def debug?; end
|
def debug?; end
|
||||||
@ -327,7 +329,7 @@ class RuboCop::ConfigLoader
|
|||||||
def ignore_parent_exclusion; end
|
def ignore_parent_exclusion; end
|
||||||
def ignore_parent_exclusion=(_arg0); end
|
def ignore_parent_exclusion=(_arg0); end
|
||||||
def ignore_parent_exclusion?; end
|
def ignore_parent_exclusion?; end
|
||||||
def load_file(file); end
|
def load_file(file, check: T.unsafe(nil)); end
|
||||||
def load_yaml_configuration(absolute_path); end
|
def load_yaml_configuration(absolute_path); end
|
||||||
def loaded_features; end
|
def loaded_features; end
|
||||||
def merge(base_hash, derived_hash); end
|
def merge(base_hash, derived_hash); end
|
||||||
@ -551,6 +553,9 @@ class RuboCop::ConfigStore
|
|||||||
def for_pwd; end
|
def for_pwd; end
|
||||||
def force_default_config!; end
|
def force_default_config!; end
|
||||||
def options_config=(options_config); end
|
def options_config=(options_config); end
|
||||||
|
def unvalidated; end
|
||||||
|
def validated; end
|
||||||
|
def validated?; end
|
||||||
end
|
end
|
||||||
|
|
||||||
class RuboCop::ConfigValidator
|
class RuboCop::ConfigValidator
|
||||||
@ -4769,10 +4774,14 @@ class RuboCop::Cop::Lint::NumberConversion < ::RuboCop::Cop::Base
|
|||||||
|
|
||||||
def on_send(node); end
|
def on_send(node); end
|
||||||
def to_method(param0 = T.unsafe(nil)); end
|
def to_method(param0 = T.unsafe(nil)); end
|
||||||
|
def to_method_symbol(param0 = T.unsafe(nil)); end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
def correct_method(node, receiver); end
|
def correct_method(node, receiver); end
|
||||||
|
def correct_sym_method(to_method); end
|
||||||
|
def handle_as_symbol(node); end
|
||||||
|
def handle_conversion_method(node); end
|
||||||
def ignore_receiver?(receiver); end
|
def ignore_receiver?(receiver); end
|
||||||
def ignored_class?(name); end
|
def ignored_class?(name); end
|
||||||
def ignored_classes; end
|
def ignored_classes; end
|
||||||
@ -4781,9 +4790,27 @@ end
|
|||||||
|
|
||||||
RuboCop::Cop::Lint::NumberConversion::CONVERSION_METHOD_CLASS_MAPPING = T.let(T.unsafe(nil), Hash)
|
RuboCop::Cop::Lint::NumberConversion::CONVERSION_METHOD_CLASS_MAPPING = T.let(T.unsafe(nil), Hash)
|
||||||
|
|
||||||
|
RuboCop::Cop::Lint::NumberConversion::METHODS = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
RuboCop::Cop::Lint::NumberConversion::MSG = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::Lint::NumberConversion::MSG = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
RuboCop::Cop::Lint::NumberConversion::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
|
class RuboCop::Cop::Lint::NumberedParameterAssignment < ::RuboCop::Cop::Base
|
||||||
|
def on_lvasgn(node); end
|
||||||
|
end
|
||||||
|
|
||||||
|
RuboCop::Cop::Lint::NumberedParameterAssignment::LVAR_MSG = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
|
RuboCop::Cop::Lint::NumberedParameterAssignment::NUMBERED_PARAMETER_RANGE = T.let(T.unsafe(nil), Range)
|
||||||
|
|
||||||
|
RuboCop::Cop::Lint::NumberedParameterAssignment::NUM_PARAM_MSG = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
|
class RuboCop::Cop::Lint::OrAssignmentToConstant < ::RuboCop::Cop::Base
|
||||||
|
extend(::RuboCop::Cop::AutoCorrector)
|
||||||
|
|
||||||
|
def on_or_asgn(node); end
|
||||||
|
end
|
||||||
|
|
||||||
|
RuboCop::Cop::Lint::OrAssignmentToConstant::MSG = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
class RuboCop::Cop::Lint::OrderedMagicComments < ::RuboCop::Cop::Base
|
class RuboCop::Cop::Lint::OrderedMagicComments < ::RuboCop::Cop::Base
|
||||||
include(::RuboCop::Cop::FrozenStringLiteral)
|
include(::RuboCop::Cop::FrozenStringLiteral)
|
||||||
@ -5329,6 +5356,26 @@ end
|
|||||||
|
|
||||||
RuboCop::Cop::Lint::SuppressedException::MSG = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::Lint::SuppressedException::MSG = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
|
class RuboCop::Cop::Lint::SymbolConversion < ::RuboCop::Cop::Base
|
||||||
|
extend(::RuboCop::Cop::AutoCorrector)
|
||||||
|
|
||||||
|
def on_send(node); end
|
||||||
|
def on_sym(node); end
|
||||||
|
|
||||||
|
private
|
||||||
|
|
||||||
|
def correct_hash_key(node); end
|
||||||
|
def hash_key?(node); end
|
||||||
|
def in_alias?(node); end
|
||||||
|
def in_percent_literal_array?(node); end
|
||||||
|
def properly_quoted?(source, value); end
|
||||||
|
def register_offense(node, correction:, message: T.unsafe(nil)); end
|
||||||
|
end
|
||||||
|
|
||||||
|
RuboCop::Cop::Lint::SymbolConversion::MSG = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
|
RuboCop::Cop::Lint::SymbolConversion::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
|
||||||
|
|
||||||
class RuboCop::Cop::Lint::Syntax < ::RuboCop::Cop::Base
|
class RuboCop::Cop::Lint::Syntax < ::RuboCop::Cop::Base
|
||||||
def on_other_file; end
|
def on_other_file; end
|
||||||
|
|
||||||
@ -5386,6 +5433,18 @@ end
|
|||||||
|
|
||||||
RuboCop::Cop::Lint::TrailingCommaInAttributeDeclaration::MSG = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::Lint::TrailingCommaInAttributeDeclaration::MSG = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
|
class RuboCop::Cop::Lint::TripleQuotes < ::RuboCop::Cop::Base
|
||||||
|
extend(::RuboCop::Cop::AutoCorrector)
|
||||||
|
|
||||||
|
def on_dstr(node); end
|
||||||
|
|
||||||
|
private
|
||||||
|
|
||||||
|
def empty_str_nodes(node); end
|
||||||
|
end
|
||||||
|
|
||||||
|
RuboCop::Cop::Lint::TripleQuotes::MSG = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
class RuboCop::Cop::Lint::UnderscorePrefixedVariableName < ::RuboCop::Cop::Base
|
class RuboCop::Cop::Lint::UnderscorePrefixedVariableName < ::RuboCop::Cop::Base
|
||||||
def after_leaving_scope(scope, _variable_table); end
|
def after_leaving_scope(scope, _variable_table); end
|
||||||
def check_variable(variable); end
|
def check_variable(variable); end
|
||||||
@ -6402,10 +6461,13 @@ class RuboCop::Cop::Naming::RescuedExceptionsVariableName < ::RuboCop::Cop::Base
|
|||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
|
def correct_node(corrector, node, offending_name, preferred_name); end
|
||||||
|
def correct_reassignment(corrector, node, offending_name, preferred_name); end
|
||||||
def message(node); end
|
def message(node); end
|
||||||
def offense_range(resbody); end
|
def offense_range(resbody); end
|
||||||
def preferred_name(variable_name); end
|
def preferred_name(variable_name); end
|
||||||
def variable_name(node); end
|
def variable_name(node); end
|
||||||
|
def variable_name_matches?(node, name); end
|
||||||
end
|
end
|
||||||
|
|
||||||
RuboCop::Cop::Naming::RescuedExceptionsVariableName::MSG = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::Naming::RescuedExceptionsVariableName::MSG = T.let(T.unsafe(nil), String)
|
||||||
@ -7779,11 +7841,16 @@ class RuboCop::Cop::Style::DisableCopsWithinSourceCodeDirective < ::RuboCop::Cop
|
|||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
def rubocop_directive_comment?(comment); end
|
def allowed_cops; end
|
||||||
|
def any_cops_allowed?; end
|
||||||
|
def directive_cops(comment); end
|
||||||
|
def register_offense(comment, directive_cops, disallowed_cops); end
|
||||||
end
|
end
|
||||||
|
|
||||||
RuboCop::Cop::Style::DisableCopsWithinSourceCodeDirective::MSG = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::Style::DisableCopsWithinSourceCodeDirective::MSG = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
|
RuboCop::Cop::Style::DisableCopsWithinSourceCodeDirective::MSG_FOR_COPS = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
class RuboCop::Cop::Style::DocumentDynamicEvalDefinition < ::RuboCop::Cop::Base
|
class RuboCop::Cop::Style::DocumentDynamicEvalDefinition < ::RuboCop::Cop::Base
|
||||||
def on_send(node); end
|
def on_send(node); end
|
||||||
|
|
||||||
@ -8079,16 +8146,19 @@ RuboCop::Cop::Style::EndlessMethod::MSG = T.let(T.unsafe(nil), String)
|
|||||||
RuboCop::Cop::Style::EndlessMethod::MSG_MULTI_LINE = 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
|
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
|
def line_with_offset?(param0 = T.unsafe(nil), param1, param2); end
|
||||||
def on_send(node); end
|
def on_send(node); end
|
||||||
|
def valid_eval_receiver?(param0 = T.unsafe(nil)); end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
def add_offense_for_different_line(_node, line_node, line_diff); end
|
def add_offense_for_different_line(node, line_node, line_diff); end
|
||||||
def add_offense_for_same_line(_node, line_node); end
|
def add_offense_for_same_line(node, line_node); end
|
||||||
def message_incorrect_line(actual, sign, line_diff); end
|
def check_file(node, file_node); end
|
||||||
def on_with_lineno(node, code); end
|
def check_line(node, code); end
|
||||||
|
def file_and_line(node); end
|
||||||
|
def message_incorrect_line(method_name, actual, sign, line_diff); end
|
||||||
|
def register_offense(node); end
|
||||||
def special_file_keyword?(node); end
|
def special_file_keyword?(node); end
|
||||||
def special_line_keyword?(node); end
|
def special_line_keyword?(node); end
|
||||||
def string_first_line(str_node); end
|
def string_first_line(str_node); end
|
||||||
@ -8097,6 +8167,10 @@ end
|
|||||||
|
|
||||||
RuboCop::Cop::Style::EvalWithLocation::MSG = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::Style::EvalWithLocation::MSG = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
|
RuboCop::Cop::Style::EvalWithLocation::MSG_EVAL = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
|
RuboCop::Cop::Style::EvalWithLocation::MSG_INCORRECT_FILE = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
RuboCop::Cop::Style::EvalWithLocation::MSG_INCORRECT_LINE = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::Style::EvalWithLocation::MSG_INCORRECT_LINE = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
RuboCop::Cop::Style::EvalWithLocation::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
|
RuboCop::Cop::Style::EvalWithLocation::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
|
||||||
@ -8247,6 +8321,8 @@ RuboCop::Cop::Style::FormatString::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array
|
|||||||
|
|
||||||
class RuboCop::Cop::Style::FormatStringToken < ::RuboCop::Cop::Base
|
class RuboCop::Cop::Style::FormatStringToken < ::RuboCop::Cop::Base
|
||||||
include(::RuboCop::Cop::ConfigurableEnforcedStyle)
|
include(::RuboCop::Cop::ConfigurableEnforcedStyle)
|
||||||
|
include(::RuboCop::Cop::IgnoredMethods)
|
||||||
|
extend(::RuboCop::Cop::IgnoredMethods::Config)
|
||||||
|
|
||||||
def format_string_in_typical_context?(param0 = T.unsafe(nil)); end
|
def format_string_in_typical_context?(param0 = T.unsafe(nil)); end
|
||||||
def on_str(node); end
|
def on_str(node); end
|
||||||
@ -8255,6 +8331,7 @@ class RuboCop::Cop::Style::FormatStringToken < ::RuboCop::Cop::Base
|
|||||||
|
|
||||||
def allowed_unannotated?(detections); end
|
def allowed_unannotated?(detections); end
|
||||||
def collect_detections(node); end
|
def collect_detections(node); end
|
||||||
|
def format_string_token?(node); end
|
||||||
def max_unannotated_placeholders_allowed; end
|
def max_unannotated_placeholders_allowed; end
|
||||||
def message(detected_style); end
|
def message(detected_style); end
|
||||||
def message_text(style); end
|
def message_text(style); end
|
||||||
@ -8262,6 +8339,7 @@ class RuboCop::Cop::Style::FormatStringToken < ::RuboCop::Cop::Base
|
|||||||
def token_ranges(contents); end
|
def token_ranges(contents); end
|
||||||
def tokens(str_node, &block); end
|
def tokens(str_node, &block); end
|
||||||
def unannotated_format?(node, detected_style); end
|
def unannotated_format?(node, detected_style); end
|
||||||
|
def use_ignored_method?(node); end
|
||||||
end
|
end
|
||||||
|
|
||||||
class RuboCop::Cop::Style::FrozenStringLiteralComment < ::RuboCop::Cop::Base
|
class RuboCop::Cop::Style::FrozenStringLiteralComment < ::RuboCop::Cop::Base
|
||||||
@ -8527,6 +8605,7 @@ class RuboCop::Cop::Style::IfInsideElse < ::RuboCop::Cop::Base
|
|||||||
def correct_to_elsif_from_if_inside_else_form(corrector, node, condition); 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 correct_to_elsif_from_modifier_form(corrector, node); end
|
||||||
def find_end_range(node); end
|
def find_end_range(node); end
|
||||||
|
def if_condition_range(node, condition); end
|
||||||
end
|
end
|
||||||
|
|
||||||
RuboCop::Cop::Style::IfInsideElse::MSG = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::Style::IfInsideElse::MSG = T.let(T.unsafe(nil), String)
|
||||||
@ -8574,6 +8653,24 @@ end
|
|||||||
|
|
||||||
RuboCop::Cop::Style::IfUnlessModifierOfIfUnless::MSG = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::Style::IfUnlessModifierOfIfUnless::MSG = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
|
class RuboCop::Cop::Style::IfWithBooleanLiteralBranches < ::RuboCop::Cop::Base
|
||||||
|
extend(::RuboCop::Cop::AutoCorrector)
|
||||||
|
|
||||||
|
def double_negative?(param0 = T.unsafe(nil)); end
|
||||||
|
def if_with_boolean_literal_branches?(param0 = T.unsafe(nil)); end
|
||||||
|
def on_if(node); end
|
||||||
|
|
||||||
|
private
|
||||||
|
|
||||||
|
def assume_boolean_value?(condition); end
|
||||||
|
def opposite_condition?(node); end
|
||||||
|
def replacement_condition(node, condition); end
|
||||||
|
def require_parentheses?(condition); end
|
||||||
|
def return_boolean_value?(condition); end
|
||||||
|
end
|
||||||
|
|
||||||
|
RuboCop::Cop::Style::IfWithBooleanLiteralBranches::MSG = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
class RuboCop::Cop::Style::IfWithSemicolon < ::RuboCop::Cop::Base
|
class RuboCop::Cop::Style::IfWithSemicolon < ::RuboCop::Cop::Base
|
||||||
include(::RuboCop::Cop::OnNormalIfUnless)
|
include(::RuboCop::Cop::OnNormalIfUnless)
|
||||||
extend(::RuboCop::Cop::AutoCorrector)
|
extend(::RuboCop::Cop::AutoCorrector)
|
||||||
@ -9383,12 +9480,17 @@ class RuboCop::Cop::Style::NonNilCheck < ::RuboCop::Cop::Base
|
|||||||
def autocorrect_comparison(corrector, node); end
|
def autocorrect_comparison(corrector, node); end
|
||||||
def autocorrect_non_nil(corrector, node, inner_node); end
|
def autocorrect_non_nil(corrector, node, inner_node); end
|
||||||
def autocorrect_unless_nil(corrector, node, receiver); end
|
def autocorrect_unless_nil(corrector, node, receiver); end
|
||||||
def find_offense_node(node); end
|
|
||||||
def include_semantic_changes?; end
|
def include_semantic_changes?; end
|
||||||
def message(node); end
|
def message(node); end
|
||||||
|
def nil_comparison_style; end
|
||||||
|
def register_offense?(node); end
|
||||||
def unless_and_nil_check?(send_node); end
|
def unless_and_nil_check?(send_node); end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
RuboCop::Cop::Style::NonNilCheck::MSG_FOR_REDUNDANCY = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
|
RuboCop::Cop::Style::NonNilCheck::MSG_FOR_REPLACEMENT = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
RuboCop::Cop::Style::NonNilCheck::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
|
RuboCop::Cop::Style::NonNilCheck::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
|
||||||
|
|
||||||
class RuboCop::Cop::Style::Not < ::RuboCop::Cop::Base
|
class RuboCop::Cop::Style::Not < ::RuboCop::Cop::Base
|
||||||
@ -10579,12 +10681,15 @@ class RuboCop::Cop::Style::SoleNestedConditional < ::RuboCop::Cop::Base
|
|||||||
private
|
private
|
||||||
|
|
||||||
def allow_modifier?; end
|
def allow_modifier?; end
|
||||||
|
def arguments_range(node); end
|
||||||
def autocorrect(corrector, node, if_branch); end
|
def autocorrect(corrector, node, if_branch); end
|
||||||
def correct_for_basic_condition_style(corrector, node, if_branch, and_operator); end
|
def correct_for_basic_condition_style(corrector, node, if_branch, and_operator); end
|
||||||
def correct_for_comment(corrector, node, if_branch); end
|
def correct_for_comment(corrector, node, if_branch); end
|
||||||
def correct_for_guard_condition_style(corrector, node, if_branch, and_operator); end
|
def correct_for_guard_condition_style(corrector, node, if_branch, and_operator); end
|
||||||
|
def correct_outer_condition(corrector, condition); end
|
||||||
def offending_branch?(branch); end
|
def offending_branch?(branch); end
|
||||||
def replacement_condition(and_operator, condition); end
|
def replacement_condition(and_operator, condition); end
|
||||||
|
def requrie_parentheses?(condition); end
|
||||||
def wrap_condition?(node); end
|
def wrap_condition?(node); end
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -12312,7 +12417,10 @@ class RuboCop::MagicComment
|
|||||||
def frozen_string_literal; end
|
def frozen_string_literal; end
|
||||||
def frozen_string_literal?; end
|
def frozen_string_literal?; end
|
||||||
def frozen_string_literal_specified?; end
|
def frozen_string_literal_specified?; end
|
||||||
|
def shareable_constant_value; end
|
||||||
|
def shareable_constant_value_specified?; end
|
||||||
def valid_literal_value?; end
|
def valid_literal_value?; end
|
||||||
|
def valid_shareable_constant_value?; end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
@ -12338,6 +12446,7 @@ class RuboCop::MagicComment::EmacsComment < ::RuboCop::MagicComment::EditorComme
|
|||||||
private
|
private
|
||||||
|
|
||||||
def extract_frozen_string_literal; end
|
def extract_frozen_string_literal; end
|
||||||
|
def extract_shareable_constant_value; end
|
||||||
end
|
end
|
||||||
|
|
||||||
RuboCop::MagicComment::EmacsComment::FORMAT = T.let(T.unsafe(nil), Regexp)
|
RuboCop::MagicComment::EmacsComment::FORMAT = T.let(T.unsafe(nil), Regexp)
|
||||||
@ -12352,6 +12461,7 @@ class RuboCop::MagicComment::SimpleComment < ::RuboCop::MagicComment
|
|||||||
private
|
private
|
||||||
|
|
||||||
def extract_frozen_string_literal; end
|
def extract_frozen_string_literal; end
|
||||||
|
def extract_shareable_constant_value; end
|
||||||
end
|
end
|
||||||
|
|
||||||
RuboCop::MagicComment::TOKEN = T.let(T.unsafe(nil), Regexp)
|
RuboCop::MagicComment::TOKEN = T.let(T.unsafe(nil), Regexp)
|
||||||
@ -12359,6 +12469,7 @@ RuboCop::MagicComment::TOKEN = T.let(T.unsafe(nil), Regexp)
|
|||||||
class RuboCop::MagicComment::VimComment < ::RuboCop::MagicComment::EditorComment
|
class RuboCop::MagicComment::VimComment < ::RuboCop::MagicComment::EditorComment
|
||||||
def encoding; end
|
def encoding; end
|
||||||
def frozen_string_literal; end
|
def frozen_string_literal; end
|
||||||
|
def shareable_constant_value; end
|
||||||
end
|
end
|
||||||
|
|
||||||
RuboCop::MagicComment::VimComment::FORMAT = T.let(T.unsafe(nil), Regexp)
|
RuboCop::MagicComment::VimComment::FORMAT = T.let(T.unsafe(nil), Regexp)
|
||||||
@ -12420,7 +12420,6 @@ class Object
|
|||||||
HOMEBREW_MACOS_ARM_DEFAULT_PREFIX = ::T.let(nil, ::T.untyped)
|
HOMEBREW_MACOS_ARM_DEFAULT_PREFIX = ::T.let(nil, ::T.untyped)
|
||||||
HOMEBREW_MACOS_ARM_DEFAULT_REPOSITORY = ::T.let(nil, ::T.untyped)
|
HOMEBREW_MACOS_ARM_DEFAULT_REPOSITORY = ::T.let(nil, ::T.untyped)
|
||||||
HOMEBREW_OFFICIAL_REPO_PREFIXES_REGEX = ::T.let(nil, ::T.untyped)
|
HOMEBREW_OFFICIAL_REPO_PREFIXES_REGEX = ::T.let(nil, ::T.untyped)
|
||||||
HOMEBREW_PATCHELF_RB_WRITE = ::T.let(nil, ::T.untyped)
|
|
||||||
HOMEBREW_PINNED_KEGS = ::T.let(nil, ::T.untyped)
|
HOMEBREW_PINNED_KEGS = ::T.let(nil, ::T.untyped)
|
||||||
HOMEBREW_PREFIX = ::T.let(nil, ::T.untyped)
|
HOMEBREW_PREFIX = ::T.let(nil, ::T.untyped)
|
||||||
HOMEBREW_PRODUCT = ::T.let(nil, ::T.untyped)
|
HOMEBREW_PRODUCT = ::T.let(nil, ::T.untyped)
|
||||||
@ -26819,7 +26818,7 @@ module RuboCop::RSpec::ExpectOffense
|
|||||||
|
|
||||||
def expect_no_offenses(source, file=T.unsafe(nil)); end
|
def expect_no_offenses(source, file=T.unsafe(nil)); end
|
||||||
|
|
||||||
def expect_offense(source, file=T.unsafe(nil), severity: T.unsafe(nil), **replacements); end
|
def expect_offense(source, file=T.unsafe(nil), severity: T.unsafe(nil), chomp: T.unsafe(nil), **replacements); end
|
||||||
|
|
||||||
def format_offense(source, **replacements); end
|
def format_offense(source, **replacements); end
|
||||||
|
|
||||||
|
|||||||
@ -135,7 +135,6 @@ module Homebrew
|
|||||||
FileUtils.rm_rf cache_env["XDG_CACHE_HOME"] if reset_cache
|
FileUtils.rm_rf cache_env["XDG_CACHE_HOME"] if reset_cache
|
||||||
|
|
||||||
ruby_args = [
|
ruby_args = [
|
||||||
(ENV["HOMEBREW_RUBY_WARNINGS"] if !debug && !verbose),
|
|
||||||
"-S",
|
"-S",
|
||||||
"rubocop",
|
"rubocop",
|
||||||
].compact.freeze
|
].compact.freeze
|
||||||
|
|||||||
@ -77,64 +77,64 @@ describe Homebrew do
|
|||||||
|
|
||||||
let(:hello_hash_big_sur) {
|
let(:hello_hash_big_sur) {
|
||||||
JSON.parse stub_hash(
|
JSON.parse stub_hash(
|
||||||
"name": "hello",
|
name: "hello",
|
||||||
"version": "1.0",
|
version: "1.0",
|
||||||
"path": "/home/hello.rb",
|
path: "/home/hello.rb",
|
||||||
"cellar": "any_skip_relocation",
|
cellar: "any_skip_relocation",
|
||||||
"os": "big_sur",
|
os: "big_sur",
|
||||||
"filename": "hello-1.0.big_sur.bottle.tar.gz",
|
filename: "hello-1.0.big_sur.bottle.tar.gz",
|
||||||
"local_filename": "hello--1.0.big_sur.bottle.tar.gz",
|
local_filename: "hello--1.0.big_sur.bottle.tar.gz",
|
||||||
"sha256": "a0af7dcbb5c83f6f3f7ecd507c2d352c1a018f894d51ad241ce8492fa598010f",
|
sha256: "a0af7dcbb5c83f6f3f7ecd507c2d352c1a018f894d51ad241ce8492fa598010f",
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
let(:hello_hash_catalina) {
|
let(:hello_hash_catalina) {
|
||||||
JSON.parse stub_hash(
|
JSON.parse stub_hash(
|
||||||
"name": "hello",
|
name: "hello",
|
||||||
"version": "1.0",
|
version: "1.0",
|
||||||
"path": "/home/hello.rb",
|
path: "/home/hello.rb",
|
||||||
"cellar": "any_skip_relocation",
|
cellar: "any_skip_relocation",
|
||||||
"os": "catalina",
|
os: "catalina",
|
||||||
"filename": "hello-1.0.catalina.bottle.tar.gz",
|
filename: "hello-1.0.catalina.bottle.tar.gz",
|
||||||
"local_filename": "hello--1.0.catalina.bottle.tar.gz",
|
local_filename: "hello--1.0.catalina.bottle.tar.gz",
|
||||||
"sha256": "5334dd344986e46b2aa4f0471cac7b0914bd7de7cb890a34415771788d03f2ac",
|
sha256: "5334dd344986e46b2aa4f0471cac7b0914bd7de7cb890a34415771788d03f2ac",
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
let(:unzip_hash_big_sur) {
|
let(:unzip_hash_big_sur) {
|
||||||
JSON.parse stub_hash(
|
JSON.parse stub_hash(
|
||||||
"name": "unzip",
|
name: "unzip",
|
||||||
"version": "2.0",
|
version: "2.0",
|
||||||
"path": "/home/unzip.rb",
|
path: "/home/unzip.rb",
|
||||||
"cellar": "any_skip_relocation",
|
cellar: "any_skip_relocation",
|
||||||
"os": "big_sur",
|
os: "big_sur",
|
||||||
"filename": "unzip-2.0.big_sur.bottle.tar.gz",
|
filename: "unzip-2.0.big_sur.bottle.tar.gz",
|
||||||
"local_filename": "unzip--2.0.big_sur.bottle.tar.gz",
|
local_filename: "unzip--2.0.big_sur.bottle.tar.gz",
|
||||||
"sha256": "16cf230afdfcb6306c208d169549cf8773c831c8653d2c852315a048960d7e72",
|
sha256: "16cf230afdfcb6306c208d169549cf8773c831c8653d2c852315a048960d7e72",
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
let(:unzip_hash_catalina) {
|
let(:unzip_hash_catalina) {
|
||||||
JSON.parse stub_hash(
|
JSON.parse stub_hash(
|
||||||
"name": "unzip",
|
name: "unzip",
|
||||||
"version": "2.0",
|
version: "2.0",
|
||||||
"path": "/home/unzip.rb",
|
path: "/home/unzip.rb",
|
||||||
"cellar": "any",
|
cellar: "any",
|
||||||
"os": "catalina",
|
os: "catalina",
|
||||||
"filename": "unzip-2.0.catalina.bottle.tar.gz",
|
filename: "unzip-2.0.catalina.bottle.tar.gz",
|
||||||
"local_filename": "unzip--2.0.catalina.bottle.tar.gz",
|
local_filename: "unzip--2.0.catalina.bottle.tar.gz",
|
||||||
"sha256": "d9cc50eec8ac243148a121049c236cba06af4a0b1156ab397d0a2850aa79c137",
|
sha256: "d9cc50eec8ac243148a121049c236cba06af4a0b1156ab397d0a2850aa79c137",
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
specify "::parse_json_files" do
|
specify "::parse_json_files" do
|
||||||
Tempfile.open("hello--1.0.big_sur.bottle.json") do |f|
|
Tempfile.open("hello--1.0.big_sur.bottle.json") do |f|
|
||||||
f.write stub_hash(
|
f.write stub_hash(
|
||||||
"name": "hello",
|
name: "hello",
|
||||||
"version": "1.0",
|
version: "1.0",
|
||||||
"path": "/home/hello.rb",
|
path: "/home/hello.rb",
|
||||||
"cellar": "any_skip_relocation",
|
cellar: "any_skip_relocation",
|
||||||
"os": "big_sur",
|
os: "big_sur",
|
||||||
"filename": "hello-1.0.big_sur.bottle.tar.gz",
|
filename: "hello-1.0.big_sur.bottle.tar.gz",
|
||||||
"local_filename": "hello--1.0.big_sur.bottle.tar.gz",
|
local_filename: "hello--1.0.big_sur.bottle.tar.gz",
|
||||||
"sha256": "a0af7dcbb5c83f6f3f7ecd507c2d352c1a018f894d51ad241ce8492fa598010f",
|
sha256: "a0af7dcbb5c83f6f3f7ecd507c2d352c1a018f894d51ad241ce8492fa598010f",
|
||||||
)
|
)
|
||||||
f.close
|
f.close
|
||||||
expect(
|
expect(
|
||||||
@ -275,25 +275,25 @@ describe "brew bottle --merge", :integration_test do
|
|||||||
|
|
||||||
before do
|
before do
|
||||||
Pathname("#{TEST_TMPDIR}/testball-1.0.big_sur.bottle.json").write stub_hash(
|
Pathname("#{TEST_TMPDIR}/testball-1.0.big_sur.bottle.json").write stub_hash(
|
||||||
"name": "testball",
|
name: "testball",
|
||||||
"version": "1.0",
|
version: "1.0",
|
||||||
"path": "#{core_tap.path}/Formula/testball.rb",
|
path: "#{core_tap.path}/Formula/testball.rb",
|
||||||
"cellar": "any_skip_relocation",
|
cellar: "any_skip_relocation",
|
||||||
"os": "big_sur",
|
os: "big_sur",
|
||||||
"filename": "hello-1.0.big_sur.bottle.tar.gz",
|
filename: "hello-1.0.big_sur.bottle.tar.gz",
|
||||||
"local_filename": "hello--1.0.big_sur.bottle.tar.gz",
|
local_filename: "hello--1.0.big_sur.bottle.tar.gz",
|
||||||
"sha256": "a0af7dcbb5c83f6f3f7ecd507c2d352c1a018f894d51ad241ce8492fa598010f",
|
sha256: "a0af7dcbb5c83f6f3f7ecd507c2d352c1a018f894d51ad241ce8492fa598010f",
|
||||||
)
|
)
|
||||||
|
|
||||||
Pathname("#{TEST_TMPDIR}/testball-1.0.catalina.bottle.json").write stub_hash(
|
Pathname("#{TEST_TMPDIR}/testball-1.0.catalina.bottle.json").write stub_hash(
|
||||||
"name": "testball",
|
name: "testball",
|
||||||
"version": "1.0",
|
version: "1.0",
|
||||||
"path": "#{core_tap.path}/Formula/testball.rb",
|
path: "#{core_tap.path}/Formula/testball.rb",
|
||||||
"cellar": "any_skip_relocation",
|
cellar: "any_skip_relocation",
|
||||||
"os": "catalina",
|
os: "catalina",
|
||||||
"filename": "testball-1.0.catalina.bottle.tar.gz",
|
filename: "testball-1.0.catalina.bottle.tar.gz",
|
||||||
"local_filename": "testball--1.0.catalina.bottle.tar.gz",
|
local_filename: "testball--1.0.catalina.bottle.tar.gz",
|
||||||
"sha256": "5334dd344986e46b2aa4f0471cac7b0914bd7de7cb890a34415771788d03f2ac",
|
sha256: "5334dd344986e46b2aa4f0471cac7b0914bd7de7cb890a34415771788d03f2ac",
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@ -17,6 +17,7 @@ describe Utils::Analytics do
|
|||||||
end
|
end
|
||||||
|
|
||||||
it "does not include prefix when HOMEBREW_PREFIX is the default prefix" do
|
it "does not include prefix when HOMEBREW_PREFIX is the default prefix" do
|
||||||
|
allow(Homebrew).to receive(:default_prefix?).and_return(true)
|
||||||
expect(described_class.os_arch_prefix_ci).not_to include(described_class.custom_prefix_label)
|
expect(described_class.os_arch_prefix_ci).not_to include(described_class.custom_prefix_label)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@ -76,7 +76,7 @@ $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rspec-wait-0.0.9/lib"
|
|||||||
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rubocop-ast-1.4.1/lib"
|
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rubocop-ast-1.4.1/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.0.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.1/lib"
|
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rubocop-1.9.0/lib"
|
||||||
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rubocop-performance-1.9.2/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-rails-2.9.1/lib"
|
||||||
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rubocop-rspec-2.1.0/lib"
|
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rubocop-rspec-2.1.0/lib"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user