Rack::Rewrite 0.2.1 Released

January 6th, 2010 by John Trupiano

Rack::Rewrite 0.2.1 has just been released. To install simply run: gem install rack-rewrite.

Rack::Rewrite is a web-server agnostic rack middleware for defining and applying rewrite rules. In many cases you can get away with Rack::Rewrite instead of writing Apache mod_rewrite rules.

Documentation is hosted at RubyForge. The source code is hosted at GitHub.

Updates include:

API

Maintenance

  • Ignore empty captures instead of failing during subsitution (thanks to Ben Brinckerhoff)
  • Play nice with Rack::Test requests which only set PATH_INFO and not REQUEST_URI (thanks to @docunext)
  • Use QUERY_STRING instead of QUERYSTRING as per Rack spec. Closes Issue #1.

Leave a Reply

John co-founded SmartLogic Solutions with Yair Flicker in May 2005. He is very actively involved with the Ruby and Rails communities, as well as the Baltimore/DC tech and business communities. Check out his GitHub Projects or follow @jtrupiano on twitter.

John Trupiano's posts