solis 0.77.0 → 0.78.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: d19144e051731d0bebae424722a0c9ccc463b5ba7a22b00b889f8704427d97e9
4
- data.tar.gz: ac9ba93e90607b7d676cbc8aee316ea73fc15fa0c6289cd6496f3658d81bcd41
3
+ metadata.gz: 424ee1c91533e6fe3238285da382f034457c338c7bbd4e8f44c9a6cb2bfffd88
4
+ data.tar.gz: fbe89a99f3a7c162dba2446769127779f988163051331913cf7be44f7dd51b00
5
5
  SHA512:
6
- metadata.gz: 7e09a77d9bc7576b5cf5332e2f0892c0d8995f84f3beea784662633a144d3d7d0881e1b56b15e0f07ff1efe23a7d090eed28c3c21844eaded207f9d07404e7f9
7
- data.tar.gz: 33fe02937e9de9236ea87616fc92597e5ab95c53760e52d00e453b5a80d2bb5b4e48be9a291ac5aedde89f2d529a380664c8f81e1ef7f916a8e267a2d1266e10
6
+ metadata.gz: 02a9645e8fa481276cfaa6320de404482be850035930d54df7c214a420746710afadd5ced2ec23bc7df3c06a1c08f47759fd641aff20cbd9e2904fc8e1bef4a5
7
+ data.tar.gz: 0af8c1358122caff1c2ecd36b2994cec8730d5db6f9cf5d59db367cd76f1eb20edf154629c97788a295df8db37bbec5b8816c3e5119510220c1dae062b3ab513
data/lib/solis/model.rb CHANGED
@@ -175,8 +175,8 @@ values ?s {<#{self.graph_id}>}
175
175
  result = sparql.insert_data(graph, graph: graph.name)
176
176
  end
177
177
 
178
- after_create_proc&.call(result)
179
- result
178
+ after_create_proc&.call(self)
179
+ self
180
180
  rescue StandardError => e
181
181
  Solis::LOGGER.error e.message
182
182
  Solis::LOGGER.error e.message
@@ -210,7 +210,7 @@ values ?s {<#{self.graph_id}>}
210
210
  embedded_data = properties_to_hash(embedded)
211
211
  embedded.update(embedded_data, validate_dependencies, false)
212
212
  else
213
- embedded.save(validate_dependencies, false)
213
+ value = embedded.save(validate_dependencies, false)
214
214
  end
215
215
  else
216
216
  Solis::LOGGER.info("#{embedded.class.name} is embedded not allowed to change. Skipping")
@@ -245,9 +245,9 @@ values ?s {<#{self.graph_id}>}
245
245
 
246
246
  insert_graph = as_graph(updated_klass, true)
247
247
 
248
- # puts delete_graph.dump(:ttl) #if ConfigFile[:debug]
249
- # puts insert_graph.dump(:ttl) #if ConfigFile[:debug]
250
- # puts where_graph.dump(:ttl) #if ConfigFile[:debug]
248
+ # puts delete_graph.dump(:ttl) if ConfigFile[:debug]
249
+ # puts insert_graph.dump(:ttl) if ConfigFile[:debug]
250
+ # puts where_graph.dump(:ttl) if ConfigFile[:debug]
251
251
 
252
252
  # if ConfigFile[:debug]
253
253
  delete_insert_query = SPARQL::Client::Update::DeleteInsert.new(delete_graph, insert_graph, where_graph, graph: insert_graph.name).to_s
data/lib/solis/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Solis
2
- VERSION = "0.77.0"
2
+ VERSION = "0.78.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solis
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.77.0
4
+ version: 0.78.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mehmet Celik
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-10-10 00:00:00.000000000 Z
11
+ date: 2024-11-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport