Reads the file index and extracts each file into the gem directory.
Ensures that files can’t be installed outside the gem directory.
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.
Turn an array of [name, version, platform] into an array of NameTuple
objects.
Extracts the files in this package into destination_dir
If pattern
is specified, only entries matching that glob will be extracted.
Gzips content written to gz_io
to io
.
Verifies the files of the gem
Call hooks on installed gems
Returns a Gem::StubSpecification
for default gems
Returns a Gem::StubSpecification
for installed gem named name
only returns stubs that match Gem.platforms
Return the latest specs, optionally including prerelease specs if prerelease
is true.
Returns the full path to this spec’s ri directory.
Returns a Gem::StubSpecification
for every specification in the record named name
only returns stubs that match Gem.platforms
Return the latest specs in the record, optionally including prerelease specs if prerelease
is true.
Uninstalls gem spec
Given an already existing block in the frontier, expand it to see if it contains our invalid syntax
Pipes come in pairs. If there’s an odd number of pipes then we are missing one
Discards any changes that have not been committed