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.
Returns the full path to this spec’s gemspec file. eg: /usr/local/lib/ruby/gems/1.8/specifications/mygem-1.0.gemspec
Display a warning on stderr. Will ask question
if it is not nil.
Display an error message in a location expected to get error messages. Will ask question
if it is not nil.
Returns default port.