Used by the Resolver, the protocol to use a AvailableSet
as a search Set
.
Call the given block when invoked.
Normal command invocations just executes the execute
method of the command. Specifying an invocation block allows the test methods to override the normal action of a command to determine that it has been invoked correctly.
Register the Symbol
command
as a gem command.
Unregister the Symbol
command
as a gem command.
Return a sorted list of all command names as strings.
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.
Defaults to use Ruby’s program prefix and suffix.
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.
Indicate if this NameTuple
matches the current platform.
This is ported over from the yaml_tree in 1.9.3
Call hooks on installed gems