Writes the .gemspec specification (in Ruby) to the gem home’s specifications directory.
Reads the file index and extracts each file into the gem directory.
Ensures that files can’t be installed outside the gem directory.
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.
Verifies the files of the gem
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 an array with bindir attached to each executable in the executables
list
Returns the full path to installed gem’s bin directory.
NOTE: do not confuse this with bindir
, which is just ‘bin’, not a full path.
Returns the full path to an executable named name
in this gem.
Duplicates Array
and Gem::Requirement
attributes from other_spec
so state isn’t shared.
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.
Regenerates plugin wrappers after removal.