shex 0.7.0 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +7 -7
- data/VERSION +1 -1
- data/etc/doap.ttl +1 -1
- data/lib/shex/parser.rb +1 -1
- metadata +30 -25
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8a924dce17f503140d6642b75cce4921444b6aaed721669880665156aba4f835
|
4
|
+
data.tar.gz: 62618a7082162df2b3892bb6c39a37bd4c098e1565b172a9748a8f48483deebc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0459a9005c2e90af0f5a7fe9ddbe4ca659413e7e8aab5a418a26f26cb3261b52133a459c89307ea30030cb40e188bcd28cb1736d579cacf52a3eaff8df30da0b'
|
7
|
+
data.tar.gz: 5b3e6781c1891f16291b9929da6e1e6f956501096f5ec6e7946e17abc70debff0e1e20fc671467a9f69b5a2dd2bcaaba08cb03f7712f5189a965376948f2709a
|
data/README.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
This is a pure-Ruby library for working with the [Shape Expressions Language][ShExSpec] to validate the shape of [RDF][] graphs.
|
4
4
|
|
5
|
-
[![Gem Version](https://badge.fury.io/rb/shex.
|
5
|
+
[![Gem Version](https://badge.fury.io/rb/shex.svg)](https://badge.fury.io/rb/shex)
|
6
6
|
[![Build Status](https://github.com/ruby-rdf/shex/workflows/CI/badge.svg?branch=develop)](https://github.com/ruby-rdf/shex/actions?query=workflow%3ACI)
|
7
7
|
[![Coverage Status](https://coveralls.io/repos/ruby-rdf/shex/badge.svg?branch=develop)](https://coveralls.io/github/ruby-rdf/shex?branch=develop)
|
8
8
|
[![Gitter chat](https://badges.gitter.im/ruby-rdf/rdf.png)](https://gitter.im/ruby-rdf/rdf)
|
@@ -190,7 +190,7 @@ Example usage:
|
|
190
190
|
|
191
191
|
## Documentation
|
192
192
|
|
193
|
-
<https://
|
193
|
+
<https://ruby-rdf.github.io/shex>
|
194
194
|
|
195
195
|
|
196
196
|
## Implementation Notes
|
@@ -200,9 +200,9 @@ The parser uses the executable [S-Expressions][] generated from the EBNF ShExC g
|
|
200
200
|
|
201
201
|
## Dependencies
|
202
202
|
|
203
|
-
* [Ruby](https://ruby-lang.org/) (>=
|
204
|
-
* [RDF.rb](https://rubygems.org/gems/rdf) (~> 3.
|
205
|
-
* [SPARQL gem](https://rubygems.org/gems/sparql) (~> 3.
|
203
|
+
* [Ruby](https://ruby-lang.org/) (>= 3.0)
|
204
|
+
* [RDF.rb](https://rubygems.org/gems/rdf) (~> 3.3)
|
205
|
+
* [SPARQL gem](https://rubygems.org/gems/sparql) (~> 3.3)
|
206
206
|
|
207
207
|
## Installation
|
208
208
|
|
@@ -224,7 +224,7 @@ follows:
|
|
224
224
|
|
225
225
|
## Resources
|
226
226
|
|
227
|
-
* <https://
|
227
|
+
* <https://ruby-rdf.github.io/shex>
|
228
228
|
* <https://github.com/ruby-rdf/shex>
|
229
229
|
* <https://rubygems.org/gems/shex>
|
230
230
|
|
@@ -264,7 +264,7 @@ see <https://unlicense.org/> or the accompanying {file:LICENSE} file.
|
|
264
264
|
|
265
265
|
[ShExSpec]: http://shex.io/shex-semantics-20170713/
|
266
266
|
[RDF]: https://www.w3.org/RDF/
|
267
|
-
[RDF.rb]: https://
|
267
|
+
[RDF.rb]: https://ruby-rdf.github.io/rdf
|
268
268
|
[EBNF]: https://rubygems.org/gems/ebnf
|
269
269
|
[YARD]: https://yardoc.org/
|
270
270
|
[YARD-GS]: https://rubydoc.info/docs/yard/file/docs/GettingStarted.md
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.8.0
|
data/etc/doap.ttl
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
|
11
11
|
<https://rubygems.org/gems/shex> a doap:Project, earl:TestSubject, earl:Software ;
|
12
12
|
doap:name "ShEx" ;
|
13
|
-
doap:homepage <https://ruby-rdf.github.
|
13
|
+
doap:homepage <https://ruby-rdf.github.io/shex> ;
|
14
14
|
doap:license <https://unlicense.org/1.0/> ;
|
15
15
|
doap:shortdesc "ShEx is a Shape Expression engine for Ruby RDF.rb."@en ;
|
16
16
|
doap:description "ShEx is an Shape Expression engine for the Ruby RDF.rb library suite."@en ;
|
data/lib/shex/parser.rb
CHANGED
@@ -30,7 +30,7 @@ module ShEx
|
|
30
30
|
# The internal representation of the result using hierarchy of RDF objects and ShEx::Operator
|
31
31
|
# objects.
|
32
32
|
# @return [Array]
|
33
|
-
# @see https://
|
33
|
+
# @see https://ruby-rdf.github.io/sparql/SPARQL/Algebra
|
34
34
|
attr_accessor :result
|
35
35
|
|
36
36
|
# Terminals passed to lexer. Order matters!
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: shex
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gregg Kellogg
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-08-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rdf
|
@@ -16,98 +16,98 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '3.
|
19
|
+
version: '3.3'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '3.
|
26
|
+
version: '3.3'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: json-ld
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '3.
|
33
|
+
version: '3.3'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '3.
|
40
|
+
version: '3.3'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: json-ld-preloaded
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '3.
|
47
|
+
version: '3.3'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '3.
|
54
|
+
version: '3.3'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: ebnf
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '2.
|
61
|
+
version: '2.4'
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '2.
|
68
|
+
version: '2.4'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: sxp
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '1.
|
75
|
+
version: '1.3'
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '1.
|
82
|
+
version: '1.3'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: rdf-xsd
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: '3.
|
89
|
+
version: '3.3'
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: '3.
|
96
|
+
version: '3.3'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: sparql
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
101
|
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: '3.
|
103
|
+
version: '3.3'
|
104
104
|
type: :runtime
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: '3.
|
110
|
+
version: '3.3'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: htmlentities
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
@@ -142,42 +142,42 @@ dependencies:
|
|
142
142
|
requirements:
|
143
143
|
- - "~>"
|
144
144
|
- !ruby/object:Gem::Version
|
145
|
-
version: '3.
|
145
|
+
version: '3.3'
|
146
146
|
type: :development
|
147
147
|
prerelease: false
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
150
|
- - "~>"
|
151
151
|
- !ruby/object:Gem::Version
|
152
|
-
version: '3.
|
152
|
+
version: '3.3'
|
153
153
|
- !ruby/object:Gem::Dependency
|
154
154
|
name: rdf-turtle
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|
156
156
|
requirements:
|
157
157
|
- - "~>"
|
158
158
|
- !ruby/object:Gem::Version
|
159
|
-
version: '3.
|
159
|
+
version: '3.3'
|
160
160
|
type: :development
|
161
161
|
prerelease: false
|
162
162
|
version_requirements: !ruby/object:Gem::Requirement
|
163
163
|
requirements:
|
164
164
|
- - "~>"
|
165
165
|
- !ruby/object:Gem::Version
|
166
|
-
version: '3.
|
166
|
+
version: '3.3'
|
167
167
|
- !ruby/object:Gem::Dependency
|
168
168
|
name: rspec
|
169
169
|
requirement: !ruby/object:Gem::Requirement
|
170
170
|
requirements:
|
171
171
|
- - "~>"
|
172
172
|
- !ruby/object:Gem::Version
|
173
|
-
version: '3.
|
173
|
+
version: '3.12'
|
174
174
|
type: :development
|
175
175
|
prerelease: false
|
176
176
|
version_requirements: !ruby/object:Gem::Requirement
|
177
177
|
requirements:
|
178
178
|
- - "~>"
|
179
179
|
- !ruby/object:Gem::Version
|
180
|
-
version: '3.
|
180
|
+
version: '3.12'
|
181
181
|
- !ruby/object:Gem::Dependency
|
182
182
|
name: rspec-its
|
183
183
|
requirement: !ruby/object:Gem::Requirement
|
@@ -249,10 +249,15 @@ files:
|
|
249
249
|
- lib/shex/shex_context.rb
|
250
250
|
- lib/shex/terminals.rb
|
251
251
|
- lib/shex/version.rb
|
252
|
-
homepage: https://
|
252
|
+
homepage: https://github.com/ruby-rdf/shex
|
253
253
|
licenses:
|
254
254
|
- Unlicense
|
255
255
|
metadata:
|
256
|
+
documentation_uri: https://ruby-rdf.github.io/shex
|
257
|
+
bug_tracker_uri: https://github.com/ruby-rdf/shex/issues
|
258
|
+
homepage_uri: https://github.com/ruby-rdf/shex
|
259
|
+
mailing_list_uri: https://lists.w3.org/Archives/Public/public-rdf-ruby/
|
260
|
+
source_code_uri: https://github.com/ruby-rdf/shex
|
256
261
|
yard.run: yri
|
257
262
|
post_install_message:
|
258
263
|
rdoc_options: []
|
@@ -262,14 +267,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
262
267
|
requirements:
|
263
268
|
- - ">="
|
264
269
|
- !ruby/object:Gem::Version
|
265
|
-
version: '
|
270
|
+
version: '3.0'
|
266
271
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
267
272
|
requirements:
|
268
273
|
- - ">="
|
269
274
|
- !ruby/object:Gem::Version
|
270
275
|
version: '0'
|
271
276
|
requirements: []
|
272
|
-
rubygems_version: 3.
|
277
|
+
rubygems_version: 3.2.33
|
273
278
|
signing_key:
|
274
279
|
specification_version: 4
|
275
280
|
summary: Implementation of Shape Expressions (ShEx) for RDF.rb
|