diff options
author | Stormwind <stormwind@stormwinds-page.de> | 2012-12-23 15:23:16 +0100 |
---|---|---|
committer | Stormwind <stormwind@stormwinds-page.de> | 2012-12-23 15:23:16 +0100 |
commit | ff1a8220f8ca044433381f6671af73d77b49541c (patch) | |
tree | 572e2ea462a791aab88fcddbc7e35c0c4739e78f /lib | |
parent | 65b1d3a1dab95be5ac82d9e0c6a75b743bc89ce0 (diff) |
Add zero-fix18 to dependencies
Will make URI.decode_www_form usable with Ruby 1.8.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/zero.rb | 6 |
1 files changed, 6 insertions, 0 deletions
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' |