email_data 1641689574.0.0 → 1642294286.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/package.yml +2 -2
- data/.github/workflows/ruby-tests.yml +21 -22
- data/.rubocop.yml +5 -13
- data/.tool-versions +2 -2
- data/data/disposable_domains.txt +98 -0
- data/data/disposable_domains_with_mx.txt +1853 -2462
- data/data/disposable_domains_without_mx.txt +114442 -113735
- data/email_data.gemspec +2 -1
- data/lib/email_data/version.rb +1 -1
- data/package.json +1 -1
- metadata +7 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bfe2104922025742bc540babdf6d41279a9251ea226026424a2d414afd70e95d
|
4
|
+
data.tar.gz: 6001b575bcbce775d674c6016028a0d946e9af954f598cd0890e8a0aa908df27
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 07a069dd2d06fec47501e4309f59175b0a005ba85847b9d765036bed00f7e1b532eb1211fb9a6e0485bfd92a47497d6446d9d06179fb541c8abd0f549497fbdd
|
7
|
+
data.tar.gz: '048700b961318cc2a091784791bf6fabbb7c24b1533fbc01582159d063f983e553d5cb404e5a6a1a7450a2f942c1523dfdbe1bb0b7c6d15e82d797cd3f535232'
|
@@ -2,22 +2,26 @@
|
|
2
2
|
name: ruby-tests
|
3
3
|
|
4
4
|
on:
|
5
|
-
|
6
|
-
branches:
|
7
|
-
- main
|
5
|
+
pull_request_target:
|
8
6
|
push:
|
9
7
|
branches:
|
10
8
|
- main
|
9
|
+
workflow_dispatch:
|
10
|
+
inputs: {}
|
11
11
|
|
12
12
|
jobs:
|
13
13
|
build:
|
14
|
-
name: Tests with Ruby ${{ matrix.ruby }}
|
14
|
+
name: Tests with Ruby ${{ matrix.ruby }} and ${{ matrix.gemfile }}
|
15
15
|
runs-on: "ubuntu-latest"
|
16
|
+
if: |
|
17
|
+
github.actor == 'dependabot[bot]' && github.event_name == 'pull_request_target' ||
|
18
|
+
github.actor != 'dependabot[bot]'
|
16
19
|
strategy:
|
17
20
|
fail-fast: false
|
18
21
|
matrix:
|
19
|
-
ruby: ["3.0
|
20
|
-
|
22
|
+
ruby: ["2.7", "3.0", "3.1"]
|
23
|
+
gemfile:
|
24
|
+
- Gemfile
|
21
25
|
services:
|
22
26
|
postgres:
|
23
27
|
image: postgres:11.5
|
@@ -27,42 +31,37 @@ jobs:
|
|
27
31
|
--health-retries 5
|
28
32
|
|
29
33
|
steps:
|
30
|
-
- uses: actions/checkout@v2.
|
34
|
+
- uses: actions/checkout@v2.4.0
|
31
35
|
|
32
|
-
- uses: actions/cache@v2.1.
|
36
|
+
- uses: actions/cache@v2.1.7
|
33
37
|
with:
|
34
38
|
path: vendor/bundle
|
35
39
|
key: >
|
36
40
|
${{ runner.os }}-${{ matrix.ruby }}-gems-${{
|
37
|
-
hashFiles(
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
+
hashFiles(matrix.gemfile) }}
|
42
|
+
|
43
|
+
- name: Install PostgreSQL 11 client
|
44
|
+
run: |
|
45
|
+
sudo apt -y install libpq-dev
|
41
46
|
|
42
47
|
- name: Set up Ruby
|
43
|
-
uses:
|
48
|
+
uses: ruby/setup-ruby@v1
|
44
49
|
with:
|
45
50
|
ruby-version: ${{ matrix.ruby }}
|
46
51
|
|
47
|
-
- name: Install PostgreSQL 11 client
|
48
|
-
run: |
|
49
|
-
sudo apt-get -yqq install libpq-dev
|
50
|
-
|
51
52
|
- name: Install gem dependencies
|
52
53
|
env:
|
53
|
-
|
54
|
-
PGUSER: postgres
|
55
|
-
RAILS_ENV: test
|
54
|
+
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
|
56
55
|
run: |
|
57
56
|
gem install bundler
|
58
57
|
bundle config path vendor/bundle
|
59
|
-
bundle
|
58
|
+
bundle update --jobs 4 --retry 3
|
60
59
|
|
61
60
|
- name: Run Tests
|
62
61
|
env:
|
63
62
|
PGHOST: localhost
|
64
63
|
PGUSER: postgres
|
65
|
-
|
64
|
+
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
|
66
65
|
run: |
|
67
66
|
psql -U postgres -c "create database test"
|
68
67
|
bundle exec rake
|
data/.rubocop.yml
CHANGED
@@ -3,17 +3,9 @@ inherit_gem:
|
|
3
3
|
rubocop-fnando: .rubocop.yml
|
4
4
|
|
5
5
|
AllCops:
|
6
|
-
TargetRubyVersion: 2.
|
6
|
+
TargetRubyVersion: 2.7
|
7
7
|
NewCops: enable
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
Metrics/AbcSize:
|
13
|
-
Enabled: false
|
14
|
-
|
15
|
-
Metrics/MethodLength:
|
16
|
-
Enabled: false
|
17
|
-
|
18
|
-
Layout/LineLength:
|
19
|
-
Enabled: false
|
8
|
+
Exclude:
|
9
|
+
- vendor/**/*
|
10
|
+
- gemfiles/**/*
|
11
|
+
- bin/**/*
|
data/.tool-versions
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
ruby 3.
|
2
|
-
nodejs
|
1
|
+
ruby 3.1.0
|
2
|
+
nodejs 16.13.1
|