rdf-trix 1.1.0 → 1.1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README +1 -1
- data/VERSION +1 -1
- data/etc/doap.xml +47 -47
- data/lib/rdf/trix/writer.rb +3 -3
- data/lib/rdf/trix.rb +1 -1
- metadata +51 -25
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 147cdb2e02fe4edfcd27d30489737d24a515c5dc
|
4
|
+
data.tar.gz: d0afbd93a45315a1e631bfd911591dc90284b7c5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1d78b6f700492b541bf56a115a6336179e5341be90b719199a1bb402278793038f458b012c6ba16970b6680d1c5caf7af5e9de68bdd5f980632c68863b521a49
|
7
|
+
data.tar.gz: 6bf0255b66b73755b8e0f30395afa3b6983edd3c0005f27bb2e43e9bcd1a3d133d6216488c9c7a9840c001ad5cfbd0ccedbe11cecb366743371e8d2be433a8a6
|
data/README
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
TriX Support for RDF.rb
|
2
2
|
=======================
|
3
3
|
|
4
|
-
This is an [RDF.rb][]
|
4
|
+
This is an [RDF.rb][] extension that adds support for parsing/serializing
|
5
5
|
[TriX][], an XML-based RDF serialization format developed by HP Labs and
|
6
6
|
Nokia.
|
7
7
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.0
|
1
|
+
1.1.0.1
|
data/etc/doap.xml
CHANGED
@@ -2,44 +2,49 @@
|
|
2
2
|
<TriX xmlns="http://www.w3.org/2004/03/trix/trix-1/">
|
3
3
|
<graph>
|
4
4
|
<triple>
|
5
|
-
<uri>http://
|
5
|
+
<uri>http://rubygems.org/gems/rdf-trix</uri>
|
6
6
|
<uri>http://www.w3.org/1999/02/22-rdf-syntax-ns#type</uri>
|
7
|
-
<uri>http://
|
7
|
+
<uri>http://usefulinc.com/ns/doap#Project</uri>
|
8
8
|
</triple>
|
9
9
|
<triple>
|
10
|
-
<uri>http://
|
11
|
-
<uri>http://
|
12
|
-
<
|
10
|
+
<uri>http://rubygems.org/gems/rdf-trix</uri>
|
11
|
+
<uri>http://usefulinc.com/ns/doap#name</uri>
|
12
|
+
<plainLiteral>RDF::TriX</plainLiteral>
|
13
13
|
</triple>
|
14
14
|
<triple>
|
15
|
-
<uri>http://ar.to/#self</uri>
|
16
|
-
<uri>http://xmlns.com/foaf/0.1/made</uri>
|
17
15
|
<uri>http://rubygems.org/gems/rdf-trix</uri>
|
16
|
+
<uri>http://usefulinc.com/ns/doap#homepage</uri>
|
17
|
+
<uri>http://rdf.rubyforge.org/trix/</uri>
|
18
18
|
</triple>
|
19
19
|
<triple>
|
20
|
-
<uri>http://
|
21
|
-
<uri>http://
|
22
|
-
<uri>
|
20
|
+
<uri>http://rubygems.org/gems/rdf-trix</uri>
|
21
|
+
<uri>http://usefulinc.com/ns/doap#license</uri>
|
22
|
+
<uri>http://creativecommons.org/licenses/publicdomain/</uri>
|
23
23
|
</triple>
|
24
24
|
<triple>
|
25
|
-
<uri>http://
|
26
|
-
<uri>http://
|
27
|
-
<plainLiteral>
|
25
|
+
<uri>http://rubygems.org/gems/rdf-trix</uri>
|
26
|
+
<uri>http://usefulinc.com/ns/doap#shortdesc</uri>
|
27
|
+
<plainLiteral xml:lang="en">TriX support for RDF.rb.</plainLiteral>
|
28
28
|
</triple>
|
29
29
|
<triple>
|
30
30
|
<uri>http://rubygems.org/gems/rdf-trix</uri>
|
31
|
-
<uri>http://
|
32
|
-
<
|
31
|
+
<uri>http://usefulinc.com/ns/doap#description</uri>
|
32
|
+
<plainLiteral xml:lang="en">RDF.rb extension for parsing/serializing TriX data.</plainLiteral>
|
33
33
|
</triple>
|
34
34
|
<triple>
|
35
35
|
<uri>http://rubygems.org/gems/rdf-trix</uri>
|
36
|
-
<uri>http://usefulinc.com/ns/doap#
|
37
|
-
<
|
36
|
+
<uri>http://usefulinc.com/ns/doap#created</uri>
|
37
|
+
<plainLiteral>2010-02-02</plainLiteral>
|
38
38
|
</triple>
|
39
39
|
<triple>
|
40
40
|
<uri>http://rubygems.org/gems/rdf-trix</uri>
|
41
|
-
<uri>http://usefulinc.com/ns/doap#
|
42
|
-
<
|
41
|
+
<uri>http://usefulinc.com/ns/doap#platform</uri>
|
42
|
+
<plainLiteral>Ruby</plainLiteral>
|
43
|
+
</triple>
|
44
|
+
<triple>
|
45
|
+
<uri>http://rubygems.org/gems/rdf-trix</uri>
|
46
|
+
<uri>http://usefulinc.com/ns/doap#download-page</uri>
|
47
|
+
<uri>http://rubyforge.org/projects/rdf/</uri>
|
43
48
|
</triple>
|
44
49
|
<triple>
|
45
50
|
<uri>http://rubygems.org/gems/rdf-trix</uri>
|
@@ -48,13 +53,13 @@
|
|
48
53
|
</triple>
|
49
54
|
<triple>
|
50
55
|
<uri>http://rubygems.org/gems/rdf-trix</uri>
|
51
|
-
<uri>http://usefulinc.com/ns/doap#
|
52
|
-
<
|
56
|
+
<uri>http://usefulinc.com/ns/doap#blog</uri>
|
57
|
+
<uri>http://ar.to/</uri>
|
53
58
|
</triple>
|
54
59
|
<triple>
|
55
60
|
<uri>http://rubygems.org/gems/rdf-trix</uri>
|
56
|
-
<uri>http://usefulinc.com/ns/doap#
|
57
|
-
<
|
61
|
+
<uri>http://usefulinc.com/ns/doap#blog</uri>
|
62
|
+
<uri>http://blog.datagraph.org/</uri>
|
58
63
|
</triple>
|
59
64
|
<triple>
|
60
65
|
<uri>http://rubygems.org/gems/rdf-trix</uri>
|
@@ -63,53 +68,48 @@
|
|
63
68
|
</triple>
|
64
69
|
<triple>
|
65
70
|
<uri>http://rubygems.org/gems/rdf-trix</uri>
|
66
|
-
<uri>http://usefulinc.com/ns/doap#
|
71
|
+
<uri>http://usefulinc.com/ns/doap#maintainer</uri>
|
67
72
|
<uri>http://ar.to/#self</uri>
|
68
73
|
</triple>
|
69
74
|
<triple>
|
70
75
|
<uri>http://rubygems.org/gems/rdf-trix</uri>
|
71
|
-
<uri>http://usefulinc.com/ns/doap#
|
72
|
-
<uri>http://
|
73
|
-
</triple>
|
74
|
-
<triple>
|
75
|
-
<uri>http://rubygems.org/gems/rdf-trix</uri>
|
76
|
-
<uri>http://usefulinc.com/ns/doap#homepage</uri>
|
77
|
-
<uri>http://rdf.rubyforge.org/trix/</uri>
|
76
|
+
<uri>http://usefulinc.com/ns/doap#documenter</uri>
|
77
|
+
<uri>http://ar.to/#self</uri>
|
78
78
|
</triple>
|
79
79
|
<triple>
|
80
80
|
<uri>http://rubygems.org/gems/rdf-trix</uri>
|
81
|
-
<uri>http://
|
82
|
-
<uri>http://
|
81
|
+
<uri>http://xmlns.com/foaf/0.1/maker</uri>
|
82
|
+
<uri>http://ar.to/#self</uri>
|
83
83
|
</triple>
|
84
84
|
<triple>
|
85
85
|
<uri>http://rubygems.org/gems/rdf-trix</uri>
|
86
|
-
<uri>http://
|
86
|
+
<uri>http://purl.org/dc/terms/creator</uri>
|
87
87
|
<uri>http://ar.to/#self</uri>
|
88
88
|
</triple>
|
89
89
|
<triple>
|
90
|
-
<uri>http://
|
91
|
-
<uri>http://
|
92
|
-
<
|
90
|
+
<uri>http://ar.to/#self</uri>
|
91
|
+
<uri>http://www.w3.org/1999/02/22-rdf-syntax-ns#type</uri>
|
92
|
+
<uri>http://xmlns.com/foaf/0.1/Person</uri>
|
93
93
|
</triple>
|
94
94
|
<triple>
|
95
|
-
<uri>http://
|
96
|
-
<uri>http://
|
97
|
-
<plainLiteral>
|
95
|
+
<uri>http://ar.to/#self</uri>
|
96
|
+
<uri>http://xmlns.com/foaf/0.1/name</uri>
|
97
|
+
<plainLiteral>Arto Bendiken</plainLiteral>
|
98
98
|
</triple>
|
99
99
|
<triple>
|
100
|
-
<uri>http://
|
101
|
-
<uri>http://
|
102
|
-
<
|
100
|
+
<uri>http://ar.to/#self</uri>
|
101
|
+
<uri>http://xmlns.com/foaf/0.1/mbox</uri>
|
102
|
+
<uri>mailto:arto@bendiken.net</uri>
|
103
103
|
</triple>
|
104
104
|
<triple>
|
105
|
+
<uri>http://ar.to/#self</uri>
|
106
|
+
<uri>http://xmlns.com/foaf/0.1/made</uri>
|
105
107
|
<uri>http://rubygems.org/gems/rdf-trix</uri>
|
106
|
-
<uri>http://www.w3.org/1999/02/22-rdf-syntax-ns#type</uri>
|
107
|
-
<uri>http://usefulinc.com/ns/doap#Project</uri>
|
108
108
|
</triple>
|
109
109
|
<triple>
|
110
|
-
<uri>http://rubygems.org/gems/rdf-trix</uri>
|
111
|
-
<uri>http://xmlns.com/foaf/0.1/maker</uri>
|
112
110
|
<uri>http://ar.to/#self</uri>
|
111
|
+
<uri>http://www.w3.org/2000/01/rdf-schema#isDefinedBy</uri>
|
112
|
+
<uri>http://datagraph.org/bendiken/foaf</uri>
|
113
113
|
</triple>
|
114
114
|
</graph>
|
115
115
|
</TriX>
|
data/lib/rdf/trix/writer.rb
CHANGED
@@ -191,9 +191,9 @@ module RDF::TriX
|
|
191
191
|
# @return [Element]
|
192
192
|
def format_triple(subject, predicate, object, options = {})
|
193
193
|
create_element(:triple) do |triple|
|
194
|
-
triple <<
|
195
|
-
triple <<
|
196
|
-
triple <<
|
194
|
+
triple << format_term(subject, options)
|
195
|
+
triple << format_term(predicate, options)
|
196
|
+
triple << format_term(object, options)
|
197
197
|
end
|
198
198
|
end
|
199
199
|
|
data/lib/rdf/trix.rb
CHANGED
metadata
CHANGED
@@ -1,86 +1,112 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rdf-trix
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.0
|
4
|
+
version: 1.1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Arto Bendiken
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-11-09 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.1'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '1.99'
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- -
|
27
|
+
- - "~>"
|
25
28
|
- !ruby/object:Gem::Version
|
26
29
|
version: '1.1'
|
30
|
+
- - "<"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '1.99'
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: rdf-spec
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
30
36
|
requirements:
|
31
|
-
- -
|
37
|
+
- - "~>"
|
32
38
|
- !ruby/object:Gem::Version
|
33
39
|
version: '1.1'
|
40
|
+
- - "<"
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: '1.99'
|
34
43
|
type: :development
|
35
44
|
prerelease: false
|
36
45
|
version_requirements: !ruby/object:Gem::Requirement
|
37
46
|
requirements:
|
38
|
-
- -
|
47
|
+
- - "~>"
|
39
48
|
- !ruby/object:Gem::Version
|
40
49
|
version: '1.1'
|
50
|
+
- - "<"
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: '1.99'
|
41
53
|
- !ruby/object:Gem::Dependency
|
42
54
|
name: rspec
|
43
55
|
requirement: !ruby/object:Gem::Requirement
|
44
56
|
requirements:
|
45
|
-
- -
|
57
|
+
- - "~>"
|
46
58
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
59
|
+
version: '3.0'
|
48
60
|
type: :development
|
49
61
|
prerelease: false
|
50
62
|
version_requirements: !ruby/object:Gem::Requirement
|
51
63
|
requirements:
|
52
|
-
- -
|
64
|
+
- - "~>"
|
53
65
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
66
|
+
version: '3.0'
|
67
|
+
- !ruby/object:Gem::Dependency
|
68
|
+
name: rspec-its
|
69
|
+
requirement: !ruby/object:Gem::Requirement
|
70
|
+
requirements:
|
71
|
+
- - "~>"
|
72
|
+
- !ruby/object:Gem::Version
|
73
|
+
version: '1.0'
|
74
|
+
type: :development
|
75
|
+
prerelease: false
|
76
|
+
version_requirements: !ruby/object:Gem::Requirement
|
77
|
+
requirements:
|
78
|
+
- - "~>"
|
79
|
+
- !ruby/object:Gem::Version
|
80
|
+
version: '1.0'
|
55
81
|
- !ruby/object:Gem::Dependency
|
56
82
|
name: yard
|
57
83
|
requirement: !ruby/object:Gem::Requirement
|
58
84
|
requirements:
|
59
|
-
- -
|
85
|
+
- - "~>"
|
60
86
|
- !ruby/object:Gem::Version
|
61
|
-
version: 0.8
|
87
|
+
version: '0.8'
|
62
88
|
type: :development
|
63
89
|
prerelease: false
|
64
90
|
version_requirements: !ruby/object:Gem::Requirement
|
65
91
|
requirements:
|
66
|
-
- -
|
92
|
+
- - "~>"
|
67
93
|
- !ruby/object:Gem::Version
|
68
|
-
version: 0.8
|
94
|
+
version: '0.8'
|
69
95
|
- !ruby/object:Gem::Dependency
|
70
96
|
name: nokogiri
|
71
97
|
requirement: !ruby/object:Gem::Requirement
|
72
98
|
requirements:
|
73
|
-
- -
|
99
|
+
- - "~>"
|
74
100
|
- !ruby/object:Gem::Version
|
75
|
-
version: 1.
|
101
|
+
version: '1.6'
|
76
102
|
type: :development
|
77
103
|
prerelease: false
|
78
104
|
version_requirements: !ruby/object:Gem::Requirement
|
79
105
|
requirements:
|
80
|
-
- -
|
106
|
+
- - "~>"
|
81
107
|
- !ruby/object:Gem::Version
|
82
|
-
version: 1.
|
83
|
-
description: RDF.rb
|
108
|
+
version: '1.6'
|
109
|
+
description: RDF.rb extension for parsing/serializing TriX data.
|
84
110
|
email: public-rdf-ruby@w3.org
|
85
111
|
executables: []
|
86
112
|
extensions: []
|
@@ -92,16 +118,16 @@ files:
|
|
92
118
|
- UNLICENSE
|
93
119
|
- VERSION
|
94
120
|
- etc/doap.xml
|
121
|
+
- lib/rdf/trix.rb
|
95
122
|
- lib/rdf/trix/format.rb
|
123
|
+
- lib/rdf/trix/reader.rb
|
96
124
|
- lib/rdf/trix/reader/libxml.rb
|
97
125
|
- lib/rdf/trix/reader/nokogiri.rb
|
98
126
|
- lib/rdf/trix/reader/rexml.rb
|
99
|
-
- lib/rdf/trix/reader.rb
|
100
127
|
- lib/rdf/trix/version.rb
|
128
|
+
- lib/rdf/trix/writer.rb
|
101
129
|
- lib/rdf/trix/writer/nokogiri.rb
|
102
130
|
- lib/rdf/trix/writer/rexml.rb
|
103
|
-
- lib/rdf/trix/writer.rb
|
104
|
-
- lib/rdf/trix.rb
|
105
131
|
homepage: http://ruby-rdf.github.com/rdf-trix
|
106
132
|
licenses:
|
107
133
|
- Public Domain
|
@@ -112,17 +138,17 @@ require_paths:
|
|
112
138
|
- lib
|
113
139
|
required_ruby_version: !ruby/object:Gem::Requirement
|
114
140
|
requirements:
|
115
|
-
- -
|
141
|
+
- - ">="
|
116
142
|
- !ruby/object:Gem::Version
|
117
143
|
version: 1.9.2
|
118
144
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
119
145
|
requirements:
|
120
|
-
- -
|
146
|
+
- - ">="
|
121
147
|
- !ruby/object:Gem::Version
|
122
148
|
version: '0'
|
123
149
|
requirements: []
|
124
150
|
rubyforge_project: rdf
|
125
|
-
rubygems_version: 2.1
|
151
|
+
rubygems_version: 2.4.5.1
|
126
152
|
signing_key:
|
127
153
|
specification_version: 4
|
128
154
|
summary: TriX support for RDF.rb.
|