diff options
author | Stormwind <stormwind@stormwinds-page.de> | 2012-12-22 11:44:26 +0100 |
---|---|---|
committer | Stormwind <stormwind@stormwinds-page.de> | 2012-12-22 11:44:26 +0100 |
commit | 443958f8859a47751f7e57deff6b3eda0c13e5ad (patch) | |
tree | bd23c285edd841952cc80461e54e37dd242ed75a /lib/zero.rb | |
parent | b20c0c527c89ec08548849163388d43207609fcd (diff) |
Add patch for URI decode_www_form
Plus some specs.
This should it make later possible to make Zero work with Ruby 1.8. But
at the moment it only routes to the original decode_www_form method, if
it exists. Otherwise it returns an empty Array. So this will still fail
on the 1.8 versions at the moment.
Diffstat (limited to 'lib/zero.rb')
-rw-r--r-- | lib/zero.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/zero.rb b/lib/zero.rb index 03c77b8..1b3d32c 100644 --- a/lib/zero.rb +++ b/lib/zero.rb @@ -1,6 +1,7 @@ if RUBY_VERSION <= '1.9' require 'backports' end +require 'zero/patches/uri' module Zero require 'zero/controller' |