Handle the command arguments.
Is this dependency simply asking for the latest version of a gem?
Does this dependency match spec
?
NOTE: This is not a convenience method. Unlike match?
this method returns true when spec
is a prerelease version even if this dependency is not a prerelease dependency.
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.
Compacts Marshal
output for the specs index data source by using identical objects as much as possible.
Builds and installs indices.
Perform an in-place update of the repository from newly added gems.
Defaults to use Ruby’s program prefix and suffix.
True if version
satisfies this Requirement
.
returns an integer in (-infty, 0] a number closer to 0 means the dependency is less constraining
dependencies w/ 0 or 1 possibilities (ignoring version requirements) are given very negative values, so they always sort first, before dependencies that are unconstrained
Returns true when it is possible and safe to update the cache directory.
Return the list of all array-oriented instance variables.
Special loader for YAML files. When a Specification
object is loaded from a YAML file, it bypasses the normal Ruby object initialization routine (initialize). This method makes up for that and deals with gems of different ages.
input
can be anything that YAML.load() accepts: String or IO
.
Return the latest specs, optionally including prerelease specs if prerelease
is true.