rails_select_on_includes 5.2.0.2 → 5.2.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/rails_select_on_includes.rb +1 -1
- data/lib/rails_select_on_includes/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f8f12487132478185aabe323f47231046bab9002
|
4
|
+
data.tar.gz: 9119e184af803fd65518d2bee9020faff7bf4366
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 797f4a7faa1c5ef8a4ec449968554a1f7bba74a44343248deaaa86fa6cc17c60c402bdfc147ad8fcec73b45b81d5ee5784f06651e162f6380a1422c2c28d3581
|
7
|
+
data.tar.gz: 599030bd5b71a7e3230493c34b14335acf8efcd119c8b75044e60ee2d41970e4dc7971996353d6516f07bd60029245fcfb658c0be822a9dda67ac379d5c0aefc
|
data/CHANGELOG.md
CHANGED
@@ -32,7 +32,7 @@ require 'active_support/core_ext/string/filters'
|
|
32
32
|
# all we need is some specials joins+select from related tables
|
33
33
|
case sv
|
34
34
|
when String
|
35
|
-
sv.split(
|
35
|
+
sv.split(/,[\s$]*/).each do |sub_sv|
|
36
36
|
if sub_sv[/.+ as .+/i]
|
37
37
|
add_virtual_attribute(sub_sv.rpartition(/ as /i).last.strip)
|
38
38
|
elsif sub_sv[/.+\.[^\*]+/]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_select_on_includes
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.2.0.
|
4
|
+
version: 5.2.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- alekseyl
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-05-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|