squidpunch/perform_later — pull request #3 by gguerini (2014-06-19 15:12:38+00:00)
Title: Add environment validation.

With the introduction of `resque_mailer` >= 2.2.0, the environment check is now made inside of the `MessageDecoy#deliver` method. Since `perform_later` overrides `#deliver`, we need to add the same validation there to avoid a job to be queued in an excluded environment like `test`.