Sha256: dddfad23cb14fa37840ca3af23e10ea43e9679f754fd7221c4807f210c3109a8
Contents?: true
Size: 1.19 KB
Versions: 13
Compression:
Stored size: 1.19 KB
Contents
###################################################################### # NOTIFIERS CHECK # ###################################################################### Capistrano::Configuration.instance(:must_exist).load do before 'notifiers:variable:check', 'load_notifier_checks' namespace :notifiers do namespace :variable do namespace :check do desc "[internal] Runs checks for all of the notifiers listed." task :default do if exists?(:notifiers) fetch(:notifiers).each do |notifier| top.notifiers.variable.check.send(notifier.to_s) if top.notifiers.variable.check.respond_to?(notifier.to_sym) end end end end end namespace :deployment do namespace :check do desc "[internal] Runs deployment checks for all of the notifiers listed." task :default do if exists?(:notifiers) fetch(:notifiers).each do |notifier| top.notifiers.deployment.check.send(notifier.to_s) if top.notifiers.deployment.check.respond_to?(notifier.to_sym) end end end end end end end
Version data entries
13 entries across 13 versions & 1 rubygems