rdf-rdfa 3.1.0 → 3.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 41a438683b553f9eaa31a244a4fbbeeb2413b999f040b4a46980fe939d1891d2
4
- data.tar.gz: a191ff7cf36e120aa52491c8eea5b4cab05b48d5595c0486a6e9ed774093b39e
3
+ metadata.gz: 1607516f63a1cce40c7ddc6b5a17ad311673f8b8d621bb371f01919e2a138f44
4
+ data.tar.gz: e7768c0968243e1cdb2054ff13107d52cff292889213f7103d2c8e0098f92c75
5
5
  SHA512:
6
- metadata.gz: 4e95a2ef75396bfead46f171d2366bf4019c7a6ffd9be70e1ae24614671d7f20719eb00476906ef17047bbf9ef9ed1ac7f711b5905e42c64094ac85134a48469
7
- data.tar.gz: b1cd79507874df6cb7f516a6ad87450b9d0e14e63784fe90191c862cd38c35a5520b33c315b287483aadc14800de677b200d7e94dcdb5ae6c54ae9fbf0c282d1
6
+ metadata.gz: d019f203248eff7ab6d138291b715cf8b803059cc7f1619dea2fb677d0001d4f4804e2b1d39e718cd6c5d05ec7cb43aabf16e08520ba5cdccf95f208ff900875
7
+ data.tar.gz: c735757bbf56431c7a3add53a5b05de4f75bd86c95d2ea4f170ea6be5b8a14d62a2f42f5888940b2d27d133e7dc4ce8814da44c4c63d80ca2e5ad3753367f1f2
data/AUTHORS CHANGED
@@ -1 +1 @@
1
- * Gregg Kellogg <gregg@kellogg-assoc.com>
1
+ * Gregg Kellogg <gregg@greggkellogg.net>
data/README.md CHANGED
@@ -1,11 +1,11 @@
1
- This repository uses [Git Flow](https://github.com/nvie/gitflow) to mange development and release activity. All submissions _must_ be on a feature branch based on the _develop_ branch to ease staging and integration.
2
1
  # RDF::RDFa reader/writer
3
2
 
4
3
  [RDFa][RDFa 1.1 Core] parser for RDF.rb.
5
4
 
6
- [![Gem Version](https://badge.fury.io/rb/rdf-rdfa.png)](http://badge.fury.io/rb/rdf-rdfa)
7
- [![Build Status](https://travis-ci.org/ruby-rdf/rdf-rdfa.png?branch=master)](http://travis-ci.org/ruby-rdf/rdf-rdfa)
8
- [![Coverage Status](https://coveralls.io/repos/ruby-rdf/rdf-rdfa/badge.svg)](https://coveralls.io/r/ruby-rdf/rdf-rdfa)
5
+ [![Gem Version](https://badge.fury.io/rb/rdf-rdfa.png)](https://badge.fury.io/rb/rdf-rdfa)
6
+ [![Build Status](https://github.com/ruby-rdf/rdf-rdfa/workflows/CI/badge.svg?branch=develop)](https://github.com/ruby-rdf/rdf-rdfa/actions?query=workflow%3ACI)
7
+ [![Coverage Status](https://coveralls.io/repos/ruby-rdf/rdf-rdfa/badge.svg?branch=develop)](https://coveralls.io/github/ruby-rdf/rdf-rdfa?branch=develop)
8
+ [![Gitter chat](https://badges.gitter.im/ruby-rdf/rdf.png)](https://gitter.im/ruby-rdf/rdf)
9
9
 
10
10
  ## DESCRIPTION
11
11
  RDF::RDFa is an RDFa reader and writer for Ruby using the [RDF.rb][RDF.rb] library suite.
@@ -15,16 +15,16 @@ RDF::RDFa parses [RDFa][RDFa 1.1 Core] into statements or triples.
15
15
 
16
16
  * Fully compliant RDFa 1.1 parser.
17
17
  * Template-based Writer to generate XHTML+RDFa.
18
- * Writer uses user-replacable [Haml][Haml]-based templates to generate RDFa.
19
- * If available, uses [Nokogiri][] for parsing HTML/SVG, falls back to REXML otherwise. For HTML5, include the [Nokogumbo][] gem for a pure-HTML5 parser with better error detection.
18
+ * Writer uses user-replaceable [Haml][Haml] -based templates to generate RDFa.
19
+ * If available, uses [Nokogiri][] for parsing HTML/SVG, falls back to REXML otherwise.
20
20
 
21
21
  Install with `gem install rdf-rdfa`
22
22
 
23
23
  ### Pure Ruby
24
- In order to run as pure ruby (not requiring any C modules), this gem does not directly depend on [Nokogiri][] or [Nokogumbo][]
25
- and falls back to using REXML. [Nokogumbo][] uses the [Gumbo pure-C HTML5 parser](https://github.com/google/gumbo-parser#readme).
24
+ In order to run as pure ruby (not requiring any C modules), this gem does not directly depend on [Nokogiri][]
25
+ and falls back to using REXML.
26
26
  As REXML is not really an HTML parsing library, the results will only be useful if the HTML is well-formed.
27
- For best performance, install the [Nokogiri][] and [Nokogumbo][] gems as well.
27
+ For best performance, install the [Nokogiri][] gem as well.
28
28
 
29
29
  ### Important changes from previous versions
30
30
  RDFa is an evolving standard, undergoing some substantial recent changes partly due to perceived competition
@@ -37,7 +37,7 @@ This version fully supports the limited syntax of [RDFa Lite 1.1][]. This includ
37
37
  One of the issues with vocabularies was that they discourage re-use of existing vocabularies when terms from several vocabularies are used at the same time. As it is common (encouraged) for RDF vocabularies to form sub-class and/or sub-property relationships with well defined vocabularies, the RDFa vocabulary expansion mechanism takes advantage of this.
38
38
 
39
39
  As an optional part of RDFa processing, an RDFa processor will perform limited
40
- [OWL 2 RL Profile entailment](http://www.w3.org/TR/2009/REC-owl2-profiles-20091027/#Reasoning_in_OWL_2_RL_and_RDF_Graphs_using_Rules),
40
+ [OWL 2 RL Profile entailment](https://www.w3.org/TR/2009/REC-owl2-profiles-20091027/#Reasoning_in_OWL_2_RL_and_RDF_Graphs_using_Rules),
41
41
  specifically rules prp-eqp1, prp-eqp2, cax-sco, cax-eqc1, and
42
42
  cax-eqc2. This causes sub-classes and sub-properties of type and property IRIs to be added
43
43
  to the output graph.
@@ -123,24 +123,24 @@ The @typeof attribute has changed; previously, it always created a new subject,
123
123
 
124
124
  For example:
125
125
 
126
- <div typeof="foaf:Person" about="http://greggkellogg.net/foaf#me">
126
+ <div typeof="foaf:Person" about="https://greggkellogg.net/foaf#me">
127
127
  <p property="name">Gregg Kellogg</span>
128
- <a rel="knows" typeof="foaf:Person" href="http://manu.sporny.org/#this">
128
+ <a rel="knows" typeof="foaf:Person" href="https://manu.sporny.org/#this">
129
129
  <span property="name">Manu Sporny</span>
130
130
  </a>
131
131
  </div>
132
132
 
133
133
  results in
134
134
 
135
- <http://greggkellogg.net/foaf#me> a foaf:Person;
135
+ <https://greggkellogg.net/foaf#me> a foaf:Person;
136
136
  foaf:name "Gregg Kellogg";
137
- foaf:knows <http://manu.sporny.org/#this> .
138
- <http://manu.sporny.org/#this> a foaf:Person;
137
+ foaf:knows <https://manu.sporny.org/#this> .
138
+ <https://manu.sporny.org/#this> a foaf:Person;
139
139
  foaf:name "Manu Sporny" .
140
140
 
141
141
  Note that if the explicit @href is not present, i.e.,
142
142
 
143
- <div typeof="foaf:Person" about="http://greggkellogg.net/foaf#me">
143
+ <div typeof="foaf:Person" about="https://greggkellogg.net/foaf#me">
144
144
  <p property="name">Gregg Kellogg</span>
145
145
  <a href="knows" typeof="foaf:Person">
146
146
  <span property="name">Manu Sporny</span>
@@ -149,7 +149,7 @@ Note that if the explicit @href is not present, i.e.,
149
149
 
150
150
  this results in
151
151
 
152
- <http://greggkellogg.net/foaf#me> a foaf:Person;
152
+ <https://greggkellogg.net/foaf#me> a foaf:Person;
153
153
  foaf:name "Gregg Kellogg";
154
154
  foaf:knows [
155
155
  a foaf:Person;
@@ -191,7 +191,7 @@ generates the following turtle:
191
191
  dc:description "A yellow rectangle with sharp corners." .
192
192
 
193
193
  ### Support for embedded N-Triples or Turtle
194
- If the document includes a `&lt;script&gt;` 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:
194
+ If the document includes a `&lt;script&gt;` element having an `@type` attribute whose value matches that of a loaded RDF reader (text/ntriples and text/turtle are loaded if they are available), the data will be extracted and added to the default graph. For example:
195
195
 
196
196
  <html>
197
197
  <body>
@@ -397,24 +397,17 @@ The template hash defines four Haml templates:
397
397
  }
398
398
 
399
399
  ## Dependencies
400
- * [Ruby](http://ruby-lang.org/) (>= 2.4)
401
- * [RDF.rb](http://rubygems.org/gems/rdf) (~> 3.1)
402
- * [Haml](https://rubygems.org/gems/haml) (~> 5.1)
403
- * [HTMLEntities](https://rubygems.org/gems/htmlentities) (>= 4.3)
404
- * Soft dependency on [Nokogiri](http://rubygems.org/gems/nokogiri) (>= 1.10)
405
- * Soft dependency on [Nokogumbo](https://github.com/rubys/nokogumbo) (>= 2.0)
400
+ * [Ruby](https://ruby-lang.org/) (>= 2.6)
401
+ * [RDF.rb](https://rubygems.org/gems/rdf) (~> 3.2)
402
+ * [Haml](https://rubygems.org/gems/haml) (~> 5.2)
403
+ * [HTMLEntities](https://rubygems.org/gems/htmlentities) (~> 4.3)
404
+ * Soft dependency on [Nokogiri](https://rubygems.org/gems/nokogiri) (~> 1.12)
406
405
 
407
406
  ## Documentation
408
407
  Full documentation available on [Rubydoc.info][RDFa doc]
409
408
 
410
409
  ### Principle Classes
411
410
  * {RDF::RDFa::Format}
412
- * {RDF::RDFa::HTML}
413
- Asserts :html format, text/html mime-type and .html file extension.
414
- * {RDF::RDFa::XHTML}
415
- Asserts :html format, application/xhtml+xml mime-type and .xhtml file extension.
416
- * {RDF::RDFa::SVG}
417
- Asserts :svg format, image/svg+xml mime-type and .svg file extension.
418
411
  * {RDF::RDFa::Reader}
419
412
  * {RDF::RDFa::Reader::Nokogiri}
420
413
  * {RDF::RDFa::Reader::REXML}
@@ -422,11 +415,6 @@ Full documentation available on [Rubydoc.info][RDFa doc]
422
415
  * {RDF::RDFa::Expansion}
423
416
  * {RDF::RDFa::Writer}
424
417
 
425
- ### Additional vocabularies
426
- * {RDF::RDFA}
427
- * {RDF::XML}
428
- * {RDF::XSI}
429
-
430
418
  ## TODO
431
419
  * Add support for LibXML and REXML bindings, and use the best available
432
420
  * Consider a SAX-based parser for improved performance
@@ -438,13 +426,13 @@ Full documentation available on [Rubydoc.info][RDFa doc]
438
426
  * [History](file:History.md)
439
427
  * [RDFa 1.1 Core][RDFa 1.1 Core]
440
428
  * [XHTML+RDFa 1.1][XHTML+RDFa 1.1]
441
- * [RDFa-test-suite](http://rdfa.info/test-suite/ "RDFa test suite")
429
+ * [RDFa-test-suite](https://rdfa.info/test-suite/ "RDFa test suite")
442
430
 
443
431
  ## Author
444
- * [Gregg Kellogg](http://github.com/gkellogg) - <http://greggkellogg.net/>
432
+ * [Gregg Kellogg](https://github.com/gkellogg) - <https://greggkellogg.net/>
445
433
 
446
434
  ## Contributors
447
- * [Nicholas Humfrey](http://github.com/njh) - <http://njh.me/>
435
+ * [Nicholas Humfrey](https://github.com/njh) - <https://njh.me/>
448
436
 
449
437
  ## Contributing
450
438
  This repository uses [Git Flow](https://github.com/nvie/gitflow) to mange development and release activity. All submissions _must_ be on a feature branch based on the _develop_ branch to ease staging and integration.
@@ -459,32 +447,33 @@ This repository uses [Git Flow](https://github.com/nvie/gitflow) to mange develo
459
447
  list in the the `README`. Alphabetical order applies.
460
448
  * Do note that in order for us to merge any non-trivial changes (as a rule
461
449
  of thumb, additions larger than about 15 lines of code), we need an
462
- explicit [public domain dedication][PDD] on record from you.
450
+ explicit [public domain dedication][PDD] on record from you,
451
+ which you will be asked to agree to on the first commit to a repo within the organization.
452
+ Note that the agreement applies to all repos in the [Ruby RDF](https://github.com/ruby-rdf/) organization.
463
453
 
464
454
  ## License
465
455
 
466
456
  This is free and unencumbered public domain software. For more information,
467
- see <http://unlicense.org/> or the accompanying [UNLICENSE](UNLICENSE) file.
457
+ see <https://unlicense.org/> or the accompanying [UNLICENSE](UNLICENSE) file.
468
458
 
469
459
  ## FEEDBACK
470
460
 
471
461
  * gregg@greggkellogg.net
472
- * <http://rubygems.org/rdf-rdfa>
473
- * <http://github.com/ruby-rdf/rdf-rdfa>
474
- * <http://lists.w3.org/Archives/Public/public-rdf-ruby/>
475
-
476
- [RDF.rb]: http://rubygems.org/gems/rdf
477
- [YARD]: http://yardoc.org/
478
- [YARD-GS]: http://rubydoc.info/docs/yard/file/docs/GettingStarted.md
479
- [PDD]: http://lists.w3.org/Archives/Public/public-rdf-ruby/2010May/0013.html
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"
483
- [HTML+RDFa 1.1]: http://www.w3.org/TR/rdfa-in-html/ "HTML+RDFa 1.1"
484
- [RDFa-test-suite]: http://rdfa.info/test-suite/ "RDFa test suite"
485
- [Role Attr]: http://www.w3.org/TR/role-attribute/ "Role Attribute"
486
- [RDFa doc]: http://rubydoc.info/github/ruby-rdf/rdf-rdfa/frames
487
- [Haml]: http://haml-lang.com/
488
- [Turtle]: http://www.w3.org/TR/2011/WD-turtle-20110809/
489
- [Nokogiri]: http://www.nokogiri.org
490
- [Nokogumbo]: https://github.com/rubys/nokogumbo/#readme
462
+ * <https://rubygems.org/rdf-rdfa>
463
+ * <https://github.com/ruby-rdf/rdf-rdfa>
464
+ * <https://lists.w3.org/Archives/Public/public-rdf-ruby/>
465
+
466
+ [RDF.rb]: https://rubygems.org/gems/rdf
467
+ [YARD]: https://yardoc.org/
468
+ [YARD-GS]: https://rubydoc.info/docs/yard/file/docs/GettingStarted.md
469
+ [PDD]: https://unlicense.org/#unlicensing-contributions
470
+ [RDFa 1.1 Core]: https://www.w3.org/TR/2012/REC-rdfa-core-20120607/ "RDFa 1.1 Core"
471
+ [RDFa Lite 1.1]: https://www.w3.org/TR/2012/REC-rdfa-lite-20120607/ "RDFa Lite 1.1"
472
+ [XHTML+RDFa 1.1]: https://www.w3.org/TR/2012/REC-xhtml-rdfa-20120607/ "XHTML+RDFa 1.1"
473
+ [HTML+RDFa 1.1]: https://www.w3.org/TR/rdfa-in-html/ "HTML+RDFa 1.1"
474
+ [RDFa-test-suite]: https://rdfa.info/test-suite/ "RDFa test suite"
475
+ [Role Attr]: https://www.w3.org/TR/role-attribute/ "Role Attribute"
476
+ [RDFa doc]: https://rubydoc.info/github/ruby-rdf/rdf-rdfa/frames
477
+ [Haml]: https://haml-lang.com/
478
+ [Turtle]: https://www.w3.org/TR/2011/WD-turtle-20110809/
479
+ [Nokogiri]: https://www.nokogiri.org
data/UNLICENSE CHANGED
@@ -21,4 +21,4 @@ OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
21
21
  ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22
22
  OTHER DEALINGS IN THE SOFTWARE.
23
23
 
24
- For more information, please refer to <http://unlicense.org/>
24
+ For more information, please refer to <https://unlicense.org/>
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.1.0
1
+ 3.2.0
@@ -20,6 +20,7 @@ class RDF::RDFa::Context
20
20
  gr: "http://purl.org/goodrelations/v1#",
21
21
  grddl: "http://www.w3.org/2003/g/data-view#",
22
22
  ical: "http://www.w3.org/2002/12/cal/icaltzd#",
23
+ jsonld: "http://www.w3.org/ns/json-ld#",
23
24
  ldp: "http://www.w3.org/ns/ldp#",
24
25
  ma: "http://www.w3.org/ns/ma-ont#",
25
26
  oa: "http://www.w3.org/ns/oa#",
@@ -12,7 +12,7 @@ module RDF::RDFa
12
12
  # Vocabulary expansion uses the built-in reasoner using included vocabularies from RDF.rb.
13
13
  #
14
14
  # @param [RDF::Repository] repository
15
- # @see [OWL2 PROFILES](http://www.w3.org/TR/2009/REC-owl2-profiles-20091027/#Reasoning_in_OWL_2_RL_and_RDF_Graphs_using_Rules)
15
+ # @see [OWL2 PROFILES](https://www.w3.org/TR/2009/REC-owl2-profiles-20091027/#Reasoning_in_OWL_2_RL_and_RDF_Graphs_using_Rules)
16
16
  def expand(repository)
17
17
  add_debug("expand") {"Repository has #{repository.count} statements"}
18
18
 
@@ -45,7 +45,7 @@ module RDF::RDFa
45
45
  # Subsequently, remove reference rdfa:Pattern objects.
46
46
  #
47
47
  # @param [RDF::Repository] repository
48
- # @see [HTML+RDFa](http://www.w3.org/TR/rdfa-in-html/#rdfa-reference-folding)
48
+ # @see [HTML+RDFa](https://www.w3.org/TR/rdfa-in-html/#rdfa-reference-folding)
49
49
  def copy_properties(repository)
50
50
  add_debug("expand") {"Repository has #{repository.size} statements"}
51
51
  fold(repository)
@@ -16,7 +16,7 @@ module RDF::RDFa
16
16
  # @example Obtaining serialization format file extension mappings
17
17
  # RDF::Format.file_extensions #=> {xhtml: "application/xhtml+xml"}
18
18
  #
19
- # @see http://www.w3.org/TR/rdf-testcases/#ntriples
19
+ # @see https://www.w3.org/TR/rdf-testcases/#ntriples
20
20
  class Format < RDF::Format
21
21
  content_encoding 'utf-8'
22
22
  content_type 'text/html;q=0.5',
@@ -3,7 +3,7 @@ module RDF::RDFa
3
3
  ##
4
4
  # Nokogiri implementation of an XML parser.
5
5
  #
6
- # @see http://nokogiri.org/
6
+ # @see https://nokogiri.org/
7
7
  module Nokogiri
8
8
  ##
9
9
  # Returns the name of the underlying XML library.
@@ -34,7 +34,7 @@ module RDF::RDFa
34
34
  #
35
35
  # @return [String]
36
36
  def language
37
- language = case
37
+ case
38
38
  when @node.attribute_with_ns("lang", RDF::XML.to_s)
39
39
  @node.attribute_with_ns("lang", RDF::XML.to_s)
40
40
  when @node.attribute("xml:lang")
@@ -176,10 +176,9 @@ module RDF::RDFa
176
176
  ::Nokogiri::HTML.parse(input, base_uri.to_s, options[:encoding])
177
177
  when :html5
178
178
  begin
179
- require 'nokogumbo' unless defined?(::Nokogumbo)
180
179
  input = input.read if input.respond_to?(:read)
181
180
  ::Nokogiri::HTML5(input.force_encoding(options[:encoding]), max_parse_errors: 1000)
182
- rescue LoadError
181
+ rescue LoadError, NoMethodError
183
182
  ::Nokogiri::HTML.parse(input, base_uri.to_s, options[:encoding])
184
183
  end
185
184
  else
@@ -283,10 +282,10 @@ module RDF::RDFa
283
282
  ##
284
283
  # Document errors
285
284
  def doc_errors
286
- # FIXME: Nokogiri version 1.5 thinks many HTML5 elements are invalid, so just ignore all Tag errors.
287
- # Nokogumbo might make this simpler
288
285
  if @host_language == :html5
289
- @doc.errors.reject {|e| e.to_s =~ /The doctype must be the first token in the document/}
286
+ @doc.errors.reject do |e|
287
+ e.to_s =~ %r{(The doctype must be the first token in the document)|(Expected a doctype token)|(Unexpected '\?' where start tag name is expected)}
288
+ end
290
289
  else
291
290
  @doc.errors.reject {|e| e.to_s =~ /(?:Tag \w+ invalid)|(?:Missing attribute name)/}
292
291
  end
@@ -5,7 +5,7 @@ module RDF::RDFa
5
5
  ##
6
6
  # REXML implementation of an XML parser.
7
7
  #
8
- # @see http://www.germane-software.com/software/rexml/
8
+ # @see https://www.germane-software.com/software/rexml/
9
9
  module REXML
10
10
  ##
11
11
  # Returns the name of the underlying XML library.
@@ -104,7 +104,7 @@ module RDF::RDFa
104
104
  ##
105
105
  # Inner text of an element
106
106
  #
107
- # @see http://apidock.com/ruby/REXML/Element/get_text#743-Get-all-inner-texts
107
+ # @see https://apidock.com/ruby/REXML/Element/get_text#743-Get-all-inner-texts
108
108
  # @return [String]
109
109
  def inner_text
110
110
  coder = HTMLEntities.new
@@ -116,7 +116,7 @@ module RDF::RDFa
116
116
  ##
117
117
  # Inner text of an element
118
118
  #
119
- # @see http://apidock.com/ruby/REXML/Element/get_text#743-Get-all-inner-texts
119
+ # @see https://apidock.com/ruby/REXML/Element/get_text#743-Get-all-inner-texts
120
120
  # @return [String]
121
121
  def inner_html
122
122
  @node.children.map(&:to_s).join
@@ -16,15 +16,15 @@ module RDF::RDFa
16
16
  # can explicitly override the used implementation by passing in a
17
17
  # `:library` option to `Reader.new` or `Reader.open`.
18
18
  #
19
- # [Nokogiri]: http://nokogiri.org/
19
+ # [Nokogiri]: https://nokogiri.org/
20
20
  #
21
21
  # Based on processing rules described here:
22
- # @see http://www.w3.org/TR/rdfa-syntax/#s_model RDFa 1.0
23
- # @see http://www.w3.org/TR/2012/REC-rdfa-core-20120607/
24
- # @see http://www.w3.org/TR/2012/CR-xhtml-rdfa-20120313/
25
- # @see http://dev.w3.org/html5/rdfa/
22
+ # @see https://www.w3.org/TR/rdfa-syntax/#s_model RDFa 1.0
23
+ # @see https://www.w3.org/TR/2012/REC-rdfa-core-20120607/
24
+ # @see https://www.w3.org/TR/2012/CR-xhtml-rdfa-20120313/
25
+ # @see https://dev.w3.org/html5/rdfa/
26
26
  #
27
- # @author [Gregg Kellogg](http://kellogg-assoc.com/)
27
+ # @author [Gregg Kellogg](https://greggkellogg.net/)
28
28
  class Reader < RDF::Reader
29
29
  format Format
30
30
  include Expansion
@@ -46,9 +46,9 @@ module RDF::RDFa
46
46
  }
47
47
 
48
48
  # This expression matches an NCName as defined in
49
- # [XML-NAMES](http://www.w3.org/TR/2009/REC-xml-names-20091208/#NT-NCName)
49
+ # [XML-NAMES](https://www.w3.org/TR/2009/REC-xml-names-20091208/#NT-NCName)
50
50
  #
51
- # @see http://www.w3.org/TR/2009/REC-xml-names-20091208/#NT-NCName
51
+ # @see https://www.w3.org/TR/2009/REC-xml-names-20091208/#NT-NCName
52
52
  NC_REGEXP = Regexp.new(
53
53
  %{^
54
54
  ( [a-zA-Z_]
@@ -61,11 +61,11 @@ module RDF::RDFa
61
61
  Regexp::EXTENDED)
62
62
 
63
63
  # This expression matches an term as defined in
64
- # [RDFA-CORE](http://www.w3.org/TR/2012/REC-rdfa-core-20120607/#s_terms)
64
+ # [RDFA-CORE](https://www.w3.org/TR/2012/REC-rdfa-core-20120607/#s_terms)
65
65
  #
66
66
  # For the avoidance of doubt, this definition means a 'term'
67
67
  # in RDFa is an XML NCName that also permits slash as a non-leading character.
68
- # @see http://www.w3.org/TR/2012/REC-rdfa-core-20120607/#s_terms
68
+ # @see https://www.w3.org/TR/2012/REC-rdfa-core-20120607/#s_terms
69
69
  TERM_REGEXP = Regexp.new(
70
70
  %{^
71
71
  (?!\\\\u0301) # &#x301; is a non-spacing acute accent.
@@ -245,7 +245,7 @@ module RDF::RDFa
245
245
 
246
246
  ##
247
247
  # RDFa Reader options
248
- # @see http://www.rubydoc.info/github/ruby-rdf/rdf/RDF/Reader#options-class_method
248
+ # @see https://www.rubydoc.info/github/ruby-rdf/rdf/RDF/Reader#options-class_method
249
249
  def self.options
250
250
  super + [
251
251
  RDF::CLI::Option.new(
@@ -329,19 +329,7 @@ module RDF::RDFa
329
329
 
330
330
  detect_host_language_version(input, **options)
331
331
 
332
- parse_lib = if @library == :nokogiri && @host_language == :html5
333
- begin
334
- require 'nokogumbo' unless defined?(::Nokogumbo)
335
- :nokobumbo
336
- rescue LoadError
337
- :nokogiri
338
- end
339
- else
340
- @library
341
- end
342
-
343
- parse_lib = @library == :nokogiri && defined?(::Nokogumbo) ? :nokogumbo : @library
344
- add_info(@doc, "version = #{@version}, host_language = #{@host_language}, library = #{parse_lib}, rdfagraph = #{@options[:rdfagraph].inspect}, expand = #{@options[:vocab_expansion]}")
332
+ add_info(@doc, "version = #{@version}, host_language = #{@host_language}, library = #{@library}, rdfagraph = #{@options[:rdfagraph].inspect}, expand = #{@options[:vocab_expansion]}")
345
333
 
346
334
  begin
347
335
  initialize_xml(input, **options)
@@ -1,137 +1,161 @@
1
1
  # -*- encoding: utf-8 -*-
2
+ # frozen_string_literal: true
3
+ # This file generated automatically using rdf vocabulary format from http://www.w3.org/ns/rdfa#
4
+ require 'rdf'
2
5
  module RDF
3
- class RDFA < Vocabulary("http://www.w3.org/ns/rdfa#")
6
+ # @!parse
7
+ # # Vocabulary for <http://www.w3.org/ns/rdfa#>
8
+ # #
9
+ # # RDFa Vocabulary for Term and Prefix Assignment, and for Processor Graph Reporting
10
+ # #
11
+ # # This document describes the RDFa Vocabulary for Term and Prefix Assignment. The Vocabulary is used to modify RDFa 1.1 processing behavior.
12
+ # # @version $Date: 2013-03-11 07:54:23 $
13
+ # class RDFA < RDF::Vocabulary
14
+ # # @return [RDF::Vocabulary::Term]
15
+ # attr_reader :PGClass
16
+ #
17
+ # # @return [RDF::Vocabulary::Term]
18
+ # attr_reader :Pattern
19
+ #
20
+ # # @return [RDF::Vocabulary::Term]
21
+ # attr_reader :PrefixOrTermMapping
22
+ #
23
+ # # @return [RDF::Vocabulary::Term]
24
+ # attr_reader :context
25
+ #
26
+ # # @return [RDF::Vocabulary::Term]
27
+ # attr_reader :copy
28
+ #
29
+ # # @return [RDF::Vocabulary::Term]
30
+ # attr_reader :prefix
31
+ #
32
+ # # @return [RDF::Vocabulary::Term]
33
+ # attr_reader :term
34
+ #
35
+ # # @return [RDF::Vocabulary::Term]
36
+ # attr_reader :uri
37
+ #
38
+ # # @return [RDF::Vocabulary::Term]
39
+ # attr_reader :usesVocabulary
40
+ #
41
+ # # @return [RDF::Vocabulary::Term]
42
+ # attr_reader :vocabulary
43
+ #
44
+ # # @return [RDF::Vocabulary::Term]
45
+ # attr_reader :DocumentError
46
+ #
47
+ # # @return [RDF::Vocabulary::Term]
48
+ # attr_reader :Error
49
+ #
50
+ # # @return [RDF::Vocabulary::Term]
51
+ # attr_reader :Info
52
+ #
53
+ # # @return [RDF::Vocabulary::Term]
54
+ # attr_reader :PrefixMapping
55
+ #
56
+ # # @return [RDF::Vocabulary::Term]
57
+ # attr_reader :PrefixRedefinition
58
+ #
59
+ # # @return [RDF::Vocabulary::Term]
60
+ # attr_reader :TermMapping
61
+ #
62
+ # # @return [RDF::Vocabulary::Term]
63
+ # attr_reader :UnresolvedCURIE
64
+ #
65
+ # # @return [RDF::Vocabulary::Term]
66
+ # attr_reader :UnresolvedTerm
67
+ #
68
+ # # @return [RDF::Vocabulary::Term]
69
+ # attr_reader :VocabReferenceError
70
+ #
71
+ # # @return [RDF::Vocabulary::Term]
72
+ # attr_reader :Warning
73
+ #
74
+ # end
75
+ RDFA = Class.new(RDF::Vocabulary("http://www.w3.org/ns/rdfa#")) do
76
+
77
+ # Ontology definition
78
+ ontology :"http://www.w3.org/ns/rdfa#",
79
+ "dc:creator": "http://www.ivan-herman.net/foaf#me".freeze,
80
+ "dc:date": "2013-01-18".freeze,
81
+ "dc:description": "This document describes the RDFa Vocabulary for Term and Prefix Assignment. The Vocabulary is used to modify RDFa 1.1 processing behavior.".freeze,
82
+ "dc:publisher": "http://www.w3.org/data#W3C".freeze,
83
+ "dc:title": "RDFa Vocabulary for Term and Prefix Assignment, and for Processor Graph Reporting".freeze,
84
+ isDefinedBy: "http://www.w3.org/TR/rdfa-core/#s_initialcontexts".freeze,
85
+ "owl:versionInfo": "$Date: 2013-03-11 07:54:23 $".freeze,
86
+ type: "owl:Ontology".freeze
87
+
4
88
  # Class definitions
5
- __property__ :DocumentError,
6
- comment: %(error condition; to be used when the document fails to be fully processed as a result of non-conformant host language markup).freeze,
7
- "dc:description" => %(error condition; to be used when the document fails to be fully processed as a result of non-conformant host language markup).freeze,
8
- label: "DocumentError".freeze,
9
- subClassOf: "rdfa:Error".freeze,
10
- type: "rdfs:Class".freeze
11
- __property__ :Error,
12
- comment: %(is the class for all error conditions).freeze,
13
- "dc:description" => %(is the class for all error conditions).freeze,
14
- label: "Error".freeze,
15
- subClassOf: "rdfa:PGClass".freeze.freeze,
16
- type: "rdfs:Class".freeze
17
- __property__ :Info,
18
- comment: %(is the class for all informations).freeze,
19
- "dc:description" => %(is the class for all informations).freeze,
20
- label: "Info".freeze,
21
- subClassOf: "rdfa:PGClass".freeze.freeze,
22
- type: "rdfs:Class".freeze
23
- __property__ :PGClass,
24
- comment: %(is the top level class of the hierarchy).freeze,
25
- "dc:description" => %(is the top level class of the hierarchy).freeze,
26
- label: "PGClass".freeze,
27
- type: ["rdfs:Class".freeze, "owl:Class".freeze]
28
- __property__ :Pattern,
29
- comment: %(Class to identify an \(RDF\) resource whose properties are to be copied to another resource).freeze,
30
- "dc:description" => %(Class to identify an \(RDF\) resource whose properties are to be copied to another resource).freeze,
31
- label: "Pattern".freeze,
32
- type: ["rdfs:Class".freeze, "owl:Class".freeze]
33
- __property__ :PrefixMapping,
34
- comment: %(is the class for prefix mappings).freeze,
35
- "dc:description" => %(is the class for prefix mappings).freeze,
36
- label: "PrefixMapping".freeze,
37
- subClassOf: "rdfa:PrefixOrTermMapping".freeze.freeze,
38
- type: "rdfs:Class".freeze
39
- __property__ :PrefixOrTermMapping,
40
- comment: %(is the top level class for prefix or term mappings).freeze,
41
- "dc:description" => %(is the top level class for prefix or term mappings).freeze,
42
- label: "PrefixOrTermMapping".freeze,
43
- type: ["rdfs:Class".freeze, "owl:Class".freeze]
44
- __property__ :PrefixRedefinition,
45
- comment: %(warning; to be used when a prefix, either from the initial context or inherited from an ancestor node, is redefined in an element).freeze,
46
- "dc:description" => %(warning; to be used when a prefix, either from the initial context or inherited from an ancestor node, is redefined in an element).freeze,
47
- label: "PrefixRedefinition".freeze,
48
- subClassOf: "rdfa:Warning".freeze.freeze,
49
- type: "rdfs:Class".freeze
50
- __property__ :TermMapping,
51
- comment: %(is the class for term mappings).freeze,
52
- "dc:description" => %(is the class for term mappings).freeze,
53
- label: "TermMapping".freeze,
54
- subClassOf: "rdfa:PrefixOrTermMapping".freeze.freeze,
55
- type: "rdfs:Class".freeze
56
- __property__ :UnresolvedCURIE,
57
- comment: %(warning; to be used when a CURIE prefix fails to be resolved).freeze,
58
- "dc:description" => %(warning; to be used when a CURIE prefix fails to be resolved).freeze,
59
- label: "UnresolvedCURIE".freeze,
60
- subClassOf: "rdfa:Warning".freeze.freeze,
61
- type: "rdfs:Class".freeze
62
- __property__ :UnresolvedTerm,
63
- comment: %(warning; to be used when a Term fails to be resolved).freeze,
64
- "dc:description" => %(warning; to be used when a Term fails to be resolved).freeze,
65
- label: "UnresolvedTerm".freeze,
66
- subClassOf: "rdfa:Warning".freeze.freeze,
67
- type: "rdfs:Class".freeze
68
- __property__ :VocabReferenceError,
69
- comment: %(warning; to be used when the value of a @vocab attribute cannot be dereferenced, hence the vocabulary expansion cannot be completed).freeze,
70
- "dc:description" => %(warning; to be used when the value of a @vocab attribute cannot be dereferenced, hence the vocabulary expansion cannot be completed).freeze,
71
- label: "VocabReferenceError".freeze,
72
- subClassOf: "rdfa:Warning".freeze.freeze,
73
- type: "rdfs:Class".freeze
74
- __property__ :Warning,
75
- comment: %(is the class for all warnings).freeze,
76
- "dc:description" => %(is the class for all warnings).freeze,
77
- label: "Warning".freeze,
78
- subClassOf: "rdfa:PGClass".freeze.freeze,
79
- type: "rdfs:Class".freeze
89
+ term :PGClass,
90
+ "dc:description": "is the top level class of the hierarchy".freeze,
91
+ type: ["owl:Class".freeze, "rdfs:Class".freeze]
92
+ term :Pattern,
93
+ "dc:description": "Class to identify an (RDF) resource whose properties are to be copied to another resource".freeze,
94
+ type: ["owl:Class".freeze, "rdfs:Class".freeze]
95
+ term :PrefixOrTermMapping,
96
+ "dc:description": "is the top level class for prefix or term mappings".freeze,
97
+ type: ["owl:Class".freeze, "rdfs:Class".freeze]
80
98
 
81
99
  # Property definitions
82
- __property__ :context,
83
- comment: %(provides extra context for the error, eg, http response, an XPointer/XPath information, or simply the URI that created the error).freeze,
84
- "dc:description" => %(provides extra context for the error, eg, http response, an XPointer/XPath information, or simply the URI that created the error).freeze,
100
+ property :context,
101
+ "dc:description": "provides extra context for the error, eg, http response, an XPointer/XPath information, or simply the URI that created the error".freeze,
85
102
  domain: "rdfa:PGClass".freeze,
86
- label: "context".freeze,
87
- type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
88
- __property__ :copy,
89
- comment: %(identifies the resource \(i.e., pattern\) whose properties and values should be copied to replace the current triple \(retaining the subject of the triple\).).freeze,
90
- "dc:description" => %(identifies the resource \(i.e., pattern\) whose properties and values should be copied to replace the current triple \(retaining the subject of the triple\).).freeze,
91
- label: "copy".freeze,
92
- type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
93
- __property__ :prefix,
94
- comment: %(defines a prefix mapping for a URI; the value is supposed to be a NMTOKEN).freeze,
95
- "dc:description" => %(defines a prefix mapping for a URI; the value is supposed to be a NMTOKEN).freeze,
103
+ type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
104
+ property :copy,
105
+ "dc:description": "identifies the resource (i.e., pattern) whose properties and values should be copied to replace the current triple (retaining the subject of the triple).".freeze,
106
+ type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
107
+ property :prefix,
108
+ "dc:description": "defines a prefix mapping for a URI; the value is supposed to be a NMTOKEN".freeze,
96
109
  domain: "rdfa:PrefixMapping".freeze,
97
- label: "prefix".freeze,
98
- type: ["rdf:Property".freeze, "owl:DatatypeProperty".freeze]
99
- __property__ :term,
100
- comment: %(defines a term mapping for a URI; the value is supposed to be a NMTOKEN).freeze,
101
- "dc:description" => %(defines a term mapping for a URI; the value is supposed to be a NMTOKEN).freeze,
110
+ type: ["owl:DatatypeProperty".freeze, "rdf:Property".freeze]
111
+ property :term,
112
+ "dc:description": "defines a term mapping for a URI; the value is supposed to be a NMTOKEN".freeze,
102
113
  domain: "rdfa:TermMapping".freeze,
103
- label: "term".freeze,
104
- type: ["rdf:Property".freeze, "owl:DatatypeProperty".freeze]
105
- __property__ :uri,
106
- comment: %(defines the URI for either a prefix or a term mapping; the value is supposed to be an absolute URI).freeze,
107
- "dc:description" => %(defines the URI for either a prefix or a term mapping; the value is supposed to be an absolute URI).freeze,
114
+ type: ["owl:DatatypeProperty".freeze, "rdf:Property".freeze]
115
+ property :uri,
116
+ "dc:description": "defines the URI for either a prefix or a term mapping; the value is supposed to be an absolute URI".freeze,
108
117
  domain: "rdfa:PrefixOrTermMapping".freeze,
109
- label: "uri".freeze,
110
- type: ["rdf:Property".freeze, "owl:DatatypeProperty".freeze]
111
- __property__ :usesVocabulary,
112
- comment: %(provides a relationship between the host document and a vocabulary defined using the @vocab facility of RDFa1.1).freeze,
113
- "dc:description" => %(provides a relationship between the host document and a vocabulary defined using the @vocab facility of RDFa1.1).freeze,
114
- label: "usesVocabulary".freeze,
115
- type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
116
- __property__ :vocabulary,
117
- comment: %(defines an absolute URI to be used as a default vocabulary; the value is can be any string; for documentation purposes it is advised to use the string 'true' or 'True'.).freeze,
118
- "dc:description" => %(defines an absolute URI to be used as a default vocabulary; the value is can be any string; for documentation purposes it is advised to use the string 'true' or 'True'.).freeze,
119
- label: "vocabulary".freeze,
120
- type: ["rdf:Property".freeze, "owl:DatatypeProperty".freeze]
118
+ type: ["owl:DatatypeProperty".freeze, "rdf:Property".freeze]
119
+ property :usesVocabulary,
120
+ "dc:description": "provides a relationship between the host document and a vocabulary\n\tdefined using the @vocab facility of RDFa1.1".freeze,
121
+ type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
122
+ property :vocabulary,
123
+ "dc:description": "defines an absolute URI to be used as a default vocabulary; the value is can be any string; for documentation purposes it is advised to use the string 'true' or 'True'.".freeze,
124
+ type: ["owl:DatatypeProperty".freeze, "rdf:Property".freeze]
121
125
 
122
126
  # Extra definitions
123
- __property__ :"",
124
- "dc:creator" => %(http://www.ivan-herman.net/foaf#me).freeze,
125
- "dc:date" => %(2013-01-18).freeze,
126
- "dc:description" => %(This document describes the RDFa Vocabulary for Term and Prefix Assignment. The Vocabulary is used to modify RDFa 1.1 processing behavior.).freeze,
127
- "dc:publisher" => %(http://www.w3.org/data#W3C).freeze,
128
- "dc:title" => %(RDFa Vocabulary for Term and Prefix Assignment, and for Processor Graph Reporting).freeze,
129
- label: "".freeze,
130
- "owl:versionInfo" => %($Date: 2013-03-11 07:54:23 $).freeze,
131
- "rdfs:isDefinedBy" => %(http://www.w3.org/TR/rdfa-core/#s_initialcontexts).freeze,
132
- type: "owl:Ontology".freeze
127
+ term :DocumentError,
128
+ "dc:description": "error condition; to be used when the document fails to be fully processed as a result of non-conformant host language markup".freeze,
129
+ subClassOf: "rdfa:Error".freeze
130
+ term :Error,
131
+ "dc:description": "is the class for all error conditions".freeze,
132
+ subClassOf: "rdfa:PGClass".freeze
133
+ term :Info,
134
+ "dc:description": "is the class for all informations".freeze,
135
+ subClassOf: "rdfa:PGClass".freeze
136
+ term :PrefixMapping,
137
+ "dc:description": "is the class for prefix mappings".freeze,
138
+ subClassOf: "rdfa:PrefixOrTermMapping".freeze
139
+ term :PrefixRedefinition,
140
+ "dc:description": "warning; to be used when a prefix, either from the initial context or inherited from an ancestor node, is redefined in an element".freeze,
141
+ subClassOf: "rdfa:Warning".freeze
142
+ term :TermMapping,
143
+ "dc:description": "is the class for term mappings".freeze,
144
+ subClassOf: "rdfa:PrefixOrTermMapping".freeze
145
+ term :UnresolvedCURIE,
146
+ "dc:description": "warning; to be used when a CURIE prefix fails to be resolved".freeze,
147
+ subClassOf: "rdfa:Warning".freeze
148
+ term :UnresolvedTerm,
149
+ "dc:description": "warning; to be used when a Term fails to be resolved".freeze,
150
+ subClassOf: "rdfa:Warning".freeze
151
+ term :VocabReferenceError,
152
+ "dc:description": "warning; to be used when the value of a @vocab attribute cannot be dereferenced, hence the vocabulary expansion cannot be completed".freeze,
153
+ subClassOf: "rdfa:Warning".freeze
154
+ term :Warning,
155
+ "dc:description": "is the class for all warnings".freeze,
156
+ subClassOf: "rdfa:PGClass".freeze
133
157
  end
134
158
 
135
- class XML < Vocabulary("http://www.w3.org/XML/1998/namespace"); end
136
- class XSI < Vocabulary("http://www.w3.org/2001/XMLSchema-instance"); end
159
+ XML = Class.new(Vocabulary("http://www.w3.org/XML/1998/namespace"))
160
+ XSI = Class.new(Vocabulary("http://www.w3.org/2001/XMLSchema-instance"))
137
161
  end
@@ -163,16 +163,16 @@ module RDF::RDFa
163
163
  %base{href: base}
164
164
  - if title
165
165
  %title= title
166
- %link{rel: "stylesheet", href: "http://rdf.kellogg-assoc.com/css/distiller.css", type: "text/css"}
166
+ %link{rel: "stylesheet", href: "http://rdf.greggkellogg.net/css/distiller.css", type: "text/css"}
167
167
  %script{src: "https://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js", type: "text/javascript"}
168
- %script{src: "http://rdf.kellogg-assoc.com/js/distiller.js", type: "text/javascript"}
168
+ %script{src: "http://rdf.greggkellogg.net/js/distiller.js", type: "text/javascript"}
169
169
  %body
170
170
  - if base
171
171
  %p= "RDFa serialization URI base: &lt;#{base}&gt;"
172
172
  - subjects.each do |subject|
173
173
  != yield(subject)
174
174
  %footer
175
- %p= "Written by <a href='http://rubygems.org/gems/rdf-rdfa'>RDF::RDFa</a> version #{RDF::RDFa::VERSION}"
175
+ %p= "Written by <a href='https://rubygems.org/gems/rdf-rdfa'>RDF::RDFa</a> version #{RDF::RDFa::VERSION}"
176
176
  ),
177
177
 
178
178
  # Output for non-leaf resources
@@ -46,7 +46,7 @@ module RDF::RDFa
46
46
  # end
47
47
  # end
48
48
  #
49
- # @author [Gregg Kellogg](http://kellogg-assoc.com/)
49
+ # @author [Gregg Kellogg](https://greggkellogg.net/)
50
50
  class Writer < RDF::Writer
51
51
  format RDF::RDFa::Format
52
52
  include RDF::Util::Logger
@@ -75,7 +75,7 @@ module RDF::RDFa
75
75
 
76
76
  ##
77
77
  # RDFa Writer options
78
- # @see http://www.rubydoc.info/github/ruby-rdf/rdf/RDF/Writer#options-class_method
78
+ # @see https://www.rubydoc.info/github/ruby-rdf/rdf/RDF/Writer#options-class_method
79
79
  def self.options
80
80
  super + [
81
81
  RDF::CLI::Option.new(
data/lib/rdf/rdfa.rb CHANGED
@@ -15,13 +15,13 @@ module RDF
15
15
  # end
16
16
  # end
17
17
  #
18
- # @see http://rubygems.org/gems/rdf
19
- # @see http://www.w3.org/TR/rdfa-syntax/#s_model RDFa 1.0
20
- # @see http://www.w3.org/TR/2012/REC-rdfa-core-20120607/
21
- # @see http://www.w3.org/TR/2012/CR-xhtml-rdfa-20120313/
22
- # @see http://dev.w3.org/html5/rdfa/
18
+ # @see https://rubygems.org/gems/rdf
19
+ # @see https://www.w3.org/TR/rdfa-syntax/#s_model RDFa 1.0
20
+ # @see https://www.w3.org/TR/2012/REC-rdfa-core-20120607/
21
+ # @see https://www.w3.org/TR/2012/CR-xhtml-rdfa-20120313/
22
+ # @see https://dev.w3.org/html5/rdfa/
23
23
  #
24
- # @author [Gregg Kellogg](http://kellogg-assoc.com/)
24
+ # @author [Gregg Kellogg](https://greggkellogg.net/)
25
25
  module RDFa
26
26
  require 'rdf/rdfa/format'
27
27
  require 'rdf/rdfa/vocab'
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rdf-rdfa
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0
4
+ version: 3.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gregg
8
8
  - Kellogg
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2019-12-12 00:00:00.000000000 Z
12
+ date: 2021-12-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rdf
@@ -17,56 +17,70 @@ dependencies:
17
17
  requirements:
18
18
  - - "~>"
19
19
  - !ruby/object:Gem::Version
20
- version: '3.1'
20
+ version: '3.2'
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - "~>"
26
26
  - !ruby/object:Gem::Version
27
- version: '3.1'
27
+ version: '3.2'
28
+ - !ruby/object:Gem::Dependency
29
+ name: rdf-vocab
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - "~>"
33
+ - !ruby/object:Gem::Version
34
+ version: '3.2'
35
+ type: :runtime
36
+ prerelease: false
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - "~>"
40
+ - !ruby/object:Gem::Version
41
+ version: '3.2'
28
42
  - !ruby/object:Gem::Dependency
29
43
  name: haml
30
44
  requirement: !ruby/object:Gem::Requirement
31
45
  requirements:
32
46
  - - "~>"
33
47
  - !ruby/object:Gem::Version
34
- version: '5.1'
48
+ version: '5.2'
35
49
  type: :runtime
36
50
  prerelease: false
37
51
  version_requirements: !ruby/object:Gem::Requirement
38
52
  requirements:
39
53
  - - "~>"
40
54
  - !ruby/object:Gem::Version
41
- version: '5.1'
55
+ version: '5.2'
42
56
  - !ruby/object:Gem::Dependency
43
57
  name: rdf-xsd
44
58
  requirement: !ruby/object:Gem::Requirement
45
59
  requirements:
46
60
  - - "~>"
47
61
  - !ruby/object:Gem::Version
48
- version: '3.1'
62
+ version: '3.2'
49
63
  type: :runtime
50
64
  prerelease: false
51
65
  version_requirements: !ruby/object:Gem::Requirement
52
66
  requirements:
53
67
  - - "~>"
54
68
  - !ruby/object:Gem::Version
55
- version: '3.1'
69
+ version: '3.2'
56
70
  - !ruby/object:Gem::Dependency
57
71
  name: rdf-aggregate-repo
58
72
  requirement: !ruby/object:Gem::Requirement
59
73
  requirements:
60
74
  - - "~>"
61
75
  - !ruby/object:Gem::Version
62
- version: '3.1'
76
+ version: '3.2'
63
77
  type: :runtime
64
78
  prerelease: false
65
79
  version_requirements: !ruby/object:Gem::Requirement
66
80
  requirements:
67
81
  - - "~>"
68
82
  - !ruby/object:Gem::Version
69
- version: '3.1'
83
+ version: '3.2'
70
84
  - !ruby/object:Gem::Dependency
71
85
  name: htmlentities
72
86
  requirement: !ruby/object:Gem::Requirement
@@ -87,28 +101,28 @@ dependencies:
87
101
  requirements:
88
102
  - - "~>"
89
103
  - !ruby/object:Gem::Version
90
- version: '3.1'
104
+ version: '3.2'
91
105
  type: :development
92
106
  prerelease: false
93
107
  version_requirements: !ruby/object:Gem::Requirement
94
108
  requirements:
95
109
  - - "~>"
96
110
  - !ruby/object:Gem::Version
97
- version: '3.1'
111
+ version: '3.2'
98
112
  - !ruby/object:Gem::Dependency
99
113
  name: rspec
100
114
  requirement: !ruby/object:Gem::Requirement
101
115
  requirements:
102
116
  - - "~>"
103
117
  - !ruby/object:Gem::Version
104
- version: '3.9'
118
+ version: '3.10'
105
119
  type: :development
106
120
  prerelease: false
107
121
  version_requirements: !ruby/object:Gem::Requirement
108
122
  requirements:
109
123
  - - "~>"
110
124
  - !ruby/object:Gem::Version
111
- version: '3.9'
125
+ version: '3.10'
112
126
  - !ruby/object:Gem::Dependency
113
127
  name: rspec-its
114
128
  requirement: !ruby/object:Gem::Requirement
@@ -129,112 +143,98 @@ dependencies:
129
143
  requirements:
130
144
  - - "~>"
131
145
  - !ruby/object:Gem::Version
132
- version: '3.1'
146
+ version: '3.2'
133
147
  type: :development
134
148
  prerelease: false
135
149
  version_requirements: !ruby/object:Gem::Requirement
136
150
  requirements:
137
151
  - - "~>"
138
152
  - !ruby/object:Gem::Version
139
- version: '3.1'
153
+ version: '3.2'
140
154
  - !ruby/object:Gem::Dependency
141
155
  name: rdf-turtle
142
156
  requirement: !ruby/object:Gem::Requirement
143
157
  requirements:
144
158
  - - "~>"
145
159
  - !ruby/object:Gem::Version
146
- version: '3.1'
147
- type: :development
148
- prerelease: false
149
- version_requirements: !ruby/object:Gem::Requirement
150
- requirements:
151
- - - "~>"
152
- - !ruby/object:Gem::Version
153
- version: '3.1'
154
- - !ruby/object:Gem::Dependency
155
- name: rdf-vocab
156
- requirement: !ruby/object:Gem::Requirement
157
- requirements:
158
- - - "~>"
159
- - !ruby/object:Gem::Version
160
- version: '3.1'
160
+ version: '3.2'
161
161
  type: :development
162
162
  prerelease: false
163
163
  version_requirements: !ruby/object:Gem::Requirement
164
164
  requirements:
165
165
  - - "~>"
166
166
  - !ruby/object:Gem::Version
167
- version: '3.1'
167
+ version: '3.2'
168
168
  - !ruby/object:Gem::Dependency
169
169
  name: rdf-isomorphic
170
170
  requirement: !ruby/object:Gem::Requirement
171
171
  requirements:
172
172
  - - "~>"
173
173
  - !ruby/object:Gem::Version
174
- version: '3.1'
174
+ version: '3.2'
175
175
  type: :development
176
176
  prerelease: false
177
177
  version_requirements: !ruby/object:Gem::Requirement
178
178
  requirements:
179
179
  - - "~>"
180
180
  - !ruby/object:Gem::Version
181
- version: '3.1'
181
+ version: '3.2'
182
182
  - !ruby/object:Gem::Dependency
183
183
  name: rdf-tabular
184
184
  requirement: !ruby/object:Gem::Requirement
185
185
  requirements:
186
186
  - - "~>"
187
187
  - !ruby/object:Gem::Version
188
- version: '3.1'
188
+ version: '3.2'
189
189
  type: :development
190
190
  prerelease: false
191
191
  version_requirements: !ruby/object:Gem::Requirement
192
192
  requirements:
193
193
  - - "~>"
194
194
  - !ruby/object:Gem::Version
195
- version: '3.1'
195
+ version: '3.2'
196
196
  - !ruby/object:Gem::Dependency
197
197
  name: rdf-rdfxml
198
198
  requirement: !ruby/object:Gem::Requirement
199
199
  requirements:
200
200
  - - "~>"
201
201
  - !ruby/object:Gem::Version
202
- version: '3.1'
202
+ version: '3.2'
203
203
  type: :development
204
204
  prerelease: false
205
205
  version_requirements: !ruby/object:Gem::Requirement
206
206
  requirements:
207
207
  - - "~>"
208
208
  - !ruby/object:Gem::Version
209
- version: '3.1'
209
+ version: '3.2'
210
210
  - !ruby/object:Gem::Dependency
211
211
  name: sparql
212
212
  requirement: !ruby/object:Gem::Requirement
213
213
  requirements:
214
214
  - - "~>"
215
215
  - !ruby/object:Gem::Version
216
- version: '3.1'
216
+ version: '3.2'
217
217
  type: :development
218
218
  prerelease: false
219
219
  version_requirements: !ruby/object:Gem::Requirement
220
220
  requirements:
221
221
  - - "~>"
222
222
  - !ruby/object:Gem::Version
223
- version: '3.1'
223
+ version: '3.2'
224
224
  - !ruby/object:Gem::Dependency
225
225
  name: yard
226
226
  requirement: !ruby/object:Gem::Requirement
227
227
  requirements:
228
228
  - - "~>"
229
229
  - !ruby/object:Gem::Version
230
- version: 0.9.20
230
+ version: '0.9'
231
231
  type: :development
232
232
  prerelease: false
233
233
  version_requirements: !ruby/object:Gem::Requirement
234
234
  requirements:
235
235
  - - "~>"
236
236
  - !ruby/object:Gem::Version
237
- version: 0.9.20
237
+ version: '0.9'
238
238
  description: RDF::RDFa is an RDFa reader/writer for Ruby using the RDF.rb library
239
239
  suite.
240
240
  email: public-rdf-ruby@w3.org
@@ -261,11 +261,11 @@ files:
261
261
  - lib/rdf/rdfa/vocab.rb
262
262
  - lib/rdf/rdfa/writer.rb
263
263
  - lib/rdf/rdfa/writer/haml_templates.rb
264
- homepage: http://ruby-rdf.github.com/rdf-rdfa
264
+ homepage: https://github.com/ruby-rdf/rdf-rdfa
265
265
  licenses:
266
266
  - Unlicense
267
267
  metadata: {}
268
- post_install_message:
268
+ post_install_message:
269
269
  rdoc_options: []
270
270
  require_paths:
271
271
  - lib
@@ -273,15 +273,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
273
273
  requirements:
274
274
  - - ">="
275
275
  - !ruby/object:Gem::Version
276
- version: '2.4'
276
+ version: '2.6'
277
277
  required_rubygems_version: !ruby/object:Gem::Requirement
278
278
  requirements:
279
279
  - - ">="
280
280
  - !ruby/object:Gem::Version
281
281
  version: '0'
282
282
  requirements: []
283
- rubygems_version: 3.0.6
284
- signing_key:
283
+ rubygems_version: 3.3.3
284
+ signing_key:
285
285
  specification_version: 4
286
286
  summary: RDFa reader/writer for RDF.rb.
287
287
  test_files: []