Does this dependency request match spec
?
NOTE: matches_spec?
matches prerelease versions. See also match?
Enumerates trusted certificates.
Delegates to the wrapped source’s fetch_spec
method.
Returns integer 443
, the default port to use for HTTPS requests:
Net::HTTP.https_default_port # => 443
Returns integer 443
, the default port to use for HTTPS requests:
Net::HTTP.https_default_port # => 443
Generate a cache that targets a specific encoding for calculating code unit offsets.
Returns a cache that is the identity function in order to maintain the same interface. We can do this because code units are always equivalent to byte offsets for ASCII-only sources.
The character offset from the beginning of the source where this location starts.
The character offset from the beginning of the source where this location ends.
The column number in characters where this location ends from the start of the line.
The column number in characters where this location ends from the start of the line.
Create a code units cache for the given encoding.
in :+ in :foo
Return all files in this gem that match for glob
.
Checks the permissions of the credentials file. If they are not 0600 an error message is displayed and RubyGems aborts.
Reads time of last update check from state file
Writes time of last update check to state file
Creates the symlinks to run the applications in the gem. Moves the symlink if the gem being installed has a newer version.
Performs various checks before installing the gem such as the install repository is writable and its directories exist, required Ruby
and rubygems versions are met and that dependencies are installed.
Version and dependency checks are skipped if this install is forced.
The dependent check will be skipped if the install is ignoring dependencies.
Writes the .gem file to the cache directory
Given a name and requirement, downloads this gem into cache and returns the filename. Returns nil if the gem cannot be located.