rdf-rdfa 2.1.0 → 2.1.1
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.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/rdf/rdfa/reader/nokogiri.rb +3 -19
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f187314f46c58533e2e502410bcb4fc619c299cc
|
|
4
|
+
data.tar.gz: a6db308c5c755593287d7be19657d484e94e9f36
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 62f0033e9eb902cb3784ef015e1b100fe5bb8c257efeb39345a73ed1f680dc8e61035d391960ff3c6121dcb08847bf09974644f4435a0e3b39bdd6d901c9ada9
|
|
7
|
+
data.tar.gz: c3961199f1ea7153257c17368e3434343975a95f731a4569417244e9dcf4640abf85290191e3230301888d2e29e4eb0a147837665e5f8787c4907375542a04da
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.1.
|
|
1
|
+
2.1.1
|
|
@@ -279,25 +279,9 @@ module RDF::RDFa
|
|
|
279
279
|
##
|
|
280
280
|
# Document errors
|
|
281
281
|
def doc_errors
|
|
282
|
-
# FIXME: Nokogiri version 1.5 thinks many HTML5 elements are invalid
|
|
283
|
-
#
|
|
284
|
-
@doc.errors.reject {|e| e.to_s =~ /(Tag\
|
|
285
|
-
abbr|article|aside|audio|bdi|bdo|
|
|
286
|
-
canvas|caption|colgroup|command|data|datalist|details|
|
|
287
|
-
embed|figcaption|figure|footer|
|
|
288
|
-
header|hgroup|keygen|legend|main|mark|meter|
|
|
289
|
-
nav|output|progress|ruby|samp|section|small|source|summary|
|
|
290
|
-
time|track|video|wbr|
|
|
291
|
-
altGlyph|altGlyphDef|altGlyphItem|
|
|
292
|
-
animate|animateColor|animateMotion|animateTransform|
|
|
293
|
-
circle|clipPath|color-profile|cursor|defs|desc|ellipse|
|
|
294
|
-
fe\w+|filter|font-[\w-]+|g|glyph|glyphRef|hkern|line|linearGradient|
|
|
295
|
-
marker|mask|metadata|missing-glyph|mpath|
|
|
296
|
-
path|pattern|polygon|polyline|radialGradient|rect|
|
|
297
|
-
set|stop|svg|switch|symbol|text|textPath|title|tref|tspan|use|view|vkern
|
|
298
|
-
)\s
|
|
299
|
-
invalid|Missing\sattribute\sname
|
|
300
|
-
)/x}
|
|
282
|
+
# FIXME: Nokogiri version 1.5 thinks many HTML5 elements are invalid, so just ignore all Tag errors.
|
|
283
|
+
# Nokogumbo might make this simpler
|
|
284
|
+
@doc.errors.reject {|e| e.to_s =~ /(?:Tag \w+ invalid)|(?:Missing attribute name)/}
|
|
301
285
|
end
|
|
302
286
|
|
|
303
287
|
##
|
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: 2.1.
|
|
4
|
+
version: 2.1.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: 2017-01-24 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rdf
|