pluck_all 2.2.1 → 2.3.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/ruby.yml +101 -0
- data/.gitignore +10 -10
- data/.rubocop.yml +1227 -1227
- data/CHANGELOG.md +73 -70
- data/CODE_OF_CONDUCT.md +48 -48
- data/LICENSE.txt +21 -21
- data/README.md +187 -167
- data/bin/console +0 -0
- data/bin/setup +8 -8
- data/gemfiles/active_record_32.gemfile +14 -13
- data/gemfiles/active_record_42.gemfile +16 -13
- data/gemfiles/active_record_50.gemfile +16 -13
- data/gemfiles/active_record_51.gemfile +16 -13
- data/gemfiles/active_record_52.gemfile +16 -13
- data/gemfiles/active_record_60.gemfile +16 -13
- data/gemfiles/active_record_61.gemfile +16 -13
- data/gemfiles/mongoid_54.gemfile +11 -11
- data/gemfiles/mongoid_64.gemfile +11 -11
- data/gemfiles/mongoid_70.gemfile +11 -11
- data/lib/pluck_all/models/active_record_extension.rb +139 -131
- data/lib/pluck_all/version.rb +4 -4
- metadata +4 -4
- data/.travis.yml +0 -73
data/lib/pluck_all/version.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
module PluckAll
|
3
|
-
VERSION = '2.
|
4
|
-
end
|
1
|
+
# frozen_string_literal: true
|
2
|
+
module PluckAll
|
3
|
+
VERSION = '2.3.0'
|
4
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pluck_all
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- khiav reoy
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-06-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -96,9 +96,9 @@ executables: []
|
|
96
96
|
extensions: []
|
97
97
|
extra_rdoc_files: []
|
98
98
|
files:
|
99
|
+
- ".github/workflows/ruby.yml"
|
99
100
|
- ".gitignore"
|
100
101
|
- ".rubocop.yml"
|
101
|
-
- ".travis.yml"
|
102
102
|
- CHANGELOG.md
|
103
103
|
- CODE_OF_CONDUCT.md
|
104
104
|
- LICENSE.txt
|
@@ -147,7 +147,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
147
147
|
- !ruby/object:Gem::Version
|
148
148
|
version: '0'
|
149
149
|
requirements: []
|
150
|
-
rubygems_version: 3.
|
150
|
+
rubygems_version: 3.2.14
|
151
151
|
signing_key:
|
152
152
|
specification_version: 4
|
153
153
|
summary: Pluck multiple columns/attributes and return array of hashes. Support Rails
|
data/.travis.yml
DELETED
@@ -1,73 +0,0 @@
|
|
1
|
-
sudo: false
|
2
|
-
language: ruby
|
3
|
-
rvm:
|
4
|
-
- 2.2
|
5
|
-
- 2.6
|
6
|
-
- 2.7
|
7
|
-
services:
|
8
|
-
- mongodb
|
9
|
-
env:
|
10
|
-
global:
|
11
|
-
- CC_TEST_REPORTER_ID=db72eba1ff8fb1329dae5fb9b9dcd234243899d7a464ceb374e14a05ead27b7c
|
12
|
-
matrix:
|
13
|
-
- ORM_TYPE=ACTIVE_RECORD
|
14
|
-
- ORM_TYPE=MONGOID
|
15
|
-
gemfile:
|
16
|
-
- gemfiles/active_record_32.gemfile
|
17
|
-
- gemfiles/active_record_42.gemfile
|
18
|
-
- gemfiles/active_record_50.gemfile
|
19
|
-
- gemfiles/active_record_51.gemfile
|
20
|
-
- gemfiles/active_record_52.gemfile
|
21
|
-
- gemfiles/active_record_60.gemfile
|
22
|
-
- gemfiles/active_record_61.gemfile
|
23
|
-
- gemfiles/mongoid_54.gemfile
|
24
|
-
- gemfiles/mongoid_64.gemfile
|
25
|
-
- gemfiles/mongoid_70.gemfile
|
26
|
-
matrix:
|
27
|
-
exclude:
|
28
|
-
- gemfile: gemfiles/active_record_32.gemfile
|
29
|
-
rvm: 2.6
|
30
|
-
- gemfile: gemfiles/active_record_32.gemfile
|
31
|
-
rvm: 2.7
|
32
|
-
- gemfile: gemfiles/active_record_32.gemfile
|
33
|
-
env: ORM_TYPE=MONGOID
|
34
|
-
- gemfile: gemfiles/active_record_42.gemfile
|
35
|
-
rvm: 2.7
|
36
|
-
- gemfile: gemfiles/active_record_42.gemfile
|
37
|
-
env: ORM_TYPE=MONGOID
|
38
|
-
- gemfile: gemfiles/active_record_50.gemfile
|
39
|
-
env: ORM_TYPE=MONGOID
|
40
|
-
- gemfile: gemfiles/active_record_51.gemfile
|
41
|
-
env: ORM_TYPE=MONGOID
|
42
|
-
- gemfile: gemfiles/active_record_52.gemfile
|
43
|
-
env: ORM_TYPE=MONGOID
|
44
|
-
- gemfile: gemfiles/active_record_60.gemfile
|
45
|
-
rvm: 2.2
|
46
|
-
- gemfile: gemfiles/active_record_60.gemfile
|
47
|
-
env: ORM_TYPE=MONGOID
|
48
|
-
- gemfile: gemfiles/active_record_61.gemfile
|
49
|
-
rvm: 2.2
|
50
|
-
- gemfile: gemfiles/active_record_61.gemfile
|
51
|
-
env: ORM_TYPE=MONGOID
|
52
|
-
- gemfile: gemfiles/mongoid_54.gemfile
|
53
|
-
rvm: 2.7
|
54
|
-
- gemfile: gemfiles/mongoid_54.gemfile
|
55
|
-
env: ORM_TYPE=ACTIVE_RECORD
|
56
|
-
- gemfile: gemfiles/mongoid_64.gemfile
|
57
|
-
env: ORM_TYPE=ACTIVE_RECORD
|
58
|
-
- gemfile: gemfiles/mongoid_70.gemfile
|
59
|
-
env: ORM_TYPE=ACTIVE_RECORD
|
60
|
-
before_install:
|
61
|
-
- if `ruby -e 'exit(RUBY_VERSION.to_f < 2.7)'`; then
|
62
|
-
gem i rubygems-update -v '< 3' && update_rubygems;
|
63
|
-
gem install bundler -v '< 2';
|
64
|
-
fi
|
65
|
-
- gem --version
|
66
|
-
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
|
67
|
-
- chmod +x ./cc-test-reporter
|
68
|
-
- ./cc-test-reporter before-build
|
69
|
-
script:
|
70
|
-
- if [ "$ORM_TYPE" = "ACTIVE_RECORD" ]; then bundle exec rake test_active_record; fi
|
71
|
-
- if [ "$ORM_TYPE" = "MONGOID" ]; then bundle exec rake test_mongoid; fi
|
72
|
-
after_script:
|
73
|
-
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
|