class Bundler::Source::Rubygems
def fetch_specs
def fetch_specs index = Index.new Bundler.ui.info "Fetching source index from #{uri}" (main_specs + prerelease_specs).each do |name, version, platform| next unless Gem::Platform.match(platform) spec = RemoteSpecification.new(name, version, platform, @uri) spec.source = self index << spec end index.freeze end