1 # Copyright (C) 2007, 2008, 2009 Christian Neukirchen <purl.org/net/chneukirchen>
3 # Rack is freely distributable under the terms of an MIT-style license.
4 # See COPYING or http://www.opensource.org/licenses/mit-license.php.
6 $
:.unshift(File
.expand_path(File
.dirname(__FILE__
)))
9 # The Rack main module, serving as a namespace for all core Rack
10 # modules and classes.
12 # All modules meant for use in your application are <tt>autoload</tt>ed here,
13 # so it should be enough just to <tt>require rack.rb</tt> in your code.
16 # The Rack protocol version number implemented.
19 # Return the Rack protocol version as a dotted string.
24 # Return the Rack release as a dotted string.
29 autoload
:Builder, "rack/builder"
30 autoload
:Cascade, "rack/cascade"
31 autoload
:Chunked, "rack/chunked"
32 autoload
:CommonLogger, "rack/commonlogger"
33 autoload
:ConditionalGet, "rack/conditionalget"
34 autoload
:ContentLength, "rack/content_length"
35 autoload
:ContentType, "rack/content_type"
36 autoload
:File, "rack/file"
37 autoload
:Deflater, "rack/deflater"
38 autoload
:Directory, "rack/directory"
39 autoload
:ForwardRequest, "rack/recursive"
40 autoload
:Handler, "rack/handler"
41 autoload
:Head, "rack/head"
42 autoload
:Lint, "rack/lint"
43 autoload
:Lock, "rack/lock"
44 autoload
:MethodOverride, "rack/methodoverride"
45 autoload
:Mime, "rack/mime"
46 autoload
:Recursive, "rack/recursive"
47 autoload
:Reloader, "rack/reloader"
48 autoload
:ShowExceptions, "rack/showexceptions"
49 autoload
:ShowStatus, "rack/showstatus"
50 autoload
:Static, "rack/static"
51 autoload
:URLMap, "rack/urlmap"
52 autoload
:Utils, "rack/utils"
54 autoload
:MockRequest, "rack/mock"
55 autoload
:MockResponse, "rack/mock"
57 autoload
:Request, "rack/request"
58 autoload
:Response, "rack/response"
61 autoload
:Basic, "rack/auth/basic"
62 autoload
:AbstractRequest, "rack/auth/abstract/request"
63 autoload
:AbstractHandler, "rack/auth/abstract/handler"
64 autoload
:OpenID, "rack/auth/openid"
66 autoload
:MD5, "rack/auth/digest/md5"
67 autoload
:Nonce, "rack/auth/digest/nonce"
68 autoload
:Params, "rack/auth/digest/params"
69 autoload
:Request, "rack/auth/digest/request"
74 autoload
:Cookie, "rack/session/cookie"
75 autoload
:Pool, "rack/session/pool"
76 autoload
:Memcache, "rack/session/memcache"
79 # *Adapters* connect Rack with third party web frameworks.
81 # Rack includes an adapter for Camping, see README for other
82 # frameworks supporting Rack in their code bases.
84 # Refer to the submodules for framework-specific calling details.
87 autoload
:Camping, "rack/adapter/camping"