email_data 1605293459 → 1605432951
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/bin/publish-npm +0 -6
- data/bin/sync +2 -0
- data/bin/sync-disposable-emails +6 -3
- data/bin/sync-tld +15 -0
- data/data/disposable_domains.txt +7 -0
- data/data/manual/private_relays.txt +1 -0
- data/data/private_relays.txt +1 -0
- data/data/slds.txt +5831 -0
- data/lib/email_data.rb +1 -0
- data/lib/email_data/source/active_record.rb +8 -0
- data/lib/email_data/source/file_system.rb +4 -0
- data/package.json +1 -1
- metadata +5 -2
data/lib/email_data.rb
CHANGED
@@ -19,6 +19,10 @@ module EmailData
|
|
19
19
|
self.table_name = "tlds"
|
20
20
|
end
|
21
21
|
|
22
|
+
class SLD < ApplicationRecord
|
23
|
+
self.table_name = "slds"
|
24
|
+
end
|
25
|
+
|
22
26
|
class CountryTLD < ApplicationRecord
|
23
27
|
self.table_name = "country_tlds"
|
24
28
|
end
|
@@ -57,6 +61,10 @@ module EmailData
|
|
57
61
|
@tlds ||= Collection.new(TLD)
|
58
62
|
end
|
59
63
|
|
64
|
+
def self.slds
|
65
|
+
@slds ||= Collection.new(SLD)
|
66
|
+
end
|
67
|
+
|
60
68
|
def self.country_tlds
|
61
69
|
@country_tlds ||= Collection.new(CountryTLD)
|
62
70
|
end
|
data/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@fnando/email_data",
|
3
3
|
"description": "This project is a compilation of datasets related to emails. Includes disposable emails, disposable domains, and free email services.",
|
4
|
-
"version": "
|
4
|
+
"version": "1605432951.0.0",
|
5
5
|
"license": "MIT",
|
6
6
|
"repository": {
|
7
7
|
"type": "git",
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: email_data
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '
|
4
|
+
version: '1605432951'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nando Vieira
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-11-
|
11
|
+
date: 2020-11-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -201,8 +201,11 @@ files:
|
|
201
201
|
- data/manual/disposable_domains.txt
|
202
202
|
- data/manual/disposable_emails.txt
|
203
203
|
- data/manual/free_email_domains.txt
|
204
|
+
- data/manual/private_relays.txt
|
204
205
|
- data/manual/roles.txt
|
206
|
+
- data/private_relays.txt
|
205
207
|
- data/roles.txt
|
208
|
+
- data/slds.txt
|
206
209
|
- data/tlds.txt
|
207
210
|
- email_data.gemspec
|
208
211
|
- lib/email_data.rb
|