javan/whenever — pull request #264 by kammerer (2012-11-13 20:10:43+00:00)
Title: add support for multistage deployment via capistrano

This change allows to specify capistrano stage on which particular task can run in a manner similar to specifying capistrano roles. Likewise it is entirely optional.

The motivation behind this is that:

* a stage is not necessarily equivalent to Rails environment, thus more flexibility is allowed
* usage is more consistent with :roles than using solution described in the [wiki](https://github.com/javan/whenever/wiki/Setting-variables-on-the-fly)
* it defines a public API and does not force to rely on the knowledge of whenever internals