mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/rubygems.rb, lib/rubygems/*, test/rubygems/*: Update rubygems-2.6.2.
Please see entries of 2.6.2 on https://github.com/rubygems/rubygems/blob/master/History.txt git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
6cc4937aec
commit
7fbb9078fe
13 changed files with 179 additions and 27 deletions
|
@ -193,7 +193,7 @@ class Gem::Resolver
|
|||
conflict = e.conflicts.values.first
|
||||
raise Gem::DependencyResolutionError, Conflict.new(conflict.requirement_trees.first.first, conflict.existing, conflict.requirement)
|
||||
ensure
|
||||
@output.close if @output and !debug?
|
||||
@output.close if defined?(@output) and !debug?
|
||||
end
|
||||
|
||||
##
|
||||
|
@ -233,7 +233,7 @@ class Gem::Resolver
|
|||
exc.errors = @set.errors
|
||||
raise exc
|
||||
end
|
||||
possibles.sort_by { |s| [s.source, s.version, s.platform.to_s == Gem::Platform.local.to_s ? 1 : 0] }.
|
||||
possibles.sort_by { |s| [s.source, s.version, Gem::Platform.local =~ s.platform ? 1 : 0] }.
|
||||
map { |s| ActivationRequest.new s, dependency, [] }
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue