lib/cap_gun.rb
# Loads ActionMailer settings from a Capistrano variable called "cap_gun_action_mailer_config"
Loads ActionMailer settings from a Capistrano variable called "cap_gun_action_mailer_config"
Loads ActionMailer settings from a Capistrano variable called " cap_gun_action_mailer_config "
def load_mailer_config(cap) 
      raise ArgumentError, "You must define ActionMailer settings in 'cap_gun_action_mailer_config'" unless cap.cap_gun_action_mailer_config 
      raise ArgumentError, "Need at least one recipient." if !cap.exists?(:cap_gun_email_envelope) || cap[:cap_gun_email_envelope][:recipients].blank?
      ActionMailer::Base.smtp_settings = cap.cap_gun_action_mailer_config
    end
def load_mailer_config ( cap ) raise ArgumentError , "You must define ActionMailer settings in 'cap_gun_action_mailer_config'" unless cap . cap_gun_action_mailer_config raise ArgumentError , "Need at least one recipient." if ! cap . exists? ( :cap_gun_email_envelope ) || cap [ :cap_gun_email_envelope ] [ :recipients ] . blank? ActionMailer :: Base . smtp_settings = cap . cap_gun_action_mailer_config end
Loads ActionMailer settings from a Capistrano variable called "cap_gun_action_mailer_config"
Loads ActionMailer settings from a Capistrano variable called " cap_gun_action_mailer_config "
cap
<not_specific>