HTTP Fetcher. Dispatched by fetch_path
. Use it instead.
Downloads uri
and returns it as a String
.
Load a dependency management file.
Returns the local directory to write uri
to.
Returns true when it is possible and safe to update the cache directory.
Fetches a specification for the given name_tuple
.
Yields each source in the list.
DOC: This method needs documented or nodoc’d
Returns the full path to the cache directory containing this spec’s cached gem.
Returns the full path to the cached gem for this spec.
Creates a duplicate spec without large blobs that aren’t used at runtime.
Helper method for joining “groups” of lines
Input is expected to be type Array
<Array<CodeLine>>
The outer array holds the various “groups” while the inner array holds code lines.
All code lines are “joined” into the first line in their group.
To preserve document size, empty lines are placed in the place of the lines that were “joined”
Discards any changes that have not been committed
Checks the user
and password
.
If password
is not provided, then user
is split, using URI::Generic.split_userinfo
, to pull user
and +password.
See also URI::Generic.check_user
, URI::Generic.check_password
.
Checks the user v
component for RFC2396 compliance and against the URI::Parser Regexp
for :USERINFO.
Can not have a registry or opaque component defined, with a user component defined.
Checks the password v
component for RFC2396 compliance and against the URI::Parser Regexp
for :USERINFO.
Can not have a registry or opaque component defined, with a user component defined.
Checks the host v
component for RFC2396 compliance and against the URI::Parser Regexp
for :HOST.
Can not have a registry or opaque component defined, with a host component defined.