rdf-trig 1.0.3 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +6 -14
- data/README.md +2 -0
- data/VERSION +1 -1
- data/lib/rdf/trig/format.rb +1 -1
- data/lib/rdf/trig/meta.rb +37 -14
- metadata +25 -25
checksums.yaml
CHANGED
@@ -1,15 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
metadata.gz: !binary |-
|
9
|
-
MjFlMTM1YzYxYjNhNTg3NGQ1M2M2YzBjYWNmOTk2MDM3YTk2NTgwYTEzNzYx
|
10
|
-
ZDYzMzBhYzBmMDM0NWYzYzFmNzkzNjAyMTcyODQwMzdhODE4NDkxNGVjYTdl
|
11
|
-
NTQzZjBiYTY4MWM2MzVhNGU1NzY4Y2E3ZWQxNDExZTVkZDdhNTY=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
ZjU0MWNlYzZiMDQ0ODk2MjQ0Y2U5MTE0YmFiNzRiYmZkOGUyNzM3YjE5MTUw
|
14
|
-
MjhmZjZjNjQ3NzY4MzQ0ZDQ0ZTMyNzMzNjJkYzc1NTE2Mjk1ZjhiMjVjMjM2
|
15
|
-
YzgwYzMzZTY2ZTU2MWZhM2IwZDE2YWNhYWE3YjdiYjRlMDRmMTQ=
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 4f1a57b8e8a79111b59dc592396647c98f87b8af
|
4
|
+
data.tar.gz: 2a183f41181a7a347b2f79e6a794c73196ea4eb6
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: c1b82ab1c47706341d71f67f70e90b88c921526d6037dd588d87a924a927456b69daff4bd57df117f9813363eba4c930b82751dd2b0dda6e66880108127f5b70
|
7
|
+
data.tar.gz: 5a7d9dedc146ecc99335993612c59105d68222869ff6c02e9bbc3044d9e6163c18393075733bacb76b1c685a4bfc80e2112badd820b4335df83122aa2f42f09c
|
data/README.md
CHANGED
@@ -89,6 +89,8 @@ To install the latest official release of the `RDF::TriG` gem, do:
|
|
89
89
|
This is free and unencumbered public domain software. For more information,
|
90
90
|
see <http://unlicense.org/> or the accompanying {file:UNLICENSE} file.
|
91
91
|
|
92
|
+
A copy of the [TriG EBNF][] and derived parser files are included in the repository, which are not covered under the UNLICENSE. These files are covered via the [W3C Document License](http://www.w3.org/Consortium/Legal/2002/copyright-documents-20021231).
|
93
|
+
|
92
94
|
[Ruby]: http://ruby-lang.org/
|
93
95
|
[RDF]: http://www.w3.org/RDF/
|
94
96
|
[YARD]: http://yardoc.org/
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0
|
1
|
+
1.1.0
|
data/lib/rdf/trig/format.rb
CHANGED
@@ -16,7 +16,7 @@ module RDF::TriG
|
|
16
16
|
#
|
17
17
|
# @see http://www.w3.org/TR/rdf-testcases/#ntriples
|
18
18
|
class Format < RDF::Format
|
19
|
-
content_type 'application/
|
19
|
+
content_type 'application/trig', :extension => :trig, :alias => 'application/x-trig'
|
20
20
|
content_encoding 'utf-8'
|
21
21
|
|
22
22
|
reader { RDF::TriG::Reader }
|
data/lib/rdf/trig/meta.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# This file is automatically generated by /Users/gregg/.rvm/gems/ruby-
|
1
|
+
# This file is automatically generated by /Users/gregg/.rvm/gems/ruby-2.0.0-p247/gems/ebnf-0.3.1/bin/ebnf
|
2
2
|
# BRANCH derived from etc/trig.bnf
|
3
3
|
module RDF::TriG::Meta
|
4
4
|
START = :trigDoc
|
@@ -334,14 +334,16 @@ module RDF::TriG::Meta
|
|
334
334
|
"[" => [:_triples_2],
|
335
335
|
},
|
336
336
|
:triples2 => {
|
337
|
-
"(" => [:
|
338
|
-
"[" => [:_triples2_1
|
337
|
+
"(" => [:_triples2_2],
|
338
|
+
"[" => [:_triples2_1],
|
339
339
|
},
|
340
340
|
:_triples2_1 => {
|
341
|
-
"
|
342
|
-
"[" => [:blankNodePropertyList],
|
341
|
+
"[" => [:blankNodePropertyList, :_triples2_3, "."],
|
343
342
|
},
|
344
343
|
:_triples2_2 => {
|
344
|
+
"(" => [:collection, :predicateObjectList, "."],
|
345
|
+
},
|
346
|
+
:_triples2_3 => {
|
345
347
|
"." => [],
|
346
348
|
:IRIREF => [:predicateObjectList],
|
347
349
|
:PNAME_LN => [:predicateObjectList],
|
@@ -859,15 +861,16 @@ module RDF::TriG::Meta
|
|
859
861
|
"[",
|
860
862
|
"("],
|
861
863
|
:_triples2_1 => [
|
862
|
-
"[",
|
863
|
-
"("],
|
864
|
+
"["],
|
864
865
|
:_triples2_2 => [
|
866
|
+
"("],
|
867
|
+
:_triples2_3 => [
|
865
868
|
:_eps,
|
866
869
|
"a",
|
867
870
|
:IRIREF,
|
868
871
|
:PNAME_LN,
|
869
872
|
:PNAME_NS],
|
870
|
-
:
|
873
|
+
:_triples2_4 => [
|
871
874
|
".",
|
872
875
|
"a",
|
873
876
|
:IRIREF,
|
@@ -1424,10 +1427,10 @@ module RDF::TriG::Meta
|
|
1424
1427
|
:PNAME_LN,
|
1425
1428
|
:PNAME_NS],
|
1426
1429
|
:collection => [
|
1427
|
-
".",
|
1428
1430
|
"a",
|
1429
1431
|
")",
|
1430
1432
|
",",
|
1433
|
+
".",
|
1431
1434
|
"]",
|
1432
1435
|
:IRIREF,
|
1433
1436
|
"[",
|
@@ -1452,10 +1455,10 @@ module RDF::TriG::Meta
|
|
1452
1455
|
:_collection_2 => [
|
1453
1456
|
")"],
|
1454
1457
|
:_collection_3 => [
|
1455
|
-
".",
|
1456
1458
|
"a",
|
1457
1459
|
")",
|
1458
1460
|
",",
|
1461
|
+
".",
|
1459
1462
|
"]",
|
1460
1463
|
:IRIREF,
|
1461
1464
|
"[",
|
@@ -1478,10 +1481,10 @@ module RDF::TriG::Meta
|
|
1478
1481
|
:_collection_4 => [
|
1479
1482
|
")"],
|
1480
1483
|
:_collection_5 => [
|
1481
|
-
".",
|
1482
1484
|
"a",
|
1483
1485
|
")",
|
1484
1486
|
",",
|
1487
|
+
".",
|
1485
1488
|
"]",
|
1486
1489
|
:IRIREF,
|
1487
1490
|
"[",
|
@@ -1802,14 +1805,34 @@ module RDF::TriG::Meta
|
|
1802
1805
|
:PNAME_LN,
|
1803
1806
|
:PNAME_NS],
|
1804
1807
|
:_triples2_1 => [
|
1805
|
-
|
1806
|
-
|
1808
|
+
:_eof,
|
1809
|
+
:PREFIX,
|
1810
|
+
:BASE,
|
1811
|
+
"{",
|
1812
|
+
:GRAPH,
|
1807
1813
|
:IRIREF,
|
1814
|
+
:BLANK_NODE_LABEL,
|
1815
|
+
:ANON,
|
1816
|
+
"[",
|
1817
|
+
"(",
|
1808
1818
|
:PNAME_LN,
|
1809
1819
|
:PNAME_NS],
|
1810
1820
|
:_triples2_2 => [
|
1811
|
-
|
1821
|
+
:_eof,
|
1822
|
+
:PREFIX,
|
1823
|
+
:BASE,
|
1824
|
+
"{",
|
1825
|
+
:GRAPH,
|
1826
|
+
:IRIREF,
|
1827
|
+
:BLANK_NODE_LABEL,
|
1828
|
+
:ANON,
|
1829
|
+
"[",
|
1830
|
+
"(",
|
1831
|
+
:PNAME_LN,
|
1832
|
+
:PNAME_NS],
|
1812
1833
|
:_triples2_3 => [
|
1834
|
+
"."],
|
1835
|
+
:_triples2_4 => [
|
1813
1836
|
:_eof,
|
1814
1837
|
:PREFIX,
|
1815
1838
|
:BASE,
|
metadata
CHANGED
@@ -1,153 +1,153 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rdf-trig
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.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: 2013-
|
11
|
+
date: 2013-12-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rdf
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - '>='
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: 1.0.7
|
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
26
|
version: 1.0.7
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: ebnf
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - '>='
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: 0.3.0
|
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
40
|
version: 0.3.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rdf-turtle
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - '>='
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: 1.0.9
|
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
54
|
version: 1.0.9
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: open-uri-cached
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - '>='
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: 0.0.5
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- -
|
66
|
+
- - '>='
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: 0.0.5
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: json-ld
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- -
|
73
|
+
- - '>='
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: '0'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- -
|
80
|
+
- - '>='
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: rspec
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- -
|
87
|
+
- - '>='
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: 2.12.0
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- -
|
94
|
+
- - '>='
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: 2.12.0
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: rdf-isomorphic
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- -
|
101
|
+
- - '>='
|
102
102
|
- !ruby/object:Gem::Version
|
103
103
|
version: '0'
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- -
|
108
|
+
- - '>='
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '0'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: yard
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
|
-
- -
|
115
|
+
- - '>='
|
116
116
|
- !ruby/object:Gem::Version
|
117
117
|
version: 0.8.3
|
118
118
|
type: :development
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
|
-
- -
|
122
|
+
- - '>='
|
123
123
|
- !ruby/object:Gem::Version
|
124
124
|
version: 0.8.3
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: rdf-spec
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
|
-
- -
|
129
|
+
- - '>='
|
130
130
|
- !ruby/object:Gem::Version
|
131
131
|
version: '1.0'
|
132
132
|
type: :development
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
|
-
- -
|
136
|
+
- - '>='
|
137
137
|
- !ruby/object:Gem::Version
|
138
138
|
version: '1.0'
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
140
|
name: rake
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
142
142
|
requirements:
|
143
|
-
- -
|
143
|
+
- - '>='
|
144
144
|
- !ruby/object:Gem::Version
|
145
145
|
version: '0'
|
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
152
|
version: '0'
|
153
153
|
description: RDF::TriG is an TriG reader/writer for the RDF.rb library suite.
|
@@ -178,17 +178,17 @@ require_paths:
|
|
178
178
|
- lib
|
179
179
|
required_ruby_version: !ruby/object:Gem::Requirement
|
180
180
|
requirements:
|
181
|
-
- -
|
181
|
+
- - '>='
|
182
182
|
- !ruby/object:Gem::Version
|
183
183
|
version: 1.8.1
|
184
184
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
185
185
|
requirements:
|
186
|
-
- -
|
186
|
+
- - '>='
|
187
187
|
- !ruby/object:Gem::Version
|
188
188
|
version: '0'
|
189
189
|
requirements: []
|
190
190
|
rubyforge_project: rdf-trig
|
191
|
-
rubygems_version: 2.
|
191
|
+
rubygems_version: 2.1.11
|
192
192
|
signing_key:
|
193
193
|
specification_version: 4
|
194
194
|
summary: TriG reader/writer for Ruby.
|