Creates a new RequirementList
.
Creates a SourceSet
for the given sources
or Gem::sources
if none are specified. sources
must be a Gem::SourceList
.
A SpecSpecification
is created for a set
for a Gem::Specification
in spec
. The source
is either where the spec
came from, or should be loaded from.
Sets default instance variables for the specification.
Creates a new signer with an RSA key
or path to a key, and a certificate chain
containing X509 certificates, encoding certificates or paths to certificates.
Creates a new TrustDir
using dir
where the directory and file permissions will be checked according to permissions
Creates a new git gem source for a gems from loaded from repository
at the given reference
. The name
is only used to track the repository back to a gem dependencies file, it has no real significance as a git repository may contain multiple gems. If submodules
is true, submodules will be checked out when the gem is installed.
Creates a new Lock
source that wraps source
and moves it earlier in the sort list.
Creates a new SpecificFile
for the gem in file
Creates a new Vendor
source for a gem that was unpacked at path
.
Creates a new StaticSet
for the given specs
Creates a silent progress reporter that ignores all input arguments.
Creates a new progress reporter that will write to out_stream
for size
items. Shows the given initial_message
when progress starts and the terminal_message
when it is complete.
Creates a new progress reporter that will write to out_stream
for size
items. Shows the given initial_message
when progress starts and the terminal_message
when it is complete.
The silent download reporter ignores all arguments
Creates a new verbose download reporter that will display on out_stream
. The other arguments are ignored.
Creates a new BasicAuth
instance.
See WEBrick::Config::BasicAuth for default configuration entries
You must supply the following configuration entries:
The name of the realm being protected.
A database of usernames and passwords. A WEBrick::HTTPAuth::Htpasswd
instance should be used.
Creates a new DigestAuth
instance. Be sure to use the same DigestAuth
instance for multiple requests as it saves state between requests in order to perform authentication.
See WEBrick::Config::DigestAuth for default configuration entries
You must supply the following configuration entries:
The name of the realm being protected.
A database of usernames and passwords. A WEBrick::HTTPAuth::Htdigest
instance should be used.
Open a digest password database at path
Open a group database at path
Open a password database at path
Initializes a new servlet for server
using options
which are stored as-is in +@options+. +@logger+ is also provided.
Creates a new CGI
script servlet for the script at name