email_data 1601156760 → 1601157215

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: f7a8f3df2f2943f47d66fb39399eb771a4d95068818fd8569bdee6455b057894
4
- data.tar.gz: 0b103a3048fae80b575687af7c2aea172ebc43fc6237041edd8b97f04e0b240e
3
+ metadata.gz: b0f9db04aaa0fe29e2a1f7be1d1befa42793fcb635e26ec58a73b235dd35198e
4
+ data.tar.gz: 924e5ac1e8867f5b0d335a579045740d191d6ee17367ce86815f8856bd6f20b7
5
5
  SHA512:
6
- metadata.gz: b076e2437aca0b2e94dc60533f703e358b5796e254100c37f1d2fd4dbc5f07b5ceb7d167685aed004ada35f4ae5d26b1ca28ccbcf494a147858cd40f4b7efbae
7
- data.tar.gz: d2ac1858ed07ad527416a434f9923e292139dcfbbe97ea78068f270d1049516a90e81cb02a50101b66d17ada0829b7ca0a77d6d7f07980498a1a54094f08baeb
6
+ metadata.gz: 6f752bf2e4261a833b9b222a4d24cda43ffcf8aae6dd9c627c803098a40e1e0cde4ba950d9466398c9b989e08e7a139c0f506f2177fe2e6f3bb962279d5ece3f
7
+ data.tar.gz: 8c327b7b553b52e77f8a4c21bcb41aa4c5e7cae01b4f86baef33158ae8f4f396bc4faf513ba261c22cba03291ebb96f915c29c63ed06a46c0ffc8ce9feda8665
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1601156760
1
+ 1601157215
@@ -0,0 +1,34 @@
1
+ #!/usr/bin/env bash
2
+
3
+ set -euo pipefail
4
+
5
+ git pull --rebase
6
+ git push
7
+
8
+ ./bin/sync
9
+
10
+ git_status=$(git status 2> /dev/null | tr "\\n" " ")
11
+
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
+ rake release
28
+
29
+ terminal-notifier \
30
+ -message "Just published a new gem version." \
31
+ -ignoreDnD \
32
+ -title "email_data" \
33
+ -group homebrew \
34
+ &> /dev/null
@@ -0,0 +1,35 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ require_relative "helpers"
5
+
6
+ threads = []
7
+
8
+ threads << thread { load_github_url("https://gist.github.com/fnando/dafe542cac13f831bbf5521a55248116/raw/free_email_providers.txt") }
9
+
10
+ threads.each_slice(5) do |slice|
11
+ slice.each(&:join)
12
+ end
13
+
14
+ threads.clear
15
+
16
+ domains = []
17
+
18
+ puts "=> Loading free_email_domains.txt"
19
+ domains += normalize_list(File.read("#{__dir__}/../data/free_email_domains.txt").lines)
20
+
21
+ puts "=> Loading manual/free_email_domains.txt"
22
+ domains += normalize_list(File.read("#{__dir__}/../data/manual/free_email_domains.txt").lines)
23
+
24
+ ignore_domains = %w[]
25
+
26
+ puts "=> Normalize domains (count: #{domains.size})"
27
+ domains = domains
28
+ .uniq
29
+ .map {|domain| RootDomain.call(domain.split("@").last.downcase) }
30
+ .compact
31
+ .uniq
32
+ .reject {|domain| ignore_domains.include?(domain) }
33
+
34
+ puts "=> Saving domains (count: #{domains.size})"
35
+ save_file("free_email_domains.txt", normalize_list(domains))
@@ -25650,6 +25650,7 @@ cpanelhome.com
25650
25650
  cpanellicense.shop
25651
25651
  cpaoz.com
25652
25652
  cpapa.ooo
25653
+ cparm.cf
25653
25654
  cpaycard.asia
25654
25655
  cpb-online.com
25655
25656
  cpc.cx
@@ -41844,6 +41845,7 @@ go-blogger.ru
41844
41845
  go-centric.com
41845
41846
  go-creditcardnofeeca-ok.live
41846
41847
  go-creditcardnofeecas-ok.live
41848
+ go-intl-online-ok.degree
41847
41849
  go-moscow.ru
41848
41850
  go-parkinsons-ok.live
41849
41851
  go-trade.dev
@@ -107170,6 +107172,7 @@ xn--e1aef6b4c.xn--p1ai
107170
107172
  xn--e1afgidgbjksq6gj2a.xn--p1ai
107171
107173
  xn--e1afhbdbtuhcg3i.xn--p1ai
107172
107174
  xn--e1afkbvo.xn--p1ai
107175
+ xn--e1aftbcd8d.xn--p1ai
107173
107176
  xn--e1agcemeeaqni.xn--p1ai
107174
107177
  xn--e1aggeflfmdhfk9bc5f.xn--p1ai
107175
107178
  xn--e5xx98d.top
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: email_data
3
3
  version: !ruby/object:Gem::Version
4
- version: '1601156760'
4
+ version: '1601157215'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nando Vieira
@@ -141,9 +141,11 @@ files:
141
141
  - VERSION
142
142
  - bin/console
143
143
  - bin/helpers.rb
144
+ - bin/publish-gem
144
145
  - bin/setup
145
146
  - bin/sync
146
147
  - bin/sync-disposable-emails
148
+ - bin/sync-free-emails
147
149
  - bin/sync-tld
148
150
  - data/country_tlds.txt
149
151
  - data/disposable_domains.txt