A private helper method
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.
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 this 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.
Downloads uri
to path
if necessary. If no path is given, it just passes the data.
Find
and fetch gem name tuples that match dependency
.
If matching_platform
is false, gems for all platforms are returned.
Set
the platform to arch
Add spec
to +@fetcher+ serving the data in the file path
. repo
indicates which repo to make spec
appear to be in.