class Bundler::Finder

def find_by_name(name)

def find_by_name(name)
  matches = @index[name] ||= begin
    versions = {}
    @sources.reverse_each do |source|
      versions.merge! source.specs[name] || {}
    end
    versions
  end
  matches.values
end