diff options
author | Eric Wong <normalperson@yhbt.net> | 2010-07-08 23:21:18 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2010-07-08 23:21:18 +0000 |
commit | 9abb447a573751b87e26ce35f4f05d58290f4c41 (patch) | |
tree | 1adb0dac9acd99c9add0880751c7e022003776ef /lib/rainbows/event_machine.rb | |
parent | 235985c6c4b37ed9a170c38052db3ef0772b1527 (diff) | |
download | rainbows-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/event_machine.rb')
-rw-r--r-- | lib/rainbows/event_machine.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rainbows/event_machine.rb b/lib/rainbows/event_machine.rb index 0ad604e..0404493 100644 --- a/lib/rainbows/event_machine.rb +++ b/lib/rainbows/event_machine.rb @@ -50,7 +50,7 @@ module Rainbows class Client < EM::Connection include Rainbows::EvCore - include Rainbows::HttpResponse + include Rainbows::Response G = Rainbows::G def initialize(io) @@ -227,7 +227,7 @@ module Rainbows end def init_worker_process(worker) - Rainbows::HttpResponse.setup(Rainbows::EventMachine::Client) + Rainbows::Response.setup(Rainbows::EventMachine::Client) super end |