mailjet 1.7.9 → 1.7.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mailjet/exception/errors.rb +3 -0
- data/lib/mailjet/mailer.rb +1 -1
- data/lib/mailjet/resources/contact.rb +0 -5
- data/lib/mailjet/resources/listrecipient.rb +2 -1
- data/lib/mailjet/version.rb +1 -1
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7750315aa012f4278b2ec45974bd121b1046508d8053fee6badd0e5e1ca70b8a
|
4
|
+
data.tar.gz: 19c8881562660013847bab88693e4c16da7e4ed4d570a447b8cb8dcf74a3d202
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 211eec2f72044b08503ac7e987db39d3414d20f3dd42fd2761f4d05e49928c960bd8ff60ab16a1885fedc265b6cd711b7d6e627a13261ff957d527fc3ea1828c
|
7
|
+
data.tar.gz: 9f9f68d47df7a8a4435694a733bd8ef76f6e743987dafaeeddaf476c04283fbc5dd287d8e333a4220099a5d4ee3d9b23a487dd0a84e29a81410b58d8e77400fb
|
data/lib/mailjet/mailer.rb
CHANGED
@@ -5,20 +5,15 @@ module Mailjet
|
|
5
5
|
self.public_operations = [:get, :put, :post]
|
6
6
|
self.filters = [:campaign, :contacts_list, :is_unsubscribed, :last_activity_at, :recipient, :status]
|
7
7
|
self.resourceprop = [
|
8
|
-
:created_at,
|
9
8
|
:delivered_count,
|
10
9
|
:email,
|
11
10
|
:id,
|
12
11
|
:is_opt_in_pending,
|
13
12
|
:is_spam_complaining,
|
14
|
-
:last_activity_at,
|
15
|
-
:last_update_at,
|
16
13
|
:name,
|
17
|
-
:unsubscribed_at,
|
18
14
|
:unsubscribed_by,
|
19
15
|
:is_excluded_from_campaigns
|
20
16
|
]
|
21
17
|
self.read_only_attributes = [:created_at, :last_activity_at, :last_update_at, :unsubscribed_at]
|
22
|
-
|
23
18
|
end
|
24
19
|
end
|
@@ -4,7 +4,8 @@ module Mailjet
|
|
4
4
|
self.resource_path = 'REST/listrecipient'
|
5
5
|
self.public_operations = [:get, :put, :post, :delete]
|
6
6
|
self.filters = [:active, :blocked, :contact, :contact_email, :contacts_list, :last_activity_at, :list_name, :opened, :status, :unsub]
|
7
|
-
self.resourceprop = [:contact, :id, :is_active, :is_unsubscribed, :list, :
|
7
|
+
self.resourceprop = [:contact, :id, :is_active, :is_unsubscribed, :list, :contact_id, :list_id, 'ContactID', 'ListID', 'ContactALT', 'ListALT']
|
8
8
|
|
9
|
+
self.read_only_attributes = [:subscribed_at, :unsubscribed_at]
|
9
10
|
end
|
10
11
|
end
|
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.7.
|
4
|
+
version: 1.7.11
|
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: 2024-
|
14
|
+
date: 2024-05-01 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: activesupport
|
@@ -97,6 +97,20 @@ dependencies:
|
|
97
97
|
- - ">="
|
98
98
|
- !ruby/object:Gem::Version
|
99
99
|
version: '0'
|
100
|
+
- !ruby/object:Gem::Dependency
|
101
|
+
name: json
|
102
|
+
requirement: !ruby/object:Gem::Requirement
|
103
|
+
requirements:
|
104
|
+
- - ">="
|
105
|
+
- !ruby/object:Gem::Version
|
106
|
+
version: '0'
|
107
|
+
type: :development
|
108
|
+
prerelease: false
|
109
|
+
version_requirements: !ruby/object:Gem::Requirement
|
110
|
+
requirements:
|
111
|
+
- - ">="
|
112
|
+
- !ruby/object:Gem::Version
|
113
|
+
version: '0'
|
100
114
|
- !ruby/object:Gem::Dependency
|
101
115
|
name: webmock
|
102
116
|
requirement: !ruby/object:Gem::Requirement
|