Call hooks on installed gems
Load a dependency management file.
A recommended version for use with a ~> 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 a Gem::StubSpecification
for default gems
Removes spec
from the known specs.
Return the latest specs, optionally including prerelease specs if prerelease
is true.
Sanitize a single string.
Creates a duplicate spec without large blobs that aren’t used at runtime.
Returns an object you can use to sort specifications in sort_by.
Returns a Ruby
code representation of this specification, such that it can be eval’ed and reconstruct the same specification later. Attributes that still have their default values are omitted.
Returns self
Removes spec
from the record.
Return the latest specs in the record, optionally including prerelease specs if prerelease
is true.
Uninstalls gem spec
Removes installed executables and batch files (windows only) for spec
.