Sha256: 0f23419c5d4bd6627d87ac0654ba2bd6dabd2995d37851f0c072f12ed3e38215

Contents?: true

Size: 1.88 KB

Versions: 1

Compression:

Stored size: 1.88 KB

Contents

=== 1.0.2 / 2010-10-01
* Maintenance
  * :send_file rules return content in an Array for Ruby 1.9.2 compatibility

=== 1.0.1 / 2010-09-17
* Maintenance
  * Set Content-Type based on file extension of file/location being redirected to.  Addresses GitHub Issue #8.

=== 1.0.0 / 2010-05-13
* API
  * Fix rack 1.1.0 / rails3 compatibility by eliminating reliance on REQUEST_URI env param.  Paths are now constructed with PATH_INFO and QUERY_STRING
  * Follow rack directory/require convention: require 'rack/rewrite' instead of 'rack-rewrite'
  * Include an HTML anchor tag linked to where the URL being redirected to in the body of 301's and 302's

=== 0.2.1 / 2010-01-06
* API
  * Implement $& substitution pattern (thanks to {Ben Brinckerhoff}[http://github.com/bhb])
  
* Maintenance
  * Ignore empty captures instead of failing during subsitution (thanks to {Ben Brinckerhoff}[http://github.com/bhb])
  * Play nice with Rack::Test requests which only set PATH_INFO and not REQUEST_URI (thanks to {@docunext}[http://github.com/docunext])
  * Use QUERY_STRING instead of QUERYSTRING as per Rack spec.  Closes Issue #1.

=== 0.2.0 / 2009-11-14
* API
  * Allow Proc's to be be passed as the 'to' argument to rule declarations
  * Introduce rule guard support using :if => Proc.new option.
  * :send_file and :x_send_file rules
  * proxy rack_env to rule guards for arbitrary rule writing

* Documentation
  * Add example of writing capistrano maintenance page rewrite rules
  * Add examples of rule guards and arbitrary rewriting
  * Add examples of :send_file and :x_send_file rules    

=== 0.1.3 / 2009-11-14
* Maintenance
  * Ensure Content-Type header is set for 301's and 302's (thanks to Sebastian Röbke)
* Documentation
  * Add HISTORY.rdoc
  
=== 0.1.2 / 2009-10-13

* Initial Feature Set
  * :r301, :r302 and :redirect are supported in the rewrite DSL
  * Regex matching/substitution patterns supported in rules

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rack-rewrite-1.0.2 History.rdoc