email_data 1641084676.0.0 → 1643503752.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: 66d22caeb794f8fd5e7749c8cf79484f5297b999a7d83f5f6855066b2ac22c56
4
- data.tar.gz: 1107522e9150ef765cfdccb2d9e80231cfeb7efa11c79ac08ef069ad4083df2c
3
+ metadata.gz: c8c2fd07f3473e470bcf6719c2a569219eba9a02a7364383a1aa5962022048ba
4
+ data.tar.gz: ac87fb43c3689ad522489067187ad59774bbf6d93a9ea003b14a7df8cb4e185b
5
5
  SHA512:
6
- metadata.gz: 2e927a9dcadc26b12bc7548d171b2846be7722e1ae778cebdf45fe8614b319f809282aacb8902d19bbbf0909022c8dcf74d0fb14ed51b17520a75de14b16a30a
7
- data.tar.gz: 3fb4b35a9bbb6f13e77054a5fe215c9fb986530f86dc7a51b4c74faac94338766bf84445198812086d84256add1fbb9154e8755dc1bc6df68289bb31da2056ef
6
+ metadata.gz: ac5ace9e29c5760e370dda00d21c6fa28b48043bfd5e146326d1a95a537fbd28aef0fd2269247a892d628522e1a9173e5903ba9f590d706226349e13d2e5928f
7
+ data.tar.gz: cb0d2c80bb8aea0b9c3bd0f2796b74423f542872b53e8c1895bf997c4813531380b8b9c65f2882fcb4c9dba68846cd12a3442b572e17051f11d9ffd733119ec5
@@ -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