зеркало из https://github.com/github/ruby.git
[rubygems/rubygems] util/rubocop -A --only Style/SelfAssignment
https://github.com/rubygems/rubygems/commit/7c1168c623
This commit is contained in:
Родитель
f86296fa0a
Коммит
3fe5909ef1
|
@ -58,7 +58,7 @@ class Gem::Package
|
|||
if source
|
||||
@path = source.path
|
||||
|
||||
message = message + " in #{path}" if path
|
||||
message += " in #{path}" if path
|
||||
end
|
||||
|
||||
super message
|
||||
|
|
|
@ -60,7 +60,7 @@ class Gem::Resolver::BestSet < Gem::Resolver::ComposedSet
|
|||
def replace_failed_api_set(error) # :nodoc:
|
||||
uri = error.original_uri
|
||||
uri = URI uri unless URI === uri
|
||||
uri = uri + "."
|
||||
uri += "."
|
||||
|
||||
raise error unless api_set = @sets.find do |set|
|
||||
Gem::Resolver::APISet === set && set.dep_uri == uri
|
||||
|
|
Загрузка…
Ссылка в новой задаче