email_data 1605293459 → 1605432951

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.
@@ -16,6 +16,7 @@ module EmailData
16
16
  :country_tlds,
17
17
  :free_email_domains,
18
18
  :tlds,
19
+ :slds,
19
20
  :roles
20
21
  end
21
22
 
@@ -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
@@ -7,6 +7,10 @@ module EmailData
7
7
  @tlds ||= load_file("tlds.txt")
8
8
  end
9
9
 
10
+ def self.slds
11
+ @slds ||= load_file("slds.txt")
12
+ end
13
+
10
14
  def self.country_tlds
11
15
  @country_tlds ||= load_file("country_tlds.txt")
12
16
  end
@@ -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": "1605293459.0.0",
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: '1605293459'
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-13 00:00:00.000000000 Z
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