valid_email2 3.6.1 → 4.0.2

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: 6e84cd1fd63d5212b95f59a0a5f690a741a359cc9b15e21ff1b2e531f13dc5df
4
- data.tar.gz: d1625475d747e36ab893733330b5c5d359f059290d0c153ec6f4d3c5ad2c77f8
3
+ metadata.gz: 9202aeb3fc3a9c0d76d79287280cd327ee7ce58e6d0186169c710659f16a7d28
4
+ data.tar.gz: 308d7592fc5ae82e5d7d9d9361651994bb5cb774bb6c3c517e16a792c1cdfcaa
5
5
  SHA512:
6
- metadata.gz: c5ba5da24f452053b31658e666f31e6b6ddf1607a59a2ed98b4e13f4f681838573ca8b3b02a29ecb2b8571d460cc1b7c08f96b1b59d91cdec5c02746a0774fbd
7
- data.tar.gz: 1f446cae5d6ab54ad37ac56351f67519e48bf65468ebd2edc412afa8dce45d128ab2b5d0673f345eed84be61bc62300567c55b33089fc10f5d9a1c78012715b6
6
+ metadata.gz: 769ec92822cb6e89062e8203008e38bb7a87a4bc56aaffc7cd173927c0511078c3fdf61501997eac00415936ae7342c76e805b5e2228b0df999fee0e7c7c67ef
7
+ data.tar.gz: 9f642433458c1a7f54ca6ee2631221d072e8cf531e17d98cd370dc1fa45e065b6bda3a14f66df3c974b68ab397c707340224c5ec6956e806f623531fc60ee94c
data/CHANGELOG.md CHANGED
@@ -1,3 +1,19 @@
1
+ ## Version 4.0.2
2
+ * Remove false positive (freemail.hu) #187
3
+ * Pull new domains
4
+
5
+ ## Version 4.0.1
6
+ * Remove false positives (onit.com, asics.com)
7
+ * Pull new domains
8
+
9
+ ## Version 4.0.0
10
+ * Support setting a timout for DNS lookups and default to 5 seconds https://github.com/micke/valid_email2/pull/181
11
+
12
+ ## Version 3.7.0
13
+ * Support validating arrays https://github.com/micke/valid_email2/pull/178
14
+ * Pull new domains
15
+ * Add new domain https://github.com/micke/valid_email2/pull/176
16
+
1
17
  ## Version 3.6.1
2
18
  * Add new domain https://github.com/micke/valid_email2/pull/175
3
19
  * Pull new domains
data/README.md CHANGED
@@ -47,10 +47,16 @@ To validate that the domain has an MX record or A record:
47
47
  ```ruby
48
48
  validates :email, 'valid_email_2/email': { mx: true }
49
49
  ```
50
+
50
51
  To validate strictly that the domain has an MX record:
51
52
  ```ruby
52
53
  validates :email, 'valid_email_2/email': { strict_mx: true }
53
54
  ```
55
+ `strict_mx` and `mx` both default to a 5 second timeout for DNS lookups. To
56
+ override this timeout, specify a `dns_timeout` option:
57
+ ```ruby
58
+ validates :email, 'valid_email_2/email': { strict_mx: true, dns_timeout: 10 }
59
+ ```
54
60
 
55
61
  To validate that the domain is not a disposable email (checks domain and MX server):
56
62
  ```ruby