1
0
Fork 0
mirror of https://github.com/teampoltergeist/poltergeist.git synced 2022-11-09 12:05:00 -05:00
Commit graph

16 commits

Author SHA1 Message Date
Jon Leighton
b1c65ec9ab multi_json 1.3 is needed for the load/dump 2012-04-18 20:17:24 +02:00
Jon Leighton
03a861fe70 relax rspec version requirement 2012-04-09 20:55:35 +01:00
Jon Leighton
af8cd2aa27 update faye-websocket dependency 2012-03-18 15:13:39 +00:00
Jon Leighton
f95e3129bb bump faye-websocket and enable jruby on travis 2012-03-12 20:48:28 +00:00
Jon Leighton
a40c57babd switch to multi_json for jruby compat 2012-03-11 10:56:19 +00:00
Jon Leighton
98c3bb564f Remove posix-spawn dependency.
posix-spawn relies on a C extension. This does work under JRuby, but it
won't work on Travis CI as they disallow JRuby C extensions, as they are
considered to not be a good practice.

Instead we are using either Process.spawn on Ruby 1.9, or the
childprocess gem on Ruby 1.8. childprocess uses native JVM APIs on
JRuby, and fork+exec on others.
2012-03-11 10:35:02 +00:00
Jon Leighton
02f2a7277e bump faye-websocket for native jruby support 2012-03-10 14:14:29 +00:00
Jon Leighton
f61ca77cd4 Use posix-spawn gem rather than sfl, as sfl requires fork, which can't work on JRuby. 2012-02-29 22:52:27 +00:00
Jon Leighton
8db7238888 be more liberal with the faye-websocket version 2012-02-24 22:59:33 +00:00
Jon Leighton
726243684f update rspec 2012-01-26 15:31:58 +00:00
Jon Leighton
34af795960 Stop using EventMachine for WebSocket server.
Using EventMachine was causing issues when run alongside Thin.

In general running the event loop is quite slow, presumably because it
is mostly spinning idly wasting cycles (unsure). We were mitigating
this by stopping the thread when it wasn't needed, but this is
incorrect when Thin is also running.

Implemented WebSocket server using raw TCP sockets and a WebSocket
parser provided by faye-websocket. This is faster and neater and removes
the need to dick around with threads.

Fixes #6.
2012-01-13 14:34:36 +00:00
Jon Leighton
8ab5c03582 Fix #8 2012-01-11 22:16:35 +00:00
Jon Leighton
fb497cb328 Add support for choosing between rendering the whole page or just part of it. 2011-10-31 23:04:02 +00:00
Jon Leighton
f8c653c45e Test against Capybara 1.0, 1.1 and edge. 2011-10-30 17:37:18 +00:00
Jon Leighton
868c20b9a4 Implement client stuff using Kernel#spawn 2011-10-28 20:18:45 +01:00
Jon Leighton
76fe32debd omg 2011-10-27 23:34:14 +01:00