email_assessor 0.4.13 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/email_assessor.rb +7 -3
- data/lib/email_assessor/version.rb +1 -1
- data/vendor/disposable_domains.txt +10 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e02834b0d1c2e7a47930a849efaf5df1deaaf2c5
|
4
|
+
data.tar.gz: 9ba39558dcd04c6de8982415c517bbb2574342ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 89e693656ae57f3bbe73b23013140ad871807a8280fe7bdccf9d7c20ce8bca8f7c3f1ddba8eb57cfec4aeb57f37c9a97eb14adce0d10392718ebe547998fd1d9
|
7
|
+
data.tar.gz: 2ec88bad93a042f81550a7885431b6cc238b21a107767ef3978812d7224df36c273bea1b21f53de0051f43e9db2ef611a9e570e153da695ce4e284808072bed8
|
data/lib/email_assessor.rb
CHANGED
@@ -19,8 +19,12 @@ module EmailAssessor
|
|
19
19
|
file_name ||= ""
|
20
20
|
domain = domain.downcase
|
21
21
|
|
22
|
-
|
23
|
-
|
24
|
-
|
22
|
+
File.foreach(file_name).any? do |line|
|
23
|
+
line = line.chomp
|
24
|
+
|
25
|
+
# String#end_with? is used as a cheaper initial check but due to potential false positives
|
26
|
+
# (hotmail.com is valid but tmail.com is not) regex is also necessary.
|
27
|
+
domain.end_with?(line) && domain.match?(%r{\A(?:.*\.)?#{line}\z}i)
|
28
|
+
end
|
25
29
|
end
|
26
30
|
end
|
@@ -101,6 +101,7 @@
|
|
101
101
|
2120001.net
|
102
102
|
21cn.com
|
103
103
|
21lr12.cf
|
104
|
+
22office.com
|
104
105
|
2323bryanstreet.com
|
105
106
|
24hourmail.com
|
106
107
|
2and2mail.tk
|
@@ -115,6 +116,7 @@
|
|
115
116
|
30minutemail.com
|
116
117
|
30wave.com
|
117
118
|
3202.com
|
119
|
+
321-email.com
|
118
120
|
33m.co
|
119
121
|
33mail.com
|
120
122
|
3675.mooo.com
|
@@ -131,6 +133,7 @@
|
|
131
133
|
4gfdsgfdgfd.tk
|
132
134
|
4mail.cf
|
133
135
|
4mail.ga
|
136
|
+
4senditnow.com
|
134
137
|
4struga.com
|
135
138
|
4tb.host
|
136
139
|
4w.io
|
@@ -341,6 +344,7 @@ akorde.al
|
|
341
344
|
al-qaeda.us
|
342
345
|
albionwe.us
|
343
346
|
alchemywe.us
|
347
|
+
alexbox.online
|
344
348
|
alexbrowne.info
|
345
349
|
alfamailr.org
|
346
350
|
alfaomega24.ru
|
@@ -706,6 +710,7 @@ bpornd.com
|
|
706
710
|
bqm2dyl.com
|
707
711
|
br.mintemail.com
|
708
712
|
brandallday.net
|
713
|
+
braun4email.com
|
709
714
|
breadtimes.press
|
710
715
|
breakthru.com
|
711
716
|
brefmail.com
|
@@ -1910,6 +1915,7 @@ heros3.com
|
|
1910
1915
|
herp.in
|
1911
1916
|
herpderp.nl
|
1912
1917
|
hewke.xyz
|
1918
|
+
heximail.com
|
1913
1919
|
hezemail.ga
|
1914
1920
|
hezll.com
|
1915
1921
|
hg8n415.com
|
@@ -2936,6 +2942,7 @@ newsmag.us
|
|
2936
2942
|
newsusfun.com
|
2937
2943
|
newyorkskyride.net
|
2938
2944
|
next.ovh
|
2945
|
+
next2cloud.info
|
2939
2946
|
nextstopvalhalla.com
|
2940
2947
|
nezdiro.org
|
2941
2948
|
nezzart.com
|
@@ -3066,6 +3073,7 @@ omzae.com
|
|
3066
3073
|
one-time.email
|
3067
3074
|
one2mail.info
|
3068
3075
|
onebiginbox.com
|
3076
|
+
onecitymail.com
|
3069
3077
|
onelegalplan.com
|
3070
3078
|
oneoffemail.com
|
3071
3079
|
oneoffmail.com
|
@@ -4261,6 +4269,8 @@ ushijima1129.tk
|
|
4261
4269
|
usiaj.com
|
4262
4270
|
utiket.us
|
4263
4271
|
utilities-online.info
|
4272
|
+
utoo.email
|
4273
|
+
utooemail.com
|
4264
4274
|
uu.gl
|
4265
4275
|
uu2.ovh
|
4266
4276
|
uvy.kr
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: email_assessor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Wolfe Millard
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-02-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|