diff options
-rw-r--r-- | lib/rubygems/source.rb | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -67,11 +67,7 @@ class Gem::Source 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. - return 1 unless @uri.to_s == other.uri.to_s - - 0 else nil end |