From 443958f8859a47751f7e57deff6b3eda0c13e5ad Mon Sep 17 00:00:00 2001 From: Stormwind Date: Sat, 22 Dec 2012 11:44:26 +0100 Subject: 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. --- lib/zero.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/zero.rb') 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' -- cgit v1.2.3-70-g09d2