mailgun_rails 0.6.1 → 0.6.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b8442f784a078f998b60721f8bd27e36b721268d
4
- data.tar.gz: 443ba4623d73fbb640d4ca6ad03ad452a03f3686
3
+ metadata.gz: 3f133bcb89e60c9999821e315f9f79c5cace8901
4
+ data.tar.gz: b1e601ed8a9d7b3b4cbfad69b54eb7d4dd13d8e0
5
5
  SHA512:
6
- metadata.gz: 36583fe731d40f2d1105d788249857baaa599edf1fb9fb0f3e1d4720b132246331f707d5ec5badefc47313195f338cf9edc62a643658f9f2c956bd67ec5fba82
7
- data.tar.gz: 293e91ac0ce93b4dc4a64fe01da3a5973d6a281ab6c9ee99cf680a39347cd81973ffb42738c6a10b5e461093a57e23502a887763ed60204586a3466232e0f800
6
+ metadata.gz: 79a2d035f5a111cd6c2f5f0fafdde88a301c550017023410384e18c7fae582b66739fdb741ea25c59d4f3701cf3be890a459fd7c7518c3161f55b9e414673808
7
+ data.tar.gz: 64e9ea1ea0e9736980c4ab915494199149d79c2b6270a9bf2066982e08c37cc0570a324bd66826d4f6b6b3b37a3b1193f5a17b0392612d8cec959138a8fdc169
@@ -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.reply_to.first
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
@@ -1,3 +1,3 @@
1
1
  module Mailgun
2
- VERSION = "0.6.1"
2
+ VERSION = "0.6.2"
3
3
  end
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.1
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-08-03 00:00:00.000000000 Z
11
+ date: 2014-09-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails