rdf-rdfa 0.3.3.3 → 0.3.4

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 CHANGED
@@ -285,7 +285,7 @@ see <http://unlicense.org/> or the accompanying {file:UNLICENSE} file.
285
285
  [YARD]: http://yardoc.org/
286
286
  [YARD-GS]: http://rubydoc.info/docs/yard/file/docs/GettingStarted.md
287
287
  [PDD]: http://lists.w3.org/Archives/Public/public-rdf-ruby/2010May/0013.html
288
- [RDFa 1.1 Core]: http://www.w3.org/TR/2010/WD-rdfa-core-20100422/ "RDFa 1.1 Core"
289
- [XHTML+RDFa 1.1]: http://www.w3.org/TR/2010/WD-xhtml-rdfa-20100422/ "XHTML+RDFa 1.1"
288
+ [RDFa 1.1 Core]: http://www.w3.org/TR/2011/WD-rdfa-core-20110331/ "RDFa 1.1 Core"
289
+ [XHTML+RDFa 1.1]: http://www.w3.org/TR/2011/WD-xhtml-rdfa-20110331/ "XHTML+RDFa 1.1"
290
290
  [RDFa-test-suite]: http://rdfa.digitalbazaar.com/test-suite/ "RDFa test suite"
291
291
  [Haml]: http://haml-lang.com/
data/README.md CHANGED
@@ -285,7 +285,7 @@ see <http://unlicense.org/> or the accompanying {file:UNLICENSE} file.
285
285
  [YARD]: http://yardoc.org/
286
286
  [YARD-GS]: http://rubydoc.info/docs/yard/file/docs/GettingStarted.md
287
287
  [PDD]: http://lists.w3.org/Archives/Public/public-rdf-ruby/2010May/0013.html
288
- [RDFa 1.1 Core]: http://www.w3.org/TR/2010/WD-rdfa-core-20100422/ "RDFa 1.1 Core"
289
- [XHTML+RDFa 1.1]: http://www.w3.org/TR/2010/WD-xhtml-rdfa-20100422/ "XHTML+RDFa 1.1"
288
+ [RDFa 1.1 Core]: http://www.w3.org/TR/2011/WD-rdfa-core-20110331/ "RDFa 1.1 Core"
289
+ [XHTML+RDFa 1.1]: http://www.w3.org/TR/2011/WD-xhtml-rdfa-20110331/ "XHTML+RDFa 1.1"
290
290
  [RDFa-test-suite]: http://rdfa.digitalbazaar.com/test-suite/ "RDFa test suite"
291
291
  [Haml]: http://haml-lang.com/
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.3.3
1
+ 0.3.4
@@ -3,32 +3,32 @@
3
3
 
