class Bundler::RemoteSpecification

def <=>(other)

objects. Otherwise, use the default Object comparison.
is compatible with Gem::Specification and other Bundler or RubyGems
Compare this specification against another object. Using sort_obj
def <=>(other)
  if other.respond_to?(:sort_obj)
    sort_obj <=> other.sort_obj
  else
    super
  end
end