summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2008-02-26 12:28:00 +0000
committerChristian Neukirchen <chneukirchen@gmail.com>2008-02-26 12:28:00 +0000
commitdcb6081279c0728e13658773d38c842c4de785aa (patch)
treeac1269658697d670f123f5ca059677396c896fc4
parent03b8d6ab0e6abad2a6dfe9c8032939629c2c348f (diff)
downloadrack-0.3.tar.gz
Update README and docs0.3
darcs-hash:20080226122832-4fc50-130615bc5ddd525b6bb6b01072515dc34218454d.gz
-rw-r--r--AUTHORS3
-rw-r--r--README34
-rw-r--r--lib/rack.rb12
3 files changed, 36 insertions, 13 deletions
diff --git a/AUTHORS b/AUTHORS
index 523ec273..294776a0 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -1,6 +1,7 @@
* Christian Neukirchen <chneukirchen@gmail.com>
-* Rails adapter: Christoffer Sawicki <christoffer.sawicki@gmail.com>
* HTTP authentication: Tim Fletcher <twoggle@gmail.com>
* Cookie sessions, Static handler: Luc Heinrich <luc@honk-honk.com>
* Pool sessions, OpenID authentication: blink <blinketje@gmail.com>
+* LiteSpeed handler: Adrian Madrid
+* SCGI handler: Jeremy Evans
* Official Logo: Armin Ronacher
diff --git a/README b/README
index 36856d87..1fed89df 100644
--- a/README
+++ b/README
@@ -13,10 +13,17 @@ which all Rack applications should conform to.
The included *handlers* connect all kinds of web servers to Rack:
* Mongrel
-* Mongrel/Swiftcore (require it before Rack.)
+* Mongrel/Swiftcore (require it before requiring rack)
* WEBrick
* FCGI
* CGI
+* SCGI
+* LiteSpeed
+
+These web servers include Rack handlers in their distributions:
+* Ebb
+* Fuzed
+* Thin
Any valid Rack app will run the same on all these handlers, without
changing anything.
@@ -25,13 +32,22 @@ changing anything.
The included *adapters* connect Rack with existing Ruby web frameworks:
* Camping
-* Rails (alpha)
-* more to come soon, ...
These frameworks include Rack adapters in their distributions:
-* Ramaze
+* Coset
+* Halcyon
* Maveric
+* Merb
* Racktools::SimpleApplication
+* Ramaze
+* Sinatra
+* Vintage
+
+Ruby on Rails can be run with the adapter included with Thin, which
+will be merged into a later Rack version.
+
+Current links to these projects can be found at
+http://ramaze.net/#other-frameworks
== Available middleware
@@ -42,7 +58,7 @@ applications needs using middleware, for example:
* Rack::ShowException, for catching unhandled exceptions and
presenting them in a nice and helpful way with clickable backtrace.
* Rack::File, for serving static files.
-* ...
+* ...many others!
All these components use the same interface, which is described in
detail in the Rack specification. You can choose to use them exactly
@@ -110,13 +126,17 @@ at my site:
* Bug fixes in the Camping adapter.
* Removed Rails adapter, was too alpha.
-* XXX, 2007: Third public release 0.3.
+* February 26th, 2008: Third public release 0.3.
* LiteSpeed handler, by Adrian Madrid.
* SCGI handler, by Jeremy Evans.
* Pool sessions, by blink.
* OpenID authentication, by blink.
* :Port and :File options for opening FastCGI sockets, by blink.
* Last-Modified HTTP header for Rack::File, by blink.
+ * Rack::Builder#use now accepts blocks, by Corey Jewett.
+ (See example/protectedlobster.ru)
+ * HTTP status 201 can contain a Content-Type and a body now.
+ * Many bugfixes, especially related to Cookie handling.
== Contact
@@ -149,7 +169,7 @@ You are also welcome to join the #rack channel on irc.freenode.net.
== Copyright
-Copyright (C) 2007 Christian Neukirchen <http://purl.org/net/chneukirchen>
+Copyright (C) 2007, 2008 Christian Neukirchen <http://purl.org/net/chneukirchen>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to
diff --git a/lib/rack.rb b/lib/rack.rb
index 3acd0845..65b92529 100644
--- a/lib/rack.rb
+++ b/lib/rack.rb
@@ -1,4 +1,4 @@
-# Copyright (C) 2007 Christian Neukirchen <purl.org/net/chneukirchen>
+# Copyright (C) 2007, 2008 Christian Neukirchen <purl.org/net/chneukirchen>
#
# Rack is freely distributable under the terms of an MIT-style license.
# See COPYING or http://www.opensource.org/licenses/mit-license.php.
@@ -13,10 +13,10 @@ $: << File.expand_path(File.dirname(__FILE__))
# so it should be enough just to <tt>require rack.rb</tt> in your code.
module Rack
- # The Rack version number.
+ # The Rack protocol version number implemented.
VERSION = [0,1]
- # Return the Rack version as a dotted string.
+ # Return the Rack protocol version as a dotted string.
def self.version
VERSION.join(".")
end
@@ -62,7 +62,8 @@ module Rack
# *Adapters* connect Rack with third party web frameworks.
#
- # Rack includes adapters for Camping and Rails.
+ # Rack includes an adapter for Camping, see README for other
+ # frameworks supporting Rack in their code bases.
#
# Refer to the submodules for framework-specific calling details.
@@ -72,7 +73,8 @@ module Rack
# *Handlers* connect web servers with Rack.
#
- # Rack includes Handlers for Mongrel, WEBrick, FastCGI and CGI.
+ # Rack includes Handlers for Mongrel, WEBrick, FastCGI, CGI, SCGI
+ # and LiteSpeed.
#
# Handlers usually are activated by calling <tt>MyHandler.run(myapp)</tt>.
# A second optional hash can be passed to include server-specific