Raised when you haven’t provided enough input to your MockGemUi
A test case for Gem::Package::Tar* classes
Allows writing of tar files
A FetchError
that indicates that the reason for not being able to fetch data was that the host could not be contacted
Specifies a Specification object that should be activated. Also contains a dependency that was used to introduce this activation.
The BestSet
chooses the best available method to query a remote index.
It combines IndexSet and APISet
Used Internally. Wraps a Dependency object to also track which spec contained the Dependency.
The global rubygems pool represented via the traditional source index.
Represents a possible Specification object returned from IndexSet. Used to delay needed to download full Specification objects when only the name
and version
are needed.
The RequirementList
is used to hold the requirements being considered while resolving a set of gems.
The RequirementList
acts like a queue where the oldest items are removed first.
The StaticSet
is a static set of gem specifications used for testing only. It is available by requiring Gem::TestCase
.
RFC 2617 Digest
Access Authentication for WEBrick
Use this class to add digest authentication to a WEBrick
servlet.
Here is an example of how to set up DigestAuth:
config = { :Realm => 'DigestAuth example realm' } htdigest = WEBrick::HTTPAuth::Htdigest.new 'my_password_file' htdigest.set_passwd config[:Realm], 'username', 'password' htdigest.flush config[:UserDB] = htdigest digest_auth = WEBrick::HTTPAuth::DigestAuth.new config
When using this as with a servlet be sure not to create a new DigestAuth
object in the servlet’s initialize. By default WEBrick
creates a new servlet instance for every request and the DigestAuth
object must be used across requests.
Digest
authentication for proxy servers. See DigestAuth
for details.
Htdigest
accesses apache-compatible digest password files. Passwords are matched to a realm where they are valid. For security, the path for a digest password database should be stored outside of the paths available to the HTTP server.
Htdigest
is intended for use with WEBrick::HTTPAuth::DigestAuth
and stores passwords using cryptographic hashes.
htpasswd = WEBrick::HTTPAuth::Htdigest.new 'my_password_file' htpasswd.set_passwd 'my realm', 'username', 'password' htpasswd.flush
Root of the HTTP status class hierarchy
Root of the HTTP info statuses