email_data 1601157215 → 1601260238

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b0f9db04aaa0fe29e2a1f7be1d1befa42793fcb635e26ec58a73b235dd35198e
4
- data.tar.gz: 924e5ac1e8867f5b0d335a579045740d191d6ee17367ce86815f8856bd6f20b7
3
+ metadata.gz: 5b2c375a574f280924221d7f71d1764ad07ac54d6fc9a470260c807ca8477854
4
+ data.tar.gz: f5012ca3a78f75f23f783c0b13afb7bf88c99da19eaa3886efae7ed2a333b0aa
5
5
  SHA512:
6
- metadata.gz: 6f752bf2e4261a833b9b222a4d24cda43ffcf8aae6dd9c627c803098a40e1e0cde4ba950d9466398c9b989e08e7a139c0f506f2177fe2e6f3bb962279d5ece3f
7
- data.tar.gz: 8c327b7b553b52e77f8a4c21bcb41aa4c5e7cae01b4f86baef33158ae8f4f396bc4faf513ba261c22cba03291ebb96f915c29c63ed06a46c0ffc8ce9feda8665
6
+ metadata.gz: 643902eb3b2511b08fb637ddeecf214caacd4bcdc46776db984978cebba474cd109b22791886f369924621f07ce7660db9e57a997af7818a319f2374423189c0
7
+ data.tar.gz: ccf2b91597082431830ca3c345d0b0e8b0075ff0b37c09454657f375ebef4d3341ae82f9412e533ba7bda1dff9eb4933884c79fdf5a76622ef594986653c5905
data/.gitignore CHANGED
@@ -6,5 +6,6 @@
6
6
  /pkg/
7
7
  /spec/reports/
8
8
  /tmp/
9
- /data/disposable/**/**
9
+ /data/disposable/**/*
10
+ /data/json/**/*
10
11
  Gemfile.lock
@@ -0,0 +1,2 @@
1
+ ruby 2.7.1
2
+ nodejs 12.18.4
data/README.md CHANGED
@@ -11,6 +11,8 @@ this data available.
11
11
 
12
12
  ## Installation
13
13
 
14
+ ### Ruby
15
+
14
16
  Add this line to your application's Gemfile:
15
17
 
16
18
  ```ruby
@@ -25,7 +27,7 @@ Or install it yourself as:
25
27
 
26
28
  $ gem install email_data
27
29
 
28
- ## Usage
30
+ #### Usage
29
31
 
30
32
  ```ruby
31
33
  require "email_data"
@@ -44,6 +46,26 @@ EmailData.disposable_emails
44
46
  EmailData.free_email_domains
