Sha256: 6e41c500a19a388301075daa95e83b315de8a0eb26453699f61f12947d7a9d1b

Contents?: true

Size: 420 Bytes

Versions: 2

Compression:

Stored size: 420 Bytes

Contents

Capistrano::Configuration.instance(:must_exist).load do

  at_exit do
    if exception = $!
      Capistrano::Blaze.failure(self, exception)
    end
  end

  namespace :campfire do

    task :success do
      Capistrano::Blaze.success(self)
    end

    desc "Sends a test message to Campfire"
    task :test_config do
      Capistrano::Blaze.test(self)
    end

  end

  after "deploy:restart", "campfire:success"

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
capistrano-blaze-0.1.0 lib/capistrano/blaze/recipes.rb
capistrano-blaze-0.0.2 lib/capistrano/blaze/recipes.rb