email_data 1607200035 → 1607321830

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.
@@ -41,6 +41,7 @@ Gem::Specification.new do |spec|
41
41
  spec.add_development_dependency "minitest"
42
42
  spec.add_development_dependency "minitest-utils"
43
43
  spec.add_development_dependency "pg"
44
+ spec.add_development_dependency "pry-meta"
44
45
  spec.add_development_dependency "rake"
45
46
  spec.add_development_dependency "root_domain"
46
47
  spec.add_development_dependency "rubocop"
@@ -12,6 +12,8 @@ module EmailData
12
12
 
13
13
  def_delegators :source,
14
14
  :disposable_domains,
15
+ :disposable_domains_with_mx,
16
+ :disposable_domains_without_mx,
15
17
  :disposable_emails,
16
18
  :country_tlds,
17
19
  :free_email_domains,
@@ -35,6 +35,14 @@ module EmailData
35
35
  self.table_name = "disposable_domains"
36
36
  end
37
37
 
38
+ class DisposableDomainWithMx < ApplicationRecord
39
+ self.table_name = "disposable_domains_with_mx"
40
+ end
41
+
42
+ class DisposableDomainWithoutMx < ApplicationRecord
43
+ self.table_name = "disposable_domains_without_mx"
44
+ end
45
+
38
46
  class FreeEmailDomain < ApplicationRecord
39
47
  self.table_name = "free_email_domains"
40
48
  end
@@ -81,6 +89,15 @@ module EmailData
81
89
  @disposable_domains ||= Collection.new(DisposableDomain)
82
90
  end
83
91
 
92
+ def self.disposable_domains_with_mx
93
+ @disposable_domains_with_mx ||= Collection.new(DisposableDomainWithMx)
94
+ end
95
+
96
+ def self.disposable_domains_without_mx
97
+ @disposable_domains_without_mx ||=
98
+ Collection.new(DisposableDomainWithoutMx)
99
+ end
100
+
84
101
  def self.free_email_domains
85
102
  @free_email_domains ||= Collection.new(FreeEmailDomain)
86
103
  end
@@ -23,6 +23,16 @@ module EmailData
23
23
  @disposable_domains ||= load_file("disposable_domains.txt")
24
24
  end
25
25
 
26
+ def self.disposable_domains_with_mx
27
+ @disposable_domains_with_mx ||=
28
+ load_file("disposable_domains_with_mx.txt")
29
+ end
30
+
31
+ def self.disposable_domains_without_mx
32
+ @disposable_domains_without_mx ||=
33
+ load_file("disposable_domains_without_mx.txt")
34
+ end
35
+
26
36
  def self.free_email_domains
27
37
  @free_email_domains ||= load_file("free_email_domains.txt")
28
38
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EmailData
4
- VERSION = File.read("#{__dir__}/../../VERSION").chomp
4
+ VERSION = "1607321830"
5
5
  end
@@ -1,18 +1,18 @@
1
1
  {
2
- "name": "@fnando/email_data",
3
- "description": "This project is a compilation of datasets related to emails. Includes disposable emails, disposable domains, and free email services.",
4
- "version": "1607200035.0.0",
5
- "license": "MIT",
6
- "repository": {
7
- "type": "git",
8
- "url": "https://github.com/fnando/email_data.git"
9
- },
10
- "homepage": "https://github.com/fnando/email_data",
11
- "author": "Nando Vieira <me@fnando.com>",
12
- "files": [
13
- "package.json",
14
- "README.md",
15
- "LICENSE.txt",
16
- "data/json/**/*.json"
17
- ]
2
+ "name": "@fnando/email_data",
3
+ "description": "This project is a compilation of datasets related to emails. Includes disposable emails, disposable domains, and free email services.",
4
+ "version": "1607321830.0.0",
5
+ "license": "MIT",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "https://github.com/fnando/email_data.git"
9
+ },
10
+ "homepage": "https://github.com/fnando/email_data",
11
+ "author": "Nando Vieira <me@fnando.com>",
12
+ "files": [
13
+ "package.json",
14
+ "README.md",
15
+ "LICENSE.txt",
16
+ "data/json/**/*.json"
17
+ ]
18
18
  }
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: '1607200035'
4
+ version: '1607321830'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nando Vieira
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-12-05 00:00:00.000000000 Z
11
+ date: 2020-12-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -94,6 +94,20 @@ dependencies:
94
94
  - - ">="
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: pry-meta
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
97
111
  - !ruby/object:Gem::Dependency
98
112
  name: rake
99
113
  requirement: !ruby/object:Gem::Requirement
@@ -178,6 +192,7 @@ files:
178
192
  - ".github/ISSUE_TEMPLATE/feature_request.md"
179
193
  - ".github/PULL_REQUEST_TEMPLATE.md"
180
194
  - ".github/dependabot.yml"
195
+ - ".github/workflows/package.yml"
181
196
  - ".github/workflows/ruby-tests.yml"
182
197
  - ".gitignore"
183
198
  - ".rubocop.yml"
@@ -192,7 +207,10 @@ files:
192
207
  - Rakefile
193
208
  - VERSION
194
209
  - bin/console
210
+ - bin/export-json-files
211
+ - bin/filter-disposable-domains-without-mx
195
212
  - bin/helpers.rb
213
+ - bin/package
196
214
  - bin/publish
197
215
  - bin/publish-gem
198
216
  - bin/publish-npm
@@ -200,9 +218,12 @@ files:
200
218
  - bin/sync
201
219
  - bin/sync-disposable-emails
202
220
  - bin/sync-free-emails
221
+ - bin/sync-roles
203
222
  - bin/sync-tld
204
223
  - data/country_tlds.txt
205
224
  - data/disposable_domains.txt
225
+ - data/disposable_domains_with_mx.txt
226
+ - data/disposable_domains_without_mx.txt
206
227
  - data/disposable_emails.txt
207
228
  - data/free_email_domains.txt
208
229
  - data/manual/disposable_domains.txt
@@ -226,10 +247,10 @@ licenses:
226
247
  metadata:
227
248
  homepage_uri: https://github.com/fnando/email_data
228
249
  bug_tracker_uri: https://github.com/fnando/email_data/issues
229
- source_code_uri: https://github.com/fnando/email_data/tree/v1607200035
230
- documentation_uri: https://github.com/fnando/email_data/tree/v1607200035/README.md
231
- license_uri: https://github.com/fnando/email_data/tree/v1607200035/LICENSE.md
232
- post_install_message:
250
+ source_code_uri: https://github.com/fnando/email_data/tree/v1607321830
251
+ documentation_uri: https://github.com/fnando/email_data/tree/v1607321830/README.md
252
+ license_uri: https://github.com/fnando/email_data/tree/v1607321830/LICENSE.md
253
+ post_install_message:
233
254
  rdoc_options: []
234
255
  require_paths:
235
256
  - lib
@@ -245,7 +266,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
245
266
  version: '0'
246
267
  requirements: []
247
268
  rubygems_version: 3.1.4
248
- signing_key:
269
+ signing_key:
249
270
  specification_version: 4
250
271
  summary: This project is a compilation of datasets related to emails. Includes disposable
251
272
  emails, disposable domains, and free email services.