mail-ses 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f36fa8ab1100cbb6f4fe9702bb821a133a476a3819fd638f9ef92c1abeb99b8b
4
- data.tar.gz: 3e2c95acbc148a29c1a7cb21342d0e4de459ef3ac83e1bfdf8aceb73ad1e1c30
3
+ metadata.gz: a689b342f844767cae3e35b937b0e95bb997d61087989f78f21ed8b48977d318
4
+ data.tar.gz: 989ef38af6e8cf6bd32cfb0ec8dee37ecbf272652609fcca140c169b4f02626f
5
5
  SHA512:
6
- metadata.gz: d8da07c2fd176ec7d44b5944ae1defd6f5406cb83ced2877ab4a7bf8caefe6b91b12a09f4fff084e5efb4c4866f17e2728d0d0a17c21ede5909fedbc1367e963
7
- data.tar.gz: 2d488a916475fc9bfc4d1d206c3f7316e8873d213d3f249267a41abc4549d1d61bbb4fb2bf7bdbef89fde299d8f79022982a33c72fcf25525eb7cbc98289efda
6
+ metadata.gz: d6bb222bc4117cb8136ae3a91e3e2eff7cfff64f2b7b303f7c5d02ca9b6bb298c193006ce6b3f2daadd09df3b8bc27daefe7499a18323247ed3fe17a9ff56667
7
+ data.tar.gz: e7d4b9dbfb1056a6211b16bf5764835e9768b1fb67db77ada7f5fd060c6e9158a22440bfadd83e75ba8be561469bfcd53ffdac876dc034c1481fa6c8395741a7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ### 1.0.4
4
+
5
+ - Fix missing method error related to message headers.
6
+
3
7
  ### 1.0.3
4
8
 
5
9
  - Support UTF-8 chars in from, to, etc addresses.
@@ -50,7 +50,10 @@ module Mail
50
50
  end
51
51
 
52
52
  def extract_value(key)
53
- @message.header[key]&.formatted&.map { |v| encode(v) }
53
+ value = @message.header[key]
54
+ return unless value.respond_to?(:formatted)
55
+
56
+ value.formatted&.map { |v| encode(v) }
54
57
  end
55
58
 
56
59
  def encode(value)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Mail
4
4
  class SES
5
- VERSION = '1.0.3'
5
+ VERSION = '1.0.4'
6
6
  end
7
7
  end
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.3
4
+ version: 1.0.4
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-06-30 00:00:00.000000000 Z
11
+ date: 2022-07-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-sesv2