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.
Defaults to use Ruby’s program prefix and suffix.
Return the default Gem path
This is ported over from the yaml_tree in 1.9.3
Downloads uri
and returns it as a String
.
Call hooks on installed gems
True if version
satisfies this Requirement
.
Paths in the gem to add to $LOAD_PATH
when this gem is activated. If you have an extension you do not need to add "ext"
to the require path, the extension build process will copy the extension files into “lib” for you.
The default value is "lib"
Usage:
# If all library files are in the root directory... spec.require_paths = ['.']
Return the list of all array-oriented instance variables.
Return the list of all instance variables.
Return the latest specs, optionally including prerelease specs if prerelease
is true.
Is name
a required attribute?
Required specification attributes
Keeps track of all currently known specifications
Activate all unambiguously resolved runtime dependencies of this spec. Add any ambiguous dependencies to the unresolved list to be resolved later, as needed.
Singular accessor for require_paths
Singular accessor for require_paths