Sha256: 860883378e6d9a4e45fc23eed8eb85cc7a95e1f8ea12111596c5e1755148dc79
Contents?: true
Size: 1.03 KB
Versions: 9
Compression:
Stored size: 1.03 KB
Contents
###################################################################### # EMAIL NOTIFIER CHECKS # ###################################################################### Capistrano::Configuration.instance(:must_exist).load do namespace :notifiers do namespace :variable do namespace :check do desc <<-DESC [internal] Checks to see if all necessary email notification environment variables have been set up. DESC task :email do required_variables = [ :email_notifier_client_recipients, :email_notifier_internal_recipients, :email_notifier_domain, :email_notifier_username, :email_notifier_password ] abort "You must specify either internal or client recipients in order to use the email notifier." if email_notifier_client_recipients.empty? && email_notifier_internal_recipients.empty? verify_variables(required_variables) end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems