Load a dependency management file.
Return a list of all gems that have a dependency on this gemspec. The list is structured with entries that conform to:
[depending_gem, dependency, [list_of_gems_that_satisfy_dependency]]
List of dependencies that are used for development
Sets the ENABLE_SHARED entry in RbConfig::CONFIG to value
and restores the original value when the block ends
A git_gem
is used with a gem dependencies file. The gem created here has no files, just a gem specification for the given name
and version
.
Yields the specification
to the block, if given
Skips this test unless you have a git executable
creates a temporary directory with hax TODO: deprecate and remove
Reads a Marshal
file at path
Reads a binary file at path
Creates a Gem::Specification
with a minimum of extra work. name
and version
are the gem’s name and version, platform, author, email, homepage, summary and description are defaulted. The specification is yielded for customization.
The gem is added to the installed gems in +@gemhome+ and the runtime.
Use this with write_file
to build an installed gem.
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.
Return a download reporter object chosen from the current verbosity
check the scheme v
component against the URI::Parser
Regexp
for :SCHEME
returns Regexp
that is default self.regexp, unless schemes
is provided. Then it is a Regexp.union
with self.pattern
Constructs the default Hash
of Regexp’s
returns Regexp
that is default self.regexp, unless schemes
is provided. Then it is a Regexp.union
with self.pattern
Constructs the default Hash
of Regexp’s
The server name this request is for
Should the connection this request was made on be kept alive?
Will this response’s connection be kept alive?