pluck_all 2.0.4 → 2.3.2
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/.rubocop.yml +34 -35
- data/CHANGELOG.md +82 -60
- data/README.md +67 -10
- data/Rakefile +22 -22
- data/bin/console +14 -14
- data/gemfiles/active_record_32.gemfile +16 -13
- data/gemfiles/active_record_42.gemfile +18 -13
- data/gemfiles/active_record_50.gemfile +18 -13
- data/gemfiles/active_record_51.gemfile +18 -13
- data/gemfiles/active_record_52.gemfile +18 -13
- data/gemfiles/active_record_60.gemfile +18 -0
- data/gemfiles/active_record_61.gemfile +18 -0
- 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.rb +3 -3
- data/lib/pluck_all/hooks.rb +10 -10
- data/lib/pluck_all/models/active_record_extension.rb +23 -15
- data/lib/pluck_all/models/mongoid_extension.rb +70 -70
- data/lib/pluck_all/models/patches/deserialize.rb +13 -13
- data/lib/pluck_all/version.rb +1 -1
- data/pluck_all.gemspec +43 -35
- metadata +26 -7
- data/.travis.yml +0 -52
- data/lib/pluck_all/models/patches/attribute_types.rb +0 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 41bf75ef95bf276b2f1ab4777b6ca4d3c15c108fe82aab4283ff4010e3e96ceb
|
4
|
+
data.tar.gz: de80e931f83c30605eeb69d1936acb97571987bde4f3cd716aa4ee6ce1ac628f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7f00d0bed7a562f0fb36f539fbf0b79b8263d01cb92a79b3eedce02761649f1ca74a7e717ca1a48d36e9a161dd1ea956ed2a10d44790c1cc35a4d07c06c8850a
|
7
|
+
data.tar.gz: 96156e825c47d0e3901f43123390c5ee6d979508658725490f70af3493aa272bf5f8b4ff79260fd5a46234f3d8f1588e91fd8d00fc6a022ab6782b9895886bfd
|
@@ -0,0 +1,101 @@
|
|
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
|
+
gemfile:
|
30
|
+
- active_record_32.gemfile
|
31
|
+
- active_record_42.gemfile
|
32
|
+
- active_record_50.gemfile
|
33
|
+
- active_record_51.gemfile
|
34
|
+
- active_record_52.gemfile
|
35
|
+
- active_record_60.gemfile
|
36
|
+
- active_record_61.gemfile
|
37
|
+
- mongoid_54.gemfile
|
38
|
+
- mongoid_64.gemfile
|
39
|
+
- mongoid_70.gemfile
|
40
|
+
exclude:
|
41
|
+
- gemfile: active_record_32.gemfile
|
42
|
+
ruby: 2.6
|
43
|
+
- gemfile: active_record_32.gemfile
|
44
|
+
ruby: 2.7
|
45
|
+
- gemfile: active_record_32.gemfile
|
46
|
+
orm: MONGOID
|
47
|
+
- gemfile: active_record_42.gemfile
|
48
|
+
ruby: 2.7
|
49
|
+
- gemfile: active_record_42.gemfile
|
50
|
+
orm: MONGOID
|
51
|
+
- gemfile: active_record_50.gemfile
|
52
|
+
orm: MONGOID
|
53
|
+
- gemfile: active_record_51.gemfile
|
54
|
+
orm: MONGOID
|
55
|
+
- gemfile: active_record_52.gemfile
|
56
|
+
orm: MONGOID
|
57
|
+
- gemfile: active_record_60.gemfile
|
58
|
+
ruby: 2.2
|
59
|
+
- gemfile: active_record_60.gemfile
|
60
|
+
orm: MONGOID
|
61
|
+
- gemfile: active_record_61.gemfile
|
62
|
+
ruby: 2.2
|
63
|
+
- gemfile: active_record_61.gemfile
|
64
|
+
orm: MONGOID
|
65
|
+
- gemfile: mongoid_54.gemfile
|
66
|
+
ruby: 2.7
|
67
|
+
- gemfile: mongoid_54.gemfile
|
68
|
+
orm: ACTIVE_RECORD
|
69
|
+
- gemfile: mongoid_64.gemfile
|
70
|
+
orm: ACTIVE_RECORD
|
71
|
+
- gemfile: mongoid_70.gemfile
|
72
|
+
orm: ACTIVE_RECORD
|
73
|
+
env:
|
74
|
+
BUNDLE_GEMFILE: "gemfiles/${{ matrix.gemfile }}"
|
75
|
+
ORM_TYPE: "${{ matrix.orm }}"
|
76
|
+
|
77
|
+
services:
|
78
|
+
mongodb:
|
79
|
+
image: mongo:3.4.23
|
80
|
+
ports:
|
81
|
+
- 27017:27017
|
82
|
+
|
83
|
+
steps:
|
84
|
+
- name: Checkout
|
85
|
+
uses: actions/checkout@v2
|
86
|
+
- name: Setup Ruby
|
87
|
+
uses: ruby/setup-ruby@v1
|
88
|
+
with:
|
89
|
+
ruby-version: ${{ matrix.ruby }}
|
90
|
+
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
|
91
|
+
- name: Run tests
|
92
|
+
if: env.ORM_TYPE == 'ACTIVE_RECORD'
|
93
|
+
run: bundle exec rake test_active_record
|
94
|
+
- name: Run tests
|
95
|
+
if: env.ORM_TYPE == 'MONGOID'
|
96
|
+
run: bundle exec rake test_mongoid
|
97
|
+
- name: Publish code coverage
|
98
|
+
if: ${{ success() }}
|
99
|
+
uses: paambaati/codeclimate-action@v2.7.5
|
100
|
+
env:
|
101
|
+
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
|
data/.rubocop.yml
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
require:
|
2
|
+
- rubocop-performance
|
3
|
+
- rubocop-rails
|
4
|
+
|
1
5
|
AllCops:
|
2
6
|
DisabledByDefault: true
|
3
7
|
Exclude: []
|
@@ -73,10 +77,6 @@ Layout/EndAlignment:
|
|
73
77
|
Description: 'Align ends correctly.'
|
74
78
|
Enabled: true
|
75
79
|
|
76
|
-
Lint/EndInMethod:
|
77
|
-
Description: 'END blocks should not be placed inside method definitions.'
|
78
|
-
Enabled: true
|
79
|
-
|
80
80
|
Lint/EnsureReturn:
|
81
81
|
Description: 'Do not use return in an ensure block.'
|
82
82
|
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-return-ensure'
|
@@ -90,7 +90,7 @@ Lint/FormatParameterMismatch:
|
|
90
90
|
Description: 'The number of parameters to format/sprint must match the fields.'
|
91
91
|
Enabled: true
|
92
92
|
|
93
|
-
Lint/
|
93
|
+
Lint/SuppressedException:
|
94
94
|
Description: "Don't suppress exception."
|
95
95
|
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#dont-hide-exceptions'
|
96
96
|
Enabled: true
|
@@ -139,7 +139,7 @@ Lint/ShadowingOuterLocalVariable:
|
|
139
139
|
for block arguments or block local variables.
|
140
140
|
Enabled: true
|
141
141
|
|
142
|
-
Lint/
|
142
|
+
Lint/RedundantStringCoercion:
|
143
143
|
Description: 'Checks for Object#to_s usage in string interpolation.'
|
144
144
|
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-to-s'
|
145
145
|
Enabled: true
|
@@ -148,7 +148,7 @@ Lint/UnderscorePrefixedVariableName:
|
|
148
148
|
Description: 'Do not use prefix `_` for a variable that is used.'
|
149
149
|
Enabled: true
|
150
150
|
|
151
|
-
Lint/
|
151
|
+
Lint/RedundantCopDisableDirective:
|
152
152
|
Description: >-
|
153
153
|
Checks for rubocop:disable comments that can be removed.
|
154
154
|
Note: this cop is not disabled when disabling all cops.
|
@@ -178,8 +178,8 @@ Lint/UselessAssignment:
|
|
178
178
|
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#underscore-unused-vars'
|
179
179
|
Enabled: true
|
180
180
|
|
181
|
-
Lint/
|
182
|
-
Description: '
|
181
|
+
Lint/BinaryOperatorWithIdenticalOperands:
|
182
|
+
Description: 'This cop checks for places where binary operator has identical operands.'
|
183
183
|
Enabled: true
|
184
184
|
|
185
185
|
Lint/UselessElseWithoutRescue:
|
@@ -221,7 +221,7 @@ Metrics/CyclomaticComplexity:
|
|
221
221
|
of test cases needed to validate a method.
|
222
222
|
Enabled: true
|
223
223
|
|
224
|
-
|
224
|
+
Layout/LineLength:
|
225
225
|
Description: 'Limit lines to 120 characters.'
|
226
226
|
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#80-character-limits'
|
227
227
|
Max: 120
|
@@ -285,7 +285,7 @@ Performance/ReverseEach:
|
|
285
285
|
Reference: 'https://github.com/JuanitoFatas/fast-ruby#enumerablereverseeach-vs-enumerablereverse_each-code'
|
286
286
|
Enabled: true
|
287
287
|
|
288
|
-
|
288
|
+
Style/Sample:
|
289
289
|
Description: >-
|
290
290
|
Use `sample` instead of `shuffle.first`,
|
291
291
|
`shuffle.last`, and `shuffle[Fixnum]`.
|
@@ -353,7 +353,7 @@ Rails/TimeZone:
|
|
353
353
|
Description: 'Checks the correct usage of time zone aware methods.'
|
354
354
|
StyleGuide: 'https://github.com/bbatsov/rails-style-guide#time'
|
355
355
|
Reference: 'http://danilenko.org/2012/7/6/rails_timezones'
|
356
|
-
Enabled:
|
356
|
+
Enabled: false
|
357
357
|
|
358
358
|
Rails/Validation:
|
359
359
|
Description: 'Use validates :attribute, hash of validations.'
|
@@ -375,21 +375,21 @@ Style/Alias:
|
|
375
375
|
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#alias-method'
|
376
376
|
Enabled: true
|
377
377
|
|
378
|
-
Layout/
|
378
|
+
Layout/ArrayAlignment:
|
379
379
|
Description: >-
|
380
380
|
Align the elements of an array literal if they span more than
|
381
381
|
one line.
|
382
382
|
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#align-multiline-arrays'
|
383
383
|
Enabled: true
|
384
384
|
|
385
|
-
Layout/
|
385
|
+
Layout/HashAlignment:
|
386
386
|
Description: >-
|
387
387
|
Align the elements of a hash literal if they span more than
|
388
388
|
one line.
|
389
389
|
EnforcedHashRocketStyle: table
|
390
390
|
Enabled: true
|
391
391
|
|
392
|
-
Layout/
|
392
|
+
Layout/ParameterAlignment:
|
393
393
|
Description: >-
|
394
394
|
Align the parameters of a method call if they span more
|
395
395
|
than one line.
|
@@ -448,10 +448,6 @@ Style/BlockDelimiters:
|
|
448
448
|
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#single-line-blocks'
|
449
449
|
Enabled: true
|
450
450
|
|
451
|
-
Style/BracesAroundHashParameters:
|
452
|
-
Description: 'Enforce braces style around hash parameters.'
|
453
|
-
Enabled: true
|
454
|
-
|
455
451
|
Style/CaseEquality:
|
456
452
|
Description: 'Avoid explicit use of the case equality operator(===).'
|
457
453
|
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-case-equality'
|
@@ -596,7 +592,7 @@ Style/EndBlock:
|
|
596
592
|
Layout/EndOfLine:
|
597
593
|
Description: 'Use Unix-style line endings.'
|
598
594
|
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#crlf'
|
599
|
-
Enabled:
|
595
|
+
Enabled: false
|
600
596
|
|
601
597
|
Style/EvenOdd:
|
602
598
|
Description: 'Favor the use of Fixnum#even? && Fixnum#odd?'
|
@@ -617,14 +613,14 @@ Layout/InitialIndentation:
|
|
617
613
|
Checks the indentation of the first non-blank non-comment line in a file.
|
618
614
|
Enabled: true
|
619
615
|
|
620
|
-
Layout/
|
616
|
+
Layout/FirstArgumentIndentation:
|
621
617
|
Description: 'Checks the indentation of the first parameter in a method call.'
|
622
618
|
Enabled: true
|
623
619
|
|
624
|
-
|
620
|
+
Lint/FlipFlop:
|
625
621
|
Description: 'Checks for flip flops'
|
626
622
|
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-flip-flops'
|
627
|
-
Enabled:
|
623
|
+
Enabled: false
|
628
624
|
|
629
625
|
Style/For:
|
630
626
|
Description: 'Checks use of for or each in multiline loops.'
|
@@ -634,9 +630,12 @@ Style/For:
|
|
634
630
|
Style/FormatString:
|
635
631
|
Description: 'Enforce the use of Kernel#sprintf, Kernel#format or String#%.'
|
636
632
|
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#sprintf'
|
637
|
-
EnforcedStyle:
|
633
|
+
EnforcedStyle: percent
|
638
634
|
Enabled: true
|
639
635
|
|
636
|
+
Style/FormatStringToken:
|
637
|
+
Enabled: false
|
638
|
+
|
640
639
|
Style/GlobalVars:
|
641
640
|
Description: 'Do not introduce global variables.'
|
642
641
|
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#instance-vars'
|
@@ -676,14 +675,14 @@ Layout/IndentationWidth:
|
|
676
675
|
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#spaces-indentation'
|
677
676
|
Enabled: true
|
678
677
|
|
679
|
-
Layout/
|
678
|
+
Layout/FirstArrayElementIndentation:
|
680
679
|
Description: >-
|
681
680
|
Checks the indentation of the first element in an array
|
682
681
|
literal.
|
683
682
|
EnforcedStyle: consistent
|
684
683
|
Enabled: true
|
685
684
|
|
686
|
-
Layout/
|
685
|
+
Layout/FirstHashElementIndentation:
|
687
686
|
Description: 'Checks the indentation of the first key in a hash literal.'
|
688
687
|
EnforcedStyle: consistent
|
689
688
|
Enabled: true
|
@@ -862,7 +861,7 @@ Style/PercentQLiterals:
|
|
862
861
|
Style/PerlBackrefs:
|
863
862
|
Description: 'Avoid Perl-style regex back references.'
|
864
863
|
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-perl-regexp-last-matchers'
|
865
|
-
Enabled:
|
864
|
+
Enabled: false
|
866
865
|
|
867
866
|
Naming/PredicateName:
|
868
867
|
Description: 'Check the names of predicate methods.'
|
@@ -940,11 +939,11 @@ Style/SingleLineBlockParams:
|
|
940
939
|
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#reduce-blocks'
|
941
940
|
Methods:
|
942
941
|
- reduce:
|
943
|
-
-
|
944
|
-
-
|
942
|
+
- sum
|
943
|
+
- v
|
945
944
|
- inject:
|
946
|
-
-
|
947
|
-
-
|
945
|
+
- sum
|
946
|
+
- v
|
948
947
|
Enabled: true
|
949
948
|
|
950
949
|
Style/SingleLineMethods:
|
@@ -1118,12 +1117,12 @@ Style/SymbolProc:
|
|
1118
1117
|
Description: 'Use symbols as procs instead of blocks when possible.'
|
1119
1118
|
Enabled: true
|
1120
1119
|
|
1121
|
-
Layout/
|
1120
|
+
Layout/IndentationStyle:
|
1122
1121
|
Description: 'No hard tabs.'
|
1123
1122
|
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#spaces-indentation'
|
1124
1123
|
Enabled: true
|
1125
1124
|
|
1126
|
-
Layout/
|
1125
|
+
Layout/TrailingEmptyLines:
|
1127
1126
|
Description: 'Checks trailing blank lines and final newline.'
|
1128
1127
|
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#newline-eof'
|
1129
1128
|
Enabled: true
|
@@ -1178,11 +1177,11 @@ Style/UnlessElse:
|
|
1178
1177
|
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-else-with-unless'
|
1179
1178
|
Enabled: true
|
1180
1179
|
|
1181
|
-
Style/
|
1180
|
+
Style/RedundantCapitalW:
|
1182
1181
|
Description: 'Checks for %W when interpolation is not needed.'
|
1183
1182
|
Enabled: true
|
1184
1183
|
|
1185
|
-
Style/
|
1184
|
+
Style/RedundantPercentQ:
|
1186
1185
|
Description: 'Checks for %q/%Q when single quotes or double quotes would do.'
|
1187
1186
|
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#percent-q'
|
1188
1187
|
Enabled: true
|
data/CHANGELOG.md
CHANGED
@@ -1,60 +1,82 @@
|
|
1
|
-
## Change Log
|
2
|
-
|
3
|
-
### [
|
4
|
-
- [#
|
5
|
-
|
6
|
-
|
7
|
-
- [#
|
8
|
-
|
9
|
-
|
10
|
-
- [#
|
11
|
-
|
12
|
-
### [v2.
|
13
|
-
- [#
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
- [#
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
- [#
|
24
|
-
- [#
|
25
|
-
- [#
|
26
|
-
- [#
|
27
|
-
|
28
|
-
|
29
|
-
- [#
|
30
|
-
|
31
|
-
### [
|
32
|
-
- [#
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
- [#
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
- [#
|
46
|
-
- [#
|
47
|
-
- [#
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
- [#
|
57
|
-
|
58
|
-
### [v1.
|
59
|
-
- [#
|
60
|
-
- [#
|
1
|
+
## Change Log
|
2
|
+
|
3
|
+
### [v2.3.1](https://github.com/khiav223577/pluck_all/compare/v2.3.0...v2.3.1) 2021/06/10
|
4
|
+
- [#53](https://github.com/khiav223577/pluck_all/pull/53) Fix: ActiveRecord::ImmutableRelation (@khiav223577)
|
5
|
+
|
6
|
+
### [v2.3.0](https://github.com/khiav223577/pluck_all/compare/v2.2.1...v2.3.0) 2021/06/10
|
7
|
+
- [#52](https://github.com/khiav223577/pluck_all/pull/52) Support `globalize` gem (@khiav223577)
|
8
|
+
- [#51](https://github.com/khiav223577/pluck_all/pull/51) Fix: broken test cases caused by `mimemagic` (@khiav223577)
|
9
|
+
- [#50](https://github.com/khiav223577/pluck_all/pull/50) Migrating from Travis CI to GitHub Actions (@khiav223577)
|
10
|
+
- [#49](https://github.com/khiav223577/pluck_all/pull/49) Fix: test files should not be included in coverage (@khiav223577)
|
11
|
+
|
12
|
+
### [v2.2.1](https://github.com/khiav223577/pluck_all/compare/v2.1.0...v2.2.1) 2020/12/29
|
13
|
+
- [#48](https://github.com/khiav223577/pluck_all/pull/48) fix Rails 6.1 `map!` deprecation warning (@klausbadelt)
|
14
|
+
|
15
|
+
### [v2.1.0](https://github.com/khiav223577/pluck_all/compare/v2.0.4...v2.1.0) 2020/10/19
|
16
|
+
- [#47](https://github.com/khiav223577/pluck_all/pull/47) Use instantiate method to initialize model without calling callbacks (@khiav223577)
|
17
|
+
- [#45](https://github.com/khiav223577/pluck_all/pull/45) Support Ruby 2.7 (@khiav223577)
|
18
|
+
- [#44](https://github.com/khiav223577/pluck_all/pull/44) Move `require` from begin..rescue block for better debug message (@khiav223577)
|
19
|
+
- [#43](https://github.com/khiav223577/pluck_all/pull/43) Use rails_compatibility to get attribute_types for better compatibility (@khiav223577)
|
20
|
+
- [#41](https://github.com/khiav223577/pluck_all/pull/41) Support Rails 6.0 (@khiav223577)
|
21
|
+
|
22
|
+
### [v2.0.4](https://github.com/khiav223577/pluck_all/compare/v2.0.3...v2.0.4) 2019/04/04
|
23
|
+
- [#40](https://github.com/khiav223577/pluck_all/pull/40) Fix: inconsistent with pluck when having `select` on relation (@khiav223577)
|
24
|
+
- [#39](https://github.com/khiav223577/pluck_all/pull/39) Fix: undefined local variable or method `construct_relation_for_association_calculations` in Rails 5.2.2.1 (@MasashiYokota)
|
25
|
+
- [#36](https://github.com/khiav223577/pluck_all/pull/36) Fix: broken test cases after bundler 2.0 was released (@khiav223577)
|
26
|
+
- [#35](https://github.com/khiav223577/pluck_all/pull/35) refactor #test_pluck_with_includes (@khiav223577)
|
27
|
+
- [#34](https://github.com/khiav223577/pluck_all/pull/34) Provide Arel support as well (@snkashis)
|
28
|
+
- [#33](https://github.com/khiav223577/pluck_all/pull/33) Fix gemfile path in bin/setup (@snkashis)
|
29
|
+
- [#32](https://github.com/khiav223577/pluck_all/pull/32) Move patches into separate files (@khiav223577)
|
30
|
+
|
31
|
+
### [v2.0.3](https://github.com/khiav223577/pluck_all/compare/v2.0.2...v2.0.3) 2018/07/19
|
32
|
+
- [#30](https://github.com/khiav223577/pluck_all/pull/30) Fix: includes + pluck_all results in strange output (@khiav223577)
|
33
|
+
|
34
|
+
### [v2.0.2](https://github.com/khiav223577/pluck_all/compare/v2.0.1...v2.0.2) 2018/06/29
|
35
|
+
- [#28](https://github.com/khiav223577/pluck_all/pull/28) Fix test cases and the result format may be wrong when plucking multiple columns with nil value may (@khiav223577)
|
36
|
+
- [#27](https://github.com/khiav223577/pluck_all/pull/27) [Feature] Mongoid Hooks And Tests Separation (@berniechiu)
|
37
|
+
- [#26](https://github.com/khiav223577/pluck_all/pull/26) [FIX] Wrong Module Skipped (@berniechiu)
|
38
|
+
|
39
|
+
### [v2.0.1](https://github.com/khiav223577/pluck_all/compare/v2.0.0...v2.0.1) 2018/05/27
|
40
|
+
- [#25](https://github.com/khiav223577/pluck_all/pull/25) Fix that project without mongoid will raise LoadError (@khiav223577)
|
41
|
+
|
42
|
+
### [v2.0.0](https://github.com/khiav223577/pluck_all/compare/v1.2.4...v2.0.0) 2018/05/27
|
43
|
+
- [#24](https://github.com/khiav223577/pluck_all/pull/24) Support Mongoid! (@khiav223577)
|
44
|
+
- [#23](https://github.com/khiav223577/pluck_all/pull/23) Refactoring Coding Style (@khiav223577)
|
45
|
+
- [#22](https://github.com/khiav223577/pluck_all/pull/22) test Rails 5.2 (@khiav223577)
|
46
|
+
- [#21](https://github.com/khiav223577/pluck_all/pull/21) should test both 5.0.x and 5.1.x (@khiav223577)
|
47
|
+
- [#20](https://github.com/khiav223577/pluck_all/pull/20) test pluck_all in rails 5.1.x (@khiav223577)
|
48
|
+
- [#19](https://github.com/khiav223577/pluck_all/pull/19) add test cases to test `join` with table name and `alias` (@khiav223577)
|
49
|
+
|
50
|
+
### [v1.2.4](https://github.com/khiav223577/pluck_all/compare/v1.2.3...v1.2.4) 2017/04/11
|
51
|
+
- [#17](https://github.com/khiav223577/pluck_all/pull/17) supports carrierwave 1.0.0 (@khiav223577)
|
52
|
+
|
53
|
+
### [v1.2.3](https://github.com/khiav223577/pluck_all/compare/v1.2.2...v1.2.3) 2017/04/03
|
54
|
+
- [#14](https://github.com/khiav223577/pluck_all/pull/14) use mass assign to assign values (@khiav223577)
|
55
|
+
- [#16](https://github.com/khiav223577/pluck_all/pull/16) Checking if Class has CarrierWave loaded (@basex)
|
56
|
+
- [#15](https://github.com/khiav223577/pluck_all/pull/15) Restrict dependency to activerecord (@basex)
|
57
|
+
|
58
|
+
### [v1.2.2](https://github.com/khiav223577/pluck_all/compare/v1.2.1...v1.2.2) 2017/03/14
|
59
|
+
- [#13](https://github.com/khiav223577/pluck_all/pull/13) Model.none.pluck_all(..) should return empty array instead of raising exception (@khiav223577)
|
60
|
+
- [#12](https://github.com/khiav223577/pluck_all/pull/12) test other ruby version (@khiav223577)
|
61
|
+
|
62
|
+
### [v1.2.1](https://github.com/khiav223577/pluck_all/compare/v1.2.0...v1.2.1) 2017/01/24
|
63
|
+
- [#11](https://github.com/khiav223577/pluck_all/pull/11) always return carrierwave uploader if possible (@khiav223577)
|
64
|
+
- [#10](https://github.com/khiav223577/pluck_all/pull/10) change pluck_all return value of carrierwave column (@khiav223577)
|
65
|
+
|
66
|
+
### [v1.2.0](https://github.com/khiav223577/pluck_all/compare/v1.1.2...v1.2.0) 2017/01/24
|
67
|
+
- [#5](https://github.com/khiav223577/pluck_all/pull/5) Support casting CarrierWave url (@khiav223577)
|
68
|
+
- [#9](https://github.com/khiav223577/pluck_all/pull/9) need ActiveRecord version not Rails version (@khiav223577)
|
69
|
+
- [#8](https://github.com/khiav223577/pluck_all/pull/8) Upgrade rake version in development (@khiav223577)
|
70
|
+
|
71
|
+
### [v1.1.2](https://github.com/khiav223577/pluck_all/compare/v1.1.1...v1.1.2) 2017/01/06
|
72
|
+
- [#7](https://github.com/khiav223577/pluck_all/pull/7) fix pluck_all with join (@khiav223577)
|
73
|
+
|
74
|
+
### [v1.1.1](https://github.com/khiav223577/pluck_all/compare/v1.1.0...v1.1.1) 2017/01/01
|
75
|
+
- [#4](https://github.com/khiav223577/pluck_all/pull/4) add code climate (@khiav223577)
|
76
|
+
|
77
|
+
### [v1.1.0](https://github.com/khiav223577/pluck_all/compare/v1.0.1...v1.1.0) 2016/12/21
|
78
|
+
- [#3](https://github.com/khiav223577/pluck_all/pull/3) Feature/pluck array (@khiav223577)
|
79
|
+
|
80
|
+
### [v1.0.1](https://github.com/khiav223577/pluck_all/compare/v1.0.0...v1.0.1) 2016/12/20
|
81
|
+
- [#2](https://github.com/khiav223577/pluck_all/pull/2) test with multiple rails version (@khiav223577)
|
82
|
+
- [#1](https://github.com/khiav223577/pluck_all/pull/1) add basic test cases (@khiav223577)
|