mandriller 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.travis.yml +9 -8
- data/Gemfile +2 -0
- data/README.md +21 -3
- data/lib/mandriller/base.rb +1 -1
- data/lib/mandriller/version.rb +1 -1
- data/spec/mandriller/base_spec.rb +1 -1
- metadata +3 -9
- data/gemfiles/actionmailer.3.0.x.gemfile +0 -4
- data/gemfiles/actionmailer.3.1.x.gemfile +0 -4
- data/gemfiles/actionmailer.3.2.x.gemfile +0 -4
- data/gemfiles/actionmailer.4.0.x.gemfile +0 -4
- data/gemfiles/actionmailer.4.1.x.gemfile +0 -4
- data/gemfiles/gemfile +0 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: deeff3c683de00284210e838175705e8210c6ee9
|
|
4
|
+
data.tar.gz: 0d5dfe187b2e7864956c99a636fb0495a40f1641
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6bdebe419703c4ce2dc76eb6f07f25fbcbf3bf59737cb2dde06fb3250a0fc2e27ba0345f0dfdcf0347926bca8aa6a8dd5fab41efde1e5f0c5d63251636604fe0
|
|
7
|
+
data.tar.gz: 5bb259f4191a5bf8056caba2cffb8df245b5ec0a2b41adefc61b04aa4109e205336bf2dc57eecdbd218ef55a4b8bc0c04a39475f631c3811063c68e7e0036902
|
data/.travis.yml
CHANGED
|
@@ -3,14 +3,15 @@ language: ruby
|
|
|
3
3
|
rvm:
|
|
4
4
|
- 1.9.3
|
|
5
5
|
- 2.0.0
|
|
6
|
-
- 2.1
|
|
7
|
-
|
|
8
|
-
-
|
|
9
|
-
-
|
|
10
|
-
-
|
|
11
|
-
-
|
|
12
|
-
-
|
|
13
|
-
-
|
|
6
|
+
- 2.1
|
|
7
|
+
env:
|
|
8
|
+
-
|
|
9
|
+
- ACTION_MAILER_VERSION=3.0.0
|
|
10
|
+
- ACTION_MAILER_VERSION=3.1.0
|
|
11
|
+
- ACTION_MAILER_VERSION=3.2.0
|
|
12
|
+
- ACTION_MAILER_VERSION=4.0.0
|
|
13
|
+
- ACTION_MAILER_VERSION=4.1.0
|
|
14
|
+
- ACTION_MAILER_VERSION=4.2.0.rc1
|
|
14
15
|
|
|
15
16
|
script: "bundle exec rake spec"
|
|
16
17
|
|
data/Gemfile
CHANGED
data/README.md
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
# mandriller
|
|
2
2
|
|
|
3
|
-
[![Gem Version]
|
|
3
|
+
[![Gem Version][gem-image]][gem-link]
|
|
4
|
+
[![Dependency Status][deps-image]][deps-link]
|
|
5
|
+
[![Build Status][build-image]][build-link]
|
|
6
|
+
[![Coverage Status][cov-image]][cov-link]
|
|
7
|
+
[![Code Climate][gpa-image]][gpa-link]
|
|
4
8
|
|
|
5
9
|
[Mandrill](http://mandrill.com/) SMTP API integration for ActionMailer.
|
|
6
10
|
See detail of the protocol on [the official page](http://help.mandrill.com/entries/21688056-Using-SMTP-Headers-to-customize-your-messages).
|
|
@@ -103,7 +107,7 @@ the name of the mc:edit region where the body of the SMTP generated message will
|
|
|
103
107
|
|
|
104
108
|
Add dynamic data to replace mergetags that appear in your message content.
|
|
105
109
|
|
|
106
|
-
- `set_merge_vars
|
|
110
|
+
- `set_merge_vars foo: 1, bar: 2`
|
|
107
111
|
|
|
108
112
|
### set_google_analytics
|
|
109
113
|
|
|
@@ -121,7 +125,7 @@ Add an optional value to be used for the __utm_campaign parameter__ in Google An
|
|
|
121
125
|
|
|
122
126
|
Information about any custom fields or data you want to append to the message.
|
|
123
127
|
|
|
124
|
-
- `set_metadata
|
|
128
|
+
- `set_metadata foo: 1, bar: 2`
|
|
125
129
|
|
|
126
130
|
### set_url_strip_qs
|
|
127
131
|
|
|
@@ -221,3 +225,17 @@ Add tags to your emails.
|
|
|
221
225
|
## Copyright
|
|
222
226
|
|
|
223
227
|
Copyright (c) 2014 Daisuke Taniwaki. See [LICENSE](LICENSE) for details.
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
[gem-image]: https://badge.fury.io/rb/mandriller.svg
|
|
232
|
+
[gem-link]: http://badge.fury.io/rb/mandriller
|
|
233
|
+
[build-image]: https://secure.travis-ci.org/dtaniwaki/mandriller.png
|
|
234
|
+
[build-link]: http://travis-ci.org/dtaniwaki/mandriller
|
|
235
|
+
[deps-image]: https://gemnasium.com/dtaniwaki/mandriller.svg
|
|
236
|
+
[deps-link]: https://gemnasium.com/dtaniwaki/mandriller
|
|
237
|
+
[cov-image]: https://coveralls.io/repos/dtaniwaki/mandriller/badge.png
|
|
238
|
+
[cov-link]: https://coveralls.io/r/dtaniwaki/mandriller
|
|
239
|
+
[gpa-image]: https://codeclimate.com/github/dtaniwaki/mandriller.png
|
|
240
|
+
[gpa-link]: https://codeclimate.com/github/dtaniwaki/mandriller
|
|
241
|
+
|
data/lib/mandriller/base.rb
CHANGED
|
@@ -12,7 +12,7 @@ class Mandriller::Base < ActionMailer::Base
|
|
|
12
12
|
preserve_recipients: 'X-MC-PreserveRecipients',
|
|
13
13
|
inline_css: 'X-MC-InlineCSS',
|
|
14
14
|
view_content_link: 'X-MC-ViewContentLink',
|
|
15
|
-
|
|
15
|
+
important: 'X-MC-Important',
|
|
16
16
|
}
|
|
17
17
|
STRING_SETTINGS = {
|
|
18
18
|
tracking_domain: 'X-MC-TrackingDomain',
|
data/lib/mandriller/version.rb
CHANGED
|
@@ -26,7 +26,7 @@ describe Mandriller::Base do
|
|
|
26
26
|
preserve_recipients: 'X-MC-PreserveRecipients',
|
|
27
27
|
inline_css: 'X-MC-InlineCSS',
|
|
28
28
|
view_content_link: 'X-MC-ViewContentLink',
|
|
29
|
-
|
|
29
|
+
important: 'X-MC-Important',
|
|
30
30
|
}
|
|
31
31
|
BOOLEAN_SETTINGS.each do |key, header|
|
|
32
32
|
describe "#{header} header" do
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: mandriller
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Daisuke Taniwaki
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-
|
|
11
|
+
date: 2014-12-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: actionmailer
|
|
@@ -93,12 +93,6 @@ files:
|
|
|
93
93
|
- LICENSE
|
|
94
94
|
- README.md
|
|
95
95
|
- Rakefile
|
|
96
|
-
- gemfiles/actionmailer.3.0.x.gemfile
|
|
97
|
-
- gemfiles/actionmailer.3.1.x.gemfile
|
|
98
|
-
- gemfiles/actionmailer.3.2.x.gemfile
|
|
99
|
-
- gemfiles/actionmailer.4.0.x.gemfile
|
|
100
|
-
- gemfiles/actionmailer.4.1.x.gemfile
|
|
101
|
-
- gemfiles/gemfile
|
|
102
96
|
- lib/mandriller.rb
|
|
103
97
|
- lib/mandriller/base.rb
|
|
104
98
|
- lib/mandriller/errors.rb
|
|
@@ -129,7 +123,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
129
123
|
version: '0'
|
|
130
124
|
requirements: []
|
|
131
125
|
rubyforge_project:
|
|
132
|
-
rubygems_version: 2.
|
|
126
|
+
rubygems_version: 2.4.3
|
|
133
127
|
signing_key:
|
|
134
128
|
specification_version: 4
|
|
135
129
|
summary: Mandrill SMTP API integration for ActionMailer
|
data/gemfiles/gemfile
DELETED