email_data 1604569392 → 1604944785
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -3
- data/README.md +15 -2
- data/VERSION +1 -1
- data/data/disposable_domains.txt +908 -0
- data/data/manual/roles.txt +413 -0
- data/data/roles.txt +412 -0
- data/lib/email_data.rb +2 -1
- 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 +4 -2
data/lib/email_data.rb
CHANGED
@@ -35,6 +35,10 @@ module EmailData
|
|
35
35
|
self.table_name = "free_email_domains"
|
36
36
|
end
|
37
37
|
|
38
|
+
class Role < ApplicationRecord
|
39
|
+
self.table_name = "roles"
|
40
|
+
end
|
41
|
+
|
38
42
|
class Collection
|
39
43
|
def initialize(model)
|
40
44
|
@model = model
|
@@ -68,6 +72,10 @@ module EmailData
|
|
68
72
|
def self.free_email_domains
|
69
73
|
@free_email_domains ||= Collection.new(FreeEmailDomain)
|
70
74
|
end
|
75
|
+
|
76
|
+
def self.roles
|
77
|
+
@roles ||= Collection.new(Role)
|
78
|
+
end
|
71
79
|
end
|
72
80
|
end
|
73
81
|
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": "1604944785.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: '1604944785'
|
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-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -201,6 +201,8 @@ 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/roles.txt
|
205
|
+
- data/roles.txt
|
204
206
|
- data/tlds.txt
|
205
207
|
- email_data.gemspec
|
206
208
|
- lib/email_data.rb
|