mailjet 1.4.9 → 1.4.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mailjet/mailer.rb +1 -2
- data/lib/mailjet/resources/newsletter_detailcontent.rb +1 -1
- data/lib/mailjet/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1923126091c4c9c2f1ede8c41fead97b8aa72506
|
4
|
+
data.tar.gz: c6e775d463707561520dd360d21dee3943561036
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fa278e56a7fd3b20d53f0a3f54c76fdca25c9f90406ef05bda81f912d7763838c90bf525126e3bbc68b36313c03ec47b40e1fe4349010d25a4f20ca00cfb4937
|
7
|
+
data.tar.gz: f99039fd768ff147c9a7f5bf1b9b935090558b6b501596d22fd1fa6f70e73e99656ff063c918067b7bb6d005d4ad5f254e9c8aabfba3eb5fe67bfd113f6d8022
|
data/lib/mailjet/mailer.rb
CHANGED
@@ -82,8 +82,7 @@ class Mailjet::APIMailer
|
|
82
82
|
content[:headers]['Reply-To'] = mail.reply_to.join(', ') if mail.reply_to
|
83
83
|
|
84
84
|
# Mailjet Send API does not support full from. Splitting the from field into two: name and email address
|
85
|
-
if Mailjet.config.default_from.present?
|
86
|
-
# from_address = Mail::AddressList.new(Mailjet.config.default_from).addresses[0]
|
85
|
+
if mail[:from].nil? && Mailjet.config.default_from.present?
|
87
86
|
mail[:from] = Mailjet.config.default_from
|
88
87
|
end
|
89
88
|
|
@@ -4,7 +4,7 @@ module Mailjet
|
|
4
4
|
class Newsletter_detailcontent
|
5
5
|
include Mailjet::Resource
|
6
6
|
self.action = "detailcontent"
|
7
|
-
self.resource_path = "v3/REST/
|
7
|
+
self.resource_path = "v3/REST/newsletter/id/#{self.action}"
|
8
8
|
self.public_operations = [:get, :post]
|
9
9
|
self.filters = []
|
10
10
|
self.resourceprop = [:text_part, :html_part, :headers, :mjml_content]
|
data/lib/mailjet/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mailjet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tyler Nappy
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2016-
|
14
|
+
date: 2016-09-01 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: activesupport
|
@@ -384,7 +384,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
384
384
|
version: '0'
|
385
385
|
requirements: []
|
386
386
|
rubyforge_project:
|
387
|
-
rubygems_version: 2.4.
|
387
|
+
rubygems_version: 2.4.8
|
388
388
|
signing_key:
|
389
389
|
specification_version: 4
|
390
390
|
summary: Mailjet a powerful all-in-one email service provider clients can use to get
|