class Bundler::GemHelpers::PlatformMatch

def <=>(other)

def <=>(other)
  return nil unless other.is_a?(PlatformMatch)
  m = os_match <=> other.os_match
  return m unless m.zero?
  m = cpu_match <=> other.cpu_match
  return m unless m.zero?
  m = platform_version_match <=> other.platform_version_match
  m
end