rdf-rdfa 0.3.10 → 0.3.11
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.
- data/README +4 -4
- data/VERSION +1 -1
- data/lib/rdf/rdfa/reader.rb +72 -60
- data/lib/rdf/rdfa/reader/nokogiri.rb +6 -4
- data/lib/rdf/rdfa/reader/rexml.rb +3 -3
- metadata +32 -32
data/README
CHANGED
@@ -397,10 +397,10 @@ see <http://unlicense.org/> or the accompanying {file:UNLICENSE} file.
|
|
397
397
|
[YARD]: http://yardoc.org/
|
398
398
|
[YARD-GS]: http://rubydoc.info/docs/yard/file/docs/GettingStarted.md
|
399
399
|
[PDD]: http://lists.w3.org/Archives/Public/public-rdf-ruby/2010May/0013.html
|
400
|
-
[RDFa 1.1 Core]: http://www.w3.org/TR/
|
401
|
-
[RDFa Lite 1.1]: http://www.w3.org/
|
402
|
-
[XHTML+RDFa 1.1]: http://www.w3.org/TR/
|
403
|
-
[HTML+RDFa 1.1]: http://www.w3.org/TR/
|
400
|
+
[RDFa 1.1 Core]: http://www.w3.org/TR/2012/PR-rdfa-core-20120508/ "RDFa 1.1 Core"
|
401
|
+
[RDFa Lite 1.1]: http://www.w3.org/TR/2012/PR-rdfa-lite-20120508/ "RDFa Lite 1.1"
|
402
|
+
[XHTML+RDFa 1.1]: http://www.w3.org/TR/2012/PR-xhtml-rdfa-20120508/ "XHTML+RDFa 1.1"
|
403
|
+
[HTML+RDFa 1.1]: http://www.w3.org/TR/rdfa-in-html/ "HTML+RDFa 1.1"
|
404
404
|
[RDFa-test-suite]: http://rdfa.info/test-suite/ "RDFa test suite"
|
405
405
|
[RDFa doc]: http://rubydoc.info/github/gkellogg/rdf-rdfa/frames
|
406
406
|
[Haml]: http://haml-lang.com/
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.11
|
data/lib/rdf/rdfa/reader.rb
CHANGED
@@ -80,7 +80,7 @@ module RDF::RDFa
|
|
80
80
|
Regexp::EXTENDED)
|
81
81
|
|
82
82
|
# Host language
|
83
|
-
# @attr [:
|
83
|
+
# @attr [:xml, :xhtml1, :xhtml5, :html4, :html5, :svg]
|
84
84
|
attr_reader :host_language
|
85
85
|
|
86
86
|
# Version
|
@@ -236,7 +236,7 @@ module RDF::RDFa
|
|
236
236
|
# One of :nokogiri or :rexml. If nil/unspecified uses :nokogiri if available, :rexml otherwise.
|
237
237
|
# @option options [Boolean] :vocab_expansion (false)
|
238
238
|
# whether to perform RDFS expansion on the resulting graph
|
239
|
-
# @option options [:
|
239
|
+
# @option options [:xml, :xhtml1, :xhtml5, :html4, :html5, :svg] :host_language (:html5)
|
240
240
|
# Host Language
|
241
241
|
# @option options [:"rdfa1.0", :"rdfa1.1"] :version (:"rdfa1.1")
|
242
242
|
# Parser version information
|
@@ -312,7 +312,7 @@ module RDF::RDFa
|
|
312
312
|
end
|
313
313
|
|
314
314
|
case @host_language
|
315
|
-
when :
|
315
|
+
when :xml, :svg
|
316
316
|
@host_defaults[:initial_contexts] = [XML_RDFA_CONTEXT]
|
317
317
|
when :xhtml1
|
318
318
|
@host_defaults[:initial_contexts] = [XML_RDFA_CONTEXT, XHTML_RDFA_CONTEXT]
|
@@ -608,7 +608,8 @@ module RDF::RDFa
|
|
608
608
|
list_mapping = evaluation_context.list_mapping
|
609
609
|
|
610
610
|
xml_base = element.base
|
611
|
-
base = xml_base.to_s if xml_base && ![:xhtml1, :
|
611
|
+
base = xml_base.to_s if xml_base && ![:xhtml1, :html4, :html5].include?(@host_language)
|
612
|
+
add_debug(element) {"base: #{base.inspect}"} if base
|
612
613
|
base ||= evaluation_context.base
|
613
614
|
|
614
615
|
# Pull out the attributes needed for the skip test.
|
@@ -616,7 +617,6 @@ module RDF::RDFa
|
|
616
617
|
%w(
|
617
618
|
about
|
618
619
|
content
|
619
|
-
data
|
620
620
|
datatype
|
621
621
|
datetime
|
622
622
|
href
|
@@ -635,6 +635,20 @@ module RDF::RDFa
|
|
635
635
|
|
636
636
|
add_debug(element) {"attrs " + attrs.inspect} unless attrs.empty?
|
637
637
|
|
638
|
+
# If @property and @rel/@rev are on the same elements, the non-CURIE and non-URI @rel/@rev values are ignored. If, after this, the value of @rel/@rev becomes empty, then the then the processor must act as if the attribute is not present.
|
639
|
+
if attrs.has_key?(:property) && @version == :"rdfa1.1" && (@host_language == :html5 || @host_language == :xhtml5 || @host_language == :html4)
|
640
|
+
[:rel, :rev].each do |attr|
|
641
|
+
next unless attrs.has_key?(attr)
|
642
|
+
add_debug(element) {"Remove non-CURIE/non-IRI @#{attr} values from #{attrs[attr].inspect}"}
|
643
|
+
attrs[attr] = attrs[attr].
|
644
|
+
split(/\s+/).
|
645
|
+
select {|a| a.index(':')}.
|
646
|
+
join(" ")
|
647
|
+
add_debug(element) {" => #{attrs[attr].inspect}"}
|
648
|
+
attrs.delete(attr) if attrs[attr].empty?
|
649
|
+
end
|
650
|
+
end
|
651
|
+
|
638
652
|
# Default vocabulary [7.5 Step 2]
|
639
653
|
# Next the current element is examined for any change to the default vocabulary via @vocab.
|
640
654
|
# If @vocab is present and contains a value, its value updates the local default vocabulary.
|
@@ -721,7 +735,10 @@ module RDF::RDFa
|
|
721
735
|
# if the @typeof attribute is present, set typed resource to new subject
|
722
736
|
typed_resource = new_subject if attrs[:typeof]
|
723
737
|
else
|
724
|
-
# If the current element contains
|
738
|
+
# If the current element contains no @rel or @rev attribute, then the next step is to establish a value for new subject.
|
739
|
+
# This step has two possible alternatives.
|
740
|
+
# 1. If the current element contains the @property attribute, but does not contain the @content
|
741
|
+
# or the @datatype attribute
|
725
742
|
if attrs[:property] && !(attrs[:content] || attrs[:datatype])
|
726
743
|
new_subject = process_uri(element, attrs[:about], evaluation_context, base,
|
727
744
|
:uri_mappings => uri_mappings,
|
@@ -747,34 +764,31 @@ module RDF::RDFa
|
|
747
764
|
end
|
748
765
|
|
749
766
|
if attrs[:typeof]
|
750
|
-
typed_resource ||=
|
767
|
+
typed_resource ||=
|
751
768
|
process_uri(element, attrs[:resource], evaluation_context, base,
|
752
769
|
:uri_mappings => uri_mappings,
|
753
|
-
:restrictions => SafeCURIEorCURIEorIRI.fetch(@version, []))
|
754
|
-
|
755
|
-
process_uri(element, (attrs[:href] || attrs[:src]), evaluation_context, base,
|
756
|
-
|
757
|
-
|
758
|
-
RDF::Node.new
|
759
|
-
end
|
770
|
+
:restrictions => SafeCURIEorCURIEorIRI.fetch(@version, [])) if attrs[:resource]
|
771
|
+
typed_resource ||=
|
772
|
+
process_uri(element, (attrs[:href] || attrs[:src]), evaluation_context, base,
|
773
|
+
:restrictions => [:uri]) if attrs[:href] || attrs[:src]
|
774
|
+
typed_resource ||= RDF::Node.new
|
760
775
|
|
761
776
|
# The value of the current object resource is set to the value of typed resource.
|
762
777
|
current_object_resource = typed_resource
|
763
778
|
end
|
764
779
|
else
|
765
|
-
# otherwise (ie, the @
|
766
|
-
|
767
|
-
new_subject = if attrs[:about]
|
780
|
+
# otherwise (ie, the @content or @datatype)
|
781
|
+
new_subject =
|
768
782
|
process_uri(element, attrs[:about], evaluation_context, base,
|
769
783
|
:uri_mappings => uri_mappings,
|
770
|
-
:restrictions => SafeCURIEorCURIEorIRI.fetch(@version, []))
|
771
|
-
|
784
|
+
:restrictions => SafeCURIEorCURIEorIRI.fetch(@version, [])) if attrs[:about]
|
785
|
+
new_subject ||=
|
772
786
|
process_uri(element, attrs[:resource], evaluation_context, base,
|
773
787
|
:uri_mappings => uri_mappings,
|
774
|
-
:restrictions => SafeCURIEorCURIEorIRI.fetch(@version, []))
|
775
|
-
|
776
|
-
process_uri(element, (attrs[:href] || attrs[:src]), evaluation_context, base,
|
777
|
-
|
788
|
+
:restrictions => SafeCURIEorCURIEorIRI.fetch(@version, [])) if attrs[:resource]
|
789
|
+
new_subject ||=
|
790
|
+
process_uri(element, (attrs[:href] || attrs[:src]), evaluation_context, base,
|
791
|
+
:restrictions => [:uri]) if attrs[:href] || attrs[:src]
|
778
792
|
|
779
793
|
# If no URI is provided by a resource attribute, then the first match from the following rules
|
780
794
|
# will apply:
|
@@ -837,21 +851,14 @@ module RDF::RDFa
|
|
837
851
|
end
|
838
852
|
|
839
853
|
# Then the current object resource is set to the URI obtained from the first match from the following rules:
|
840
|
-
current_object_resource =
|
841
|
-
process_uri(element, attrs[:resource], evaluation_context, base,
|
854
|
+
current_object_resource = process_uri(element, attrs[:resource], evaluation_context, base,
|
842
855
|
:uri_mappings => uri_mappings,
|
843
|
-
:restrictions => SafeCURIEorCURIEorIRI.fetch(@version, []))
|
844
|
-
|
845
|
-
|
846
|
-
|
847
|
-
|
848
|
-
|
849
|
-
:restrictions => [:uri])
|
850
|
-
elsif attrs[:typeof] && !attrs[:about] && @version != :"rdfa1.0"
|
851
|
-
# otherwise, if @typeof is present and @about is not and the incomplete triples
|
852
|
-
# within the current context is empty, use a newly created bnode
|
853
|
-
RDF::Node.new
|
854
|
-
end
|
856
|
+
:restrictions => SafeCURIEorCURIEorIRI.fetch(@version, [])) if attrs[:resource]
|
857
|
+
current_object_resource ||= process_uri(element, attrs[:href], evaluation_context, base,
|
858
|
+
:restrictions => [:uri]) if attrs[:href]
|
859
|
+
current_object_resource ||= process_uri(element, attrs[:src], evaluation_context, base,
|
860
|
+
:restrictions => [:uri]) if attrs[:src] && @version != :"rdfa1.0"
|
861
|
+
current_object_resource ||= RDF::Node.new if attrs[:typeof] && !attrs[:about] && @version != :"rdfa1.0"
|
855
862
|
|
856
863
|
# and also set the value typed resource to this bnode
|
857
864
|
if attrs[:typeof]
|
@@ -974,14 +981,16 @@ module RDF::RDFa
|
|
974
981
|
:vocab => default_vocabulary,
|
975
982
|
:restrictions => TERMorCURIEorAbsIRI.fetch(@version, [])) unless attrs[:datatype].to_s.empty?
|
976
983
|
begin
|
977
|
-
current_property_value =
|
984
|
+
current_property_value = case
|
985
|
+
when datatype && datatype != RDF.XMLLiteral
|
978
986
|
# typed literal
|
979
987
|
add_debug(element, "[Step 11] typed literal (#{datatype})")
|
980
988
|
RDF::Literal.new(attrs[:datetime] || attrs[:value] || attrs[:content] || element.inner_text.to_s, :datatype => datatype, :language => language, :validate => validate?, :canonicalize => canonicalize?)
|
981
|
-
|
982
|
-
|
989
|
+
when @version == :"rdfa1.1"
|
990
|
+
case
|
991
|
+
when datatype == RDF.XMLLiteral
|
983
992
|
# XML Literal
|
984
|
-
add_debug(element) {"[Step 11
|
993
|
+
add_debug(element) {"[Step 11] XML Literal: #{element.inner_html}"}
|
985
994
|
|
986
995
|
# In order to maintain maximum portability of this literal, any children of the current node that are
|
987
996
|
# elements must have the current in scope XML namespace declarations (if any) declared on the
|
@@ -1002,43 +1011,46 @@ module RDF::RDFa
|
|
1002
1011
|
rescue ArgumentError => e
|
1003
1012
|
add_error(element, e.message)
|
1004
1013
|
end
|
1005
|
-
|
1014
|
+
when element.name == 'time'
|
1006
1015
|
# HTML5 support
|
1007
1016
|
# Lexically scan value and assign appropriate type, otherwise, leave untyped
|
1008
1017
|
v = (attrs[:datetime] || element.inner_text).to_s
|
1009
1018
|
datatype = %w(Date Time DateTime Year YearMonth Duration).map {|t| RDF::Literal.const_get(t)}.detect do |dt|
|
1010
1019
|
v.match(dt::GRAMMAR)
|
1011
1020
|
end || RDF::Literal
|
1012
|
-
add_debug(element) {"[Step 11
|
1021
|
+
add_debug(element) {"[Step 11] <time> literal: #{datatype} #{v.inspect}"}
|
1013
1022
|
datatype.new(v, :language => language)
|
1014
|
-
|
1023
|
+
when element.name.to_s == 'data' && attrs[:value]
|
1015
1024
|
# HTML5 support
|
1016
1025
|
# plain literal
|
1017
|
-
add_debug(element, "[Step 11
|
1026
|
+
add_debug(element, "[Step 11] plain literal (value)")
|
1018
1027
|
RDF::Literal.new(attrs[:value], :language => language, :validate => validate?, :canonicalize => canonicalize?)
|
1019
|
-
|
1028
|
+
when attrs[:datatype]
|
1029
|
+
# otherwise, as a plain literal if @datatype is present but has an empty value.
|
1030
|
+
# The actual literal is either the value of @content (if present) or a string created by
|
1031
|
+
# concatenating the value of all descendant text nodes, of the current element in turn.
|
1032
|
+
# typed literal
|
1033
|
+
add_debug(element, "[Step 11] plain plain (#{datatype})")
|
1034
|
+
RDF::Literal.new(attrs[:content] || element.inner_text.to_s, :language => language, :validate => validate?, :canonicalize => canonicalize?)
|
1035
|
+
when attrs[:content]
|
1020
1036
|
# plain literal
|
1021
|
-
add_debug(element, "[Step 11
|
1037
|
+
add_debug(element, "[Step 11] plain literal (content)")
|
1022
1038
|
RDF::Literal.new(attrs[:content], :language => language, :validate => validate?, :canonicalize => canonicalize?)
|
1023
|
-
|
1039
|
+
when (attrs[:resource] || attrs[:href] || attrs[:src]) &&
|
1024
1040
|
!(attrs[:rel] || attrs[:rev]) &&
|
1025
1041
|
evaluation_context.incomplete_triples.empty? &&
|
1026
1042
|
@version != :"rdfa1.0"
|
1027
|
-
|
1028
|
-
|
1029
|
-
|
1030
|
-
|
1031
|
-
|
1032
|
-
|
1033
|
-
|
1034
|
-
process_uri(element, (attrs[:href] || attrs[:src] || attrs[:data]), evaluation_context, base, :restrictions => [:uri])
|
1035
|
-
end
|
1036
|
-
elsif typed_resource && !attrs[:about] && evaluation_context.incomplete_triples.empty? && @version != :"rdfa1.0"
|
1037
|
-
add_debug(element, "[Step 11(1.1)] typed_resource")
|
1043
|
+
add_debug(element, "[Step 11] IRI literal (resource|href|src)")
|
1044
|
+
res = process_uri(element, attrs[:resource], evaluation_context, base,
|
1045
|
+
:uri_mappings => uri_mappings,
|
1046
|
+
:restrictions => SafeCURIEorCURIEorIRI.fetch(@version, [])) if attrs[:resource]
|
1047
|
+
res ||= process_uri(element, (attrs[:href] || attrs[:src]), evaluation_context, base, :restrictions => [:uri])
|
1048
|
+
when typed_resource && !attrs[:about] && evaluation_context.incomplete_triples.empty? && @version != :"rdfa1.0"
|
1049
|
+
add_debug(element, "[Step 11] typed_resource")
|
1038
1050
|
typed_resource
|
1039
1051
|
else
|
1040
1052
|
# plain literal
|
1041
|
-
add_debug(element, "[Step 11
|
1053
|
+
add_debug(element, "[Step 11] plain literal (inner text)")
|
1042
1054
|
RDF::Literal.new(element.inner_text.to_s, :language => language, :validate => validate?, :canonicalize => canonicalize?)
|
1043
1055
|
end
|
1044
1056
|
else
|
@@ -168,9 +168,9 @@ module RDF::RDFa
|
|
168
168
|
root_namespace = input.root.namespace.to_s
|
169
169
|
root_attrs = input.root.attributes
|
170
170
|
content_type = case
|
171
|
-
when root_element == "html" && input.is_a?(Nokogiri::HTML::Document)
|
171
|
+
when root_element == "html" && input.is_a?(::Nokogiri::HTML::Document)
|
172
172
|
"text/html"
|
173
|
-
when root_element == "html" && input.is_a?(Nokogiri::XML::Document)
|
173
|
+
when root_element == "html" && input.is_a?(::Nokogiri::XML::Document)
|
174
174
|
"application/xhtml+html"
|
175
175
|
end
|
176
176
|
else
|
@@ -212,8 +212,10 @@ module RDF::RDFa
|
|
212
212
|
@version ||= :"rdfa1.1" if version_attr =~ /RDFa 1\.1/
|
213
213
|
@version ||= :"rdfa1.1"
|
214
214
|
|
215
|
+
@host_language ||= :xhtml1 if @version == :"rdfa1.0" && doc_type_string =~ /html/i
|
216
|
+
|
215
217
|
@host_language ||= case content_type
|
216
|
-
when "application/xml" then :
|
218
|
+
when "application/xml" then :xml
|
217
219
|
when "image/svg+xml" then :svg
|
218
220
|
when "text/html"
|
219
221
|
case doc_type_string
|
@@ -233,7 +235,7 @@ module RDF::RDFa
|
|
233
235
|
case root_element
|
234
236
|
when /svg/i then :svg
|
235
237
|
when /html/i then :html5
|
236
|
-
else :
|
238
|
+
else :xml
|
237
239
|
end
|
238
240
|
end
|
239
241
|
end
|
@@ -239,7 +239,7 @@ module RDF::RDFa
|
|
239
239
|
@version ||= :"rdfa1.1"
|
240
240
|
|
241
241
|
@host_language ||= case content_type
|
242
|
-
when "application/xml" then :
|
242
|
+
when "application/xml" then :xml
|
243
243
|
when "image/svg+xml" then :svg
|
244
244
|
when "text/html"
|
245
245
|
case doc_type_string
|
@@ -259,7 +259,7 @@ module RDF::RDFa
|
|
259
259
|
case root_element
|
260
260
|
when /svg/i then :svg
|
261
261
|
when /html/i then :html5
|
262
|
-
else :
|
262
|
+
else :xml
|
263
263
|
end
|
264
264
|
end
|
265
265
|
end
|
@@ -287,7 +287,7 @@ module RDF::RDFa
|
|
287
287
|
# find if the document has a base element
|
288
288
|
case @host_language
|
289
289
|
when :xhtml1, :xhtml5, :html4, :html5
|
290
|
-
base_el = ::REXML::XPath.first(@doc, "/html/head/base")
|
290
|
+
base_el = ::REXML::XPath.first(@doc, "/html/head/base") rescue nil
|
291
291
|
base = base_el.attribute("href").to_s.split("#").first if base_el
|
292
292
|
else
|
293
293
|
xml_base = root.attribute("base", RDF::XML.to_s) if root
|
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.11
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,11 +10,11 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2012-
|
13
|
+
date: 2012-05-12 00:00:00.000000000Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rdf
|
17
|
-
requirement: &
|
17
|
+
requirement: &70330722920340 !ruby/object:Gem::Requirement
|
18
18
|
none: false
|
19
19
|
requirements:
|
20
20
|
- - ! '>='
|
@@ -22,10 +22,10 @@ dependencies:
|
|
22
22
|
version: 0.3.3
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
|
-
version_requirements: *
|
25
|
+
version_requirements: *70330722920340
|
26
26
|
- !ruby/object:Gem::Dependency
|
27
27
|
name: haml
|
28
|
-
requirement: &
|
28
|
+
requirement: &70330722919680 !ruby/object:Gem::Requirement
|
29
29
|
none: false
|
30
30
|
requirements:
|
31
31
|
- - ! '>='
|
@@ -33,10 +33,10 @@ dependencies:
|
|
33
33
|
version: 3.0.0
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
|
-
version_requirements: *
|
36
|
+
version_requirements: *70330722919680
|
37
37
|
- !ruby/object:Gem::Dependency
|
38
38
|
name: rdf-xsd
|
39
|
-
requirement: &
|
39
|
+
requirement: &70330722919040 !ruby/object:Gem::Requirement
|
40
40
|
none: false
|
41
41
|
requirements:
|
42
42
|
- - ! '>='
|
@@ -44,10 +44,10 @@ dependencies:
|
|
44
44
|
version: 0.3.5
|
45
45
|
type: :runtime
|
46
46
|
prerelease: false
|
47
|
-
version_requirements: *
|
47
|
+
version_requirements: *70330722919040
|
48
48
|
- !ruby/object:Gem::Dependency
|
49
49
|
name: htmlentities
|
50
|
-
requirement: &
|
50
|
+
requirement: &70330722918540 !ruby/object:Gem::Requirement
|
51
51
|
none: false
|
52
52
|
requirements:
|
53
53
|
- - ! '>='
|
@@ -55,10 +55,10 @@ dependencies:
|
|
55
55
|
version: 4.3.0
|
56
56
|
type: :runtime
|
57
57
|
prerelease: false
|
58
|
-
version_requirements: *
|
58
|
+
version_requirements: *70330722918540
|
59
59
|
- !ruby/object:Gem::Dependency
|
60
60
|
name: nokogiri
|
61
|
-
requirement: &
|
61
|
+
requirement: &70330722912340 !ruby/object:Gem::Requirement
|
62
62
|
none: false
|
63
63
|
requirements:
|
64
64
|
- - ! '>='
|
@@ -66,10 +66,10 @@ dependencies:
|
|
66
66
|
version: 1.4.4
|
67
67
|
type: :development
|
68
68
|
prerelease: false
|
69
|
-
version_requirements: *
|
69
|
+
version_requirements: *70330722912340
|
70
70
|
- !ruby/object:Gem::Dependency
|
71
71
|
name: equivalent-xml
|
72
|
-
requirement: &
|
72
|
+
requirement: &70330722911800 !ruby/object:Gem::Requirement
|
73
73
|
none: false
|
74
74
|
requirements:
|
75
75
|
- - ! '>='
|
@@ -77,10 +77,10 @@ dependencies:
|
|
77
77
|
version: 0.2.8
|
78
78
|
type: :development
|
79
79
|
prerelease: false
|
80
|
-
version_requirements: *
|
80
|
+
version_requirements: *70330722911800
|
81
81
|
- !ruby/object:Gem::Dependency
|
82
82
|
name: open-uri-cached
|
83
|
-
requirement: &
|
83
|
+
requirement: &70330722911340 !ruby/object:Gem::Requirement
|
84
84
|
none: false
|
85
85
|
requirements:
|
86
86
|
- - ! '>='
|
@@ -88,10 +88,10 @@ dependencies:
|
|
88
88
|
version: 0.0.4
|
89
89
|
type: :development
|
90
90
|
prerelease: false
|
91
|
-
version_requirements: *
|
91
|
+
version_requirements: *70330722911340
|
92
92
|
- !ruby/object:Gem::Dependency
|
93
93
|
name: spira
|
94
|
-
requirement: &
|
94
|
+
requirement: &70330722910860 !ruby/object:Gem::Requirement
|
95
95
|
none: false
|
96
96
|
requirements:
|
97
97
|
- - ! '>='
|
@@ -99,10 +99,10 @@ dependencies:
|
|
99
99
|
version: 0.0.12
|
100
100
|
type: :development
|
101
101
|
prerelease: false
|
102
|
-
version_requirements: *
|
102
|
+
version_requirements: *70330722910860
|
103
103
|
- !ruby/object:Gem::Dependency
|
104
104
|
name: rspec
|
105
|
-
requirement: &
|
105
|
+
requirement: &70330722910400 !ruby/object:Gem::Requirement
|
106
106
|
none: false
|
107
107
|
requirements:
|
108
108
|
- - ! '>='
|
@@ -110,10 +110,10 @@ dependencies:
|
|
110
110
|
version: 2.8.0
|
111
111
|
type: :development
|
112
112
|
prerelease: false
|
113
|
-
version_requirements: *
|
113
|
+
version_requirements: *70330722910400
|
114
114
|
- !ruby/object:Gem::Dependency
|
115
115
|
name: rdf-spec
|
116
|
-
requirement: &
|
116
|
+
requirement: &70330722909940 !ruby/object:Gem::Requirement
|
117
117
|
none: false
|
118
118
|
requirements:
|
119
119
|
- - ! '>='
|
@@ -121,10 +121,10 @@ dependencies:
|
|
121
121
|
version: 0.3.2
|
122
122
|
type: :development
|
123
123
|
prerelease: false
|
124
|
-
version_requirements: *
|
124
|
+
version_requirements: *70330722909940
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: rdf-turtle
|
127
|
-
requirement: &
|
127
|
+
requirement: &70330722909480 !ruby/object:Gem::Requirement
|
128
128
|
none: false
|
129
129
|
requirements:
|
130
130
|
- - ! '>='
|
@@ -132,10 +132,10 @@ dependencies:
|
|
132
132
|
version: 0.1.0
|
133
133
|
type: :development
|
134
134
|
prerelease: false
|
135
|
-
version_requirements: *
|
135
|
+
version_requirements: *70330722909480
|
136
136
|
- !ruby/object:Gem::Dependency
|
137
137
|
name: rdf-rdfxml
|
138
|
-
requirement: &
|
138
|
+
requirement: &70330722908960 !ruby/object:Gem::Requirement
|
139
139
|
none: false
|
140
140
|
requirements:
|
141
141
|
- - ! '>='
|
@@ -143,10 +143,10 @@ dependencies:
|
|
143
143
|
version: 0.3.4
|
144
144
|
type: :development
|
145
145
|
prerelease: false
|
146
|
-
version_requirements: *
|
146
|
+
version_requirements: *70330722908960
|
147
147
|
- !ruby/object:Gem::Dependency
|
148
148
|
name: rdf-isomorphic
|
149
|
-
requirement: &
|
149
|
+
requirement: &70330722908440 !ruby/object:Gem::Requirement
|
150
150
|
none: false
|
151
151
|
requirements:
|
152
152
|
- - ! '>='
|
@@ -154,10 +154,10 @@ dependencies:
|
|
154
154
|
version: 0.3.4
|
155
155
|
type: :development
|
156
156
|
prerelease: false
|
157
|
-
version_requirements: *
|
157
|
+
version_requirements: *70330722908440
|
158
158
|
- !ruby/object:Gem::Dependency
|
159
159
|
name: sparql
|
160
|
-
requirement: &
|
160
|
+
requirement: &70330722907920 !ruby/object:Gem::Requirement
|
161
161
|
none: false
|
162
162
|
requirements:
|
163
163
|
- - ! '>='
|
@@ -165,10 +165,10 @@ dependencies:
|
|
165
165
|
version: 0.0.2
|
166
166
|
type: :development
|
167
167
|
prerelease: false
|
168
|
-
version_requirements: *
|
168
|
+
version_requirements: *70330722907920
|
169
169
|
- !ruby/object:Gem::Dependency
|
170
170
|
name: yard
|
171
|
-
requirement: &
|
171
|
+
requirement: &70330722907440 !ruby/object:Gem::Requirement
|
172
172
|
none: false
|
173
173
|
requirements:
|
174
174
|
- - ! '>='
|
@@ -176,7 +176,7 @@ dependencies:
|
|
176
176
|
version: 0.6.0
|
177
177
|
type: :development
|
178
178
|
prerelease: false
|
179
|
-
version_requirements: *
|
179
|
+
version_requirements: *70330722907440
|
180
180
|
description: RDF::RDFa is an RDFa reader/writer for Ruby using the RDF.rb library
|
181
181
|
suite.
|
182
182
|
email: public-rdf-ruby@w3.org
|