summary refs log tree commit homepage
path: root/rainbows.gemspec
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2010-06-18 06:47:52 +0000
committerEric Wong <normalperson@yhbt.net>2010-06-18 07:44:55 +0000
commitfd1ec829c8c941143c8ae70b18e51838bc51da73 (patch)
treeeb000f1e56e78334692c699aea5bb36f43a93289 /rainbows.gemspec
parented9f3e90939cfa9efcc6e5e9382f1e1f40c49834 (diff)
HeaderHash objects can only be used as headers without
violating Rack::Lint in Rack 1.1.0 or later.
Diffstat (limited to 'rainbows.gemspec')
-rw-r--r--rainbows.gemspec6
1 files changed, 3 insertions, 3 deletions
diff --git a/rainbows.gemspec b/rainbows.gemspec
index 4726987..ca925ae 100644
--- a/rainbows.gemspec
+++ b/rainbows.gemspec
@@ -40,15 +40,15 @@ Gem::Specification.new do |s|
 
   s.test_files = test_files
 
+  # we want a newer Rack for a valid HeaderHash#each
+  s.add_dependency(%q<rack>, ['~> 1.1'])
+
   # we need Unicorn for the HTTP parser and process management
   # Unicorn 0.991.0 handles config.ru when started outside of
   # the prespecified working_directory
   s.add_dependency(%q<unicorn>, [">= 0.991.0", "< 2.0.0"])
   s.add_development_dependency(%q<isolate>, "~> 2.0.2")
 
-  # Unicorn already depends on Rack
-  # s.add_dependency(%q<rack>)
-
   # optional runtime dependencies depending on configuration
   # see config/isolate.rb for the exact versions we've tested with
   #