email_data 1640479855.0.0 → 1642898877.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 06426a604da3d5dc7170b11a28bb1ca26330f33707fb2f46daf779667d17b53c
4
- data.tar.gz: 2fbddc11108deb3990c9bd2c7e9ed4e5279610669f970343cb5059517a7f9e54
3
+ metadata.gz: 28e608af391f69433da47c0f178e634ee5ed8a880eaa7c9677d82299eaec35f1
4
+ data.tar.gz: edc509e0e9792734b03243f7b2eb02e374245df601a5f8170649b18e8ba5431f
5
5
  SHA512:
6
- metadata.gz: 84b2c3a053575ad6e21062cf160d4c6eb01e6aee24af00809e7322e5986c3e1d3eecdd4edb08186f87187f560089f2bc72cb6978c3aa2c9e8dcbc343232f13c5
7
- data.tar.gz: 8ea3b3f4f95eaef15e91b3ad0e00680d0a9132bddb5ac6678c6ff65743b4237ff72354ec8197698f727bda4ea0ca88a2dc923c60b632576fa7337c9fb19ba045
6
+ metadata.gz: ad6bbd3509ee7b0d17eeda279120c4dfc1c21816ec56e72a5b0432c7a682aaa018be795b8bb9b8b2339ef287abb4cfe5b0c21174f59c070bb4dd652d4d334e80
7
+ data.tar.gz: 4a95f1ff81927c3b53b4aa324a1a79bcb41b6c89d414e553709623665b396186430b983afc2fe6adc55255a0924a0531c19ba408ccbc5a65292644e64c154d9b
@@ -17,9 +17,9 @@ jobs:
17
17
  ruby: ["2.7.x"]
18
18
 
19
19
  steps:
20
- - uses: actions/checkout@v2.3.5
20
+ - uses: actions/checkout@v2.4.0
21
21
 
22
- - uses: actions/cache@v2.1.6
22
+ - uses: actions/cache@v2.1.7
23
23
  with:
24
24
  path: vendor/bundle
25
25
  key: >
@@ -2,22 +2,26 @@
2
2
  name: ruby-tests
3
3
 
4
4
  on:
5
- pull_request:
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.x", "2.7.x"]
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.3.5
34
+ - uses: actions/checkout@v2.4.0
31
35
 
32
- - uses: actions/cache@v2.1.6
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('**/Gemfile.lock') }}
38
- restore-keys: >
39
- ${{ runner.os }}-${{ matrix.ruby }}-gems-${{
40
- hashFiles('**/Gemfile.lock') }}
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: actions/setup-ruby@v1.1.3
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
- PGHOST: localhost
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 install --jobs 4 --retry 3
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
- RAILS_ENV: test
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
6
+ TargetRubyVersion: 2.7
7
7
  NewCops: enable
8
-
9
- Metrics/BlockLength:
10
- Enabled: false
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.0.0
2
- nodejs 14.17.0
1
+ ruby 3.1.0
2
+ nodejs 16.13.1