Merge a set of command options with the set of default options (without modifying the default option hash).
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 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.
Is name
a required attribute?
Required specification attributes
Activate all unambiguously resolved runtime dependencies of this spec. Add any ambiguous dependencies to the unresolved list to be resolved later, as needed.
List of dependencies that are used for development
List of dependencies that will automatically be activated at runtime.