mailgunner 3.2.0 → 3.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES.md +10 -0
- data/LICENSE.txt +1 -1
- data/README.md +1 -1
- data/lib/mailgunner/delivery_method.rb +10 -2
- data/lib/mailgunner/railtie.rb +1 -1
- data/lib/mailgunner/version.rb +1 -1
- data/mailgunner.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 710f8d7a57375739abe0a86b8593fce280d816db9b4714e88c3d72813674314e
|
4
|
+
data.tar.gz: 26dc907da5afb3955fccf1c0973d116fa7a899a87f933fea96b9f7833c908c64
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9775c97eaa7562e235a289bb3017e7712edb0f4ac921fdd0479e0bfc34df98313721d6b77de3988c8d52f42396d043ecf2ed6f828da3c959274e401ecf0b3a1b
|
7
|
+
data.tar.gz: 526a146c51827c7cdcf5d792073fd200ed0515eb576e71b4bb76146758f60bfc862fd9bf282644261fd63ac6efb0a2d39667a07ab84afe980a22e1bad6fe334b
|
data/CHANGES.md
CHANGED
data/LICENSE.txt
CHANGED
data/README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# mailgunner
|
2
2
|
|
3
3
|
![Gem Version](https://badge.fury.io/rb/mailgunner.svg)
|
4
|
-
![
|
4
|
+
![Test Status](https://github.com/readysteady/mailgunner/actions/workflows/test.yml/badge.svg)
|
5
5
|
|
6
6
|
|
7
7
|
Ruby client for the [Mailgun API](https://documentation.mailgun.com/en/latest/api_reference.html).
|
@@ -1,4 +1,8 @@
|
|
1
|
-
|
1
|
+
begin
|
2
|
+
require 'mail/smtp_envelope'
|
3
|
+
rescue LoadError
|
4
|
+
require 'mail/check_delivery_params'
|
5
|
+
end
|
2
6
|
|
3
7
|
module Mailgunner
|
4
8
|
# @private
|
@@ -18,7 +22,11 @@ module Mailgunner
|
|
18
22
|
|
19
23
|
private
|
20
24
|
|
21
|
-
if Mail::
|
25
|
+
if defined?(Mail::SmtpEnvelope) # mail v2.8.0+
|
26
|
+
def check(mail)
|
27
|
+
Mail::SmtpEnvelope.new(mail)
|
28
|
+
end
|
29
|
+
elsif Mail::CheckDeliveryParams.respond_to?(:check) # mail v2.6.6+
|
22
30
|
def check(mail)
|
23
31
|
Mail::CheckDeliveryParams.check(mail)
|
24
32
|
end
|
data/lib/mailgunner/railtie.rb
CHANGED
data/lib/mailgunner/version.rb
CHANGED
data/mailgunner.gemspec
CHANGED
@@ -17,6 +17,6 @@ Gem::Specification.new do |s|
|
|
17
17
|
'homepage' => 'https://github.com/readysteady/mailgunner',
|
18
18
|
'source_code_uri' => 'https://github.com/readysteady/mailgunner',
|
19
19
|
'bug_tracker_uri' => 'https://github.com/readysteady/mailgunner/issues',
|
20
|
-
'changelog_uri' => 'https://github.com/readysteady/mailgunner/blob/
|
20
|
+
'changelog_uri' => 'https://github.com/readysteady/mailgunner/blob/main/CHANGES.md'
|
21
21
|
}
|
22
22
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mailgunner
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tim Craft
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-11-01 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Ruby client for the Mailgun API
|
14
14
|
email:
|
@@ -48,7 +48,7 @@ metadata:
|
|
48
48
|
homepage: https://github.com/readysteady/mailgunner
|
49
49
|
source_code_uri: https://github.com/readysteady/mailgunner
|
50
50
|
bug_tracker_uri: https://github.com/readysteady/mailgunner/issues
|
51
|
-
changelog_uri: https://github.com/readysteady/mailgunner/blob/
|
51
|
+
changelog_uri: https://github.com/readysteady/mailgunner/blob/main/CHANGES.md
|
52
52
|
post_install_message:
|
53
53
|
rdoc_options: []
|
54
54
|
require_paths:
|
@@ -64,7 +64,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
64
64
|
- !ruby/object:Gem::Version
|
65
65
|
version: '0'
|
66
66
|
requirements: []
|
67
|
-
rubygems_version: 3.
|
67
|
+
rubygems_version: 3.4.10
|
68
68
|
signing_key:
|
69
69
|
specification_version: 4
|
70
70
|
summary: Ruby client for the Mailgun API
|