rdf-microdata 2.2.0 → 2.2.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: 8f6e4d7ffb9a9bf707600045b9c7cba536316b67
4
- data.tar.gz: 6b9aadb82f70285d2b96b954945f199e835352c0
3
+ metadata.gz: 7e58ac0a63c3b8878c3b4de2b3f6297244043ff5
4
+ data.tar.gz: 7f99b16d0c372a1ef0aab0629b9444f4f3c9a26d
5
5
  SHA512:
6
- metadata.gz: c6c2bfcab6a5b88c714ac95d2aa7ff8f818dd403e1874731702b5e912d1ffc66aad517bb3099cdb47bcaa1c318fd4e83ca672f7629ab8b9f87014fd9231b19e7
7
- data.tar.gz: e669901363b4245751b92b4a62201619ad08a8f80e9b5c1c1c6eb19dced6c824738037246cf4629a26304c2f9fa1fcd345c3ef1d5cd2662aa7fc9b5be400db3c
6
+ metadata.gz: 8bfea227f774d19a94f1a4bd50e21fa232f023a47b1b89fd3dae53a3321ecaa2d14c99693be34b9976ab4544ee8256ed43c645fe65bbe9d0a94c395f8feca85a
7
+ data.tar.gz: e50ebb4ef9e0bf50fc2a13d96c7f6ac6ca6d08273dfb21b132d4e79850de8a730b7db8f7c90c4aafd532a2d448ec86a0133637547d62d48969b3d2686a701574
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.2.0
1
+ 2.2.1
@@ -510,7 +510,7 @@ module RDF::Microdata
510
510
  value = case
511
511
  when element.has_attribute?('itemscope')
512
512
  {}
513
- when element.name == 'meta'
513
+ when element.has_attribute?('content')
514
514
  RDF::Literal.new(element.attribute('content').to_s, language: element.language)
515
515
  when %w(data meter).include?(element.name) && element.attribute('value')
516
516
  # Lexically scan value and assign appropriate type, otherwise, leave untyped
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: 2.2.0
4
+ version: 2.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: 2017-05-10 00:00:00.000000000 Z
12
+ date: 2017-05-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rdf