email_data 1634949660.0.0 → 1636850828.0.0
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/.github/workflows/package.yml +2 -2
- data/.github/workflows/ruby-tests.yml +1 -1
- data/bin/helpers.rb +3 -1
- data/data/disposable_domains.txt +184 -1
- data/data/disposable_domains_with_mx.txt +2718 -1890
- data/data/disposable_domains_without_mx.txt +111592 -112237
- data/data/manual/exceptions.txt +1 -0
- data/data/tlds.txt +1 -1
- data/lib/email_data/version.rb +1 -1
- data/package.json +1 -1
- metadata +6 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f271a35f7b27500ec627239691968d8ef66df15d32637216bb238b86aabd005e
|
4
|
+
data.tar.gz: 959f898c5ffde0cd1201adbc49afeb885233f905be662431f5edf9f215c7c704
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bef1223bde87c2ef5eb0141426361ec178157c2632a96700a829822ab5c912440b4c5c950af5d31930a4de824da1216f3aa385639998477591dcebb68da38f63
|
7
|
+
data.tar.gz: e290762aafde169e04a628627ecc49d5a318fb2a5f880d2c29f3f3f47b859ca6b65cd2e59aa048ebc92fefcf939f0ca042db5cecf9e5b2dc0be1da1e97610ef1
|
@@ -3,7 +3,7 @@ name: package
|
|
3
3
|
|
4
4
|
on:
|
5
5
|
schedule:
|
6
|
-
- cron: "0 0 * *
|
6
|
+
- cron: "0 0 * * 0"
|
7
7
|
workflow_dispatch:
|
8
8
|
inputs: {}
|
9
9
|
|
@@ -17,7 +17,7 @@ jobs:
|
|
17
17
|
ruby: ["2.7.x"]
|
18
18
|
|
19
19
|
steps:
|
20
|
-
- uses: actions/checkout@v2.3.
|
20
|
+
- uses: actions/checkout@v2.3.5
|
21
21
|
|
22
22
|
- uses: actions/cache@v2.1.6
|
23
23
|
with:
|
data/bin/helpers.rb
CHANGED
@@ -17,6 +17,8 @@ require "active_support/all"
|
|
17
17
|
require "root_domain"
|
18
18
|
require "email_data"
|
19
19
|
|
20
|
+
EXCEPTIONS = File.read("#{__dir__}/../data/manual/exceptions.txt").lines.map(&:chomp)
|
21
|
+
|
20
22
|
USER_AGENT = [
|
21
23
|
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.4 Safari/605.1.15",
|
22
24
|
"Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/525.19 (KHTML, like Gecko) Chrome/1.0.154.53 Safari/525.19",
|
@@ -225,5 +227,5 @@ rescue StandardError => error
|
|
225
227
|
end
|
226
228
|
|
227
229
|
def normalize_list(list)
|
228
|
-
list.flatten.map(&:chomp).compact.reject(&:empty?)
|
230
|
+
list.flatten.map(&:chomp).compact.reject(&:empty?) - EXCEPTIONS
|
229
231
|
end
|