class Bundler::RubygemsIntegration::Future

def fetch_all_remote_specs(remote)

def fetch_all_remote_specs(remote)
  source = remote.uri.is_a?(URI) ? remote.uri : URI.parse(source.to_s)
  specs = fetch_specs(source, remote, "specs")
  pres = fetch_specs(source, remote, "prerelease_specs") || []
  specs.concat(pres)
end