Class Bundler::Fetcher
In: lib/bundler/fetcher/base.rb
lib/bundler/fetcher/dependency.rb
lib/bundler/fetcher/index.rb
lib/bundler/fetcher/downloader.rb
lib/bundler/fetcher.rb
Parent: Object

Handles all the fetching with the rubygems server

Methods

Classes and Modules

Class Bundler::Fetcher::AuthenticationRequiredError
Class Bundler::Fetcher::BadAuthenticationError
Class Bundler::Fetcher::Base
Class Bundler::Fetcher::CertificateFailureError
Class Bundler::Fetcher::Dependency
Class Bundler::Fetcher::Downloader
Class Bundler::Fetcher::FallbackError
Class Bundler::Fetcher::Index
Class Bundler::Fetcher::NetworkDownError
Class Bundler::Fetcher::SSLError

Constants

AUTH_ERRORS = [AuthenticationRequiredError, BadAuthenticationError, Net::HTTPBadGateway, Net::HTTPBadRequest, Net::HTTPForbidden, Net::HTTPMethodNotAllowed, Net::HTTPMovedPermanently, Net::HTTPNotImplemented, Net::HTTPNotFound, Net::HTTPRequestEntityTooLarge, Net::HTTPNoContent]   Exceptions classes that should bypass retry attempts. If your password didn‘t work the first time, it‘s not going to the third time.
FETCHERS = [Dependency, Index]
HTTP_ERRORS = [ Timeout::Error, EOFError, SocketError, Errno::ENETDOWN, Errno::ENETUNREACH, Errno::EINVAL, Errno::ECONNRESET, Errno::ETIMEDOUT, Errno::EAGAIN, Net::HTTPBadResponse, Net::HTTPHeaderSyntaxError, Net::ProtocolError, Net::HTTP::Persistent::Error, Zlib::BufError

Attributes

api_timeout  [RW] 
disable_endpoint  [RW] 
max_retries  [RW] 
redirect_limit  [RW] 

Public Class methods

Public Instance methods

fetch a gem specification

return the specs in the bundler format as an index

return the specs in the bundler format as an index with retries

[Validate]