diff options
-rw-r--r-- | lib/rubygems/source.rb | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -44,12 +44,12 @@ class Gem::Source Gem::Source::Vendor then -1 when Gem::Source then - if !@uri return 0 unless other.uri return 1 end - return -1 if !other.uri # Returning 1 here ensures that when sorting a list of sources, the # original ordering of sources supplied by the user is preserved. |