45
47
  ```
46
48
 
49
+ ### Node.js
50
+
51
+ ```console
52
+ $ yarn add @fnando/email_data
53
+ ```
54
+
55
+ or
56
+
57
+ ```console
58
+ $ npm install @fnando/email_data
59
+ ```
60
+
61
+ #### Usage
62
+
63
+ ```js
64
+ const disposableEmails = require("@fnando/email_data/data/json/disposable_emails.json");
65
+ const disposableDomains = require("@fnando/email_data/data/json/disposable_domains.json");
66
+ const freeEmailDomains = require("@fnando/email_data/data/json/free_email_domains.json");
67
+ ```
68
+
47
69
  ## Dataset
48
70
 
49
71
  The dataset is updated automatically. If you have any manual entries you would
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1601157215
1
+ 1601260238
@@ -13,8 +13,6 @@ require "logger"
13
13
  require "simpleidn"
14
14
  require "timeout"
15
15
  require "active_support/all"
16
- require "whois"
17
- require "whois-parser"
18
16
  require "root_domain"
19
17
 
20
18
  USER_AGENT = [
@@ -0,0 +1,37 @@
1
+ #!/usr/bin/env bash
2
+
3
+ set -e
4
+
5
+ source $HOME/.zsh/exports.sh
6
+ source $HOME/.zsh/asdf.sh
7
+
8
+ git pull --rebase
9
+ git push
10
+
11
+ ./bin/sync
12
+
13
+ git_status=$(git status 2> /dev/null | tr "\\n" " ")
14
+
15
+ if [[ "$git_status" =~ "nothing to commit" ]]; then
16
+ terminal-notifier \
17
+ -message "No changes detected. Skipping new packages." \
18
+ -ignoreDnD \
19
+ -title "email_data" \
20
+ -group homebrew \
21
+ &> /dev/null
22
+ exit
23
+ fi
24
+
25
+ date "+%s" > VERSION
26
+
27
+ version=$(cat VERSION)
28
+ package_json=$(cat package.json | jq --arg version "${version}.0.0" '.version = $version')
29
+
30
+ echo $package_json | jq --tab > package.json
31
+
32
+ git add .
33
+ git commit -m "Bump up version."
34
+ git push
35
+
36
+ ./bin/publish-gem
37
+ ./bin/publish-npm
@@ -1,29 +1,15 @@
1
1
  #!/usr/bin/env bash
2
2
 
3
- set -euo pipefail
3
+ set -e
4
4
 
5
- git pull --rebase
6
- git push
5
+ source $HOME/.zsh/exports.sh
6
+ source $HOME/.zsh/asdf.sh
7
7
 
8
- ./bin/sync
8
+ asdf local ruby 2.7.1
9
9
 
10
- git_status=$(git status 2> /dev/null | tr "\\n" " ")
10
+ gem install bundler
11
+ bundle update
11
12
 
12
- if [[ "$git_status" =~ "nothing to commit" ]]; then
13
- terminal-notifier \
14
- -message "No changes detected. Skipping new gem." \
15
- -ignoreDnD \
16
- -title "email_data" \
17
- -group homebrew \
18
- &> /dev/null
19
- exit
20
- fi
21
-
22
- date "+%s" > VERSION
23
-
24
- git add .
25
- git commit -m "Bump up version."
26
- git push
27
13
  rake release
28
14
 
29
15
  terminal-notifier \
@@ -0,0 +1,23 @@
1
+ #!/usr/bin/env bash
2
+
3
+ set -e
4
+
5
+ source $HOME/.zsh/exports.sh
6
+ source $HOME/.zsh/asdf.sh
7
+
8
+ asdf local nodejs 12.18.4
9
+
10
+ for input in $(ls -1 data/*.txt); do
11
+ name=$(basename $input)
12
+ output=data/json/"${name%.txt}.json"
13
+ jq -R -s -c 'split("\n")' < $input > $output
14
+ done
15
+
16
+ npm publish --access=public
17
+
18
+ terminal-notifier \
19
+ -message "Just published a new npm version." \
20
+ -ignoreDnD \
21
+ -title "email_data" \
22
+ -group homebrew \
23
+ &> /dev/null
@@ -194,7 +194,7 @@ Dir["./data/disposable/**/*.txt"].map do |file|
194
194
  domains += normalize_list(File.read(file).lines)
195
195
  end
196
196
 
197
- ignore_domains = %w[gmail.com hotmail.com]
197
+ ignore_domains = %w[gmail.com hotmail.com outlook.com]
198
198
 
199
199
  puts "=> Normalize domains (count: #{domains.size})"
200
200
  domains = domains
@@ -12585,6 +12585,7 @@ asinproplus.com
12585
12585
  asinspector.org
12586
12586
  asio.club
12587
12587
  asioncriblomatic.com
12588
+ asioncriblomatic.live
12588
12589
  asisec.cf
12589
12590
  asisec.ga
12590
12591
  asisec.gq
@@ -12950,6 +12951,7 @@ atozconference.com
12950
12951
  atp-dz.com
12951
12952
  atpfinals.ru
12952
12953
  atpworldtour-2016.com
12954
+ atqpq.live
12953
12955
  atrais-kredits24.com
12954
12956
  atrakcje-nestor.pl
12955
12957
  atrakcjedladziecii.pl
@@ -23863,6 +23865,7 @@ click-me4.com
23863
23865
  click-me5.com
23864
23866
  click-me6.com
23865
23867
  click24.site
23868
+ click2m.pro
23866
23869
  click2mail.net
23867
23870
  click5kz.pro
23868
23871
  clickandgo-do-go.space
@@ -33608,6 +33611,7 @@ emarkwebsolutions.com
33608
33611
  emasqiuqiu.info
33609
33612
  emasqiuqiu.org
33610
33613
  emasqq.info
33614
+ emaw.email
33611
33615
  embalaje.us
33612
33616
  embeddedconsulting.com
33613
33617
  embeddedresearch.com
@@ -38747,6 +38751,7 @@ freeaa317.xyz
38747
38751
  freeaccnt.ga
38748
38752
  freeachievement.info
38749
38753
  freeadverts.org
38754
+ freeallapp.com
38750
38755
  freealtgen.com
38751
38756
  freeandsingle.us
38752
38757
  freebabysittercam.com
@@ -50325,6 +50330,7 @@ isfahantourism.info
50325
50330
  isgre.at
50326
50331
  isherz.net
50327
50332
  ishetalgedaan.site
50333
+ ishi-tut.online
50328
50334
  ishis.site
50329
50335
  ishkinn.ru
50330
50336
  ishockey.se
@@ -72500,7 +72506,6 @@ outlok.com
72500
72506
  outlok.net
72501
72507
  outlok.site
72502
72508
  outloo.com
72503
- outlook.com
72504
72509
  outlook2.gq
72505
72510
  outlookkk.online
72506
72511
  outlookpro.net
@@ -75591,6 +75596,7 @@ playtubepk.com
75591
75596
  playtubes.net
75592
75597
  playyo88.info
75593
75598
  playyo88.win
75599
+ playzonex.com
75594
75600
  pldppd.site
75595
75601
  pleadfl.xyz
75596
75602
  pleadid.email
@@ -86846,6 +86852,7 @@ shopuniformswarehouse.com
86846
86852
  shopuniformwarehouse.com
86847
86853
  shopussy.com
86848
86854
  shopwalmarte.com
86855
+ shopwrights.com
86849
86856
  shopylingo.xyz
86850
86857
  shopytopsale-lika.space
86851
86858
  shorefitmb.com
@@ -93640,6 +93647,7 @@ texvembterp.ga
93640
93647
  texvembterp.gq
93641
93648
  texvembterp.ml
93642
93649
  texvembterp.tk
93650
+ texwerx.com
93643
93651
  teyostore.xyz
93644
93652
  teypstore.com
93645
93653
  tezdbz8aovezbbcg3.cf
@@ -95852,6 +95860,7 @@ toonfirm.com
95852
95860
  toonlawtulsa.com
95853
95861
  toonmoa48.com
95854
95862
  toonusfit.space
95863
+ toooe.xyz
95855
95864
  toootook.shop
95856
95865
  toopitoo.com
95857
95866
  tooslowtodoanything.com
@@ -102216,6 +102225,7 @@ vorarlberg.dev
102216
102225
  vorga.org
102217
102226
  vorimo.ru
102218
102227
  voron-kryuk.ru
102228
+ voron.plus
102219
102229
  voronkryuk.ru
102220
102230
  vorply.com
102221
102231
  vorpostport.cf
@@ -8,7 +8,9 @@ Gem::Specification.new do |spec|
8
8
  spec.authors = ["Nando Vieira"]
9
9
  spec.email = ["me@fnando.com"]
10
10
 
11
- spec.summary = "Data"
11
+ spec.summary = "This project is a compilation of datasets related to " \
12
+ "emails. Includes disposable emails, disposable " \
13
+ "domains, and free email services."
12
14
  spec.description = spec.summary
13
15
  spec.homepage = "https://github.com/fnando/email_data"
14
16
  spec.license = "MIT"
@@ -27,6 +29,8 @@ Gem::Specification.new do |spec|
27
29
  spec.executables = spec.files.grep(%r{^exe/}) {|f| File.basename(f) }
28
30
  spec.require_paths = ["lib"]
29
31
 
32
+ spec.add_development_dependency "activesupport"
33
+ spec.add_development_dependency "aitch"
30
34
  spec.add_development_dependency "bundler"
31
35
  spec.add_development_dependency "minitest"
32
36
  spec.add_development_dependency "minitest-utils"
@@ -0,0 +1,18 @@
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": "1601260238.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
+ }
metadata CHANGED
@@ -1,15 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: email_data
3
3
  version: !ruby/object:Gem::Version
4
- version: '1601157215'
4
+ version: '1601260238'
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-09-26 00:00:00.000000000 Z
11
+ date: 2020-09-28 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: activesupport
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: aitch
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
13
41
  - !ruby/object:Gem::Dependency
14
42
  name: bundler
15
43
  requirement: !ruby/object:Gem::Requirement
@@ -122,7 +150,8 @@ dependencies:
122
150
  - - ">="
123
151
  - !ruby/object:Gem::Version
124
152
  version: '0'
125
- description: Data
153
+ description: This project is a compilation of datasets related to emails. Includes
154
+ disposable emails, disposable domains, and free email services.
126
155
  email:
127
156
  - me@fnando.com
128
157
  executables: []
@@ -132,6 +161,7 @@ files:
132
161
  - ".github/FUNDING.yml"
133
162
  - ".gitignore"
134
163
  - ".rubocop.yml"
164
+ - ".tool-versions"
135
165
  - ".travis.yml"
136
166
  - CODE_OF_CONDUCT.md
137
167
  - Gemfile
@@ -141,7 +171,9 @@ files:
141
171
  - VERSION
142
172
  - bin/console
143
173
  - bin/helpers.rb
174
+ - bin/publish
144
175
  - bin/publish-gem
176
+ - bin/publish-npm
145
177
  - bin/setup
146
178
  - bin/sync
147
179
  - bin/sync-disposable-emails
@@ -158,6 +190,7 @@ files:
158
190
  - email_data.gemspec
159
191
  - lib/email_data.rb
160
192
  - lib/email_data/version.rb
193
+ - package.json
161
194
  homepage: https://github.com/fnando/email_data
162
195
  licenses:
163
196
  - MIT
@@ -182,5 +215,6 @@ requirements: []
182
215
  rubygems_version: 3.1.2
183
216
  signing_key:
184
217
  specification_version: 4
185
- summary: Data
218
+ summary: This project is a compilation of datasets related to emails. Includes disposable
219
+ emails, disposable domains, and free email services.
186
220
  test_files: []