From ff1a8220f8ca044433381f6671af73d77b49541c Mon Sep 17 00:00:00 2001 From: Stormwind Date: Sun, 23 Dec 2012 15:23:16 +0100 Subject: Add zero-fix18 to dependencies Will make URI.decode_www_form usable with Ruby 1.8. --- lib/zero.rb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lib') diff --git a/lib/zero.rb b/lib/zero.rb index baf876c..3d3580f 100644 --- a/lib/zero.rb +++ b/lib/zero.rb @@ -1,3 +1,9 @@ +# Only add fixes, if needed to avoid an unnecessary installed gem +if RUBY_VERSION <= '1.9' + require 'zero_fix18' +end + + module Zero require 'zero/controller' require 'zero/router' -- cgit v1.2.3-70-g09d2