mailgun_rails 0.6.1 → 0.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mailgun/deliverer.rb +2 -2
- data/lib/mailgun/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3f133bcb89e60c9999821e315f9f79c5cace8901
|
4
|
+
data.tar.gz: b1e601ed8a9d7b3b4cbfad69b54eb7d4dd13d8e0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 79a2d035f5a111cd6c2f5f0fafdde88a301c550017023410384e18c7fae582b66739fdb741ea25c59d4f3701cf3be890a459fd7c7518c3161f55b9e414673808
|
7
|
+
data.tar.gz: 64e9ea1ea0e9736980c4ab915494199149d79c2b6270a9bf2066982e08c37cc0570a324bd66826d4f6b6b3b37a3b1193f5a17b0392612d8cec959138a8fdc169
|
data/lib/mailgun/deliverer.rb
CHANGED
@@ -40,9 +40,9 @@ module Mailgun
|
|
40
40
|
{:from => rails_message[:from].formatted, :to => rails_message[:to].formatted, :subject => rails_message.subject,
|
41
41
|
:html => extract_html(rails_message), :text => extract_text(rails_message)}
|
42
42
|
end
|
43
|
-
|
43
|
+
|
44
44
|
def transform_reply_to(rails_message, mailgun_message)
|
45
|
-
mailgun_message['h:Reply-To'] = rails_message
|
45
|
+
mailgun_message['h:Reply-To'] = rails_message[:reply_to].formatted.first
|
46
46
|
end
|
47
47
|
|
48
48
|
# @see http://stackoverflow.com/questions/4868205/rails-mail-getting-the-body-as-plain-text
|
data/lib/mailgun/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mailgun_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jorge Manrubia
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-09-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|