From 95d6719722f31987c72052b000f67d99989a81c8 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 26 Feb 2013 03:16:46 +0000 Subject: bump unicorn dependency to 4.6.2+ for Ruby 2.0.0 This ensures we're compatible with the latest stable Ruby version. --- rainbows.gemspec | 4 +++- t/test_isolate.rb | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/rainbows.gemspec b/rainbows.gemspec index bcbbf5b..6a906cf 100644 --- a/rainbows.gemspec +++ b/rainbows.gemspec @@ -28,7 +28,9 @@ Gem::Specification.new do |s| s.add_dependency(%q, ['~> 2.5']) # we need Unicorn for the HTTP parser and process management - s.add_dependency(%q, ["~> 4.6"]) # 4.6.0+ supports hijacking + # 4.6.0+ supports hijacking, 4.6.2 fixes the chunk parser (for Ruby 2.0.0) + s.add_dependency(%q, ["~> 4.6", ">= 4.6.2"]) + s.add_development_dependency(%q, "~> 3.1") s.add_development_dependency(%q, "~> 1.6") diff --git a/t/test_isolate.rb b/t/test_isolate.rb index 6b7fe5a..d5daa8c 100644 --- a/t/test_isolate.rb +++ b/t/test_isolate.rb @@ -20,7 +20,7 @@ Isolate.now!(opts) do gem 'rack', '1.5.2' gem 'kcar', '0.4.0' gem 'raindrops', '0.10.0' - gem 'unicorn', '4.6.0' + gem 'unicorn', '4.6.2' if engine == "ruby" gem 'sendfile', '1.1.0' -- cgit v1.2.3-24-ge0c7