pluck_all 2.3.1 → 2.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +82 -79
- data/lib/pluck_all/models/active_record_extension.rb +1 -1
- data/lib/pluck_all/version.rb +1 -1
- metadata +1 -1
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
|
data/CHANGELOG.md
CHANGED
@@ -1,79 +1,82 @@
|
|
1
|
-
## Change Log
|
2
|
-
|
3
|
-
### [v2.3.
|
4
|
-
- [#
|
5
|
-
|
6
|
-
|
7
|
-
- [#
|
8
|
-
|
9
|
-
|
10
|
-
- [#
|
11
|
-
|
12
|
-
### [v2.1
|
13
|
-
- [#
|
14
|
-
|
15
|
-
|
16
|
-
- [#
|
17
|
-
- [#
|
18
|
-
|
19
|
-
|
20
|
-
- [#
|
21
|
-
|
22
|
-
|
23
|
-
- [#
|
24
|
-
- [#
|
25
|
-
- [#
|
26
|
-
- [#
|
27
|
-
|
28
|
-
|
29
|
-
- [#
|
30
|
-
|
31
|
-
### [v2.0.
|
32
|
-
- [#
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
- [#
|
38
|
-
|
39
|
-
### [v2.0.
|
40
|
-
- [#
|
41
|
-
|
42
|
-
|
43
|
-
- [#
|
44
|
-
- [#
|
45
|
-
- [#
|
46
|
-
|
47
|
-
|
48
|
-
- [#
|
49
|
-
|
50
|
-
### [v1.2.
|
51
|
-
- [#
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
- [#
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
- [#
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
- [#
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
- [#
|
70
|
-
|
71
|
-
### [v1.1.
|
72
|
-
- [#
|
73
|
-
|
74
|
-
### [v1.1.
|
75
|
-
- [#
|
76
|
-
|
77
|
-
### [v1.0
|
78
|
-
- [#
|
79
|
-
|
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)
|
@@ -14,7 +14,7 @@ class ActiveRecord::Relation
|
|
14
14
|
relation = clone
|
15
15
|
|
16
16
|
# See: https://github.com/globalize/globalize/pull/707
|
17
|
-
if
|
17
|
+
if relation.klass.method_defined?(:translated_attribute_names) && (parsed = parse_translated_columns(column_names))
|
18
18
|
relation = relation.join_translations
|
19
19
|
column_names = parsed
|
20
20
|
end
|
data/lib/pluck_all/version.rb
CHANGED