зеркало из https://github.com/github/ruby.git
[bundler/bundler] Bump rubocop to 0.74.0
And reenable exclusion because the bug why we added them has been fixed. See https://github.com/rubocop-hq/rubocop/issues/6861. https://github.com/bundler/bundler/commit/bda63fcffc
This commit is contained in:
Родитель
dab944e6ca
Коммит
7ed1fc527e
|
@ -5,7 +5,7 @@ require_relative "vendored_thor"
|
||||||
|
|
||||||
module Bundler
|
module Bundler
|
||||||
module FriendlyErrors
|
module FriendlyErrors
|
||||||
module_function # rubocop:disable Layout/AccessModifierIndentation
|
module_function
|
||||||
|
|
||||||
def log_error(error)
|
def log_error(error)
|
||||||
case error
|
case error
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
module Bundler
|
module Bundler
|
||||||
module URICredentialsFilter
|
module URICredentialsFilter
|
||||||
module_function # rubocop:disable Layout/AccessModifierIndentation
|
module_function
|
||||||
|
|
||||||
def credential_filtered_uri(uri_to_anonymize)
|
def credential_filtered_uri(uri_to_anonymize)
|
||||||
return uri_to_anonymize if uri_to_anonymize.nil?
|
return uri_to_anonymize if uri_to_anonymize.nil?
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
module Bundler
|
module Bundler
|
||||||
# A stub yaml serializer that can handle only hashes and strings (as of now).
|
# A stub yaml serializer that can handle only hashes and strings (as of now).
|
||||||
module YAMLSerializer
|
module YAMLSerializer
|
||||||
module_function # rubocop:disable Layout/AccessModifierIndentation
|
module_function
|
||||||
|
|
||||||
def dump(hash)
|
def dump(hash)
|
||||||
yaml = String.new("---")
|
yaml = String.new("---")
|
||||||
|
|
|
@ -11,7 +11,7 @@ module Spec
|
||||||
"rake" => "~> 12.0",
|
"rake" => "~> 12.0",
|
||||||
"ronn" => "~> 0.7.3",
|
"ronn" => "~> 0.7.3",
|
||||||
"rspec" => "~> 3.6",
|
"rspec" => "~> 3.6",
|
||||||
"rubocop" => "= 0.72.0",
|
"rubocop" => "= 0.74.0",
|
||||||
"rubocop-performance" => "= 1.4.0",
|
"rubocop-performance" => "= 1.4.0",
|
||||||
}.freeze
|
}.freeze
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче