mailpace-rails 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mailpace-rails/version.rb +1 -1
- data/lib/mailpace-rails.rb +4 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e7ce7e73655598e9e849f7c5fae4c7f29252d42a2850531ee0c536c765ae9fcf
|
4
|
+
data.tar.gz: 825cdef3a2e02c9586341b7c916fd5a29ce74c7046d4ad6d19d601f2a73411f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bb6ff09788626e00abf53fe9f361df3f716afa7da25e758b819757a17b48d9d03493884c0807bdb61999baa6a57f7e24840ccdd2b07b1b31b381e4cf9fa995ef
|
7
|
+
data.tar.gz: ddce320b5a453eb67f6167069bb40ec6be315287fa833fcdac0dd603b3db69f97c22113a4775c7e795f07114f974cea0ee013653dc8c0dff7a9ce9e6eb566548
|
data/lib/mailpace-rails.rb
CHANGED
@@ -41,9 +41,10 @@ module Mailpace
|
|
41
41
|
'User-Agent' => "MailPace Rails Gem v#{Mailpace::Rails::VERSION}",
|
42
42
|
'Accept' => 'application/json',
|
43
43
|
'Content-Type' => 'application/json',
|
44
|
-
'Mailpace-Server-Token' => settings[:api_token]
|
45
|
-
|
46
|
-
|
44
|
+
'Mailpace-Server-Token' => settings[:api_token]
|
45
|
+
}.tap do |h|
|
46
|
+
h['Idempotency-Key'] = mail.header['idempotency_key'].to_s if mail.header['idempotency_key']
|
47
|
+
end
|
47
48
|
)
|
48
49
|
|
49
50
|
handle_response(result)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mailpace-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- MailPace
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-10-
|
11
|
+
date: 2024-10-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionmailer
|