Used internally to indicate that a dependency conflicted with a spec that would be activated.
A set which represents the installed gems. Respects all the normal settings that control where to look for installed gems.
A GitSet
represents gems that are sourced from git repositories.
This is used for gem dependency file support.
Example:
set = Gem::Resolver::GitSet.new set.add_git_gem 'rake', 'git://example/rake.git', tag: 'rake-10.1.0'
The global rubygems pool represented via the traditional source index.
A set of gems from a gem dependencies lockfile.
Resolver sets are used to look up specifications (and their dependencies) used in resolution. This set is abstract.
The SourceSet
chooses the best available method to query a remote index.
Kind off like BestSet but filters the sources for gems
Basic OpenSSL-based package signing class.
An absolutely silent progress reporter.
A basic dotted progress reporter.
An absolutely silent download reporter.
Raised if a parameter such as %e, %i, %o or %n is used without fetching a specific field.
Htpasswd
accesses apache-compatible password files. Passwords are matched to a realm where they are valid. For security, the path for a password database should be stored outside of the paths available to the HTTP server.
Htpasswd
is intended for use with WEBrick::HTTPAuth::BasicAuth
.
To create an Htpasswd
database with a single user:
htpasswd = WEBrick::HTTPAuth::Htpasswd.new 'my_password_file' htpasswd.set_passwd 'my realm', 'username', 'password' htpasswd.flush
Servlet for handling CGI
scripts
Example:
server.mount('/cgi/my_script', WEBrick::HTTPServlet::CGIHandler, '/path/to/my_script')
Servlet for serving a single file. You probably want to use the FileHandler
servlet instead as it handles directories and fancy indexes.
Example:
server.mount('/my_page.txt', WEBrick::HTTPServlet::DefaultFileHandler, '/path/to/my_page.txt')
This servlet handles If-Modified-Since and Range
requests.
Serves a directory including fancy indexing and a variety of other options.
Example:
server.mount '/assets', WEBrick::FileHandler, '/path/to/assets'
Mounts a proc at a path that accepts a request and response.
Instead of mounting this servlet with WEBrick::HTTPServer#mount
use WEBrick::HTTPServer#mount_proc
:
server.mount_proc '/' do |req, res| res.body = 'it worked!' res.status = 200 end
Root of the HTTP error statuses
Root of the HTTP client error statuses
Base class for XMLRPC::Service::Interface
definitions, used by XMLRPC::BasicServer#add_handler