Indicated, based on the requested domain, if local 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.
Compacts Marshal
output for the specs index data source by using identical objects as much as possible.
Ensure that the dependency is satisfied by the current installation of gem. If it is not an exception is raised.
Extracts only the bin/ files from the gem into the gem directory. This is used by default gems to allow a gem-aware stub to function without the full gem installed.
This is ported over from the yaml_tree in 1.9.3
True if version
satisfies this Requirement
.
DOC: This method needs documented or nodoc’d
Sanitize a single string.
List of dependencies that are used for development
Duplicates array_attributes
from other_spec
so state isn’t shared.
Checks if this specification meets the requirement of dependency
.
Uninstalls the Gem::Specification
spec
Creates a spec with name
, version
. deps
can specify the dependency or a block
can be given for full customization of the specification.
Creates a gem with name
, version
and deps
. The specification will be yielded before gem creation for customization. The gem will be placed in File.join @tempdir, 'gems'
. The specification and .gem file location are returned.
Gzips data
.
Deflates data
Returns whether or not the nmake command could be found.
Constructs a Gem::Resolver::DependencyRequest
from a Gem::Dependency
dep
, a from_name
and from_version
requesting the dependency and a parent
DependencyRequest
Uninstalls gem spec
Unaliases the given alias
command.