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.
Gzips data
.
Deflates data
Creates a SpecFetcher pre-filled with the gems or specs defined in the block.
Yields a fetcher
object that responds to spec
and gem
. spec
adds a specification to the SpecFetcher while gem
adds both a specification and the gem data to the RemoteFetcher so the built gem can be downloaded.
If only the a-3 gem is supposed to be downloaded you can save setup time by creating only specs for the other versions:
spec_fetcher do |fetcher| fetcher.spec 'a', 1 fetcher.spec 'a', 2, 'b' => 3 # dependency on b = 3 fetcher.gem 'a', 3 do |spec| # spec is a Gem::Specification # ... end end
Loads certificate named cert_name
from test/rubygems/
.
Returns the path to the key named key_name
from test/rubygems
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
Given a gem file’s contents, validates against its own MD5 checksum
Contents of the gem file
include run file.