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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '0965263268b064dee557568f16f61570d571a32c236c7d6f53e675713d30289a'
4
- data.tar.gz: e2cd0b29580a4031c1d22988dd7131055dec9b6e07fbe4128806aa0709b65b4e
3
+ metadata.gz: 958f85dffb1d0a30da30245b746f99ba10b19f43a8241337c3d9171a7b0965fe
4
+ data.tar.gz: c03ea0d47dfb6102877f5bdce5796ea7ecf9de088e34ce415dd4009620182c76
5
5
  SHA512:
6
- metadata.gz: 71e19db05ebbb97b64fdf9b36883d003cb5e5a46ab6a1f2233938790371e94b80ba6cc1f574903c34cc959ddcf279bdb36c67506b44b0cc12378920b4da72d66
7
- data.tar.gz: 70bbd782872f2d8cf0f771d43e3f5e0074ba5af2821d5d927b99b1a24a4638f88bfe43811818b1d6755a8460b764b571633dd6c3289f0c604bbc39147144fcaa
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].from_cache || '1'
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
@@ -1,3 +1,3 @@
1
1
  module Solis
2
- VERSION = "0.64.0"
2
+ VERSION = "0.65.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solis
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.64.0
4
+ version: 0.65.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mehmet Celik