Return a Gem::Specification
from this gem
Override to display the default values of the command options. (similar to arguments
, but displays the default values).
For example:
def defaults_str --no-gems-first --no-all end
Remove previously defined command-line argument name
.
Location of RubyGems.org credentials
Really verbose mode gives you extra output.
Is this dependency simply asking for the latest version of a gem?
Indicated, based on the requested domain, if remote gems should be considered.
Return a list of the gem specifications in the dependency list, sorted in order so that no gemspec in the list depends on a gemspec earlier in the list.
This is useful when removing gems from a set of installed gems. By removing them in the returned order, you don’t get into as many dependency issues.
If there are circular dependencies (yuck!), then gems will be returned in order until only the circular dependents and anything they reference are left. Then arbitrary gemspecs will be returned until the circular dependency is broken, after which gems will be returned in dependency order again.
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.
Compresses indices on disk
Install generated indices into the destination directory.
Defaults to use Ruby’s program prefix and suffix.
Construct an installer object for an ephemeral gem (one where we don’t actually have a .gem file, just a spec)
Return an Array of Specifications contained within the gem_home
we’ll be installing into.
Ensure that the dependency is satisfied by the current installation of gem. If it is not an exception is raised.
Creates an installer for spec
that will install into gem_home
. If user
is true a user-install will be performed.
Turn an array of [name, version, platform] into an array of NameTuple
objects.
Turn an array of NameTuple
objects back into an array of
tuples.
Indicate if this NameTuple
matches the current platform.
Copies this package to path
(if possible)
Gzips content written to gz_io
to io
.
Reads and loads checksums.yaml.gz from the tar file gem