rdf-microdata 3.2.0 → 3.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/VERSION +1 -1
- data/lib/rdf/microdata/rdfa_reader.rb +2 -1
- data/lib/rdf/microdata/reader.rb +1 -1
- data/lib/rdf/microdata.rb +1 -1
- metadata +12 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b90ff0d665dacde83e54861d86be546fdcfb43ec15b599ec53e05331cb7a2670
|
4
|
+
data.tar.gz: 3f7aaaa09c89a1659e792d38c5783b72011e6e5ee8e7189867bf7730aa04b285
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 14fa0247f7e9877b449ef6d43a21da00829569d87c84563599203cc009cd7aec6a25066b42f72e10638f435bfe65d8122150ad7e832ef86b0bd9f68f734fb457
|
7
|
+
data.tar.gz: fb8189990390b413781998a90bdf4dae85b640ba9f8bdd5e97bb82a1ad21ee0f8a72e7901859b04fc44ca89331ae227f02dc8a0842a10e5c7cd16f4545b1b9ac
|
data/README.md
CHANGED
@@ -71,7 +71,7 @@ The reader exposes a `#rdfa` method, which can be used to retrieve the transform
|
|
71
71
|
|
72
72
|
## Resources
|
73
73
|
* [RDF.rb][RDF.rb]
|
74
|
-
* [Documentation](https://
|
74
|
+
* [Documentation](https://ruby-rdf.github.io/rdf-microdata/)
|
75
75
|
* [History](file:History.md)
|
76
76
|
* [Microdata][]
|
77
77
|
* [Microdata RDF][]
|
@@ -113,4 +113,4 @@ see <https://unlicense.org/> or the accompanying {file:UNLICENSE} file.
|
|
113
113
|
[PDD]: https://unlicense.org/#unlicensing-contributions
|
114
114
|
[Microdata]: https://dev.w3.org/html5/md/Overview.html "HTML Microdata"
|
115
115
|
[Microdata RDF]: https://dvcs.w3.org/hg/htmldata/raw-file/default/microdata-rdf/index.html "Microdata to RDF"
|
116
|
-
[Microdata doc]: https://
|
116
|
+
[Microdata doc]: https://ruby-rdf.github.io/rdf-microdata/frames
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.2.
|
1
|
+
3.2.1
|
@@ -97,7 +97,8 @@ module RDF::Microdata
|
|
97
97
|
# Add @vocab to referenced using the closest ansestor having @vocab of item.
|
98
98
|
# If the element with id reference has no resource attribute, add a resource attribute whose value is a NUMBER SIGN U+0023 followed by reference to the element.
|
99
99
|
# If the element with id reference has no typeof attribute, add a typeof="rdfa:Pattern" attribute to the element.
|
100
|
-
|
100
|
+
# FIXME: This broke in Nokogiri 13.0
|
101
|
+
referenced.wrap(%(<div vocab="#{item_vocab}" resource="##{ref}" typeof="rdfa:Pattern" />))
|
101
102
|
|
102
103
|
# Add a link child element to the element that represents the item, with a rel="rdfa:copy" attribute and an href attribute whose value is a NUMBER SIGN U+0023 followed by reference
|
103
104
|
link = ::Nokogiri::XML::Node.new('link', input)
|
data/lib/rdf/microdata/reader.rb
CHANGED
@@ -39,7 +39,7 @@ module RDF::Microdata
|
|
39
39
|
|
40
40
|
##
|
41
41
|
# Reader options
|
42
|
-
# @see https://
|
42
|
+
# @see https://ruby-rdf.github.io/rdf/RDF/Reader#options-class_method
|
43
43
|
def self.options
|
44
44
|
super + [
|
45
45
|
RDF::CLI::Option.new(
|
data/lib/rdf/microdata.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rdf-microdata
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.2.
|
4
|
+
version: 3.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gregg
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2022-01-29 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rdf
|
@@ -73,14 +73,14 @@ dependencies:
|
|
73
73
|
requirements:
|
74
74
|
- - "~>"
|
75
75
|
- !ruby/object:Gem::Version
|
76
|
-
version: '1.
|
76
|
+
version: '1.13'
|
77
77
|
type: :runtime
|
78
78
|
prerelease: false
|
79
79
|
version_requirements: !ruby/object:Gem::Requirement
|
80
80
|
requirements:
|
81
81
|
- - "~>"
|
82
82
|
- !ruby/object:Gem::Version
|
83
|
-
version: '1.
|
83
|
+
version: '1.13'
|
84
84
|
- !ruby/object:Gem::Dependency
|
85
85
|
name: equivalent-xml
|
86
86
|
requirement: !ruby/object:Gem::Requirement
|
@@ -216,10 +216,15 @@ files:
|
|
216
216
|
- lib/rdf/microdata/registry.rb
|
217
217
|
- lib/rdf/microdata/version.rb
|
218
218
|
- lib/rdf/microdata/vocab.rb
|
219
|
-
homepage: https://
|
219
|
+
homepage: https://github.com/ruby-rdf/rdf-microdata
|
220
220
|
licenses:
|
221
221
|
- Unlicense
|
222
|
-
metadata:
|
222
|
+
metadata:
|
223
|
+
documentation_uri: https://ruby-rdf.github.io/rdf-microdata
|
224
|
+
bug_tracker_uri: https://github.com/ruby-rdf/rdf-microdata/issues
|
225
|
+
homepage_uri: https://github.com/ruby-rdf/rdf-microdata
|
226
|
+
mailing_list_uri: https://lists.w3.org/Archives/Public/public-rdf-ruby/
|
227
|
+
source_code_uri: https://github.com/ruby-rdf/rdf-microdata
|
223
228
|
post_install_message:
|
224
229
|
rdoc_options: []
|
225
230
|
require_paths:
|
@@ -235,7 +240,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
235
240
|
- !ruby/object:Gem::Version
|
236
241
|
version: '0'
|
237
242
|
requirements: []
|
238
|
-
rubygems_version: 3.
|
243
|
+
rubygems_version: 3.2.32
|
239
244
|
signing_key:
|
240
245
|
specification_version: 4
|
241
246
|
summary: Microdata reader for Ruby.
|