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.
Build various indices
Compresses indices on disk
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.
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.
Creates an installer for spec
that will install into gem_home
. If user
is true a user-install will be performed.
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
Dump only the raw version string, not the complete object. It’s a string for backwards (RubyGems 1.3.5 and earlier) compatibility.