Sha256: 9c70be09a02146556dfe7978428275c433efeeb9f70635b09fd927a5f152aaf4

Contents?: true

Size: 748 Bytes

Versions: 15

Compression:

Stored size: 748 Bytes

Contents

######################################################################
#                           NOTIFIERS SETUP                          #
######################################################################
Capistrano::Configuration.instance(:must_exist).load do
  require 'chicken_soup/notifiers/defaults'
  require "chicken_soup/notifiers/checks"
  require "chicken_soup/notifiers/tasks"

  ['defaults', 'checks', 'tasks'].each do |method|
    desc "[internal] This task is only here because `require` cannot be used within a `namespace`"
    task "load_notifier_#{method}".to_sym do
      fetch(:notifiers).each do |notifier|
        require_if_exists "chicken_soup/notifiers/#{notifier}/#{notifier}-#{method}"
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
chicken_soup-0.9.0 lib/chicken_soup/notifiers.rb
chicken_soup-0.8.6 lib/chicken_soup/notifiers.rb
chicken_soup-0.8.5 lib/chicken_soup/notifiers.rb
chicken_soup-0.8.4 lib/chicken_soup/notifiers.rb
chicken_soup-0.8.3 lib/chicken_soup/notifiers.rb
chicken_soup-0.8.2 lib/chicken_soup/notifiers.rb
chicken_soup-0.8.1 lib/chicken_soup/notifiers.rb
chicken_soup-0.8.0 lib/chicken_soup/notifiers.rb
chicken_soup-0.5.3 lib/chicken_soup/notifiers.rb
chicken_soup-0.5.2 lib/chicken_soup/notifiers.rb
chicken_soup-0.5.0 lib/chicken_soup/notifiers.rb
chicken_soup-0.4.1 lib/chicken_soup/notifiers.rb
chicken_soup-0.4.0 lib/chicken_soup/notifiers.rb
chicken_soup-0.3.0 lib/chicken_soup/notifiers.rb
chicken_soup-0.2.0 lib/chicken_soup/notifiers.rb