rdf-rdfa 0.3.14 → 0.3.15
Sign up to get free protection for your applications and to get access to all the features.
- data/README +36 -22
- data/VERSION +1 -1
- data/lib/rdf/rdfa/context.rb +4 -14
- data/lib/rdf/rdfa/reader.rb +35 -17
- data/lib/rdf/rdfa/reader/nokogiri.rb +1 -2
- data/lib/rdf/rdfa/reader/rexml.rb +1 -2
- metadata +163 -72
data/README
CHANGED
@@ -112,12 +112,12 @@ The @typeof attribute has changed; previously, it always created a new subject,
|
|
112
112
|
|
113
113
|
For example:
|
114
114
|
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
115
|
+
<div typeof="foaf:Person" about="http://greggkellogg.net/foaf#me">
|
116
|
+
<p property="name">Gregg Kellogg</span>
|
117
|
+
<a rel="knows" typeof="foaf:Person" href="http://manu.sporny.org/#this">
|
118
|
+
<span property="name">Manu Sporny</span>
|
119
|
+
</a>
|
120
|
+
</div>
|
121
121
|
|
122
122
|
results in
|
123
123
|
|
@@ -195,13 +195,11 @@ generates the following turtle:
|
|
195
195
|
dc:description "A yellow rectangle with sharp corners." .
|
196
196
|
|
197
197
|
### Support for embedded N-Triples or Turtle
|
198
|
-
If the document includes a `<script>` element having an `@type` attribute whose value matches that of a loaded RDF reader (text/ntriples and text/turtle are loaded if they are availble), the data will be extracted and added to the default graph.
|
199
|
-
|
200
|
-
Additionally, if the `<script>` element has an `@id` attribute, the triples will be placed into a graph named by appending the value of `@id` as a frament of the base IRI of the input document. For example:
|
198
|
+
If the document includes a `<script>` element having an `@type` attribute whose value matches that of a loaded RDF reader (text/ntriples and text/turtle are loaded if they are availble), the data will be extracted and added to the default graph. For example:
|
201
199
|
|
202
200
|
<html>
|
203
201
|
<body>
|
204
|
-
<script type="text/turtle"
|
202
|
+
<script type="text/turtle"><![CDATA[
|
205
203
|
@prefix foo: <http://www.example.com/xyz#> .
|
206
204
|
@prefix gr: <http://purl.org/goodrelations/v1#> .
|
207
205
|
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
|
@@ -215,17 +213,32 @@ Additionally, if the `<script>` element has an `@id` attribute, the triple
|
|
215
213
|
</body>
|
216
214
|
</html>
|
217
215
|
|
218
|
-
generates the following
|
216
|
+
generates the following Turtle:
|
219
217
|
|
220
|
-
|
221
|
-
|
218
|
+
@prefix foo: <http://www.example.com/xyz#> .
|
219
|
+
@prefix gr: <http://purl.org/goodrelations/v1#> .
|
220
|
+
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
|
221
|
+
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
|
222
222
|
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
223
|
+
foo:myCompany
|
224
|
+
a gr:BusinessEntity ;
|
225
|
+
rdfs:seeAlso <http://www.example.com/xyz> ;
|
226
|
+
gr:hasLegalName "Hepp Industries Ltd."^^xsd:string .
|
227
|
+
|
228
|
+
### Support for Role Attribute
|
229
|
+
The processor will generate RDF triples consistent with the [Role Attr][] specification.
|
230
|
+
|
231
|
+
<div id="heading1" role="heading">
|
232
|
+
<p>Some contents that are a header</p>
|
233
|
+
</div>
|
234
|
+
|
235
|
+
generates the following Turtle:
|
236
|
+
|
237
|
+
@prefix xhv: <http://www.w3.org/1999/xhtml/vocab#> .
|
238
|
+
<#heading1> xhv:role xhv:heading.
|
228
239
|
|
240
|
+
### Support for microdata
|
241
|
+
The RDFa reader will call out to `RDF::Microdata::Reader`, if an `@itemscope` attribute is detected, and the microdata reader is loaded. This avoids a common problem when pages contain both microdata and RDFa, and only one processor is run.
|
229
242
|
|
230
243
|
## Usage
|
231
244
|
|
@@ -464,11 +477,12 @@ see <http://unlicense.org/> or the accompanying {file:UNLICENSE} file.
|
|
464
477
|
[YARD]: http://yardoc.org/
|
465
478
|
[YARD-GS]: http://rubydoc.info/docs/yard/file/docs/GettingStarted.md
|
466
479
|
[PDD]: http://lists.w3.org/Archives/Public/public-rdf-ruby/2010May/0013.html
|
467
|
-
[RDFa 1.1 Core]: http://www.w3.org/TR/2012/
|
468
|
-
[RDFa Lite 1.1]: http://www.w3.org/TR/2012/
|
469
|
-
[XHTML+RDFa 1.1]: http://www.w3.org/TR/2012/
|
480
|
+
[RDFa 1.1 Core]: http://www.w3.org/TR/2012/REC-rdfa-core-20120607/ "RDFa 1.1 Core"
|
481
|
+
[RDFa Lite 1.1]: http://www.w3.org/TR/2012/REC-rdfa-lite-20120607/ "RDFa Lite 1.1"
|
482
|
+
[XHTML+RDFa 1.1]: http://www.w3.org/TR/2012/REC-xhtml-rdfa-20120607/ "XHTML+RDFa 1.1"
|
470
483
|
[HTML+RDFa 1.1]: http://www.w3.org/TR/rdfa-in-html/ "HTML+RDFa 1.1"
|
471
|
-
[RDFa-test-suite]: http://rdfa.info/test-suite/
|
484
|
+
[RDFa-test-suite]: http://rdfa.info/test-suite/ "RDFa test suite"
|
485
|
+
[Role Attr]: http://www.w3.org/TR/role-attribute/ "Role Attribute"
|
472
486
|
[RDFa doc]: http://rubydoc.info/github/ruby-rdf/rdf-rdfa/frames
|
473
487
|
[Haml]: http://haml-lang.com/
|
474
488
|
[Turtle]: http://www.w3.org/TR/2011/WD-turtle-20110809/
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.15
|
data/lib/rdf/rdfa/context.rb
CHANGED
@@ -111,13 +111,8 @@ module RDF::RDFa
|
|
111
111
|
# @example Returning a URI prefix
|
112
112
|
# context.prefix(:dc) #=> RDF::URI('http://purl.org/dc/terms/')
|
113
113
|
#
|
114
|
-
# @
|
115
|
-
#
|
116
|
-
# @param [RDF::URI, #to_s] uri
|
117
|
-
#
|
118
|
-
# @overload prefix(name)
|
119
|
-
# @param [Symbol, #to_s] name
|
120
|
-
#
|
114
|
+
# @param [Symbol, #to_s] name
|
115
|
+
# @param [RDF::URI, #to_s] uri
|
121
116
|
# @return [RDF::URI]
|
122
117
|
def prefix(name, uri = nil)
|
123
118
|
name = name.to_s.empty? ? nil : (name.respond_to?(:to_sym) ? name.to_sym : name.to_s.to_sym)
|
@@ -133,13 +128,8 @@ module RDF::RDFa
|
|
133
128
|
# @example Returning a URI context
|
134
129
|
# context.term(:title) #=> RDF::URI('http://purl.org/dc/terms/TITLE')
|
135
130
|
#
|
136
|
-
# @
|
137
|
-
#
|
138
|
-
# @param [RDF::URI, #to_s] uri
|
139
|
-
#
|
140
|
-
# @overload term(name)
|
141
|
-
# @param [Symbol, #to_s] name
|
142
|
-
#
|
131
|
+
# @param [Symbol, #to_s] name
|
132
|
+
# @param [RDF::URI, #to_s] uri
|
143
133
|
# @return [RDF::URI]
|
144
134
|
def term(name, uri = nil)
|
145
135
|
name = name.to_s.empty? ? nil : (name.respond_to?(:to_sym) ? name.to_sym : name.to_s.to_sym)
|
data/lib/rdf/rdfa/reader.rb
CHANGED
@@ -378,31 +378,23 @@ module RDF::RDFa
|
|
378
378
|
end
|
379
379
|
end
|
380
380
|
|
381
|
-
# # Look for Embedded RDF/XML
|
382
|
-
# unless @root.xpath("//rdf:RDF", "xmlns:rdf" => "http://www.w3.org/1999/02/22-rdf-syntax-ns#").empty?
|
383
|
-
# extract_script(@root, @doc, "application/rdf+xml", @options) do |statement|
|
384
|
-
# block.call(statement)
|
385
|
-
# end
|
386
|
-
# end
|
387
|
-
|
388
381
|
# Look for Embedded scripts
|
389
|
-
@root.css("script[type]") do |el|
|
390
|
-
ctx = RDF::URI(el.attribute("id")) if el.attribute("id")
|
382
|
+
@root.css("script[type]").each do |el|
|
391
383
|
type = el.attribute("type")
|
392
384
|
|
393
385
|
extract_script(el, el.inner_text, type, @options) do |statement|
|
394
|
-
statement.context = ctx if ctx
|
395
386
|
block.call(statement)
|
396
387
|
end
|
397
388
|
end
|
398
389
|
|
399
|
-
#
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
390
|
+
# Look for Embedded microdata
|
391
|
+
unless @root.xpath("//@itemscope").empty?
|
392
|
+
begin
|
393
|
+
require 'rdf/microdata'
|
394
|
+
add_debug(@doc, "process microdata")
|
395
|
+
RDF::Microdata::Reader.new(@doc, options).each(&block)
|
396
|
+
rescue
|
397
|
+
add_debug(@doc, "microdata detected, not processed")
|
406
398
|
end
|
407
399
|
end
|
408
400
|
end
|
@@ -677,11 +669,13 @@ module RDF::RDFa
|
|
677
669
|
datatype
|
678
670
|
datetime
|
679
671
|
href
|
672
|
+
id
|
680
673
|
inlist
|
681
674
|
property
|
682
675
|
rel
|
683
676
|
resource
|
684
677
|
rev
|
678
|
+
role
|
685
679
|
src
|
686
680
|
typeof
|
687
681
|
value
|
@@ -804,6 +798,11 @@ module RDF::RDFa
|
|
804
798
|
# if the @typeof attribute is present, set typed resource to new subject
|
805
799
|
typed_resource = new_subject if attrs[:typeof]
|
806
800
|
|
801
|
+
add_debug(element) {
|
802
|
+
"[Step 5] new_subject: #{new_subject.to_ntriples rescue 'nil'}, " +
|
803
|
+
"typed_resource: #{typed_resource.to_ntriples rescue 'nil'}"
|
804
|
+
}
|
805
|
+
|
807
806
|
# If no URI is provided by a resource attribute, then the first match from the following rules
|
808
807
|
# will apply:
|
809
808
|
new_subject ||= if [:xhtml1, :xhtml5, :html4, :html5].include?(@host_language) && element.name =~ /^(head|body)$/
|
@@ -1251,6 +1250,25 @@ module RDF::RDFa
|
|
1251
1250
|
end
|
1252
1251
|
end
|
1253
1252
|
end
|
1253
|
+
|
1254
|
+
# Role processing
|
1255
|
+
# @id is used as subject, bnode otherwise.
|
1256
|
+
# Predicate is xhv:role
|
1257
|
+
# Objects are TERMorCURIEorAbsIRIs.
|
1258
|
+
# Act as if the default vocabulary is XHV
|
1259
|
+
if attrs[:role]
|
1260
|
+
subject = attrs[:id] ? uri(base, "##{attrs[:id]}") : RDF::Node.new
|
1261
|
+
roles = process_uris(element, attrs[:role], evaluation_context, base,
|
1262
|
+
:uri_mappings => uri_mappings,
|
1263
|
+
:term_mappings => term_mappings,
|
1264
|
+
:vocab => RDF::XHV.to_s,
|
1265
|
+
:restrictions => TERMorCURIEorAbsIRI.fetch(@version, []))
|
1266
|
+
|
1267
|
+
add_debug(element) {"role: about: #{subject.to_ntriples}, roles: #{roles.map(&:to_ntriples).inspect}"}
|
1268
|
+
roles.each do |r|
|
1269
|
+
add_triple(element, subject, RDF::XHV.role, r)
|
1270
|
+
end
|
1271
|
+
end
|
1254
1272
|
end
|
1255
1273
|
end
|
1256
1274
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rdf-rdfa
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.15
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,173 +10,264 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2012-
|
13
|
+
date: 2012-08-26 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
|
-
|
17
|
-
|
16
|
+
version_requirements: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
18
|
+
- - ! '>='
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: 0.3.5
|
18
21
|
none: false
|
22
|
+
requirement: !ruby/object:Gem::Requirement
|
19
23
|
requirements:
|
20
24
|
- - ! '>='
|
21
25
|
- !ruby/object:Gem::Version
|
22
26
|
version: 0.3.5
|
23
|
-
|
27
|
+
none: false
|
28
|
+
name: rdf
|
24
29
|
prerelease: false
|
25
|
-
|
30
|
+
type: :runtime
|
26
31
|
- !ruby/object:Gem::Dependency
|
27
|
-
|
28
|
-
|
32
|
+
version_requirements: !ruby/object:Gem::Requirement
|
33
|
+
requirements:
|
34
|
+
- - ! '>='
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: 3.1.6
|
29
37
|
none: false
|
38
|
+
requirement: !ruby/object:Gem::Requirement
|
30
39
|
requirements:
|
31
40
|
- - ! '>='
|
32
41
|
- !ruby/object:Gem::Version
|
33
42
|
version: 3.1.6
|
34
|
-
|
43
|
+
none: false
|
44
|
+
name: haml
|
35
45
|
prerelease: false
|
36
|
-
|
46
|
+
type: :runtime
|
37
47
|
- !ruby/object:Gem::Dependency
|
38
|
-
|
39
|
-
|
48
|
+
version_requirements: !ruby/object:Gem::Requirement
|
49
|
+
requirements:
|
50
|
+
- - ! '>='
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: 0.3.7
|
40
53
|
none: false
|
54
|
+
requirement: !ruby/object:Gem::Requirement
|
41
55
|
requirements:
|
42
56
|
- - ! '>='
|
43
57
|
- !ruby/object:Gem::Version
|
44
58
|
version: 0.3.7
|
45
|
-
|
59
|
+
none: false
|
60
|
+
name: rdf-xsd
|
46
61
|
prerelease: false
|
47
|
-
|
62
|
+
type: :runtime
|
48
63
|
- !ruby/object:Gem::Dependency
|
49
|
-
|
50
|
-
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ! '>='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 4.3.0
|
51
69
|
none: false
|
70
|
+
requirement: !ruby/object:Gem::Requirement
|
52
71
|
requirements:
|
53
72
|
- - ! '>='
|
54
73
|
- !ruby/object:Gem::Version
|
55
74
|
version: 4.3.0
|
56
|
-
|
75
|
+
none: false
|
76
|
+
name: htmlentities
|
57
77
|
prerelease: false
|
58
|
-
|
78
|
+
type: :runtime
|
59
79
|
- !ruby/object:Gem::Dependency
|
60
|
-
|
61
|
-
|
80
|
+
version_requirements: !ruby/object:Gem::Requirement
|
81
|
+
requirements:
|
82
|
+
- - ! '>='
|
83
|
+
- !ruby/object:Gem::Version
|
84
|
+
version: 1.4.4
|
62
85
|
none: false
|
86
|
+
requirement: !ruby/object:Gem::Requirement
|
63
87
|
requirements:
|
64
88
|
- - ! '>='
|
65
89
|
- !ruby/object:Gem::Version
|
66
90
|
version: 1.4.4
|
67
|
-
|
91
|
+
none: false
|
92
|
+
name: nokogiri
|
68
93
|
prerelease: false
|
69
|
-
|
94
|
+
type: :development
|
70
95
|
- !ruby/object:Gem::Dependency
|
71
|
-
|
72
|
-
|
96
|
+
version_requirements: !ruby/object:Gem::Requirement
|
97
|
+
requirements:
|
98
|
+
- - ! '>='
|
99
|
+
- !ruby/object:Gem::Version
|
100
|
+
version: 0.2.9
|
73
101
|
none: false
|
102
|
+
requirement: !ruby/object:Gem::Requirement
|
74
103
|
requirements:
|
75
104
|
- - ! '>='
|
76
105
|
- !ruby/object:Gem::Version
|
77
106
|
version: 0.2.9
|
78
|
-
|
107
|
+
none: false
|
108
|
+
name: equivalent-xml
|
79
109
|
prerelease: false
|
80
|
-
|
110
|
+
type: :development
|
81
111
|
- !ruby/object:Gem::Dependency
|
82
|
-
|
83
|
-
|
112
|
+
version_requirements: !ruby/object:Gem::Requirement
|
113
|
+
requirements:
|
114
|
+
- - ! '>='
|
115
|
+
- !ruby/object:Gem::Version
|
116
|
+
version: 0.0.5
|
84
117
|
none: false
|
118
|
+
requirement: !ruby/object:Gem::Requirement
|
85
119
|
requirements:
|
86
120
|
- - ! '>='
|
87
121
|
- !ruby/object:Gem::Version
|
88
122
|
version: 0.0.5
|
89
|
-
|
123
|
+
none: false
|
124
|
+
name: open-uri-cached
|
90
125
|
prerelease: false
|
91
|
-
|
126
|
+
type: :development
|
92
127
|
- !ruby/object:Gem::Dependency
|
93
|
-
|
94
|
-
|
128
|
+
version_requirements: !ruby/object:Gem::Requirement
|
129
|
+
requirements:
|
130
|
+
- - ! '>='
|
131
|
+
- !ruby/object:Gem::Version
|
132
|
+
version: 0.0.12
|
95
133
|
none: false
|
134
|
+
requirement: !ruby/object:Gem::Requirement
|
96
135
|
requirements:
|
97
136
|
- - ! '>='
|
98
137
|
- !ruby/object:Gem::Version
|
99
138
|
version: 0.0.12
|
100
|
-
|
139
|
+
none: false
|
140
|
+
name: spira
|
101
141
|
prerelease: false
|
102
|
-
|
142
|
+
type: :development
|
103
143
|
- !ruby/object:Gem::Dependency
|
104
|
-
|
105
|
-
|
144
|
+
version_requirements: !ruby/object:Gem::Requirement
|
145
|
+
requirements:
|
146
|
+
- - ! '>='
|
147
|
+
- !ruby/object:Gem::Version
|
148
|
+
version: 2.10.0
|
106
149
|
none: false
|
150
|
+
requirement: !ruby/object:Gem::Requirement
|
107
151
|
requirements:
|
108
152
|
- - ! '>='
|
109
153
|
- !ruby/object:Gem::Version
|
110
154
|
version: 2.10.0
|
155
|
+
none: false
|
156
|
+
name: rspec
|
157
|
+
prerelease: false
|
111
158
|
type: :development
|
159
|
+
- !ruby/object:Gem::Dependency
|
160
|
+
version_requirements: !ruby/object:Gem::Requirement
|
161
|
+
requirements:
|
162
|
+
- - ! '>='
|
163
|
+
- !ruby/object:Gem::Version
|
164
|
+
version: 0.2.5
|
165
|
+
none: false
|
166
|
+
requirement: !ruby/object:Gem::Requirement
|
167
|
+
requirements:
|
168
|
+
- - ! '>='
|
169
|
+
- !ruby/object:Gem::Version
|
170
|
+
version: 0.2.5
|
171
|
+
none: false
|
172
|
+
name: rdf-microdata
|
112
173
|
prerelease: false
|
113
|
-
|
174
|
+
type: :development
|
114
175
|
- !ruby/object:Gem::Dependency
|
115
|
-
|
116
|
-
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - ! '>='
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: 0.3.5
|
117
181
|
none: false
|
182
|
+
requirement: !ruby/object:Gem::Requirement
|
118
183
|
requirements:
|
119
184
|
- - ! '>='
|
120
185
|
- !ruby/object:Gem::Version
|
121
186
|
version: 0.3.5
|
122
|
-
|
187
|
+
none: false
|
188
|
+
name: rdf-spec
|
123
189
|
prerelease: false
|
124
|
-
|
190
|
+
type: :development
|
125
191
|
- !ruby/object:Gem::Dependency
|
126
|
-
|
127
|
-
|
192
|
+
version_requirements: !ruby/object:Gem::Requirement
|
193
|
+
requirements:
|
194
|
+
- - ! '>='
|
195
|
+
- !ruby/object:Gem::Version
|
196
|
+
version: 0.1.2
|
128
197
|
none: false
|
198
|
+
requirement: !ruby/object:Gem::Requirement
|
129
199
|
requirements:
|
130
200
|
- - ! '>='
|
131
201
|
- !ruby/object:Gem::Version
|
132
202
|
version: 0.1.2
|
133
|
-
|
203
|
+
none: false
|
204
|
+
name: rdf-turtle
|
134
205
|
prerelease: false
|
135
|
-
|
206
|
+
type: :development
|
136
207
|
- !ruby/object:Gem::Dependency
|
137
|
-
|
138
|
-
|
208
|
+
version_requirements: !ruby/object:Gem::Requirement
|
209
|
+
requirements:
|
210
|
+
- - ! '>='
|
211
|
+
- !ruby/object:Gem::Version
|
212
|
+
version: 0.3.7
|
139
213
|
none: false
|
214
|
+
requirement: !ruby/object:Gem::Requirement
|
140
215
|
requirements:
|
141
216
|
- - ! '>='
|
142
217
|
- !ruby/object:Gem::Version
|
143
218
|
version: 0.3.7
|
144
|
-
|
219
|
+
none: false
|
220
|
+
name: rdf-rdfxml
|
145
221
|
prerelease: false
|
146
|
-
|
222
|
+
type: :development
|
147
223
|
- !ruby/object:Gem::Dependency
|
148
|
-
|
149
|
-
|
224
|
+
version_requirements: !ruby/object:Gem::Requirement
|
225
|
+
requirements:
|
226
|
+
- - ! '>='
|
227
|
+
- !ruby/object:Gem::Version
|
228
|
+
version: 0.3.4
|
150
229
|
none: false
|
230
|
+
requirement: !ruby/object:Gem::Requirement
|
151
231
|
requirements:
|
152
232
|
- - ! '>='
|
153
233
|
- !ruby/object:Gem::Version
|
154
234
|
version: 0.3.4
|
155
|
-
|
235
|
+
none: false
|
236
|
+
name: rdf-isomorphic
|
156
237
|
prerelease: false
|
157
|
-
|
238
|
+
type: :development
|
158
239
|
- !ruby/object:Gem::Dependency
|
159
|
-
|
160
|
-
|
240
|
+
version_requirements: !ruby/object:Gem::Requirement
|
241
|
+
requirements:
|
242
|
+
- - ! '>='
|
243
|
+
- !ruby/object:Gem::Version
|
244
|
+
version: 0.1.0
|
161
245
|
none: false
|
246
|
+
requirement: !ruby/object:Gem::Requirement
|
162
247
|
requirements:
|
163
248
|
- - ! '>='
|
164
249
|
- !ruby/object:Gem::Version
|
165
250
|
version: 0.1.0
|
166
|
-
|
251
|
+
none: false
|
252
|
+
name: sparql
|
167
253
|
prerelease: false
|
168
|
-
|
254
|
+
type: :development
|
169
255
|
- !ruby/object:Gem::Dependency
|
170
|
-
|
171
|
-
|
256
|
+
version_requirements: !ruby/object:Gem::Requirement
|
257
|
+
requirements:
|
258
|
+
- - ! '>='
|
259
|
+
- !ruby/object:Gem::Version
|
260
|
+
version: 0.7.5
|
172
261
|
none: false
|
262
|
+
requirement: !ruby/object:Gem::Requirement
|
173
263
|
requirements:
|
174
264
|
- - ! '>='
|
175
265
|
- !ruby/object:Gem::Version
|
176
266
|
version: 0.7.5
|
177
|
-
|
267
|
+
none: false
|
268
|
+
name: yard
|
178
269
|
prerelease: false
|
179
|
-
|
270
|
+
type: :development
|
180
271
|
description: RDF::RDFa is an RDFa reader/writer for Ruby using the RDF.rb library
|
181
272
|
suite.
|
182
273
|
email: public-rdf-ruby@w3.org
|
@@ -188,10 +279,17 @@ files:
|
|
188
279
|
- README
|
189
280
|
- UNLICENSE
|
190
281
|
- VERSION
|
282
|
+
- lib/rdf/rdfa.rb
|
283
|
+
- lib/rdf/rdfa/context.rb
|
284
|
+
- lib/rdf/rdfa/expansion.rb
|
285
|
+
- lib/rdf/rdfa/format.rb
|
286
|
+
- lib/rdf/rdfa/reader.rb
|
287
|
+
- lib/rdf/rdfa/version.rb
|
288
|
+
- lib/rdf/rdfa/vocab.rb
|
289
|
+
- lib/rdf/rdfa/writer.rb
|
191
290
|
- lib/rdf/rdfa/context/html.rb
|
192
291
|
- lib/rdf/rdfa/context/xhtml.rb
|
193
292
|
- lib/rdf/rdfa/context/xml.rb
|
194
|
-
- lib/rdf/rdfa/context.rb
|
195
293
|
- lib/rdf/rdfa/expansion/cc.rb
|
196
294
|
- lib/rdf/rdfa/expansion/dc.rb
|
197
295
|
- lib/rdf/rdfa/expansion/doap.rb
|
@@ -202,17 +300,10 @@ files:
|
|
202
300
|
- lib/rdf/rdfa/expansion/skos.rb
|
203
301
|
- lib/rdf/rdfa/expansion/skosxl.rb
|
204
302
|
- lib/rdf/rdfa/expansion/v.rb
|
205
|
-
- lib/rdf/rdfa/expansion.rb
|
206
|
-
- lib/rdf/rdfa/format.rb
|
207
303
|
- lib/rdf/rdfa/patches/string_hacks.rb
|
208
304
|
- lib/rdf/rdfa/reader/nokogiri.rb
|
209
305
|
- lib/rdf/rdfa/reader/rexml.rb
|
210
|
-
- lib/rdf/rdfa/reader.rb
|
211
|
-
- lib/rdf/rdfa/version.rb
|
212
|
-
- lib/rdf/rdfa/vocab.rb
|
213
306
|
- lib/rdf/rdfa/writer/haml_templates.rb
|
214
|
-
- lib/rdf/rdfa/writer.rb
|
215
|
-
- lib/rdf/rdfa.rb
|
216
307
|
homepage: http://github.com/ruby-rdf/rdf-rdfa
|
217
308
|
licenses:
|
218
309
|
- Public Domain
|
@@ -221,20 +312,20 @@ rdoc_options: []
|
|
221
312
|
require_paths:
|
222
313
|
- lib
|
223
314
|
required_ruby_version: !ruby/object:Gem::Requirement
|
224
|
-
none: false
|
225
315
|
requirements:
|
226
316
|
- - ! '>='
|
227
317
|
- !ruby/object:Gem::Version
|
228
318
|
version: 1.8.1
|
229
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
230
319
|
none: false
|
320
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
231
321
|
requirements:
|
232
322
|
- - ! '>='
|
233
323
|
- !ruby/object:Gem::Version
|
234
324
|
version: '0'
|
325
|
+
none: false
|
235
326
|
requirements: []
|
236
327
|
rubyforge_project: rdf-rdfa
|
237
|
-
rubygems_version: 1.8.
|
328
|
+
rubygems_version: 1.8.24
|
238
329
|
signing_key:
|
239
330
|
specification_version: 3
|
240
331
|
summary: RDFa reader/writer for RDF.rb.
|