capistrano-mailgun 2.0.0pre → 2.0.0pre1

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,26 +1,36 @@
1
+ ## 2013-07-23 - 2.0.0pre1
2
+
3
+ * added support for overriding html/text data in `mailgun#send_email`
4
+
1
5
  ## 2013-01-30 - v1.3.0
6
+
2
7
  * added option to include list of servers deployed to in email notification
3
8
  * fixed a bug where requiring `capistrano-mailgun` after you load `deploy.rb` would cause variables to be overwritten with defaults.
4
9
  * don't call `mailgun.log_output` twice in html template
5
10
  * fixed an issue where, depending on when `mailgun_notify` is called, it may or may not use the correct revisions when building the commit log.
6
11
 
7
12
  ## 2012-11-?? - v1.2.0
13
+
8
14
  * properly handle failures when running git-log
9
15
 
10
16
  ## 2012-10-22 - v1.1.0
17
+
11
18
  * default subject now includes stage
12
19
  * built-in templates
13
20
  * support for custom messages
14
21
 
15
22
  ## 2012-10-15 - v1.0.2
23
+
16
24
  * Minor release
17
25
  * documentation changes
18
26
 
19
27
  ## 2012-10-15 - v1.0.1
28
+
20
29
  * Minor release
21
30
  * documentation changes
22
31
 
23
32
  ## 2012-10-15 - v1.0.0
33
+
24
34
  * Version 1.0.0!
25
35
  * Proper definitions of dependencies
26
36
  * Proper documentation
@@ -107,8 +107,8 @@ module Capistrano
107
107
  options[:cc] = build_recipients(options[:cc]) unless options[:cc].nil?
108
108
  options[:bcc] = build_recipients(options[:bcc]) unless options[:bcc].nil?
109
109
 
110
- options[:text] = fetch(:capnotify_deployment_notification_text) if fetch(:capnotify_deployment_notification_text_template_path, nil)
111
- options[:html] = fetch(:capnotify_deployment_notification_html) if fetch(:capnotify_deployment_notification_html_template_path, nil)
110
+ options[:text] ||= fetch(:capnotify_deployment_notification_text) if fetch(:capnotify_deployment_notification_text_template_path, nil)
111
+ options[:html] ||= fetch(:capnotify_deployment_notification_html) if fetch(:capnotify_deployment_notification_html_template_path, nil)
112
112
 
113
113
  options
114
114
  end
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module Mailgun
3
- VERSION = "2.0.0pre"
3
+ VERSION = "2.0.0pre1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-mailgun
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0pre
4
+ version: 2.0.0pre1
5
5
  prerelease: 5
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-06-11 00:00:00.000000000 Z
12
+ date: 2013-07-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: capnotify