Returns the paths to the source files for use with analysis and documentation tools. These paths are relative to full_gem_path.
Return a hash of predecessors. result[spec]
is an Array of gemspecs that have a dependency satisfied by the named gemspec.
Turn an array of [name, version, platform] into an array of NameTuple
objects.
Turn an array of NameTuple
objects back into an array of
tuples.
Yields each source in the list.
Duplicates array_attributes
from other_spec
so state isn’t shared.
Files in the Gem under one of the require_paths
Checks to see if the files to be packaged are world-readable.
Creates a Gem::Specification
with a minimum of extra work. name
and version
are the gem’s name and version, platform, author, email, homepage, summary and description are defaulted. The specification is yielded for customization.
The gem is added to the installed gems in +@gemhome+ and the runtime.
Use this with write_file
to build an installed gem.
Loads certificate named cert_name
from test/rubygems/
.
Returns the path to the certificate named cert_name
from test/rubygems/
.
Returns a list of aliased commands
Creates a command alias at the given alias
for the given command
, passing any options
along with it.
Shell::CommandProcessor.alias_command "lsC", "ls", "-CBF", "--show-control-chars" Shell::CommandProcessor.alias_command("lsC", "ls"){|*opts| ["-CBF", "--show-control-chars", *opts]}
Unaliases the given alias
command.