forest_liana 2.11.6 → 2.11.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/services/forest_liana/base_getter.rb +5 -1
- data/lib/forest_liana/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: d523f6f86ae62d440377f1e369655cbb6326e54e
|
4
|
+
data.tar.gz: c85db323833602667ad42c9a26d4e7485306ca70
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a27cbf808cf4a049cb9b1f6f234222b9e91e8863559cbe5cc49c555bea377c25a55da3c31da5fa4fb36c526425df9461f4aae52482de6d0a9fecee37a8db4d9d
|
7
|
+
data.tar.gz: 72e2b195398433e3031bf8dca8d7d0d8efbeb8920f1d421d0c8d77f671dc9860ab98c5870d339fa45b21037297b060b90331ecdb5934be20107da137896c75d6
|
@@ -16,7 +16,11 @@ module ForestLiana
|
|
16
16
|
def includes_for_serialization
|
17
17
|
includes_initial = includes
|
18
18
|
includes_for_smart_belongs_to = @collection.fields_smart_belongs_to.map { |field| field[:field] }
|
19
|
-
|
19
|
+
|
20
|
+
if @field_names_requested
|
21
|
+
includes_for_smart_belongs_to = includes_for_smart_belongs_to & @field_names_requested
|
22
|
+
end
|
23
|
+
|
20
24
|
includes_initial.concat(includes_for_smart_belongs_to).map(&:to_s)
|
21
25
|
end
|
22
26
|
end
|
data/lib/forest_liana/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: forest_liana
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.11.
|
4
|
+
version: 2.11.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sandro Munda
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-08-
|
11
|
+
date: 2018-08-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|