imanel/websocket-eventmachine-client — pull request #1 by DanKnox (2012-12-26 00:05:31+00:00)
Title: Ensure ruby uses top-level WebSocket constant in client.rb. Provides em-websocket compatibility.

This commit enables compatibility with the em-websocket server gem.

The em-websocket gem adds a WebSocket module under the EventMachine
namespace. The client.rb file references the WebSocket constant while
executing within the EventMachine namespace. Once em-websocket is
required, client.rb begins using the WebSocket module provided by
the em-websocket gem instead of the correct top-level constant that
it expects, resulting in undefined method exceptions.