pluck_all 2.2.1 → 2.3.3

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: 62194780f059033abab44433aac51b49752f7b95f9b08518c37a65b2bc729d16
4
- data.tar.gz: a0856040c77449cb4ecc6652feb35e21385938df0a7b2af79832f6d27877f5a6
3
+ metadata.gz: 55464889dce014da2aee195d7351c56f8f44e542fe699f3b0a28bcfba066c00d
4
+ data.tar.gz: 711b8a9978198ead995bb24b1fa871f020ea703f5d1d1656e4aa6e5de25437a9
5
5
  SHA512:
6
- metadata.gz: 78002041f27e7602c728b40198ee30132fa8cc4c37b42e69e3c51813731113fdbd6177bb8fca5c0b92ccaf217037c969031cd25b822963752a97360bd5970254
7
- data.tar.gz: b32613a3db28633eaf158ceedeb21dba77caa9c42157adf7e3876612a61944e7181921eea5c00618616bf10198850447bfd5050e64a3bf2236ecb7985f99e3ed
6
+ metadata.gz: c1ccc08b4ebec79fbfb8627fcfe5310bd07330a2bbff600e31a285009ad72f496c81c34df5b6cba235da705ecb7f393ed39ae4daed8f110c0175ef45e933ffab
7
+ data.tar.gz: dd8fcb450688f6ee31ff7a9c53dfd4a1d79cb4fabaf50e36a02afea96d58234a922f77c14128563842a84e1620ced8926a1f83d366a9e1da9e5b90ddddf61dae
@@ -0,0 +1,116 @@
1
+ name: Ruby
2
+
3
+ on:
4
+ push:
5
+ paths-ignore:
6
+ - 'README.md'
7
+ - 'CHANGELOG.md'
8
+ pull_request:
9
+ branches: [ master ]
10
+ paths-ignore:
11
+ - 'README.md'
12
+ - 'CHANGELOG.md'
13
+
14
+ jobs:
15
+ test:
16
+ runs-on: ubuntu-latest
17
+ name: Test
18
+ if: "contains(github.event.commits[0].message, '[ci skip]') == false"
19
+ strategy:
20
+ fail-fast: false
21
+ matrix:
22
+ orm:
23
+ - ACTIVE_RECORD
24
+ - MONGOID
25
+ ruby:
26
+ - 2.2
27
+ - 2.6
28
+ - 2.7
29
+ - 3.0
30
+ gemfile:
31
+ - active_record_32.gemfile
32
+ - active_record_42.gemfile
33
+ - active_record_50.gemfile
34
+ - active_record_51.gemfile
35
+ - active_record_52.gemfile
36
+ - active_record_60.gemfile
37
+ - active_record_61.gemfile
38
+ - mongoid_54.gemfile
39
+ - mongoid_64.gemfile
40
+ - mongoid_73.gemfile
41
+ exclude:
42
+ - gemfile: active_record_32.gemfile
43
+ ruby: 2.6
44
+ - gemfile: active_record_32.gemfile
45
+ ruby: 2.7
46
+ - gemfile: active_record_32.gemfile
47
+ ruby: 3.0
48
+ - gemfile: active_record_32.gemfile
49
+ orm: MONGOID
50
+ - gemfile: active_record_42.gemfile
51
+ ruby: 2.7
52
+ - gemfile: active_record_42.gemfile
53
+ ruby: 3.0
54
+ - gemfile: active_record_42.gemfile
55
+ orm: MONGOID
56
+ - gemfile: active_record_50.gemfile
57
+ ruby: 3.0
58
+ - gemfile: active_record_50.gemfile
59
+ orm: MONGOID
60
+ - gemfile: active_record_51.gemfile
61
+ ruby: 3.0
62
+ - gemfile: active_record_51.gemfile
63
+ orm: MONGOID
64
+ - gemfile: active_record_52.gemfile
65
+ ruby: 3.0
66
+ - gemfile: active_record_52.gemfile
67
+ orm: MONGOID
68
+ - gemfile: active_record_60.gemfile
69
+ ruby: 2.2
70
+ - gemfile: active_record_60.gemfile
71
+ orm: MONGOID
72
+ - gemfile: active_record_61.gemfile
73
+ ruby: 2.2
74
+ - gemfile: active_record_61.gemfile
75
+ orm: MONGOID
76
+ - gemfile: mongoid_54.gemfile
77
+ ruby: 2.7
78
+ - gemfile: mongoid_54.gemfile
79
+ ruby: 3.0
80
+ - gemfile: mongoid_73.gemfile
81
+ ruby: 2.2
82
+ - gemfile: mongoid_54.gemfile
83
+ orm: ACTIVE_RECORD
84
+ - gemfile: mongoid_64.gemfile
85
+ orm: ACTIVE_RECORD
86
+ - gemfile: mongoid_73.gemfile
87
+ orm: ACTIVE_RECORD
88
+ env:
89
+ BUNDLE_GEMFILE: "gemfiles/${{ matrix.gemfile }}"
90
+ ORM_TYPE: "${{ matrix.orm }}"
91
+
92
+ services:
93
+ mongodb:
94
+ image: mongo:3.6.23
95
+ ports:
96
+ - 27017:27017
97
+
98
+ steps:
99
+ - name: Checkout
100
+ uses: actions/checkout@v2
101
+ - name: Setup Ruby
102
+ uses: ruby/setup-ruby@v1
103
+ with:
104
+ ruby-version: ${{ matrix.ruby }}
105
+ bundler-cache: true # runs 'bundle install' and caches installed gems automatically
106
+ - name: Run tests
107
+ if: env.ORM_TYPE == 'ACTIVE_RECORD'
108
+ run: bundle exec rake test_active_record
109
+ - name: Run tests
110
+ if: env.ORM_TYPE == 'MONGOID'
111
+ run: bundle exec rake test_mongoid
112
+ - name: Publish code coverage
113
+ if: ${{ success() }}
114
+ uses: paambaati/codeclimate-action@v2.7.5
115
+ env:
116
+ CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
data/.gitignore CHANGED
@@ -1,10 +1,10 @@
1
- /.bundle/
2
- /.yardoc
3
- /Gemfile.lock
4
- /_yardoc/
5
- /coverage/
6
- /doc/
7
- /pkg/
8
- /spec/reports/
9
- /tmp/
10
- *.gemfile.lock
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+ *.gemfile.lock