Load custom marshal format. It’s a string for backwards (RubyGems 1.3.5 and earlier) compatibility.
Returns the local directory to write uri
to.
Yields each source in the list.
Paths in the gem to add to $LOAD_PATH
when this gem is activated. 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 the list of all array-oriented instance variables.
Return the list of all instance variables.
Return the latest specs, optionally including prerelease specs if prerelease
is true.
Is name
a required attribute?
Required specification attributes
Activate all unambiguously resolved runtime dependencies of this spec. Add any ambiguous dependencies to the unresolved list to be resolved later, as needed.
Returns the full path to the cache directory containing this spec’s cached gem.
Returns the full path to the cached gem for this spec.
Creates a duplicate spec without large blobs that aren’t used at runtime.
Sets the rubygems_version
to the current RubyGems version.
Singular accessor for require_paths
Singular accessor for require_paths
True if this gem has the same attributes as other
.
Checks if this specification meets the requirement of dependency
.
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