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/base.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/rainbows/base.rb') diff --git a/lib/rainbows/base.rb b/lib/rainbows/base.rb index cd719d2..a619b00 100644 --- a/lib/rainbows/base.rb +++ b/lib/rainbows/base.rb @@ -10,7 +10,7 @@ module Rainbows::Base # :stopdoc: include Rainbows::Const - include Rainbows::HttpResponse + include Rainbows::Response # shortcuts... G = Rainbows::G @@ -21,7 +21,7 @@ module Rainbows::Base # this method is called by all current concurrency models def init_worker_process(worker) super(worker) - Rainbows::HttpResponse.setup(self.class) + Rainbows::Response.setup(self.class) Rainbows::MaxBody.setup G.tmp = worker.tmp -- cgit v1.2.3-24-ge0c7