about summary refs log tree commit homepage
path: root/rainbows.gemspec
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2011-06-28 07:39:35 +0000
committerEric Wong <normalperson@yhbt.net>2011-06-28 07:39:35 +0000
commit905f0ff393629ddb4d70e3dc221b016128c47415 (patch)
treedd6689cac2e79d1b76b726a5c74c268d398d46cd /rainbows.gemspec
parent9684ed46e78dab1ae787fe135a3cec1c4490ddd6 (diff)
downloadrainbows-905f0ff393629ddb4d70e3dc221b016128c47415.tar.gz
Since kgio_wait_*able in kgio 2.5 takes an optional timeout
argument, we no longer have to load the extra "io/wait" module.
This saves us a small amount of some memory and also removes the
extra ioctl(FIONREAD) syscall IO#wait enforces.

Like IO#wait in Ruby 1.9.3dev, kgio_wait_readable may use
ppoll() to wait on high-numbered file descriptors as efficiently
as it waits on low-numbered descriptors.
Diffstat (limited to 'rainbows.gemspec')
-rw-r--r--rainbows.gemspec4
1 files changed, 2 insertions, 2 deletions
diff --git a/rainbows.gemspec b/rainbows.gemspec
index 9b5ff42..a223687 100644
--- a/rainbows.gemspec
+++ b/rainbows.gemspec
@@ -24,8 +24,8 @@ Gem::Specification.new do |s|
   # we want a newer Rack for a valid HeaderHash#each
   s.add_dependency(%q<rack>, ['~> 1.1'])
 
-  # kgio has some fixes for MRI 1.9.3dev that affect us
-  s.add_dependency(%q<kgio>, ['~> 2.4'])
+  # kgio 2.5 has kgio_wait_* methods that take optional timeout args
+  s.add_dependency(%q<kgio>, ['~> 2.5'])
 
   # we need Unicorn for the HTTP parser and process management
   s.add_dependency(%q<unicorn>, ["~> 4.0"])