mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
rubygems 2.6.7
* lib/rubygems.rb, lib/rubygems/*, test/rubygems/*: Update
rubygems to 2.6.7.
Release note of 2.6.7: 60f35bd1d2
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
cc00f5bf36
commit
69934aeb8d
31 changed files with 511 additions and 161 deletions
|
@ -67,7 +67,11 @@ class Gem::Source
|
|||
|
||||
return -1 if !other.uri
|
||||
|
||||
@uri.to_s <=> other.uri.to_s
|
||||
# Returning 1 here ensures that when sorting a list of sources, the
|
||||
# original ordering of sources supplied by the user is preserved.
|
||||
return 1 unless @uri.to_s == other.uri.to_s
|
||||
|
||||
0
|
||||
else
|
||||
nil
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue