mail-ses 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/mail/ses/options_builder.rb +8 -2
- data/lib/mail/ses/version.rb +1 -1
- 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: f01ada56fdcbda459f4d85745571339e0ab9d63a8f2d7dd1f008a35318546825
|
4
|
+
data.tar.gz: fd369c9a8fcccadb8e367db16a9d35f49ecdabec33a24fd6690d8976df24b658
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d4e9425b4e22b396b97f172758bfeb1de71512cb5360c4e5372d24da512ca43a0adb787aea556aac8c497f83c10b6abdd457707a022e62897723a10e79ff74e8
|
7
|
+
data.tar.gz: 49818a9754ffe39a54e7de1e79f229d17d7db679c52223d84ab562cc74b6e7b28f7b257df29e668af4925b5ac7dd0e8afa8e7e4297a6c0a1bc4847537711aac0
|
data/CHANGELOG.md
CHANGED
@@ -51,9 +51,15 @@ module Mail
|
|
51
51
|
|
52
52
|
def extract_value(key)
|
53
53
|
value = @message.header[key]
|
54
|
-
return unless value
|
54
|
+
return unless value
|
55
55
|
|
56
|
-
value.formatted
|
56
|
+
if value.respond_to?(:formatted)
|
57
|
+
value.formatted
|
58
|
+
elsif value.respond_to?(:unparsed_value)
|
59
|
+
Array(value.unparsed_value)
|
60
|
+
else
|
61
|
+
[]
|
62
|
+
end&.map { |v| encode(v) }
|
57
63
|
end
|
58
64
|
|
59
65
|
def encode(value)
|
data/lib/mail/ses/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mail-ses
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Johnny Shields
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-07-
|
11
|
+
date: 2022-07-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-sesv2
|