truemail 2.3.3 → 2.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/{circle.yml → .circleci/config.yml} +0 -0
- data/CHANGELOG.md +10 -0
- data/Gemfile.lock +1 -1
- data/README.md +3 -3
- data/lib/truemail/core.rb +1 -1
- data/lib/truemail/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9a738f1fd2c236927014ba6a2303921ae8a90f33866bc4bc58e95fd8c8061e71
|
4
|
+
data.tar.gz: 43c708aa1253358616601ffce03a9ba743eb44ba428d47c67b02ea13712dea26
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f9546a0c5c6db1e8653536f084e746bd98d48454c9b8ff7c05a23c2551315b500ed2d6be55d050f4f5ba4d1794107330453dd6b5a346e3a20feb432aeb47d5e3
|
7
|
+
data.tar.gz: 5b955a25e540ef7330360e8b8b8ce65b02eea78af89d6f1f288c9db2e83122ea7894f33df1772e126107a63911e7cca20dd671ba22c2c1db9f519da50b2855c1
|
File without changes
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,16 @@
|
|
2
2
|
|
3
3
|
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).
|
4
4
|
|
5
|
+
## [2.3.4] - 2021.04.16
|
6
|
+
|
7
|
+
### Fixed
|
8
|
+
|
9
|
+
Fixed bug with impossibility to use valid dns port number. Now validation for dns port for range `1..65535` works as expected.
|
10
|
+
|
11
|
+
- Updated `Truemail::RegexConstant::REGEX_PORT_NUMBER`, tests
|
12
|
+
- Updated gem documentation
|
13
|
+
- CircleCI config moved to `.circleci/config.yml`
|
14
|
+
|
5
15
|
## [2.3.3] - 2021.04.14
|
6
16
|
|
7
17
|
### Changed
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -203,9 +203,9 @@ Truemail.configure do |config|
|
|
203
203
|
config.blacklisted_domains = ['somedomain1.com', 'somedomain2.com']
|
204
204
|
|
205
205
|
# Optional parameter. This option will provide to use custom DNS gateway when Truemail
|
206
|
-
# interacts with DNS. If you won't specify
|
207
|
-
# DNS TCP/UDP port 53. By default Truemail
|
208
|
-
# and this option is equal to empty array.
|
206
|
+
# interacts with DNS. Valid port numbers are in the range 1-65535. If you won't specify
|
207
|
+
# nameserver's ports Truemail will use default DNS TCP/UDP port 53. By default Truemail
|
208
|
+
# uses DNS gateway from system settings and this option is equal to empty array.
|
209
209
|
config.dns = ['10.0.0.1', '10.0.0.2:54']
|
210
210
|
|
211
211
|
# Optional parameter. This option will provide to use not RFC MX lookup flow.
|
data/lib/truemail/core.rb
CHANGED
@@ -24,7 +24,7 @@ module Truemail
|
|
24
24
|
REGEX_DOMAIN_PATTERN = /(?=\A.{4,255}\z)(\A#{REGEX_DOMAIN}\z)/.freeze
|
25
25
|
REGEX_DOMAIN_FROM_EMAIL = /\A.+@(.+)\z/.freeze
|
26
26
|
REGEX_SMTP_ERROR_BODY_PATTERN = /(?=.*550)(?=.*(user|account|customer|mailbox)).*/i.freeze
|
27
|
-
REGEX_PORT_NUMBER = /
|
27
|
+
REGEX_PORT_NUMBER = /6553[0-5]|655[0-2]\d|65[0-4](\d){2}|6[0-4](\d){3}|[1-5](\d){4}|[1-9](\d){0,3}/.freeze
|
28
28
|
REGEX_DNS_SERVER_ADDRESS_PATTERN = /\A((1\d|[1-9]|2[0-4])?\d|25[0-5])(\.\g<1>){3}(:#{REGEX_PORT_NUMBER})?\z/.freeze
|
29
29
|
end
|
30
30
|
|
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: 2.3.
|
4
|
+
version: 2.3.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vladislav Trotsenko
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-04-
|
11
|
+
date: 2021-04-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: simpleidn
|
@@ -306,6 +306,7 @@ executables: []
|
|
306
306
|
extensions: []
|
307
307
|
extra_rdoc_files: []
|
308
308
|
files:
|
309
|
+
- ".circleci/config.yml"
|
309
310
|
- ".codeclimate.yml"
|
310
311
|
- ".github/BRANCH_NAMING_CONVENTION.md"
|
311
312
|
- ".github/ISSUE_TEMPLATE/bug_report.md"
|
@@ -330,7 +331,6 @@ files:
|
|
330
331
|
- Rakefile
|
331
332
|
- bin/console
|
332
333
|
- bin/setup
|
333
|
-
- circle.yml
|
334
334
|
- lib/truemail.rb
|
335
335
|
- lib/truemail/audit/base.rb
|
336
336
|
- lib/truemail/audit/dns.rb
|