truemail 1.7.0 → 1.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +49 -1
- data/Gemfile.lock +1 -1
- data/README.md +3 -1
- data/lib/truemail/log/serializer/base.rb +1 -0
- data/lib/truemail/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: '08c2fc87715dca966f6671f6b1d58d58e9d411bb01ae460ff31a34125d8f4a14'
|
|
4
|
+
data.tar.gz: 30ef54377bce7d03294e73dafbbb9d637ed8d6e55dfbf0931768a1246837b45d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9ef76732a55fb837e0f0eeb77da337a34b5b019e9f774debc777f5a4155c4a7ba6640ca245e106c90dd560814f87870513664a601986518e4f23399b1351ce56
|
|
7
|
+
data.tar.gz: 203da733353f7377bda0527d6f330281c1d8357b6e65ba384c3f80decfcc8cdbf2cec8b6f80a31aa967e22bfa9e4afa16c77d576412848f397ba91cfb2035e8e
|
data/CHANGELOG.md
CHANGED
|
@@ -1,11 +1,59 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
3
3
|
|
|
4
|
+
## [1.7.1] - 2020.05.10
|
|
5
|
+
|
|
6
|
+
## Added
|
|
7
|
+
|
|
8
|
+
- Ability to show `not_rfc_mx_lookup_flow` attribute in serialized validation result
|
|
9
|
+
|
|
10
|
+
```ruby
|
|
11
|
+
Truemail.validate('nonexistent_email@bestweb.com.ua').as_json
|
|
12
|
+
|
|
13
|
+
=>
|
|
14
|
+
# Serialized Truemail::Validator instance
|
|
15
|
+
{
|
|
16
|
+
"date": "2020-05-10 10:00:00 +0200",
|
|
17
|
+
"email": "nonexistent_email@bestweb.com.ua",
|
|
18
|
+
"validation_type": "smtp",
|
|
19
|
+
"success": false,
|
|
20
|
+
"errors": {
|
|
21
|
+
"smtp": "smtp error"
|
|
22
|
+
},
|
|
23
|
+
"smtp_debug": [
|
|
24
|
+
{
|
|
25
|
+
"mail_host": "213.180.193.89",
|
|
26
|
+
"port_opened": true,
|
|
27
|
+
"connection": true,
|
|
28
|
+
"errors": {
|
|
29
|
+
"rcptto": "550 5.7.1 No such user!\n"
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
],
|
|
33
|
+
"configuration": {
|
|
34
|
+
"validation_type_by_domain": null,
|
|
35
|
+
"whitelist_validation": false,
|
|
36
|
+
"whitelisted_domains": null,
|
|
37
|
+
"blacklisted_domains": null,
|
|
38
|
+
"not_rfc_mx_lookup_flow": false,
|
|
39
|
+
"smtp_safe_check": false,
|
|
40
|
+
"email_pattern": "default gem value",
|
|
41
|
+
"smtp_error_body_pattern": "default gem value"
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
### Changed
|
|
47
|
+
|
|
48
|
+
- `Truemail::Log::Serializer::Base`
|
|
49
|
+
- `Truemail::VERSION`
|
|
50
|
+
- gem documentation
|
|
51
|
+
|
|
4
52
|
## [1.7.0] - 2020.05.09
|
|
5
53
|
|
|
6
54
|
## Added
|
|
7
55
|
|
|
8
|
-
-
|
|
56
|
+
- Ability to use not RFC MX lookup flow (MX and Null MX records will be checked on the DNS validation layer only)
|
|
9
57
|
|
|
10
58
|
```ruby
|
|
11
59
|
Truemail.configure do |config|
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
|
@@ -941,6 +941,7 @@ Truemail::Log::Serializer::Json.call(Truemail.validate('nonexistent_email@bestwe
|
|
|
941
941
|
"whitelist_validation": false,
|
|
942
942
|
"whitelisted_domains": null,
|
|
943
943
|
"blacklisted_domains": null,
|
|
944
|
+
"not_rfc_mx_lookup_flow": false,
|
|
944
945
|
"smtp_safe_check": false,
|
|
945
946
|
"email_pattern": "default gem value",
|
|
946
947
|
"smtp_error_body_pattern": "default gem value"
|
|
@@ -1026,7 +1027,7 @@ Truemail.validate('nonexistent_email@bestweb.com.ua').as_json
|
|
|
1026
1027
|
=>
|
|
1027
1028
|
# Serialized Truemail::Validator instance
|
|
1028
1029
|
{
|
|
1029
|
-
"date": "2020-
|
|
1030
|
+
"date": "2020-05-10 10:00:00 +0200",
|
|
1030
1031
|
"email": "nonexistent_email@bestweb.com.ua",
|
|
1031
1032
|
"validation_type": "smtp",
|
|
1032
1033
|
"success": false,
|
|
@@ -1048,6 +1049,7 @@ Truemail.validate('nonexistent_email@bestweb.com.ua').as_json
|
|
|
1048
1049
|
"whitelist_validation": false,
|
|
1049
1050
|
"whitelisted_domains": null,
|
|
1050
1051
|
"blacklisted_domains": null,
|
|
1052
|
+
"not_rfc_mx_lookup_flow": false,
|
|
1051
1053
|
"smtp_safe_check": false,
|
|
1052
1054
|
"email_pattern": "default gem value",
|
|
1053
1055
|
"smtp_error_body_pattern": "default gem value"
|
|
@@ -67,6 +67,7 @@ module Truemail
|
|
|
67
67
|
whitelist_validation: validation_configuration.whitelist_validation,
|
|
68
68
|
whitelisted_domains: whitelisted_domains,
|
|
69
69
|
blacklisted_domains: blacklisted_domains,
|
|
70
|
+
not_rfc_mx_lookup_flow: validation_configuration.not_rfc_mx_lookup_flow,
|
|
70
71
|
smtp_safe_check: validation_configuration.smtp_safe_check,
|
|
71
72
|
email_pattern: email_pattern,
|
|
72
73
|
smtp_error_body_pattern: smtp_error_body_pattern
|
data/lib/truemail/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: truemail
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.7.
|
|
4
|
+
version: 1.7.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Vladislav Trotsenko
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-05-
|
|
11
|
+
date: 2020-05-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: simpleidn
|