class Bundler::Index
def search_by_spec(spec)
def search_by_spec(spec) @specs[spec.name].select do |s| s.version == spec.version && Gem::Platform.new(s.platform) == Gem::Platform.new(spec.platform) end end
def search_by_spec(spec) @specs[spec.name].select do |s| s.version == spec.version && Gem::Platform.new(s.platform) == Gem::Platform.new(spec.platform) end end