Module: Blankpad::DeploymentNotifier

Defined in:
lib/blankpad/deployment_notifier.rb

Overview

A Capistrano plugin to send deployment notifications

Defined Under Namespace

Classes: Mailer, Message

Constant Summary collapse

VERSION =
File.read(File.dirname(__FILE__) + "/../../VERSION").strip.split(".")
@@recipients =
[]
@@from =
""

Class Method Summary collapse

Class Method Details

.deployerObject



26
27
28
# File 'lib/blankpad/deployment_notifier.rb', line 26

def self.deployer
  Etc.getlogin
end

.fromObject



18
19
20
# File 'lib/blankpad/deployment_notifier.rb', line 18

def self.from
  @@from
end

.from=(from) ⇒ Object



22
23
24
# File 'lib/blankpad/deployment_notifier.rb', line 22

def self.from=(from)
  @@from = from
end

.recipientsObject



9
10
11
# File 'lib/blankpad/deployment_notifier.rb', line 9

def self.recipients
  @@recipients
end

.recipients=(recipients) ⇒ Object



13
14
15
# File 'lib/blankpad/deployment_notifier.rb', line 13

def self.recipients=(recipients)
  @@recipients = recipients
end