Changeset [67f1a3714e8a202095ddf941e94f2eada10fec60] by David Balatero
Revision 67f1a3714e8a202095ddf941e94f2eada10fec60,
committed by David Balatero
· June 6th, 2009 @ 01:22 AM
Added a Kernel#trap hack so that we can catch ^C.
Sinatra's trap(:INT) handler conflicts with ours. A patch has been submitted to Sinatra, but for now, we want to make sure that our trap(:INT) handler is the one to be used.
Once the Sinatra team accepts my patch, I will remove this highly offensive code :) http://github.com/dbalatero/sina... http://github.com/dbalatero/queu...
4 changed files
-
M
lib/queue_stick.rb -
M
lib/queue_stick/runner.rb -
M
lib/queue_stick/trap_hack.rb -
M
spec/queue_stick/runner_spec.rb