Class Bundler::Fetcher
In: lib/bundler/fetcher.rb
Parent: Object

Handles all the fetching with the rubygems server

Methods

Classes and Modules

Class Bundler::Fetcher::CertificateFailureError
Class Bundler::Fetcher::FallbackError
Class Bundler::Fetcher::SSLError

Constants

REDIRECT_LIMIT = 5   How many redirects to allew in one request
API_TIMEOUT = 10   how long to wait for each gemcutter API call
HTTP_ERRORS = [ Timeout::Error, EOFError, SocketError, Errno::EINVAL, Errno::ECONNRESET, Errno::ETIMEDOUT, Errno::EAGAIN, Net::HTTPBadResponse, Net::HTTPHeaderSyntaxError, Net::ProtocolError

Attributes

disable_endpoint  [RW] 

Public Class methods

Public Instance methods

fetch a gem specification

return the specs in the bundler format as an index

[Validate]