Commit Graph

33 Commits

Author SHA1 Message Date
James Coglan 3104f95ac2 Base the EventTarget module on the WebSocket::Protocol::EventEmitter module. 2013-05-04 14:44:25 +01:00
James Coglan 7d4d153702 Sort our server/ruby compatibility. Now running on Puma, Thin, old and new Rainbows, and Goliath, on MRI/JRuby/RBX. 2013-05-03 09:06:48 +01:00
James Coglan bbb641fd64 Backport changes from the rack_hijack branch to support Puma and Rainbows. 2013-05-02 08:32:41 +01:00
James Coglan 670bb58251 Expose parser error events to the user. 2013-05-02 00:15:26 +01:00
James Coglan 14a71d38b7 Change the port used for tests. 2013-05-01 01:15:05 +01:00
James Coglan 4cdea1433d Fix checks for JRbuby and Rubinius in tests. 2013-04-21 00:25:54 +01:00
James Coglan fa70313f84 Migrate to WebSocket::Protocol. 2013-04-20 14:23:11 +01:00
James Coglan f4b693a2fd Remove parser classes from the tree. 2013-04-15 06:59:47 +01:00
James Coglan 41a1968ed6 Remove trailing whitespace. 2013-02-10 22:58:09 +00:00
James Coglan ef6b944de8 Fix EventMachine-based specs. 2012-11-04 18:03:34 +00:00
James Coglan 752da3db34 Remove an expensive test. 2012-05-21 19:46:38 +01:00
James Coglan a439f24744 Fix build on 1.8.7, exclude rbx-19mode. 2012-03-07 23:52:12 +00:00
James Coglan b74a1899f5 Bleurgh, exclude some more things from the build to see if we can pass on RBX. 2012-03-07 23:43:32 +00:00
James Coglan 4a5a6a9b60 Some JRuby/RBX platform adjustments. 2012-03-07 23:39:41 +00:00
James Coglan 10d85183c9 Merge branch 'master' into jruby 2012-03-03 15:47:55 +00:00
James Coglan 6c2c068761 Use rack_response in the test server. 2012-03-03 15:47:47 +00:00
James Coglan 6a415f8925 Fix tests on MRI. 2012-03-03 15:40:07 +00:00
James Coglan 0f74259dc8 Adjust tests on JRuby. 2012-03-03 15:31:00 +00:00
Jon Leighton 73479a87c6 Support JRuby without a C extension. Closes #5. 2012-03-02 23:21:06 +00:00
James Coglan d4b589d4dd Treat numbers as strings when calling Socket#send. 2012-02-16 23:15:59 +00:00
James Coglan 66f12bdbfe Set encoding correctly. 2012-02-08 21:54:34 +00:00
James Coglan 1df9583f31 Make shared examples load first. 2012-02-08 21:53:05 +00:00
James Coglan 309aca6bbe Mostly working Goliath adapter. Works for Hybi both with and without HAProxy, doesn't work on draft-76. 2012-01-08 21:40:00 +00:00
James Coglan 19eeb5ffd2 Include Rainbows server in automated tests. 2012-01-07 12:55:17 +00:00
James Coglan 530ce4b71d Initial pass at extracting Rainbows support from Cramp. 2012-01-07 12:25:34 +00:00
James Coglan 0347f5f0b8 Implement the complete frame parsing protocol for draft-75/76. 2011-12-20 20:12:37 +00:00
James Coglan 24a944e3d9 Test that parsers are not sensitive to how data is split across packets. 2011-12-19 21:40:06 +00:00
James Coglan d88e6cd7bf Rename Protocol8Parser to HybiParser. 2011-12-19 21:28:54 +00:00
James Coglan 5d8666d75f Test WebSocket#protocol method. 2011-12-19 00:20:17 +00:00
James Coglan e5fa350112 Implement subprotocol negotiation. 2011-12-19 00:05:41 +00:00
James Coglan 66d015662e Use add_event_listener in the tests. 2011-11-29 21:03:52 +00:00
James Coglan 443a0cb356 Test TLS connections. 2011-11-22 18:58:49 +00:00
James Coglan 9ea2a6dbd0 Extract WebSocket classes from Faye 0.7. 2011-11-22 01:07:15 +00:00