Module: CapGun

Defined in:
lib/cap_gun_reloaded.rb,
lib/cap_gun/presenter.rb

Overview

Tell everyone about your releases! Send email notification after Capistrano deployments! Rule the world!

We include the ActionMailer hack to play nice with Gmail, so that’s a super easy way to do this without setting up your own MTA.

Example:

Want to just shoot everyone an email about the latest status?

cap cap_gun:email

Include comments?

cap -s comment="hi mom" cap_gun:email

Enable emails after every deploy by adding this to your deploy.rb:

after "deploy", "cap_gun:email"

Now, next time you deploy, you can optionally include comments:

cap -s comment="fix for bug #303" deploy

See README for full install/config instructions.

Defined Under Namespace

Classes: Mailer, Presenter

Constant Summary collapse

VERSION =
'0.0.11'