about summary refs log tree commit homepage
path: root/lib/rainbows/fiber
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2010-07-08 23:21:18 +0000
committerEric Wong <normalperson@yhbt.net>2010-07-08 23:21:18 +0000
commit9abb447a573751b87e26ce35f4f05d58290f4c41 (patch)
tree1adb0dac9acd99c9add0880751c7e022003776ef /lib/rainbows/fiber
parent235985c6c4b37ed9a170c38052db3ef0772b1527 (diff)
downloadrainbows-9abb447a573751b87e26ce35f4f05d58290f4c41.tar.gz
Cramp monkey patches Rainbows internals for WebSockets
support and we forgot about it.  Add a new integration
test to ensure this continues to work in the future
(and force us to update the test for newer Cramp).
Diffstat (limited to 'lib/rainbows/fiber')
-rw-r--r--lib/rainbows/fiber/body.rb2
-rw-r--r--lib/rainbows/fiber/rev.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/rainbows/fiber/body.rb b/lib/rainbows/fiber/body.rb
index b77e310..3de45ee 100644
--- a/lib/rainbows/fiber/body.rb
+++ b/lib/rainbows/fiber/body.rb
@@ -1,7 +1,7 @@
 # -*- encoding: binary -*-
 # non-portable body handling for Fiber-based concurrency goes here
 # this module is required and included in worker processes only
-# this is meant to be included _after_ Rainbows::HttpResponse::Body
+# this is meant to be included _after_ Rainbows::Response::Body
 module Rainbows::Fiber::Body # :nodoc:
 
   # TODO non-blocking splice(2) under Linux
diff --git a/lib/rainbows/fiber/rev.rb b/lib/rainbows/fiber/rev.rb
index 2e8f076..a1ffe33 100644
--- a/lib/rainbows/fiber/rev.rb
+++ b/lib/rainbows/fiber/rev.rb
@@ -52,7 +52,7 @@ module Rainbows::Fiber
       include Unicorn
       include Rainbows
       include Rainbows::Const
-      include Rainbows::HttpResponse
+      include Rainbows::Response
       FIO = Rainbows::Fiber::IO
 
       def to_io