Removes dead tuples.
Override to display the default values of the command options. (similar to arguments
, but displays the default values).
For example:
def defaults_str --no-gems-first --no-all end
Handle the command arguments.
The location of the spec file that is installed.
Verifies the files of the gem
Return the default Gem
path
File
Fetcher. Dispatched by fetch_path
. Use it instead.
Dump only the raw version string, not the complete object. It’s a string for backwards (RubyGems 1.3.5 and earlier) compatibility.
Returns a list of gems available for each source in Gem::sources
.
type
can be one of 3 values: :released => Return the list of all released specs :complete => Return the list of all specs :latest => Return the list of only the highest version of each gem :prerelease => Return the list of all prerelease only specs
Returns a Gem::StubSpecification
for default gems
Loads the default specifications. It should be called only once.
Removes spec
from the known specs.
Returns the full path to an executable named name
in this gem.
Returns the full path to the cached gem for this spec.
The default value for specification attribute name
The default (generated) file name of the gem. See also spec_name
.
spec.file_name # => "example-1.0.gem"
Files in the Gem
under one of the require_paths
Return a NameTuple that represents this Specification
Return a string containing a Ruby code representation of the given object.