mandriller 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f6f8a21fe30516b7591eac904689150c3231f3a3
4
- data.tar.gz: 5e70cb7b74773ff237770cde06c4f8afec9db816
3
+ metadata.gz: deeff3c683de00284210e838175705e8210c6ee9
4
+ data.tar.gz: 0d5dfe187b2e7864956c99a636fb0495a40f1641
5
5
  SHA512:
6
- metadata.gz: 0167c5e60881e6427b01508055339a3ccfc4b7dd05c7031735d7132b9e5a1042093c048bdf70f0e8c49f36365f651804be506ef8fa98a215661b31d0a27de557
7
- data.tar.gz: b6eda0ad6ca15ef2b287b14d0234ed3056e78f9584a69e166d426c7b008c5ff042dee068c0bd8d974246e626d5fc7f44dba6b97225366d2e7486be0c83658fbe
6
+ metadata.gz: 6bdebe419703c4ce2dc76eb6f07f25fbcbf3bf59737cb2dde06fb3250a0fc2e27ba0345f0dfdcf0347926bca8aa6a8dd5fab41efde1e5f0c5d63251636604fe0
7
+ data.tar.gz: 5bb259f4191a5bf8056caba2cffb8df245b5ec0a2b41adefc61b04aa4109e205336bf2dc57eecdbd218ef55a4b8bc0c04a39475f631c3811063c68e7e0036902
@@ -3,14 +3,15 @@ language: ruby
3
3
  rvm:
4
4
  - 1.9.3
5
5
  - 2.0.0
6
- - 2.1.0
7
- gemfile:
8
- - gemfiles/gemfile
9
- - gemfiles/actionmailer.3.0.x.gemfile
10
- - gemfiles/actionmailer.3.1.x.gemfile
11
- - gemfiles/actionmailer.3.2.x.gemfile
12
- - gemfiles/actionmailer.4.0.x.gemfile
13
- - gemfiles/actionmailer.4.1.x.gemfile
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
@@ -1,3 +1,5 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
+ gem 'actionmailer', "~> #{ENV['ACTION_MAILER_VERSION']}" if ENV['ACTION_MAILER_VERSION'].to_s != ''
4
+
3
5
  gemspec
data/README.md CHANGED
@@ -1,6 +1,10 @@
1
1
  # mandriller
2
2
 
3
- [![Gem Version](https://badge.fury.io/rb/mandriller.svg)](http://badge.fury.io/rb/mandriller) [![Build Status](https://secure.travis-ci.org/dtaniwaki/mandriller.png)](http://travis-ci.org/dtaniwaki/mandriller) [![Coverage Status](https://coveralls.io/repos/dtaniwaki/mandriller/badge.png)](https://coveralls.io/r/dtaniwaki/mandriller) [![Code Climate](https://codeclimate.com/github/dtaniwaki/mandriller.png)](https://codeclimate.com/github/dtaniwaki/mandriller)
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 {foo: 1, bar: 2}`
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 {foo: 1, bar: 2}`
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
+
@@ -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
- import: 'X-MC-Important',
15
+ important: 'X-MC-Important',
16
16
  }
17
17
  STRING_SETTINGS = {
18
18
  tracking_domain: 'X-MC-TrackingDomain',
@@ -1,3 +1,3 @@
1
1
  module Mandriller
2
- VERSION = '0.1.0'
2
+ VERSION = '0.1.1'
3
3
  end
@@ -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
- import: 'X-MC-Important',
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.0
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-06-30 00:00:00.000000000 Z
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.2.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
@@ -1,4 +0,0 @@
1
- source "http://rubygems.org"
2
-
3
- gem 'actionmailer', '~> 3.0'
4
- gemspec :path => '../'
@@ -1,4 +0,0 @@
1
- source "http://rubygems.org"
2
-
3
- gem 'actionmailer', '~> 3.1'
4
- gemspec :path => '../'
@@ -1,4 +0,0 @@
1
- source "http://rubygems.org"
2
-
3
- gem 'actionmailer', '~> 3.2'
4
- gemspec :path => '../'
@@ -1,4 +0,0 @@
1
- source "http://rubygems.org"
2
-
3
- gem 'actionmailer', '~> 4.0'
4
- gemspec :path => '../'
@@ -1,4 +0,0 @@
1
- source "http://rubygems.org"
2
-
3
- gem 'actionmailer', '~> 4.1'
4
- gemspec :path => '../'
@@ -1,3 +0,0 @@
1
- source "http://rubygems.org"
2
-
3
- gemspec :path => '../'