shacl 0.4.2 → 0.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/shacl/algebra/node_shape.rb +1 -0
- data/lib/shacl/algebra/property_shape.rb +1 -0
- data/lib/shacl/validation_result.rb +1 -1
- metadata +6 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3f8ac48c7028a384c1a792315d4d2ae1647bdca8cf50fafe31d1470a06b1d1ff
|
4
|
+
data.tar.gz: 6e68e8ff0ecd1a1b694ddc7959867a38232a27d5d9a5253e396e8ed900dce360
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 24c57a73f9d54df1682327433bb8063b84ccaf61636226b7f6e3665693f02be2d4d8fb1b6e4865986eed2961d55cedf31ff5550e216187f7fd3f1dc5bdd74acd
|
7
|
+
data.tar.gz: '037729fd05ff01f15a748cfb4a708b0ff5859dd375ee5cedbc4885b77a817359aa752440d3f8f9c72dc19da2254b558e5351226897cc61ceb7cc0b6aca9de2ab'
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.4.
|
1
|
+
0.4.3
|
@@ -18,6 +18,7 @@ module SHACL::Algebra
|
|
18
18
|
options = id ? options.merge(shape: id) : options
|
19
19
|
options[:severity] = @options[:severity] if @options[:severity]
|
20
20
|
options[:severity] ||= RDF::Vocab::SHACL.Violation
|
21
|
+
options[:message] = @options[:message] if @options[:message]
|
21
22
|
log_debug(NAME, depth: depth) {SXP::Generator.string({id: id, node: node}.to_sxp_bin)}
|
22
23
|
|
23
24
|
# Evaluate against builtins
|
@@ -18,6 +18,7 @@ module SHACL::Algebra
|
|
18
18
|
options = id ? options.merge(shape: id) : options
|
19
19
|
options[:severity] = @options[:severity] if @options[:severity]
|
20
20
|
options[:severity] ||= RDF::Vocab::SHACL.Violation
|
21
|
+
options[:message] = @options[:message] if @options[:message]
|
21
22
|
|
22
23
|
path = @options[:path]
|
23
24
|
log_debug(NAME, depth: depth) {SXP::Generator.string({id: id, node: node, path: path}.to_sxp_bin)}
|
@@ -145,7 +145,7 @@ module SHACL
|
|
145
145
|
# @return [Boolean]
|
146
146
|
def ==(other)
|
147
147
|
return false unless other.is_a?(ValidationResult)
|
148
|
-
%i(focus path resultSeverity component shape value).all? do |prop|
|
148
|
+
%i(focus path resultSeverity component shape value message).all? do |prop|
|
149
149
|
ours = self.send(prop)
|
150
150
|
theirs = other.send(prop)
|
151
151
|
theirs.nil? || (ours && ours.node? && theirs.node?) || ours && ours.eql?(theirs)
|
metadata
CHANGED
@@ -1,13 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: shacl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gregg Kellogg
|
8
|
+
autorequire:
|
8
9
|
bindir: bin
|
9
10
|
cert_chain: []
|
10
|
-
date: 2025-
|
11
|
+
date: 2025-06-24 00:00:00.000000000 Z
|
11
12
|
dependencies:
|
12
13
|
- !ruby/object:Gem::Dependency
|
13
14
|
name: rdf
|
@@ -218,6 +219,7 @@ metadata:
|
|
218
219
|
homepage_uri: https://github.com/ruby-rdf/shacl
|
219
220
|
mailing_list_uri: https://lists.w3.org/Archives/Public/public-rdf-ruby/
|
220
221
|
source_code_uri: https://github.com/ruby-rdf/shacl
|
222
|
+
post_install_message:
|
221
223
|
rdoc_options: []
|
222
224
|
require_paths:
|
223
225
|
- lib
|
@@ -232,7 +234,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
232
234
|
- !ruby/object:Gem::Version
|
233
235
|
version: '0'
|
234
236
|
requirements: []
|
235
|
-
rubygems_version: 3.
|
237
|
+
rubygems_version: 3.2.33
|
238
|
+
signing_key:
|
236
239
|
specification_version: 4
|
237
240
|
summary: Implementation of Shapes Constraint Language (SHACL) for RDF.rb
|
238
241
|
test_files: []
|