rails_select_on_includes 5.1.4.2 → 5.1.4.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/version.rb +1 -1
- data/lib/rails_select_on_includes.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: 5fa0d16a8143bff077619791b2e03c761f56a277
|
4
|
+
data.tar.gz: b79e1d54dc4f0d37df54486edd9e30059ac8389f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b88c7bae705128a215e284735087bf6de35a6ecbe5d0b3fc7d758bfbe095115955a2066533aa679adf8431f4eaa357b198784000cdcd63b06a1c174b5d79e6fb
|
7
|
+
data.tar.gz: ccfb270e482d59e6b34329ad09e8adcf2c2e975316eaddd9b5366d5f6f1987d4aa75586b923377264ff7ddae634de9a125e53df95226b4b0614ea64c8df25120
|
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.1.4.
|
4
|
+
version: 5.1.4.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
|