rdf-rdfa 2.1.0 → 2.1.1

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
  SHA1:
3
- metadata.gz: 4a0cf1acda3f934ab88058d3f43d5153d5289be9
4
- data.tar.gz: '087d2c886e8f662c610185cb7081d26182943204'
3
+ metadata.gz: f187314f46c58533e2e502410bcb4fc619c299cc
4
+ data.tar.gz: a6db308c5c755593287d7be19657d484e94e9f36
5
5
  SHA512:
6
- metadata.gz: 8e014b0010d358667a7749e8c6b62c789b4499ed478eab9431655d6169492f5deb71c5f338c4cb6745c82107f68d37c6a3e9c5c5816146a83cb821c3ad9e04e4
7
- data.tar.gz: 37d1678f50545059550c7f11aad181df0e0246c2df65e5463efe587f7dd98bc1d094d4464d30e36956acb9566bf038dfecb16131472339d5f1c2603e31cfc445
6
+ metadata.gz: 62f0033e9eb902cb3784ef015e1b100fe5bb8c257efeb39345a73ed1f680dc8e61035d391960ff3c6121dcb08847bf09974644f4435a0e3b39bdd6d901c9ada9
7
+ data.tar.gz: c3961199f1ea7153257c17368e3434343975a95f731a4569417244e9dcf4640abf85290191e3230301888d2e29e4eb0a147837665e5f8787c4907375542a04da
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.1.0
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
- # FIXME: SVG 1.1 elements
284
- @doc.errors.reject {|e| e.to_s =~ /(Tag\s(?:
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.0
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: 2016-12-31 00:00:00.000000000 Z
12
+ date: 2017-01-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rdf