connection_for

connection_for(uri) Instance Public methods Creates or an HTTP connection based on uri, or retrieves an existing connection, using a proxy if needed.

configure_connection_for_https

configure_connection_for_https(connection) Instance Public methods

cache_update_path

cache_update_path(uri, path = nil, update = true) Instance Public methods Downloads uri to path if necessary. If no path is given, it just passes the data.

api_endpoint

api_endpoint(uri) Instance Public methods Given a source at uri, calculate what hostname to actually connect to query the data for it.

add_rubygems_trusted_certs

add_rubygems_trusted_certs(store) Instance Public methods

new

new(proxy=nil, dns=Resolv::DNS.new) Class Public methods Initialize a remote fetcher using the source URI and possible proxy information. proxy [String]: explicit specification of proxy; overrides any environment variable setting nil: respect environment variables (HTTP_PROXY, HTTP_PROXY_USER, HTTP_PROXY_PASS) :no_proxy: ignore environment variables and _don't_ use a proxy dns: An object to use for DNS resolution of the API endpoint. By default, use Resolv::DNS.

fetcher

fetcher() Class Public methods Cached RemoteFetcher instance.

new

new(message, uri) Class Public methods

wordy

wordy() Instance Public methods A wordy description of the error.

add_platform

add_platform(platform) Instance Public methods append a platform to the list of mismatched platforms. Platforms are added via this instead of injected via the constructor so that we can loop over a list of mismatches and just add them rather than perform some kind of calculation mismatch summary before creation.