class Bundler::GemHelpers::PlatformMatch
def self.platform_version_match(spec_platform, user_platform)
def self.platform_version_match(spec_platform, user_platform) if spec_platform.version == user_platform.version 0 elsif spec_platform.version.nil? 1 else 2 end end