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 +4 -4
- data/lib/solis/model.rb +6 -6
- data/lib/solis/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: 424ee1c91533e6fe3238285da382f034457c338c7bbd4e8f44c9a6cb2bfffd88
|
4
|
+
data.tar.gz: fbe89a99f3a7c162dba2446769127779f988163051331913cf7be44f7dd51b00
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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(
|
179
|
-
|
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)
|
249
|
-
# puts insert_graph.dump(:ttl)
|
250
|
-
# puts where_graph.dump(:ttl)
|
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
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.
|
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-
|
11
|
+
date: 2024-11-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|