truemail 2.0.2 → 2.1.0

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: 6345fef51d5f38efde3065b8edb6d777f7c0cf9aec7a44b073da86bce5943c6a
4
- data.tar.gz: 6e55b56b4cb92143059ccd3263739e724ea29f118943546d6464af248951d0c6
3
+ metadata.gz: c97288083bd45ad7d2c72816ee979f166795806193a7df46a43a4a9b9e657cef
4
+ data.tar.gz: 0e332a857d8639513d71c1876de23406f6ec531174d40fbd160cedc3fcc443f1
5
5
  SHA512:
6
- metadata.gz: 451d5ee34a5eb52e5451017210bf6c4c5fe213f44cf7bc8b66221ab31fa202c682ecad99f810c571f430f4da0fa0c981958db694e929407ad268201bb60c0652
7
- data.tar.gz: 4210cf723bd90843ccf7d806b07563b4eff7bece40d361e35897316bb5c779eedd8a82e60d46948a0f419ea9ee5ed2bfc80fc67a4384dcc47de85d25326609ac
6
+ metadata.gz: c7ee9a4a07c04e44b8db3ab346ce190bbaf441cf7e68202cd60b3766c4fd3cf1f9003a7d4d35023a8b87d7864be4d2d8f01580ab4cd291f3e265107e9a947455
7
+ data.tar.gz: c8ec35b9b9491853303a5c49c2bfdd06111ff713c710f3058178c691daa55d9b8ff75bdd47099c91b30bd2d90bdd4b5f4fd35077fd4adcb0578cdae9909066a6
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: Bug report
3
3
  about: Create a report to help us improve
4
- title: [BUG]
4
+ title: "[BUG] Your bug report title here"
5
5
  labels: bug
6
6
  assignees: bestwebua
7
7
 
@@ -16,6 +16,8 @@ assignees: bestwebua
16
16
  - [ ] I have read the [documentation](https://truemail-rb.org/truemail-gem)
17
17
  - [ ] I have searched for [existing GitHub issues](https://github.com/truemail-rb/truemail/issues)
18
18
 
19
+ <!-- Please use next pattern for your bug report title: [BUG] Your bug report title here -->
20
+
19
21
  ### Bug description
20
22
  <!-- Please include what's happening, expected behavior, and any relevant code samples -->
21
23
 
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: Feature request
3
3
  about: Suggest an idea for Truemail
4
- title: [FEATURE]
4
+ title: "[FEATURE] Your feature request title here"
5
5
  labels: enhancement
6
6
  assignees: bestwebua
7
7
 
@@ -16,6 +16,8 @@ assignees: bestwebua
16
16
  - [ ] I have read the [documentation](https://truemail-rb.org/truemail-gem)
17
17
  - [ ] I have searched for [existing GitHub issues](https://github.com/truemail-rb/truemail/issues)
18
18
 
19
+ <!-- Please use next pattern for your feature request title: [FEATURE] Your feature request title here -->
20
+
19
21
  ### Feature description
20
22
 
21
23
  <!-- Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: Issue report
3
3
  about: Create a report to help us improve
4
- title: [ISSUE]
4
+ title: "[ISSUE] Your issue report title here"
5
5
  labels: ''
6
6
  assignees: bestwebua
7
7
 
@@ -16,6 +16,8 @@ assignees: bestwebua
16
16
  - [ ] I have read the [documentation](https://truemail-rb.org/truemail-gem)
17
17
  - [ ] I have searched for [existing GitHub issues](https://github.com/truemail-rb/truemail/issues)
18
18
 
19
+ <!-- Please use next pattern for your issue report title: [ISSUE] Your issue report title here -->
20
+
19
21
  ### Issue description
20
22
  <!-- Please include what's happening, expected behavior, and any relevant code samples -->
21
23
 
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: Question
3
3
  about: Ask your question to Truemail team
4
- title: [QUESTION]
4
+ title: "[QUESTION] Your question title here"
5
5
  labels: question
6
6
  assignees: bestwebua
7
7
 
@@ -15,6 +15,8 @@ assignees: bestwebua
15
15
  - [ ] I have read the [documentation](https://truemail-rb.org/truemail-gem)
16
16
  - [ ] I have searched for [existing GitHub issues](https://github.com/truemail-rb/truemail/issues)
17
17
 
18
+ <!-- Please use next pattern for your question title: [QUESTION] Your question title here -->
19
+
18
20
  ### Question
19
21
 
20
22
  <!-- Your question context here -->
@@ -2,6 +2,14 @@
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.1.0] - 2020.11.21
6
+
7
+ Collecting only unique ip-addresses for target mail servers. This update should reduce email validation time for case when remote server have closed connection via avoiding connection attempt to server with the same ip address.
8
+
9
+ ### Changed
10
+
11
+ - Updated `Truemail::Validate::Mx#fetch_target_hosts`
12
+
5
13
  ## [2.0.2] - 2020.11.14
6
14
 
7
15
  ### Fixed
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- truemail (2.0.2)
4
+ truemail (2.1.0)
5
5
  simpleidn (~> 0.1.1)
6
6
 
7
7
  GEM
@@ -30,7 +30,7 @@ module Truemail
30
30
  end
31
31
 
32
32
  def fetch_target_hosts(hosts)
33
- mail_servers.push(*hosts)
33
+ mail_servers.push(*(hosts.uniq - mail_servers))
34
34
  end
35
35
 
36
36
  def null_mx?(domain_mx_records)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Truemail
4
- VERSION = '2.0.2'
4
+ VERSION = '2.1.0'
5
5
  end
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.0.2
4
+ version: 2.1.0
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-11-14 00:00:00.000000000 Z
11
+ date: 2020-11-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: simpleidn