class Bundler::Fetcher

def specs_with_retry(gem_names, source)

return the specs in the bundler format as an index with retries
def specs_with_retry(gem_names, source)
  Bundler::Retry.new("fetcher", FAIL_ERRORS).attempts do
    specs(gem_names, source)
  end
end