capistrano_mailer 3.1.5 → 3.1.6
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +12 -12
- data/VERSION.yml +1 -1
- data/capistrano_mailer.gemspec +2 -2
- metadata +2 -2
data/README.rdoc
CHANGED
@@ -50,17 +50,17 @@ Gem Using Git building from source:
|
|
50
50
|
git clone git://github.com/pboling/capistrano_mailer.git
|
51
51
|
cd capistrano_mailer
|
52
52
|
gem build capistrano_mailer.gemspec
|
53
|
-
sudo gem install capistrano_mailer-3.1.
|
53
|
+
sudo gem install capistrano_mailer-3.1.6.gem # (Or whatever version gets built)
|
54
54
|
|
55
|
-
|
55
|
+
Gemcutter is the hot new gem host, and you can use it like this:
|
56
56
|
|
57
|
-
|
58
|
-
|
57
|
+
[sudo] gem install gemcutter
|
58
|
+
[sudo] gem tumble # makes gemcutter gem source first in line, if you haven't already
|
59
|
+
[sudo] gem install capistrano_mailer
|
59
60
|
|
60
|
-
|
61
|
+
Then cd to your rails app to optionally freeze the gem into your app:
|
61
62
|
|
62
|
-
|
63
|
-
sudo gem install pboling-capistrano_mailer
|
63
|
+
rake gems:freeze GEM=super_exception_notifier
|
64
64
|
# You do NOT need to add a config.gem line to environment.rb for capistrano mailer.
|
65
65
|
|
66
66
|
Plugin using Git:
|
@@ -77,7 +77,7 @@ Using SVN (deprecated, repository is no longer updated):
|
|
77
77
|
From version 2.1.0 to version 3.x.x:
|
78
78
|
|
79
79
|
1. Update the way CapistranoMailer is configured using the new method: CapMailer.configure_capistrano_mailer, see below.
|
80
|
-
2. Update the require statement at the top of deploy.rb, see below (note for plugin change from
|
80
|
+
2. Update the require statement at the top of deploy.rb, see below (note for plugin change from capistrano_mailer to capistrano/mailer).
|
81
81
|
3. Change the mailer.send to mailer.send_notification_email in your cap recipe.
|
82
82
|
|
83
83
|
== Usage
|
@@ -166,18 +166,18 @@ From version 2.1.0 to version 3.x.x:
|
|
166
166
|
:run_method => run_method,
|
167
167
|
:latest_release => latest_release,
|
168
168
|
],[ # Send some custom vars you've setup in your deploy.rb to be sent out with the notification email!
|
169
|
-
|
169
|
+
# will be rendered as a section of the email called 'Release Data'
|
170
170
|
#:some_other_var1 => some_other_var1,
|
171
171
|
#:some_other_var2 => some_other_var2,
|
172
172
|
#:some_other_var3 => some_other_var3
|
173
173
|
],[ # Send some more custom vars you've setup in your deploy.rb to be sent out with the notification email!
|
174
|
-
|
174
|
+
# will be rendered as a section of the email called 'Extra Information'
|
175
175
|
#:some_other_var4 => some_other_var4,
|
176
176
|
#:some_other_var5 => some_other_var5,
|
177
177
|
#:some_other_var6 => some_other_var6
|
178
178
|
],[ # and even more!!!
|
179
|
-
|
180
|
-
|
179
|
+
# these will not be rendered as a section, but will be passed to the email template in the @data hash,
|
180
|
+
# and be available there if you want to write your own template
|
181
181
|
]
|
182
182
|
)
|
183
183
|
end
|
data/VERSION.yml
CHANGED
data/capistrano_mailer.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{capistrano_mailer}
|
8
|
-
s.version = "3.1.
|
8
|
+
s.version = "3.1.6"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Peter Boling"]
|
12
|
-
s.date = %q{2009-11-
|
12
|
+
s.date = %q{2009-11-10}
|
13
13
|
s.description = %q{Capistrano Deployment Email Notification. Keep the whole team informed of each release!}
|
14
14
|
s.email = %q{peter.boling@gmail.com}
|
15
15
|
s.extra_rdoc_files = [
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano_mailer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.
|
4
|
+
version: 3.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Boling
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-11-
|
12
|
+
date: 2009-11-10 00:00:00 -05:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|