westarete/capistrano-helpers — pull request #7 by Simbul (2012-10-04 16:05:25+00:00)
Title: Support for disabling Campfire notifications

This pull requests adds support for disabling Campfire notifications.

Supposing you want to be notified for some stages but not for others (e.g. for `production` but not for `staging`), the only way to do it at the moment would be to only require `capistrano-helpers/campfire` in the relevant stage configuration files.

The changes in this pull request add support for a `:campfire_notifications` variable, which can be set to `false` for the stages you don't want to be notified about.

E.g. in config/deploy/staging:

```ruby
set :campfire_notifications, false
```

This pull request also includes minor fixes to the `README` and a refactoring of the Campfire tasks to avoid code duplication.