lib/cap_gun.rb
# Create the body of the message using a bunch of values from Capistrano
Create the body of the message using a bunch of values from Capistrano
Create the body of the message using a bunch of values from Capistrano
def create_body(capistrano)
<<-EOL
#{summary}
Comment: #{capistrano[:comment] || "[none given]"}
LOG:
#{ `git log #{capistrano[:previous_revision]}..#{capistrano[:current_revision]}`}
Nerd details
============
Release: #{capistrano[:current_release]}
Release Time: #{humanize_release_time(capistrano[:current_release])}
Release Revision: #{capistrano[:current_revision]}
Previous Release: #{capistrano[:previous_release]}
Previous Release Time: #{humanize_release_time(capistrano[:previous_release])}
Previous Release Revision: #{capistrano[:previous_revision]}
Repository: #{capistrano[:repository]}
Deploy path: #{capistrano[:deploy_to]}
EOL
      end
def create_body ( capistrano ) <<-EOL #{ summary } 

Comment:  #{ capistrano [ :comment ] || "[none given]" } 

LOG:
 #{ ` git log  #{ capistrano [ :previous_revision ] } .. #{ capistrano [ :current_revision ] } ` } 

Nerd details
============
Release:  #{ capistrano [ :current_release ] } 
Release Time:  #{ humanize_release_time ( capistrano [ :current_release ] ) } 
Release Revision:  #{ capistrano [ :current_revision ] } 

Previous Release:  #{ capistrano [ :previous_release ] } 
Previous Release Time:  #{ humanize_release_time ( capistrano [ :previous_release ] ) } 
Previous Release Revision:  #{ capistrano [ :previous_revision ] } 

Repository:  #{ capistrano [ :repository ] } 
Deploy path:  #{ capistrano [ :deploy_to ] } EOL end
Create the body of the message using a bunch of values from Capistrano
Create the body of the message using a bunch of values from Capistrano
capistrano
<not_specific>