summaryrefslogtreecommitdiff
path: root/lib/rubygems/source/installed.rb
diff options
context:
space:
mode:
-rw-r--r--lib/rubygems/source/installed.rb7
1 files changed, 6 insertions, 1 deletions
@@ -12,7 +12,8 @@ class Gem::Source::Installed < Gem::Source
def <=> other
case other
- when Gem::Source::Lock,
Gem::Source::Vendor then
-1
when Gem::Source::Installed then
@@ -31,5 +32,9 @@ class Gem::Source::Installed < Gem::Source
nil
end
end