defunkt/resque — pull request #439 by yaauie (2011-10-31 20:02:41+00:00)
Title: add after_kill hook and tests

The hooks provided around enqueue, dequeue, perform, and failure make an interface for plugins to track metadata in nearly all stages of a job's lifecycle.

This patch closes the loop by providing a method for hooking functionality after a job is forcefully killed (via `Resque::Worker#kill_child`, usually invoked by sending one of several signals to the worker.).

Patch provides functionality, tests, and updates the documentation.