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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '019eeb42bb6564343cdb8884bbc61ea1607a8bda3d2b96b037e8eb54524f13f8'
4
- data.tar.gz: b50030694a9af6cc101e40f6561ec90c25bf05283869fd520277db995b0b79e7
3
+ metadata.gz: f271a35f7b27500ec627239691968d8ef66df15d32637216bb238b86aabd005e
4
+ data.tar.gz: 959f898c5ffde0cd1201adbc49afeb885233f905be662431f5edf9f215c7c704
5
5
  SHA512:
6
- metadata.gz: 672a852ddf93be16db693869cfc9e56b295e8fa8eb76776d88bdde6e50dc49130f5cf9adb20a6b5a9c8cd6590ea250e669820274e32ac0d329ac0fdab1c6deb4
7
- data.tar.gz: f57b4d7f07e9f4b1972a390c80485e0c184e1278fcffc7405aa1400902228e850a70efbb2244668b5911e5fcfa53a9c850aada0fbc26b3c3025d253033787058
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.4
20
+ - uses: actions/checkout@v2.3.5
21
21
 
22
22
  - uses: actions/cache@v2.1.6
23
23
  with:
@@ -27,7 +27,7 @@ jobs:
27
27
  --health-retries 5
28
28
 
29
29
  steps:
30
- - uses: actions/checkout@v2.3.4
30
+ - uses: actions/checkout@v2.3.5
31
31
 
32
32
  - uses: actions/cache@v2.1.6
33
33
  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