Returns the full path to this spec’s gem directory. eg: /usr/local/lib/ruby/1.8/gems/mygem-1.0
Returns the full path to the gems directory containing this spec’s gem directory. eg: /usr/local/lib/ruby/1.8/gems
Location of RubyGems.org credentials
Return a hash of predecessors. result[spec]
is an Array
of gemspecs that have a dependency satisfied by the named gemspec.
Lazy accessor for the spec’s gem directory.
Reads and loads checksums.yaml.gz from the tar file gem
Verifies entry
in a .gem file.
Verifies the files of the gem
Load a dependency management file.
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
Checks the scheme v
component against the URI::Parser
Regexp
for :SCHEME.