The line number where this location starts.
The column number in bytes where this location starts from the start of the line.
Attach the list of comments to their respective locations in the tree.
Returns the full name (name-version) of this Gem
. Platform information is included (name-version-platform) if it is specified and not the default Ruby
platform.
Full path of the target library file. If the file is not in this gem, return nil.
Location of RubyGems.org credentials
Indicated, based on the requested domain, if local gems should be considered.
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
.
Dump only the raw version string, not the complete object. It’s a string for backwards (RubyGems 1.3.5 and earlier) compatibility.
Load custom marshal format. It’s a string for backwards (RubyGems 1.3.5 and earlier) compatibility.
remove trailing zeros segments before first letter or at the end of the version
The default value for specification attribute name
Duplicates Array
and Gem::Requirement
attributes from other_spec
so state isn’t shared.
Does a sanity check on the specification.
Raises InvalidSpecificationException if the spec does not pass the checks.
Only runs checks that are considered necessary for the specification to be functional.
Issues a warning for each file to be packaged which is world-readable.
Implementation for Specification#validate_permissions
Removes installed executables and batch files (windows only) for spec
.