vigetlabs/redirector

View on GitHub
HISTORY

Summary

Maintainability
Test Coverage
== 0.1.0 / 2012-08-24
* Middleware for redirecting users based on rules stored in the database.
* Rules can have a regex or string source to match against.
* Regex rules can evaluate the destination using groupings from the source.
* Rules can have further request environment conditions to match based on HTTP Headers or Rack environment variables.
* RequestEnvironmentRules can be exact string matches or regex matches.
* Make regex's case sensitivity configurable


== 0.1.1 / 2012-08-24
* Destroy RequestEnvironmentRules when the parent RedirectRule is destroyed
* Add some more indexes to redirect_rules table
* Allow query strings to be part of the match on RedirectRules

== 0.1.2 / 2012-08-27
* Change ordering on match to prefer exact matches and longer matches

== 0.1.3 / 2012-08-28
* Include request_environment_rules when pulling back possible matches

== 0.1.4 / 2012-09-07
* Allow nested attributes for request environment rules on redirect rules and be set by mass assignment.
* [BUG] Allow active to be set to false
* [BUG] Handle a nil value for a match group correctly

== 0.1.5 / 2014-01-16
* Officially support Rails 4
* Add `silence_sql_logs` config option
* Handle ports on redirects properly
* Better handle `URI::InvalidURIError` exceptions inside middleware by raising custom error
* Minor bug fix

== 1.0.0 / 2014-03-07
* Add `preserve_query` option to preserve the query string from source to destination URL

== 1.0.1 / 2014-09-26
* Fix case sensitive/insensitive matching for non-regex rules