capistrano_mailer 3.2.5 → 3.2.7

Sign up to get free protection for your applications and to get access to all the features.
data/MIT-LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ # Copyright (c) 2009 9thBit LLC (http://www.9thbit.net)
2
+ # Copyright (c) 2007-8 Sagebit, LLC (http://www.sagebit.com)
3
+ #
4
+ # Permission is hereby granted, free of charge, to any person obtaining
5
+ # a copy of this software and associated documentation files (the
6
+ # "Software"), to deal in the Software without restriction, including
7
+ # without limitation the rights to use, copy, modify, merge, publish,
8
+ # distribute, sublicense, and/or sell copies of the Software, and to
9
+ # permit persons to whom the Software is furnished to do so, subject to
10
+ # the following conditions:
11
+ #
12
+ # The above copyright notice and this permission notice shall be
13
+ # included in all copies or substantial portions of the Software.
14
+ #
15
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16
+ # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
17
+ # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
18
+ # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
19
+ # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
20
+ # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
21
+ # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.rdoc CHANGED
@@ -1,218 +1,198 @@
1
- = Capistrano Mailer
2
-
3
- * For Capistrano Deployment Email Notification
4
- * It is a Capistrano Plugin / Ruby Gem that requires ActionMailer
5
- * It is MIT-LICENSE (License file is in source only for now because github won't build the gem if it is bundled with the gem... ?)
6
-
7
- Ever wanted to be emailed whenever someone on the team does a cap deploy of trunk or some tag to some server.
8
- Wouldn't it be nice to know about it every time a release was deployed? For large rails projects this type of coordination is essential,
9
- and this plugin makes sure everyone on the need to know list is notified when something new is deployed.
10
-
11
- This plugin/gem is an extension to Capistrano.
12
-
13
- That means it registers itself with Capistrano as a plugin and is therefore available to call in your recipes.
14
-
15
- If you are looking to roll your own email integration into capistrano then try this pastie:
16
- http://pastie.org/146264 (thanks to Mislav Marohnić).
17
- But if you want to take the easy road to riches then keep reading ;)
18
- -- figurative "riches" of course, I promise nothing in return for your using this plugin
19
-
20
- Important Note:
21
- The first time you deploy to a server (a 'cold' deploy) capistrano mailer will cause an error because it uses capistrano's previous release variables, and when there are no previous releases capistrano throws an error. In the next version this will be fixed, just don't have time at the moment. If you would like to work on this 'first deploy' problem please fork my repo and work on it!
22
-
23
- == Home Page
24
-
25
- http://github.com/pboling/capistrano_mailer
26
-
27
-
28
- == Credit where Credit is Due
29
-
30
- * Thanks to Dustin Deyoung of Sagebit, LLC (http://www.sagebit.com) for the beautiful HTML email templates.
31
-
32
-
33
- == Requirements
34
-
35
- * at least Rails 1.2.6 (might work with older versions, but has not been tested)
36
-
37
- * at least Capistrano 2.4.3 (might work with capistrano as old as 2.1.0, but has not been tested)
38
-
39
- * Known to be compatible with SCMs as of version 3.1.2: Perforce, SVN, and Git
40
-
41
- * Known to be compatible with, but does not require, the deprec gem.
42
-
43
-
44
- == Installation
45
-
46
- Gem Using Git building from source:
47
-
48
- mkdir -p ~/src
49
- cd ~/src
50
- git clone git://github.com/pboling/capistrano_mailer.git
51
- cd capistrano_mailer
52
- gem build capistrano_mailer.gemspec
53
- sudo gem install capistrano_mailer-3.1.6.gem # (Or whatever version gets built)
54
-
55
- Gemcutter is the hot new gem host, and you can use it like this:
56
-
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
60
-
61
- Then cd to your rails app to optionally freeze the gem into your app:
62
-
63
- rake gems:freeze GEM=capistrano_mailer
64
- # You do NOT need to add a config.gem line to environment.rb for capistrano mailer,
65
- # But in order to use the gems:freeze task you DO need to add it as a config.gem, at least temporarily.
66
-
67
- Plugin using Git:
68
-
69
- # Installation as plugin works... but the setup is slightly different. (See Usage below)
70
- ./script/plugin install git://github.com/pboling/capistrano_mailer.git
71
-
72
- Using SVN (deprecated, repository is no longer updated):
73
-
74
- ./script/plugin install http://capistrano-mailer.googlecode.com/svn/trunk/capistrano_mailer
75
-
76
- == Upgrading
77
-
78
- From version 3.1.x to version 3.2.x
79
-
80
- 1. Update the way CapistranoMailer is configured using the new method: CapMailer.configure (see Usage below).
81
- 2. require the cap mailer config file (see Usage below)
82
-
83
- From version 2.1.0 to version 3.1.x:
84
-
85
- 1. Update the way CapistranoMailer is configured using the new method: CapMailer.configure_capistrano_mailer (changed in later versions to just 'configure') (see Usage below).
86
- 2. Update the require statement at the top of deploy.rb, see below (note for plugin change from capistrano_mailer to capistrano/mailer).
87
- 3. Change the mailer.send to mailer.send_notification_email in your cap recipe.
88
-
89
- == Usage
90
-
91
- 1. Install as gem or plugin. You need to have already setup capistrano in the project, including the 'capify .' command.
92
-
93
- 2. Add this line to the top of your config/deploy.rb:
94
-
95
- # For plugin:
96
- # You must make capistrano_mailer's libraries available in Ruby's load path. This is one way to do that:
97
- # Add to the top of your config/deploy.rb file:
98
- $:.unshift 'vendor/plugins/capistrano_mailer/lib'
99
-
100
- # For frozen gem:
101
- # You must make capistrano_mailer's libraries available in Ruby's load path. This is one way to do that:
102
- # Add to the top of your config/deploy.rb file:
103
- $:.unshift 'vendor/gems/capistrano_mailer-x.x.x/lib'
104
-
105
- # then for gem or plugin:
106
- ####################################
107
- # Capistrano Plugins go here
108
- require 'capistrano/mailer'
109
- #configure capistrano_mailer:
110
- # The configuration file can go anywhere, but in past versions of the gem it was required to be in the config/ dir.
111
- require 'config/cap_mailer_settings'
112
- ####################################
113
-
114
- 3. Configure Caistrano Mailer in the settings file required in step 2:
115
-
116
- # If installed as a plugin might need the require here as well
117
-
118
- ActionMailer::Base.delivery_method = :smtp # or :sendmail, or whatever
119
- ActionMailer::Base.smtp_settings = { # if using :smtp
120
- :address => "mail.example.com",
121
- :port => 25,
122
- :domain => 'default.com',
123
- :perform_deliveries => true,
124
- :user_name => "releases@example.com",
125
- :password => "mypassword",
126
- :authentication => :login }
127
- ActionMailer::Base.default_charset = "utf-8"# or "latin1" or whatever you are using
128
-
129
- CapMailer.configure do |config|
130
- config[:recipient_addresses] = ["dev1@example.com"]
131
- # NOTE: THERE IS A BUG IN RAILS 2.3.3 which forces us to NOT use anything but a simple email address string for the sender address.
132
- # https://rails.lighthouseapp.com/projects/8994/tickets/2340
133
- # Therefore %("Capistrano Deployment" <releases@example.com>) style addresses may not work in Rails 2.3.3
134
- config[:sender_address] = "deployment@example.com"
135
- config[:subject_prepend] = "[EMPTY-CAP-DEPLOY]"
136
- config[:site_name] = "Empty Example.com App"
137
- config[:email_content_type] = "text/html" # OR "text/plain" if you want the plain text version of the email
138
- end
139
-
140
- 4. Add these two tasks to your deploy.rb:
141
-
142
- namespace :show do
143
- desc "Show some internal Cap-Fu: What's mah NAYM?!?"
144
- task :me do
145
- set :task_name, task_call_frames.first.task.fully_qualified_name
146
- #puts "Running #{task_name} task"
147
- end
148
- end
149
-
150
- namespace :deploy do
151
- ...
152
-
153
- desc "Send email notification of deployment (only send variables you want to be in the email)"
154
- task :notify, :roles => :app do
155
- show.me # this sets the task_name variable
156
- mailer.send_notification_email(self)
157
- end
158
-
159
- ...
160
- end
161
-
162
- Make _sure_ you've defined `rails_env`, `repository`, `deploy_to`, `host`, and `application`.
163
- task_name is defined by the show:me task above, and the others are defined behind the scenes by Capistrano!
164
-
165
- The only parameter to mailer.send_notification_email that is *required* is the first. _Minimally_ you need to define the capistrano variables:
166
- :rails_env
167
- :repository
168
- :task_name (provided by the show:me task included in this readme)
169
- :deploy_to
170
- :host
171
- :application
172
-
173
- But there are tons of others - just take a look at lib/mailer/cap_mailer.rb.
174
-
175
- If anyone has a cool way of recording the *output* into a capistrano accessible variable,
176
- so that it can be shoved into the release email that would be an excellent contribution!
177
-
178
- 5. Then add the hook somewhere in your deploy.rb:
179
-
180
- after "deploy", "deploy:notify"
181
-
182
- 6. Enjoy and Happy Capping!
183
-
184
- 7. Customization
185
-
186
- If you want to use your own views you'll need to recreate the notification_email view:
187
- First you need to define where your templates are:
188
-
189
- CapMailer.configure_capistrano_mailer do |config|
190
- config[:template_root] = "app/views/capistrano_mailer/"
191
- end
192
-
193
- Then you'll need to create templates there called:
194
- notification_email.text.html.erb
195
- and / or
196
- notification_email.text.plain.erb
197
-
198
- Take a look at the templates that comes with the plugin to see how it is done (views/cap_mailer/...)
199
-
200
- == Authors
201
-
202
- Peter Boling (pboling) - Wrote original
203
- Dave Nolan (textgoeshere) - lots of refactoring merged into 3.2 release
204
-
205
- == Contributors
206
-
207
- Dustin Deyoung - HTML Email Templates
208
- mixonix - SCMs compatibility
209
- greut - SCMs compatibility
210
-
211
- ----------------------------------------------------------------------------------
212
- This plugin is a collaboration between Sagebit, LLC (http://www.sagebit.com) and Peter Boling (http://www.peterboling.com).
213
- Written initially while Peter Boling was working at Sagebit for use in various projects.
214
-
215
- Author: Peter Boling, peter.boling at gmail dot com
216
-
217
- Copyright (c) 2009 Peter Boling of 9thBit LLC, released under the MIT license
218
- Copyright (c) 2007-8 Sagebit LLC, released under the MIT license
1
+ = Capistrano Mailer For Rails <= 2.3.x
2
+
3
+ * For Capistrano Deployment Email Notification
4
+ * It is a Capistrano Plugin / Ruby Gem that requires ActionMailer
5
+ * It is MIT-LICENSE (License file is in source only for now because github won't build the gem if it is bundled with the gem... ?)
6
+
7
+ Ever wanted to be emailed whenever someone on the team does a cap deploy of trunk or some tag to some server.
8
+ Wouldn't it be nice to know about it every time a release was deployed? For large rails projects this type of coordination is essential,
9
+ and this plugin makes sure everyone on the need to know list is notified when something new is deployed.
10
+
11
+ This plugin/gem is an extension to Capistrano.
12
+
13
+ That means it registers itself with Capistrano as a plugin and is therefore available to call in your recipes.
14
+
15
+ If you are looking to roll your own email integration into capistrano then try this pastie:
16
+ http://pastie.org/146264 (thanks to Mislav Marohnić).
17
+ But if you want to take the easy road to riches then keep reading ;)
18
+ -- figurative "riches" of course, I promise nothing in return for your using this plugin
19
+
20
+ Important Note:
21
+ The first time you deploy to a server (a 'cold' deploy) capistrano mailer will cause an error because it uses capistrano's previous release variables, and when there are no previous releases capistrano throws an error. In the next version this will be fixed, just don't have time at the moment. If you would like to work on this 'first deploy' problem please fork my repo and work on it!
22
+
23
+ == Home Page
24
+
25
+ http://github.com/pboling/capistrano_mailer
26
+
27
+
28
+ == Credit where Credit is Due
29
+
30
+ * Thanks to Dustin Deyoung of Sagebit, LLC (http://www.sagebit.com) for the beautiful HTML email templates.
31
+
32
+
33
+ == Requirements
34
+
35
+ * Rails 1.2.6 - 2.3.X (might work with older versions, but has not been tested)
36
+
37
+ * at least Capistrano 2.4.3 (might work with capistrano as old as 2.1.0, but has not been tested)
38
+
39
+ * Known to be compatible with SCMs as of version 3.1.2: Perforce, SVN, and Git
40
+
41
+ * Known to be compatible with, but does not require, the deprec gem.
42
+
43
+
44
+ == Installation
45
+
46
+ Install the latest Rails 2 compatible version of the gem:
47
+
48
+ [sudo] gem install capistrano_mailer -v 3.2.7
49
+
50
+ == Upgrading
51
+
52
+ The 3.x versions of the gem will remain compatible with Rails 2.x, while the 4+ versions of the gem will move forward with Rails 3+
53
+
54
+ From version 3.1.x to version 3.2.x
55
+
56
+ 1. Update the way CapistranoMailer is configured using the new method: CapMailer.configure (see Usage below).
57
+ 2. require the cap mailer config file (see Usage below)
58
+
59
+ From version 2.1.0 to version 3.1.x:
60
+
61
+ 1. Update the way CapistranoMailer is configured using the new method: CapMailer.configure_capistrano_mailer (changed in later versions to just 'configure') (see Usage below).
62
+ 2. Update the require statement at the top of deploy.rb, see below (note for plugin change from capistrano_mailer to capistrano/mailer).
63
+ 3. Change the mailer.send to mailer.send_notification_email in your cap recipe.
64
+
65
+ == Usage
66
+
67
+ 1. Install as gem or plugin. You need to have already setup capistrano in the project, including the 'capify .' command.
68
+
69
+ 2. Add this line to the top of your config/deploy.rb:
70
+
71
+ # For plugin:
72
+ # You must make capistrano_mailer's libraries available in Ruby's load path. This is one way to do that:
73
+ # Add to the top of your config/deploy.rb file:
74
+ $:.unshift 'vendor/plugins/capistrano_mailer/lib'
75
+
76
+ # For frozen gem:
77
+ # You must make capistrano_mailer's libraries available in Ruby's load path. This is one way to do that:
78
+ # Add to the top of your config/deploy.rb file:
79
+ $:.unshift 'vendor/gems/capistrano_mailer-x.x.x/lib'
80
+
81
+ # then for gem or plugin:
82
+ ####################################
83
+ # Capistrano Plugins go here
84
+ require 'capistrano/mailer'
85
+ #configure capistrano_mailer:
86
+ # The configuration file can go anywhere, but in past versions of the gem it was required to be in the config/ dir.
87
+ require 'config/cap_mailer_settings'
88
+ ####################################
89
+
90
+ 3. Configure Caistrano Mailer in the settings file required in step 2:
91
+
92
+ # If installed as a plugin might need the require here as well
93
+
94
+ ActionMailer::Base.delivery_method = :smtp # or :sendmail, or whatever
95
+ ActionMailer::Base.smtp_settings = { # if using :smtp
96
+ :address => "mail.example.com",
97
+ :port => 25,
98
+ :domain => 'default.com',
99
+ :perform_deliveries => true,
100
+ :user_name => "releases@example.com",
101
+ :password => "mypassword",
102
+ :authentication => :login }
103
+ ActionMailer::Base.default_charset = "utf-8"# or "latin1" or whatever you are using
104
+
105
+ CapMailer.configure do |config|
106
+ config[:recipient_addresses] = ["dev1@example.com"]
107
+ # NOTE: THERE IS A BUG IN RAILS 2.3.3 which forces us to NOT use anything but a simple email address string for the sender address.
108
+ # https://rails.lighthouseapp.com/projects/8994/tickets/2340
109
+ # Therefore %("Capistrano Deployment" <releases@example.com>) style addresses may not work in Rails 2.3.3
110
+ config[:sender_address] = "deployment@example.com"
111
+ config[:subject_prepend] = "[EMPTY-CAP-DEPLOY]"
112
+ config[:site_name] = "Empty Example.com App"
113
+ config[:email_content_type] = "text/html" # OR "text/plain" if you want the plain text version of the email
114
+ end
115
+
116
+ 4. Add these two tasks to your deploy.rb:
117
+
118
+ namespace :show do
119
+ desc "Show some internal Cap-Fu: What's mah NAYM?!?"
120
+ task :me do
121
+ set :task_name, task_call_frames.first.task.fully_qualified_name
122
+ #puts "Running #{task_name} task"
123
+ end
124
+ end
125
+
126
+ namespace :deploy do
127
+ ...
128
+
129
+ desc "Send email notification of deployment (only send variables you want to be in the email)"
130
+ task :notify, :roles => :app do
131
+ show.me # this sets the task_name variable
132
+ mailer.send_notification_email(self)
133
+ end
134
+
135
+ ...
136
+ end
137
+
138
+ Make _sure_ you've defined `rails_env`, `repository`, `deploy_to`, `host`, and `application`.
139
+ task_name is defined by the show:me task above, and the others are defined behind the scenes by Capistrano!
140
+
141
+ The only parameter to mailer.send_notification_email that is *required* is the first. _Minimally_ you need to define the capistrano variables:
142
+ :rails_env
143
+ :repository
144
+ :task_name (provided by the show:me task included in this readme)
145
+ :deploy_to
146
+ :host
147
+ :application
148
+
149
+ But there are tons of others - just take a look at lib/mailer/cap_mailer.rb.
150
+
151
+ If anyone has a cool way of recording the *output* into a capistrano accessible variable,
152
+ so that it can be shoved into the release email that would be an excellent contribution!
153
+
154
+ 5. Then add the hook somewhere in your deploy.rb:
155
+
156
+ after "deploy", "deploy:notify"
157
+
158
+ 6. Enjoy and Happy Capping!
159
+
160
+ 7. Customization
161
+
162
+ If you want to use your own views you'll need to recreate the notification_email view:
163
+ First you need to define where your templates are:
164
+
165
+ CapMailer.configure_capistrano_mailer do |config|
166
+ config[:template_root] = "app/views/capistrano_mailer/"
167
+ end
168
+
169
+ Then you'll need to create templates there called:
170
+
171
+ notification_email.text.html.erb
172
+
173
+ and / or
174
+
175
+ notification_email.text.plain.erb
176
+
177
+ Take a look at the templates that comes with the plugin to see how it is done (views/cap_mailer/...)
178
+
179
+ == Authors
180
+
181
+ Peter Boling (pboling) - Wrote original & Maintainer
182
+ Dave Nolan (textgoeshere) - lots of refactoring merged into 3.2 release
183
+
184
+ == Contributors
185
+
186
+ Dustin Deyoung - HTML Email Templates
187
+ mixonix - SCMs compatibility
188
+ greut - SCMs compatibility
189
+
190
+ ----------------------------------------------------------------------------------
191
+
192
+ This plugin started as a collaboration between Sagebit, LLC (http://www.sagebit.com) and Peter Boling (http://www.peterboling.com).
193
+ Written initially while Peter Boling was working at Sagebit for use in various projects.
194
+
195
+ Author: Peter Boling, peter.boling at gmail dot com
196
+
197
+ Copyright (c) 2009-2011 Peter Boling of 9thBit LLC, released under the MIT license
198
+ Copyright (c) 2007-2008 Sagebit LLC, released under the MIT license
data/Rakefile CHANGED
@@ -1,53 +1,52 @@
1
- require 'rake'
2
- require 'rake/testtask'
3
- require 'rake/rdoctask'
4
-
5
- begin
6
- require 'jeweler'
7
- Jeweler::Tasks.new do |gemspec|
8
- gemspec.name = "capistrano_mailer"
9
- gemspec.summary = "Capistrano Deployment Email Notification"
10
- gemspec.description = %q{Capistrano Deployment Email Notification. Keep the whole team informed of each release!}
11
- gemspec.email = ["peter.boling@gmail.com", "dave@textgoeshere.org.uk"]
12
- gemspec.homepage = "http://github.com/pboling/capistrano_mailer"
13
- gemspec.authors = ["Peter Boling", "Dave Nolan"]
14
- gemspec.add_dependency 'actionmailer'
15
- gemspec.files = ["README.rdoc",
16
- "capistrano_mailer.gemspec",
17
- "init.rb",
18
- "about.yml",
19
- "lib/cap_mailer.rb",
20
- "lib/capistrano/mailer.rb",
21
- "Rakefile",
22
- "views/cap_mailer/_section.html.erb",
23
- "views/cap_mailer/_section.text.erb",
24
- "views/cap_mailer/_section_custom.html.erb",
25
- "views/cap_mailer/_section_custom.html.erb",
26
- "views/cap_mailer/notification_email.text.html.erb",
27
- "views/cap_mailer/notification_email.text.plain.erb",
28
- "VERSION.yml"]
29
- end
30
- Jeweler::GemcutterTasks.new
31
- rescue LoadError
32
- puts "Jeweler not available. Install it with: sudo gem install jeweler"
33
- end
34
-
35
- desc 'Default: run unit tests.'
36
- task :default => :test
37
-
38
- desc 'Test the capistrano_mailer gem.'
39
- Rake::TestTask.new(:test) do |t|
40
- t.libs << 'lib'
41
- t.libs << 'test'
42
- t.pattern = 'test/**/*_test.rb'
43
- t.verbose = true
44
- end
45
-
46
- desc 'Generate documentation for the capistrano_mailer gem.'
47
- Rake::RDocTask.new(:rdoc) do |rdoc|
48
- rdoc.rdoc_dir = 'rdoc'
49
- rdoc.title = 'capistrano_mailer'
50
- rdoc.options << '--line-numbers' << '--inline-source'
51
- rdoc.rdoc_files.include('README.markdown')
52
- rdoc.rdoc_files.include('lib/**/*.rb')
53
- end
1
+ require 'rake'
2
+ require 'rake/testtask'
3
+ require 'rake/rdoctask'
4
+
5
+ begin
6
+ require 'jeweler'
7
+ Jeweler::Tasks.new do |gemspec|
8
+ gemspec.name = "capistrano_mailer"
9
+ gemspec.summary = "Capistrano Deployment Email Notification"
10
+ gemspec.description = %q{Capistrano Deployment Email Notification. Keep the whole team informed of each release!}
11
+ gemspec.email = ["peter.boling@gmail.com", "dave@textgoeshere.org.uk"]
12
+ gemspec.homepage = "http://github.com/pboling/capistrano_mailer"
13
+ gemspec.authors = ["Peter Boling", "Dave Nolan"]
14
+ gemspec.add_dependency 'actionmailer'
15
+ gemspec.files = ["README.rdoc",
16
+ "capistrano_mailer.gemspec",
17
+ "lib/cap_mailer.rb",
18
+ "lib/capistrano/mailer.rb",
19
+ "Rakefile",
20
+ "MIT-LICENSE",
21
+ "views/cap_mailer/_section.html.erb",
22
+ "views/cap_mailer/_section.text.erb",
23
+ "views/cap_mailer/_section_custom.html.erb",
24
+ "views/cap_mailer/_section_custom.text.erb",
25
+ "views/cap_mailer/notification_email.text.html.erb",
26
+ "views/cap_mailer/notification_email.text.plain.erb",
27
+ "VERSION.yml"]
28
+ end
29
+ Jeweler::GemcutterTasks.new
30
+ rescue LoadError
31
+ puts "Jeweler not available. Install it with: sudo gem install jeweler"
32
+ end
33
+
34
+ desc 'Default: run unit tests.'
35
+ task :default => :test
36
+
37
+ desc 'Test the capistrano_mailer gem.'
38
+ Rake::TestTask.new(:test) do |t|
39
+ t.libs << 'lib'
40
+ t.libs << 'test'
41
+ t.pattern = 'test/**/*_test.rb'
42
+ t.verbose = true
43
+ end
44
+
45
+ desc 'Generate documentation for the capistrano_mailer gem.'
46
+ Rake::RDocTask.new(:rdoc) do |rdoc|
47
+ rdoc.rdoc_dir = 'rdoc'
48
+ rdoc.title = 'capistrano_mailer'
49
+ rdoc.options << '--line-numbers' << '--inline-source'
50
+ rdoc.rdoc_files.include('README.markdown')
51
+ rdoc.rdoc_files.include('lib/**/*.rb')
52
+ end
data/VERSION.yml CHANGED
@@ -1,5 +1,5 @@
1
- ---
2
- :patch: 5
1
+ ---
3
2
  :major: 3
4
- :build:
5
3
  :minor: 2
4
+ :patch: 7
5
+ :build: !!null