cablegram/guard — pull request #4 by cablegram (2013-07-13 17:05:09+00:00)
Title: Code around apparent bug in Thread#alive?

The documentation for Thread#alive? states that it "Returns true if [the thread] is running or sleeping." In ruby 1.9.3p429 (2013-05-15) [i386-mingw32], it also returns true when the status is 'aborting'. Explicitly checking for states fixes this bug.