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