troessner/transitions — pull request #125 by darkside (2014-05-15 00:18:10+00:00)
Title: Fixes event_fired / event_failed only looking at public methods

Sometimes it's more convenient to implement these methods as protected / private for records to hide them from the public API. Since we're using send we should be looking at protected / private methods as well.

On Ruby 2.x this is worse because responds_to? returns false for protected methods: http://tenderlovemaking.com/2012/09/07/protected-methods-and-ruby-2-0.html