aboutsummaryrefslogtreecommitdiff
path: root/lib/zero.rb
diff options
context:
space:
mode:
authorStormwind <stormwind@stormwinds-page.de>2012-12-22 11:44:26 +0100
committerStormwind <stormwind@stormwinds-page.de>2012-12-22 11:44:26 +0100
commit443958f8859a47751f7e57deff6b3eda0c13e5ad (patch)
treebd23c285edd841952cc80461e54e37dd242ed75a /lib/zero.rb
parentb20c0c527c89ec08548849163388d43207609fcd (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.rb1
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'