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
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.
Gzips data
.
Deflates data
Is spec
in gem_dir
?
Return a progress reporter object chosen from the current verbosity.
Return a download reporter object chosen from the current verbosity
do nothing
Checks the password v
component for RFC2396 compliance and against the URI::Parser
Regexp
for :USERINFO.
Can not have a registry or opaque component defined, with a user component defined.
Checks 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.
Returns an Array
of the path split on ‘/’.
Private setter for dn val
.