4
4
  profile = RDF::RDFa::Profile.new(RDF::URI("http://www.w3.org/profile/rdfa-1.1"), {
5
5
  :prefixes => {
6
- :cc => "http://creativecommons.org/ns#",
7
- :ctag => "http://commontag.org/ns#",
8
- :dcterms => "http://purl.org/dc/terms/",
9
- :foaf => "http://xmlns.com/foaf/0.1/",
10
- :gr => "http://purl.org/goodrelations/v1#",
11
- :grddl => "http://www.w3.org/2003/g/data-view#",
12
- :ical => "http://www.w3.org/2002/12/cal/icaltzd#",
13
- :og => "http://ogp.me/ns#",
14
- :owl => "http://www.w3.org/2002/07/owl#",
15
- :rdf => "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
16
- :rdfa => "http://www.w3.org/ns/rdfa#",
17
- :rdfs => "http://www.w3.org/2000/01/rdf-schema#",
18
- :rev => "http://purl.org/stuff/rev#",
19
- :rif => "http://www.w3.org/2007/rif#",
20
- :sioc => "http://rdfs.org/sioc/ns#",
21
- :skos => "http://www.w3.org/2004/02/skos/core#",
22
- :skosxl => "http://www.w3.org/2008/05/skos-xl#",
23
- :v => "http://rdf.data-vocabulary.org/#",
24
- :vcard => "http://www.w3.org/2006/vcard/ns#",
25
- :void => "http://rdfs.org/ns/void#",
26
- :wdr => "http://www.w3.org/2007/05/powder#",
27
- :wdrs => "http://www.w3.org/2007/05/powder-s#",
28
- :xhv => "http://www.w3.org/1999/xhtml/vocab#",
29
- :xml => "http://www.w3.org/XML/1998/namespace",
30
- :xmlns => "http://www.w3.org/2000/xmlns/",
31
- :xsd => "http://www.w3.org/2001/XMLSchema#",
6
+ :cc => "http://creativecommons.org/ns#",
7
+ :ctag => "http://commontag.org/ns#",
8
+ :dc => "http://purl.org/dc/terms/",
9
+ :foaf => "http://xmlns.com/foaf/0.1/",
10
+ :gr => "http://purl.org/goodrelations/v1#",
11
+ :grddl => "http://www.w3.org/2003/g/data-view#",
12
+ :ical => "http://www.w3.org/2002/12/cal/icaltzd#",
13
+ :og => "http://ogp.me/ns#",
14
+ :owl => "http://www.w3.org/2002/07/owl#",
15
+ :rdf => "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
16
+ :rdfa => "http://www.w3.org/ns/rdfa#",
17
+ :rdfs => "http://www.w3.org/2000/01/rdf-schema#",
18
+ :rev => "http://purl.org/stuff/rev#",
19
+ :rif => "http://www.w3.org/2007/rif#",
20
+ :sioc => "http://rdfs.org/sioc/ns#",
21
+ :skos => "http://www.w3.org/2004/02/skos/core#",
22
+ :skosxl => "http://www.w3.org/2008/05/skos-xl#",
23
+ :v => "http://rdf.data-vocabulary.org/#",
24
+ :vcard => "http://www.w3.org/2006/vcard/ns#",
25
+ :void => "http://rdfs.org/ns/void#",
26
+ :wdr => "http://www.w3.org/2007/05/powder#",
27
+ :wdrs => "http://www.w3.org/2007/05/powder-s#",
28
+ :xhv => "http://www.w3.org/1999/xhtml/vocab#",
29
+ :xml => "http://www.w3.org/XML/1998/namespace",
30
+ :xmlns => "http://www.w3.org/2000/xmlns/",
31
+ :xsd => "http://www.w3.org/2001/XMLSchema#",
32
32
  },
33
33
  :terms => {
34
34
  :describedby => "http://www.w3.org/2007/05/powder-s#describedby",
@@ -6,8 +6,8 @@ module RDF::RDFa
6
6
  #
7
7
  # Based on processing rules described here:
8
8
  # @see http://www.w3.org/TR/rdfa-syntax/#s_model RDFa 1.0
9
- # @see http://www.w3.org/TR/2010/WD-rdfa-core-20100422/ RDFa Core 1.1
10
- # @see http://www.w3.org/TR/2010/WD-xhtml-rdfa-20100422/ XHTML+RDFa 1.1
9
+ # @see http://www.w3.org/TR/2011/WD-rdfa-core-20110331/ RDFa Core 1.1
10
+ # @see http://www.w3.org/TR/2011/WD-xhtml-rdfa-20110331/ XHTML+RDFa 1.1
11
11
  #
12
12
  # @author [Gregg Kellogg](http://kellogg-assoc.com/)
13
13
  class Reader < RDF::Reader
data/lib/rdf/rdfa.rb CHANGED
@@ -18,8 +18,8 @@ module RDF
18
18
  # @see http://rdf.rubyforge.org/
19
19
  # @see http://www.w3.org/TR/xhtml-rdfa-primer/
20
20
  # @see http://www.w3.org/2010/02/rdfa/wiki/Main_Page
21
- # @see http://www.w3.org/TR/2010/WD-rdfa-core-20100422/
22
- # @see http://www.w3.org/TR/2010/WD-xhtml-rdfa-20100422/
21
+ # @see http://www.w3.org/TR/2011/WD-rdfa-core-20110331/
22
+ # @see http://www.w3.org/TR/2011/WD-xhtml-rdfa-20110331/
23
23
  #
24
24
  # @author [Gregg Kellogg](http://kellogg-assoc.com/)
25
25
  module RDFa
data/rdf-rdfa.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{rdf-rdfa}
8
- s.version = "0.3.3.3"
8
+ s.version = "0.3.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Gregg Kellogg"]
12
- s.date = %q{2011-06-09}
12
+ s.date = %q{2011-06-27}
13
13
  s.description = %q{ RDF::RDFa is an RDFa reader/writer for Ruby using the RDF.rb library suite.
14
14
  }
15
15
  s.email = %q{gregg@kellogg-assoc.com}
data/spec/matchers.rb CHANGED
@@ -81,7 +81,9 @@ end
81
81
  RSpec::Matchers.define :pass_query do |expected, info|
82
82
  match do |actual|
83
83
  @expected = expected.read
84
+ @expected = @expected.force_encoding("utf-8") if @expected.respond_to?(:force_encoding)
84
85
  query = SPARQL::Grammar.parse(@expected)
86
+ actual = actual.force_encoding("utf-8") if actual.respond_to?(:force_encoding)
85
87
  @results = query.execute(actual)
86
88
 
87
89
  @results.should == info.expectedResults
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: rdf-rdfa
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.3.3.3
5
+ version: 0.3.4
6
6
  platform: ruby
7
7
  authors:
8
8
  - Gregg Kellogg
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-06-09 00:00:00 -07:00
13
+ date: 2011-06-27 00:00:00 -07:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency