Verifies the files of the gem
Return the default Gem path
This is ported over from the yaml_tree in 1.9.3
Downloads uri
and returns it as a String.
True if version
satisfies this Requirement
.
returns an integer in (-infty, 0] a number closer to 0 means the dependency is less constraining
dependencies w/ 0 or 1 possibilities (ignoring version requirements) are given very negative values, so they always sort first, before dependencies that are unconstrained
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.
Activate all unambiguously resolved runtime dependencies of this spec. Add any ambiguous dependencies to the unresolved list to be resolved later, as needed.
Sanitize a single string.
Returns the build_args
used to install the gem
Return true if there are possible conflicts against the currently loaded specs.
List of dependencies that are used for development
Singular accessor for require_paths
Singular accessor for require_paths
List of dependencies that will automatically be activated at runtime.
Checks if this specification meets the requirement of dependency
.
Sets the ENABLE_SHARED entry in RbConfig::CONFIG to value
and restores the original value when the block ends
Reads a binary file at path
Creates a spec with name
, version
. deps
can specify the dependency or a block
can be given for full customization of the specification.
Creates a gem with name
, version
and deps
. The specification will be yielded before gem creation for customization. The gem will be placed in File.join @tempdir, 'gems'
. The specification and .gem file location are returned.