mail-ses 1.0.0 → 1.0.1

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: 5076a7ce9398b8272a112f6ef1c3617459147ce22a1c9086f7c5e27dfa0b537d
4
- data.tar.gz: 97cb25004d481a9d9c8129db9248513b4ff08c6b68a298c307a137210554fff6
3
+ metadata.gz: 85feb11fd75e0a0af6ccc3c6a2d9711a48e9444db1fb2bec25f407a7388da165
4
+ data.tar.gz: d32dd2fe4aa147b3d1a08b1d65aa4cf92ce4001fd6318e23b9d05f0a7c97433a
5
5
  SHA512:
6
- metadata.gz: 3fe5da3cc1004f2dd7c05a7ce444c8c0453b1c599b4066085b1673f30fd75b475184168a2cc585e59eaebed9a032195c1d67253bbf29b6a9fbb396eb3b849cdc
7
- data.tar.gz: 5847f439fa23d06aea8c1af63b4514ff0c90b1d4012c2919a6ebef05d2f31ec5563b0cd02945e0df03018f72a054883b328a21283c380af5ab2226a6a082fba6
6
+ metadata.gz: 66f8925d0f8f0cc657b0fcb26868d1ee57010360747e5782f8126f28a5054004a6a20a5d3358608617eb900d5429adebbe16e0eaa9b98567f3ad048b806743c9
7
+ data.tar.gz: 339a15c00b6664a1266a3ea7dbe390ad684a434785fcc4670cb1f0a8c5b9409d3a7cc26892cf4c5d88a639c32c64671b1c56d224ec7ef9cc66188c9326b30506
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ### 1.0.1
4
+
5
+ - Add compatibility with Mail gem 2.8.0.
6
+
3
7
  ### 1.0.0
4
8
 
5
9
  - BREAKING CHANGE: Upgrade to AWS Ruby SDK v3 - SESv2 API ([@khrvi](https://github.com/khrvi))
@@ -25,7 +25,11 @@ module Mail
25
25
  end
26
26
 
27
27
  def validate_delivery_params
28
- Mail::CheckDeliveryParams.check(@message)
28
+ if defined?(Mail::CheckDeliveryParams) # mail gem < 2.7.0
29
+ Mail::CheckDeliveryParams.check(@message)
30
+ elsif defined?(Mail::SmtpEnvelope) # mail gem >= 2.8.0
31
+ Mail::SmtpEnvelope.new(@message)
32
+ end
29
33
  end
30
34
 
31
35
  def validate_attachments
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Mail
4
4
  class SES
5
- VERSION = '1.0.0'
5
+ VERSION = '1.0.1'
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.0
4
+ version: 1.0.1
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-22 00:00:00.000000000 Z
11
+ date: 2022-06-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-sesv2
@@ -142,7 +142,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
142
142
  - !ruby/object:Gem::Version
143
143
  version: '0'
144
144
  requirements: []
145
- rubygems_version: 3.2.3
145
+ rubygems_version: 3.3.13
146
146
  signing_key:
147
147
  specification_version: 4
148
148
  summary: Ruby Mail delivery method handler for Amazon SES