rails_select_on_includes 6.0.0 → 6.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -1
- data/CHANGELOG.md +3 -0
- data/lib/rails_select_on_includes.rb +2 -0
- data/lib/rails_select_on_includes/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4d4d25c22192e9a003dd59bb2987821cf9935d11062304b7f28e1a73ba51a9d3
|
4
|
+
data.tar.gz: cd5e74a9926288b05c35101c4bc478fc2f0bcef3df1742e8e563468ebe40668a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 70b151e2c9b14e66744b18d042889d9a1646a9ff2aa3f0bff4b4fc2a5cfaad058688c9da668c0e2345d6e247f2d50b1f27cc9afdb8dad21912295bc2eada5898
|
7
|
+
data.tar.gz: 91d48036a7cf47745bd66c6e88105d6b0c0afffd063547515ff58f925b9f68d06777634307fea8f5cbe0c2848bfd559e152d8ce5cd078cc78b91fc105c43be05
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -32,6 +32,8 @@ require 'active_support/core_ext/string/filters'
|
|
32
32
|
sv.split(/,[\s$]*/).each do |sub_sv|
|
33
33
|
if sub_sv[/.+ as .+/i]
|
34
34
|
add_virtual_attribute(sub_sv.rpartition(/ as /i).last.strip)
|
35
|
+
elsif sub_sv[/.+\s+.+/i]
|
36
|
+
add_virtual_attribute(sub_sv.rpartition(/\s+/i).last.strip)
|
35
37
|
elsif sub_sv[/.+\.[^\*]+/]
|
36
38
|
add_virtual_attribute(sub_sv[/\..+/][1..-1].strip)
|
37
39
|
end
|
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: 6.0.
|
4
|
+
version: 6.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- alekseyl
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-11-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|