stevegraham/em-rspec — pull request #5 by presto53 (2013-12-24 18:38:29+00:00)
Title: fix exit code with Fiber.yield trick

When run any rspec examples wrapped with em-spec, then exit code is always 1. Example:
$ rspec
Run options: include {:focus=>true}

All examples were filtered out; ignoring {:focus=>true}
..

Finished in 0.00114 seconds
2 examples, 0 failures

Randomized with seed 15661

$ echo $?
1
This patch allow to respectively shut down the reactor (with calling shutdown hooks if necessary) and return proper return code.