solis 0.64.0 → 0.65.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/solis/model.rb +2 -1
- data/lib/solis/query.rb +1 -1
- data/lib/solis/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: 958f85dffb1d0a30da30245b746f99ba10b19f43a8241337c3d9171a7b0965fe
|
4
|
+
data.tar.gz: c03ea0d47dfb6102877f5bdce5796ea7ecf9de088e34ce415dd4009620182c76
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 77565e3109f5667535e88a1ede6bb58502544acea35c56dab13bceedb3a9d3c91ae4bf7cb5e0091b591479da2f74295d0e840d69e84d7cac37d0edf121273b14
|
7
|
+
data.tar.gz: a56c76df3f32fe73fe29ef0473298335b2d9ab90adedc5f11367aa399f338c0b19824a40509f5b5903192b5a4d620c20c286fc1a9013961774902ccebbac8a36
|
data/lib/solis/model.rb
CHANGED
@@ -408,7 +408,8 @@ module Solis
|
|
408
408
|
internal_resolve = false
|
409
409
|
d = build_ttl_objekt2(graph, d, hierarchy, internal_resolve)
|
410
410
|
else
|
411
|
-
d = "#{klass.class.graph_name}#{attribute.tableize}/#{d.id}"
|
411
|
+
#d = "#{klass.class.graph_name}#{attribute.tableize}/#{d.id}"
|
412
|
+
d = "#{klass.class.graph_name}#{d.name.tableize}/#{d.id}"
|
412
413
|
end
|
413
414
|
end
|
414
415
|
|
data/lib/solis/query.rb
CHANGED
@@ -187,7 +187,7 @@ order by ?s
|
|
187
187
|
|
188
188
|
result = nil
|
189
189
|
|
190
|
-
from_cache = Graphiti.context[:object]
|
190
|
+
from_cache = Graphiti.context[:object]&.from_cache || '1'
|
191
191
|
if @query_cache.key?(query_key) && from_cache.eql?('1')
|
192
192
|
result = @query_cache[query_key]
|
193
193
|
Solis::LOGGER.info("CACHE: from #{query_key}")# if ConfigFile[:debug]
|
data/lib/solis/version.rb
CHANGED