Raised when you haven’t provided enough input to your MockGemUi
Raised when a tar file is corrupt
TarReader
reads tar files and allows iteration over their items
A test case for Gem::Package::Tar* classes
A FetchError
exception wraps up the various possible IO
and HTTP failures that could happen while downloading from the internet.
The BestSet
chooses the best available method to query a remote index.
It combines IndexSet and APISet
A set which represents the installed gems. Respects all the normal settings that control where to look for installed gems.
An InstalledSpecification
represents a gem that is already installed locally.
A set of gems for installation sourced from remote sources and local .gem files
A VendorSet
represents gems that have been unpacked into a specific directory that contains a gemspec.
This is used for gem dependency file support.
Example:
set = Gem::Resolver::VendorSet.new set.add_vendor_gem 'rake', 'vendor/rake'
The directory vendor/rake must contain an unpacked rake gem along with a rake.gemspec (watching the given name).
A VendorSpecification
represents a gem that has been unpacked into a project and is being loaded through a gem dependencies file through the path:
option.
The TrustDir
manages the trusted certificates for gem signature verification.
Represents an installed gem. This is used for dependency resolution.
This represents a vendored source that is similar to an installed gem.
The StaticSet
is a static set of gem specifications used for testing only. It is available by requiring Gem::TestCase
.
Raised if a parameter such as %e, %i, %o or %n is used without fetching a specific field.
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.