From 9abb447a573751b87e26ce35f4f05d58290f4c41 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 8 Jul 2010 23:21:18 +0000 Subject: restore Rainbows::HttpResponse.write for Cramp 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). --- lib/rainbows/fiber/body.rb | 2 +- lib/rainbows/fiber/rev.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/rainbows/fiber') 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 -- cgit v1.2.3-24-ge0c7