Returns the paths to the source files for use with analysis and documentation tools. These paths are relative to full_gem_path.
Return a sorted list of all command names as strings.
Location of RubyGems.org credentials
Returns the full name (name-version) of this Gem. Platform information is included if it is not the default Ruby platform. This mimics the behavior of Gem::Specification#full_name
.
Return the name that the gemspec file would be
Return the default Gem path
Downloads uri
and returns it as a String.
A recommended version for use with a ~> Requirement.
Paths in the gem to add to $LOAD_PATH
when this gem is activated.
See also require_paths
If you have an extension you do not need to add "ext"
to the require path, the extension build process will copy the extension files into “lib” for you.
The default value is "lib"
Usage:
# If all library files are in the root directory... spec.require_paths = ['.']
Return full names of all specs in sorted order.
The default (generated) file name of the gem. See also spec_name
.
spec.file_name # => "example-1.0.gem"
Return a NameTuple that represents this Specification
Singular accessor for require_paths
Singular accessor for require_paths
True if this gem has the same attributes as other
.
The default name of the gemspec. See also file_name
spec.spec_name # => "example-1.0.gemspec"
Returns the path to the certificate named cert_name
from test/rubygems/
.
Returns the path to the key named key_name
from test/rubygems
Is spec
in gem_dir
?
check the path v
component for RFC2396 compliance and against the URI::Parser
Regexp
for :ABS_PATH and :REL_PATH
Can not have a opaque component defined, with a path component defined.