[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

[ANN] Rack 0.9, a modular Ruby webserver interface

Christian Neukirchen

1/6/2009 12:17:00 PM

Hello,

Today we are proud to release Rack 0.9.

= Rack, a modular Ruby webserver interface

Rack provides a minimal, modular and adaptable interface for developing
web applications in Ruby. By wrapping HTTP requests and responses in
the simplest way possible, it unifies and distills the API for web
servers, web frameworks, and software in between (the so-called
middleware) into a single method call.

The exact details of this are described in the Rack specification,
which all Rack applications should conform to.

== Changes

* January 6th, 2009: Fifth public release 0.9.
* Rack is now managed by the Rack Core Team.
* Rack::Lint is stricter and follows the HTTP RFCs more closely.
* Added ConditionalGet middleware.
* Added ContentLength middleware.
* Added Deflater middleware.
* Added Head middleware.
* Added MethodOverride middleware.
* Rack::Mime now provides popular MIME-types and their extension.
* Mongrel Header now streams.
* Added Thin handler.
* Official support for swiftiplied Mongrel.
* Secure cookies.
* Made HeaderHash case-preserving.
* Many bugfixes and small improvements.

== Where can I get it?

You can download Rack 0.9 at

http://chneukirchen.org/releases/rack-0....
http://rubyforge.org/pro...

Alternatively, you can checkout from the development repository with:

git clone git://github.com/rack/rack.git
cd rack && git checkout rack-0.9 # for this release

== Supported web servers

The included *handlers* connect all kinds of web servers to Rack:
* Mongrel
* EventedMongrel
* SwiftipliedMongrel
* WEBrick
* FCGI
* CGI
* SCGI
* LiteSpeed
* Thin

These web servers include Rack handlers in their distributions:
* Ebb
* Fuzed
* Phusion Passenger (which is mod_rack for Apache)

Any valid Rack app will run the same on all these handlers, without
changing anything.

== Supported web frameworks

The included *adapters* connect Rack with existing Ruby web frameworks:
* Camping

These frameworks include Rack adapters in their distributions:
* Coset
* Halcyon
* Mack
* Maveric
* Merb
* Racktools::SimpleApplication
* Ramaze
* Ruby on Rails
* Sinatra
* Sin
* Vintage
* Waves

Current links to these projects can be found at
http://ramaze.net/#other-...

== rack-contrib

The plethora of useful middleware created the need for a project that
collects fresh Rack middleware. rack-contrib includes a variety of
add-on components for Rack and it is easy to contribute new modules.

* http://github.com/rack/ra...

== Installing with RubyGems

A Gem of Rack is available. You can install it with:

gem install rack

I also provide a local mirror of the gems (and development snapshots)
at my site:

gem install rack --source http://chneukirchen.org/rele...

== Contact

Please mail bugs, suggestions and patches to
<mailto:rack-devel@googlegroups.com>.

Mailing list archives are available at
<http://groups.google.com/group/rack....

There is a bug tracker at <http://rack.lighthouseap....

Git repository (patches rebased on master are most welcome):
* http://github.com...
* http://git.vuxu.org/cgi-bin/gitweb.cgi?...

You are also welcome to join the #rack channel on irc.freenode.net.

== Thanks

The Rack Core Team, consisting of

* Christian Neukirchen (chneukirchen)
* James Tucker (raggi)
* Josh Peek (josh)
* Michael Fellinger (manveru)
* Ryan Tomayko (rtomayko)
* Scytrin dai Kinthra (scytrin)

would like to thank:

* Adrian Madrid, for the LiteSpeed handler.
* Christoffer Sawicki, for the first Rails adapter and Rack::Deflater.
* Tim Fletcher, for the HTTP authentication code.
* Luc Heinrich for the Cookie sessions, the static file handler and bugfixes.
* Armin Ronacher, for the logo and racktools.
* Aredridel, Ben Alpert, Dan Kubb, Daniel Roethlisberger, Matt Todd, and
Phil Hagelberg for bug fixing and other improvements.
* Stephen Bannasch, for bug reports and documentation.
* Gary Wright, for proposing a better Rack::Response interface.
* Jonathan Buch, for improvements regarding Rack::Response.
* Armin Röhrl, for tracking down bugs in the Cookie generator.
* Alexander Kellett for testing the Gem and reviewing the announcement again.
* Marcus Rückert, for help with configuring and debugging lighttpd.
* The WSGI team for the well-done and documented work they've done and
Rack builds up on.
* All bug reporters and patch contributers not mentioned above.

== Copyright

Copyright (C) 2007, 2008, 2009 Christian Neukirchen <http://purl.org/net/chneuk...

Rack is freely distributable under the terms of an MIT-style license.

== Links

Rack:: <http://rack.rubyforg...
Rack's Rubyforge project:: <http://rubyforge.org/pro...>
Official Rack repositories:: <http://github.co...
rack-devel mailing list:: <http://groups.google.com/group/rack...

Happy hacking and have a nice day,
Christian Neukirchen
on behalf of the Rack Core Team.

445f542ed89308b9352d7653f33fe63c50453e3e rack-0.9.0.tar.gz
06e68087a0b650b0fcc6219cb43dc86a9939d457 rack-0.9.0.gem
1 Answer

Charles Oliver Nutter

1/6/2009 2:11:00 PM

0

Christian Neukirchen wrote:
> These web servers include Rack handlers in their distributions:
> * Ebb
> * Fuzed
> * Phusion Passenger (which is mod_rack for Apache)

Pretty much all the JRuby-based deployment options support Rack through
Nick Sieger's JRuby-Rack project as well.

- Charlie