microformats2 3.0.1 → 3.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (138) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/lib/microformats2.rb +15 -0
  4. data/lib/microformats2/version.rb +1 -1
  5. data/microformats2.gemspec +43 -2
  6. metadata +45 -270
  7. data/spec/support/cases/microformat2-node.jit.su/h-adr/h-adr-0.html +0 -3
  8. data/spec/support/cases/microformat2-node.jit.su/h-adr/h-adr-0.js +0 -10
  9. data/spec/support/cases/microformat2-node.jit.su/h-adr/h-adr-1.html +0 -10
  10. data/spec/support/cases/microformat2-node.jit.su/h-adr/h-adr-1.js +0 -16
  11. data/spec/support/cases/microformat2-node.jit.su/h-adr/h-adr-2.html +0 -12
  12. data/spec/support/cases/microformat2-node.jit.su/h-adr/h-adr-2.js +0 -16
  13. data/spec/support/cases/microformat2-node.jit.su/h-adr/h-adr-3.html +0 -6
  14. data/spec/support/cases/microformat2-node.jit.su/h-adr/h-adr-3.js +0 -12
  15. data/spec/support/cases/microformat2-node.jit.su/h-card/h-card-0.html +0 -3
  16. data/spec/support/cases/microformat2-node.jit.su/h-card/h-card-0.js +0 -10
  17. data/spec/support/cases/microformat2-node.jit.su/h-card/h-card-1.html +0 -3
  18. data/spec/support/cases/microformat2-node.jit.su/h-card/h-card-1.js +0 -11
  19. data/spec/support/cases/microformat2-node.jit.su/h-card/h-card-2.html +0 -4
  20. data/spec/support/cases/microformat2-node.jit.su/h-card/h-card-2.js +0 -12
  21. data/spec/support/cases/microformat2-node.jit.su/h-card/h-card-3.html +0 -11
  22. data/spec/support/cases/microformat2-node.jit.su/h-card/h-card-3.js +0 -15
  23. data/spec/support/cases/microformat2-node.jit.su/h-card/h-card-4.html +0 -6
  24. data/spec/support/cases/microformat2-node.jit.su/h-card/h-card-4.js +0 -26
  25. data/spec/support/cases/microformat2-node.jit.su/h-card/h-card-5.html +0 -6
  26. data/spec/support/cases/microformat2-node.jit.su/h-card/h-card-5.js +0 -30
  27. data/spec/support/cases/microformat2-node.jit.su/h-card/h-card-6.html +0 -6
  28. data/spec/support/cases/microformat2-node.jit.su/h-card/h-card-6.js +0 -29
  29. data/spec/support/cases/microformat2-node.jit.su/h-card/h-card-7.html +0 -16
  30. data/spec/support/cases/microformat2-node.jit.su/h-card/h-card-7.js +0 -15
  31. data/spec/support/cases/microformat2-node.jit.su/h-entry/h-entry-0.html +0 -4
  32. data/spec/support/cases/microformat2-node.jit.su/h-entry/h-entry-0.js +0 -10
  33. data/spec/support/cases/microformat2-node.jit.su/h-entry/h-entry-1.html +0 -3
  34. data/spec/support/cases/microformat2-node.jit.su/h-entry/h-entry-1.js +0 -11
  35. data/spec/support/cases/microformat2-node.jit.su/h-entry/h-entry-2.html +0 -21
  36. data/spec/support/cases/microformat2-node.jit.su/h-entry/h-entry-2.js +0 -28
  37. data/spec/support/cases/microformat2-node.jit.su/h-entry/h-entry-3.html +0 -22
  38. data/spec/support/cases/microformat2-node.jit.su/h-entry/h-entry-3.js +0 -21
  39. data/spec/support/cases/microformat2-node.jit.su/h-event/h-event-0.html +0 -3
  40. data/spec/support/cases/microformat2-node.jit.su/h-event/h-event-0.js +0 -10
  41. data/spec/support/cases/microformat2-node.jit.su/h-event/h-event-1.html +0 -3
  42. data/spec/support/cases/microformat2-node.jit.su/h-event/h-event-1.js +0 -11
  43. data/spec/support/cases/microformat2-node.jit.su/h-event/h-event-2.html +0 -14
  44. data/spec/support/cases/microformat2-node.jit.su/h-event/h-event-2.js +0 -57
  45. data/spec/support/cases/microformat2-node.jit.su/h-event/h-event-3.html +0 -15
  46. data/spec/support/cases/microformat2-node.jit.su/h-event/h-event-3.js +0 -35
  47. data/spec/support/cases/microformat2-node.jit.su/h-event/h-event-4.html +0 -9
  48. data/spec/support/cases/microformat2-node.jit.su/h-event/h-event-4.js +0 -12
  49. data/spec/support/cases/microformat2-node.jit.su/h-event/h-event-5.html +0 -45
  50. data/spec/support/cases/microformat2-node.jit.su/h-event/h-event-5.js +0 -22
  51. data/spec/support/cases/microformat2-node.jit.su/h-event/h-event-6.html +0 -51
  52. data/spec/support/cases/microformat2-node.jit.su/h-event/h-event-6.js +0 -21
  53. data/spec/support/cases/microformat2-node.jit.su/h-event/h-event-7.html +0 -22
  54. data/spec/support/cases/microformat2-node.jit.su/h-event/h-event-7.js +0 -20
  55. data/spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-0.html +0 -5
  56. data/spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-0.js +0 -10
  57. data/spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-1.html +0 -7
  58. data/spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-1.js +0 -12
  59. data/spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-2.html +0 -10
  60. data/spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-2.js +0 -13
  61. data/spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-3.html +0 -12
  62. data/spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-3.js +0 -12
  63. data/spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-4.html +0 -12
  64. data/spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-4.js +0 -12
  65. data/spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-5.html +0 -6
  66. data/spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-5.js +0 -12
  67. data/spec/support/cases/microformat2-node.jit.su/h-news/h-news-0.html +0 -26
  68. data/spec/support/cases/microformat2-node.jit.su/h-news/h-news-0.js +0 -37
  69. data/spec/support/cases/microformat2-node.jit.su/h-news/h-news-1.html +0 -37
  70. data/spec/support/cases/microformat2-node.jit.su/h-news/h-news-1.js +0 -48
  71. data/spec/support/cases/microformat2-node.jit.su/h-org/h-org-0.html +0 -3
  72. data/spec/support/cases/microformat2-node.jit.su/h-org/h-org-0.js +0 -10
  73. data/spec/support/cases/microformat2-node.jit.su/h-org/h-org-1.html +0 -3
  74. data/spec/support/cases/microformat2-node.jit.su/h-org/h-org-1.js +0 -11
  75. data/spec/support/cases/microformat2-node.jit.su/h-org/h-org-2.html +0 -6
  76. data/spec/support/cases/microformat2-node.jit.su/h-org/h-org-2.js +0 -12
  77. data/spec/support/cases/microformat2-node.jit.su/h-product/h-product-0.html +0 -3
  78. data/spec/support/cases/microformat2-node.jit.su/h-product/h-product-0.js +0 -10
  79. data/spec/support/cases/microformat2-node.jit.su/h-product/h-product-1.html +0 -3
  80. data/spec/support/cases/microformat2-node.jit.su/h-product/h-product-1.js +0 -11
  81. data/spec/support/cases/microformat2-node.jit.su/h-product/h-product-2.html +0 -11
  82. data/spec/support/cases/microformat2-node.jit.su/h-product/h-product-2.js +0 -23
  83. data/spec/support/cases/microformat2-node.jit.su/h-product/h-product-3.html +0 -22
  84. data/spec/support/cases/microformat2-node.jit.su/h-product/h-product-3.js +0 -42
  85. data/spec/support/cases/microformat2-node.jit.su/h-recipe/h-recipe-0.html +0 -9
  86. data/spec/support/cases/microformat2-node.jit.su/h-recipe/h-recipe-0.js +0 -11
  87. data/spec/support/cases/microformat2-node.jit.su/h-recipe/h-recipe-1.html +0 -67
  88. data/spec/support/cases/microformat2-node.jit.su/h-recipe/h-recipe-1.js +0 -51
  89. data/spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-0.html +0 -3
  90. data/spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-0.js +0 -10
  91. data/spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-1.html +0 -20
  92. data/spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-1.js +0 -39
  93. data/spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-2.html +0 -17
  94. data/spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-2.js +0 -54
  95. data/spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-3.html +0 -15
  96. data/spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-3.js +0 -54
  97. data/spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-4.html +0 -15
  98. data/spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-4.js +0 -12
  99. data/spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-5.html +0 -13
  100. data/spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-5.js +0 -27
  101. data/spec/support/cases/microformat2-node.jit.su/h-review-aggregate/h-review-aggregate-0.html +0 -10
  102. data/spec/support/cases/microformat2-node.jit.su/h-review-aggregate/h-review-aggregate-0.js +0 -19
  103. data/spec/support/cases/microformat2-node.jit.su/h-review-aggregate/h-review-aggregate-1.html +0 -20
  104. data/spec/support/cases/microformat2-node.jit.su/h-review-aggregate/h-review-aggregate-1.js +0 -26
  105. data/spec/support/cases/microformat2-node.jit.su/h-review-aggregate/h-review-aggregate-2.html +0 -15
  106. data/spec/support/cases/microformat2-node.jit.su/h-review-aggregate/h-review-aggregate-2.js +0 -23
  107. data/spec/support/cases/microformat2-node.jit.su/h-review/h-review-0.html +0 -3
  108. data/spec/support/cases/microformat2-node.jit.su/h-review/h-review-0.js +0 -10
  109. data/spec/support/cases/microformat2-node.jit.su/h-review/h-review-1.html +0 -3
  110. data/spec/support/cases/microformat2-node.jit.su/h-review/h-review-1.js +0 -11
  111. data/spec/support/cases/microformat2-node.jit.su/h-review/h-review-2.html +0 -3
  112. data/spec/support/cases/microformat2-node.jit.su/h-review/h-review-2.js +0 -11
  113. data/spec/support/cases/microformat2-node.jit.su/h-review/h-review-3.html +0 -6
  114. data/spec/support/cases/microformat2-node.jit.su/h-review/h-review-3.js +0 -19
  115. data/spec/support/cases/microformat2-node.jit.su/h-review/h-review-4.html +0 -8
  116. data/spec/support/cases/microformat2-node.jit.su/h-review/h-review-4.js +0 -20
  117. data/spec/support/cases/microformat2-node.jit.su/h-review/h-review-5.html +0 -24
  118. data/spec/support/cases/microformat2-node.jit.su/h-review/h-review-5.js +0 -37
  119. data/spec/support/cases/microformat2-node.jit.su/includes/includes-0.html +0 -18
  120. data/spec/support/cases/microformat2-node.jit.su/includes/includes-0.js +0 -43
  121. data/spec/support/cases/microformat2-node.jit.su/includes/includes-1.html +0 -26
  122. data/spec/support/cases/microformat2-node.jit.su/includes/includes-1.js +0 -54
  123. data/spec/support/cases/microformat2-node.jit.su/includes/includes-2.html +0 -13
  124. data/spec/support/cases/microformat2-node.jit.su/includes/includes-2.js +0 -20
  125. data/spec/support/cases/microformat2-node.jit.su/includes/includes-3.html +0 -20
  126. data/spec/support/cases/microformat2-node.jit.su/includes/includes-3.js +0 -40
  127. data/spec/support/cases/microformat2-node.jit.su/includes/includes-4.html +0 -23
  128. data/spec/support/cases/microformat2-node.jit.su/includes/includes-4.js +0 -42
  129. data/spec/support/cases/microformat2-node.jit.su/rel/rel-0.html +0 -3
  130. data/spec/support/cases/microformat2-node.jit.su/rel/rel-0.js +0 -10
  131. data/spec/support/cases/microformat2-node.jit.su/rel/rel-1.html +0 -3
  132. data/spec/support/cases/microformat2-node.jit.su/rel/rel-1.js +0 -10
  133. data/spec/support/cases/microformat2-node.jit.su/rel/rel-2.html +0 -12
  134. data/spec/support/cases/microformat2-node.jit.su/rel/rel-2.js +0 -19
  135. data/spec/support/cases/microformat2-node.jit.su/rel/rel-3.html +0 -21
  136. data/spec/support/cases/microformat2-node.jit.su/rel/rel-3.js +0 -26
  137. data/spec/support/cases/microformat2-node.jit.su/rel/rel-4.html +0 -15
  138. data/spec/support/cases/microformat2-node.jit.su/rel/rel-4.js +0 -42
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c7acf453f148b1837f05fa98b383f2107b678c7e
4
- data.tar.gz: 2d6fc8e93eaaddff73ad70a73d27968963401be1
3
+ metadata.gz: 46b5f126e90b94a12f9385d641c42638e61652c6
4
+ data.tar.gz: b5b653ef0cd1fe2e8bad9b4dd98bfa8c56d44e2c
5
5
  SHA512:
6
- metadata.gz: 42485f29da5b732a5a6e81b4e00af6dfa93a955b9f59d9fefa280ef164e3a1f9b47aea7a22b046ff08ba4c89356154efed6967c1932d214074893a185c09e948
7
- data.tar.gz: 97acddc82ad71af403bc717688c4d7c17051009fd8042b1bb40b1365a99b840e2bad0667429931c2474eb797f2df97eafb79fa7cfa8af1bbd927330bccf6bc19
6
+ metadata.gz: c26d4efb2e69bb5901b23e42f7c097e35c24d81de86a90b7e97af48c7b36bae7c76f3c88ea41c21ce8cb403739fdc8991e97af44ab7ffc6afd91f8d9e203453e
7
+ data.tar.gz: 723164f9c0fa2f51fa14fb9098fb7520f0b17369b23d919bd925ca419d97bfca4fb848e09bb2b55e41ec7202322513b66249eb6c1bb6bdbed9e07387d3f00228
data/README.md CHANGED
@@ -37,9 +37,9 @@ Not Implemented:
37
37
 
38
38
  ## Current Version
39
39
 
40
- 3.0.1
40
+ 3.1.0
41
41
 
42
- ![Version 3.0.1](https://img.shields.io/badge/VERSION-3.0.1-green.svg)
42
+ ![Version 3.1.0](https://img.shields.io/badge/VERSION-3.1.0-green.svg)
43
43
 
44
44
  ### Differences to 2.x
45
45
 
@@ -26,3 +26,18 @@ module Microformats2
26
26
 
27
27
  class InvalidPropertyPrefix < StandardError; end
28
28
  end
29
+
30
+ #duplicate of above to allow for early adopters to use Microformats.parse instead of Microformats2.parse
31
+ module Microformats
32
+ class << self
33
+ def parse(html, base: nil)
34
+ Microformats2::Parser.new.parse(html, base: base)
35
+ end
36
+
37
+ def read_html(html)
38
+ Microformats2::Parser.new.read_html(html)
39
+ end
40
+ end # class << self
41
+
42
+ class InvalidPropertyPrefix < StandardError; end
43
+ end
@@ -1,3 +1,3 @@
1
1
  module Microformats2
2
- VERSION = "3.0.1"
2
+ VERSION = "3.1.0"
3
3
  end
@@ -6,8 +6,8 @@ require 'microformats2/version'
6
6
  Gem::Specification.new do |gem|
7
7
  gem.name = "microformats2"
8
8
  gem.version = Microformats2::VERSION
9
- gem.authors = ["Shane Becker", "Jessica Lynn Suttles", "Jessica Dillon"]
10
- gem.email = ["veganstraightedge@gmail.com", "jlsuttles@gmail.com", "jessicard@mac.com"]
9
+ gem.authors = ["Shane Becker", "Jessica Lynn Suttles", "Ben Roberts"]
10
+ gem.email = ["veganstraightedge@gmail.com", "jlsuttles@gmail.com", "ben@thatmustbe.me"]
11
11
  gem.description = %q{Parses HTML for microformats and return a collection of dynamically defined Ruby objects}
12
12
  gem.summary = %q{microformats2 parser}
13
13
  gem.homepage = "https://github.com/indieweb/microformats2-ruby"
@@ -17,6 +17,47 @@ Gem::Specification.new do |gem|
17
17
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
18
18
  gem.require_paths = ["lib"]
19
19
 
20
+ gem.post_install_message = %q{
21
+
22
+ The name of the Microformats Ruby Parser is changing from
23
+ "microformats2" to "microformats". This is a one time change.
24
+ (Thanks to @chrisjpowers for transferring the namespace to us.)
25
+
26
+ Follow these instructions to migrate.
27
+
28
+ 1. Install the new gem. Uninstall the old gem.
29
+
30
+ gem install microformats
31
+ gem uninstall microformats2
32
+
33
+
34
+ 2. Change any Gemfiles from:
35
+
36
+ gem "microformats2"
37
+
38
+ to
39
+
40
+ gem "microformats"
41
+ bundle
42
+
43
+
44
+ 3. Change any requires from:
45
+
46
+ require "microformats2"
47
+
48
+ to
49
+
50
+ require "microformats"
51
+
52
+ 4. Change any references to the module such as:
53
+
54
+ Microformats2.parse(source)
55
+
56
+ to
57
+ Microformats.parse(source)
58
+
59
+ }
60
+
20
61
  gem.required_ruby_version = ">= 2.0"
21
62
 
22
63
  gem.add_runtime_dependency "nokogiri"
metadata CHANGED
@@ -1,16 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: microformats2
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1
4
+ version: 3.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shane Becker
8
8
  - Jessica Lynn Suttles
9
- - Jessica Dillon
9
+ - Ben Roberts
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2017-05-13 00:00:00.000000000 Z
13
+ date: 2017-05-17 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: nokogiri
@@ -129,7 +129,7 @@ description: Parses HTML for microformats and return a collection of dynamically
129
129
  email:
130
130
  - veganstraightedge@gmail.com
131
131
  - jlsuttles@gmail.com
132
- - jessicard@mac.com
132
+ - ben@thatmustbe.me
133
133
  executables: []
134
134
  extensions: []
135
135
  extra_rdoc_files: []
@@ -158,138 +158,6 @@ files:
158
158
  - spec/lib/microformats2/parser_spec.rb
159
159
  - spec/lib/microformats2_spec.rb
160
160
  - spec/spec_helper.rb
161
- - spec/support/cases/microformat2-node.jit.su/h-adr/h-adr-0.html
162
- - spec/support/cases/microformat2-node.jit.su/h-adr/h-adr-0.js
163
- - spec/support/cases/microformat2-node.jit.su/h-adr/h-adr-1.html
164
- - spec/support/cases/microformat2-node.jit.su/h-adr/h-adr-1.js
165
- - spec/support/cases/microformat2-node.jit.su/h-adr/h-adr-2.html
166
- - spec/support/cases/microformat2-node.jit.su/h-adr/h-adr-2.js
167
- - spec/support/cases/microformat2-node.jit.su/h-adr/h-adr-3.html
168
- - spec/support/cases/microformat2-node.jit.su/h-adr/h-adr-3.js
169
- - spec/support/cases/microformat2-node.jit.su/h-card/h-card-0.html
170
- - spec/support/cases/microformat2-node.jit.su/h-card/h-card-0.js
171
- - spec/support/cases/microformat2-node.jit.su/h-card/h-card-1.html
172
- - spec/support/cases/microformat2-node.jit.su/h-card/h-card-1.js
173
- - spec/support/cases/microformat2-node.jit.su/h-card/h-card-2.html
174
- - spec/support/cases/microformat2-node.jit.su/h-card/h-card-2.js
175
- - spec/support/cases/microformat2-node.jit.su/h-card/h-card-3.html
176
- - spec/support/cases/microformat2-node.jit.su/h-card/h-card-3.js
177
- - spec/support/cases/microformat2-node.jit.su/h-card/h-card-4.html
178
- - spec/support/cases/microformat2-node.jit.su/h-card/h-card-4.js
179
- - spec/support/cases/microformat2-node.jit.su/h-card/h-card-5.html
180
- - spec/support/cases/microformat2-node.jit.su/h-card/h-card-5.js
181
- - spec/support/cases/microformat2-node.jit.su/h-card/h-card-6.html
182
- - spec/support/cases/microformat2-node.jit.su/h-card/h-card-6.js
183
- - spec/support/cases/microformat2-node.jit.su/h-card/h-card-7.html
184
- - spec/support/cases/microformat2-node.jit.su/h-card/h-card-7.js
185
- - spec/support/cases/microformat2-node.jit.su/h-entry/h-entry-0.html
186
- - spec/support/cases/microformat2-node.jit.su/h-entry/h-entry-0.js
187
- - spec/support/cases/microformat2-node.jit.su/h-entry/h-entry-1.html
188
- - spec/support/cases/microformat2-node.jit.su/h-entry/h-entry-1.js
189
- - spec/support/cases/microformat2-node.jit.su/h-entry/h-entry-2.html
190
- - spec/support/cases/microformat2-node.jit.su/h-entry/h-entry-2.js
191
- - spec/support/cases/microformat2-node.jit.su/h-entry/h-entry-3.html
192
- - spec/support/cases/microformat2-node.jit.su/h-entry/h-entry-3.js
193
- - spec/support/cases/microformat2-node.jit.su/h-event/h-event-0.html
194
- - spec/support/cases/microformat2-node.jit.su/h-event/h-event-0.js
195
- - spec/support/cases/microformat2-node.jit.su/h-event/h-event-1.html
196
- - spec/support/cases/microformat2-node.jit.su/h-event/h-event-1.js
197
- - spec/support/cases/microformat2-node.jit.su/h-event/h-event-2.html
198
- - spec/support/cases/microformat2-node.jit.su/h-event/h-event-2.js
199
- - spec/support/cases/microformat2-node.jit.su/h-event/h-event-3.html
200
- - spec/support/cases/microformat2-node.jit.su/h-event/h-event-3.js
201
- - spec/support/cases/microformat2-node.jit.su/h-event/h-event-4.html
202
- - spec/support/cases/microformat2-node.jit.su/h-event/h-event-4.js
203
- - spec/support/cases/microformat2-node.jit.su/h-event/h-event-5.html
204
- - spec/support/cases/microformat2-node.jit.su/h-event/h-event-5.js
205
- - spec/support/cases/microformat2-node.jit.su/h-event/h-event-6.html
206
- - spec/support/cases/microformat2-node.jit.su/h-event/h-event-6.js
207
- - spec/support/cases/microformat2-node.jit.su/h-event/h-event-7.html
208
- - spec/support/cases/microformat2-node.jit.su/h-event/h-event-7.js
209
- - spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-0.html
210
- - spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-0.js
211
- - spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-1.html
212
- - spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-1.js
213
- - spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-2.html
214
- - spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-2.js
215
- - spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-3.html
216
- - spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-3.js
217
- - spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-4.html
218
- - spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-4.js
219
- - spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-5.html
220
- - spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-5.js
221
- - spec/support/cases/microformat2-node.jit.su/h-news/h-news-0.html
222
- - spec/support/cases/microformat2-node.jit.su/h-news/h-news-0.js
223
- - spec/support/cases/microformat2-node.jit.su/h-news/h-news-1.html
224
- - spec/support/cases/microformat2-node.jit.su/h-news/h-news-1.js
225
- - spec/support/cases/microformat2-node.jit.su/h-org/h-org-0.html
226
- - spec/support/cases/microformat2-node.jit.su/h-org/h-org-0.js
227
- - spec/support/cases/microformat2-node.jit.su/h-org/h-org-1.html
228
- - spec/support/cases/microformat2-node.jit.su/h-org/h-org-1.js
229
- - spec/support/cases/microformat2-node.jit.su/h-org/h-org-2.html
230
- - spec/support/cases/microformat2-node.jit.su/h-org/h-org-2.js
231
- - spec/support/cases/microformat2-node.jit.su/h-product/h-product-0.html
232
- - spec/support/cases/microformat2-node.jit.su/h-product/h-product-0.js
233
- - spec/support/cases/microformat2-node.jit.su/h-product/h-product-1.html
234
- - spec/support/cases/microformat2-node.jit.su/h-product/h-product-1.js
235
- - spec/support/cases/microformat2-node.jit.su/h-product/h-product-2.html
236
- - spec/support/cases/microformat2-node.jit.su/h-product/h-product-2.js
237
- - spec/support/cases/microformat2-node.jit.su/h-product/h-product-3.html
238
- - spec/support/cases/microformat2-node.jit.su/h-product/h-product-3.js
239
- - spec/support/cases/microformat2-node.jit.su/h-recipe/h-recipe-0.html
240
- - spec/support/cases/microformat2-node.jit.su/h-recipe/h-recipe-0.js
241
- - spec/support/cases/microformat2-node.jit.su/h-recipe/h-recipe-1.html
242
- - spec/support/cases/microformat2-node.jit.su/h-recipe/h-recipe-1.js
243
- - spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-0.html
244
- - spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-0.js
245
- - spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-1.html
246
- - spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-1.js
247
- - spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-2.html
248
- - spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-2.js
249
- - spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-3.html
250
- - spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-3.js
251
- - spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-4.html
252
- - spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-4.js
253
- - spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-5.html
254
- - spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-5.js
255
- - spec/support/cases/microformat2-node.jit.su/h-review-aggregate/h-review-aggregate-0.html
256
- - spec/support/cases/microformat2-node.jit.su/h-review-aggregate/h-review-aggregate-0.js
257
- - spec/support/cases/microformat2-node.jit.su/h-review-aggregate/h-review-aggregate-1.html
258
- - spec/support/cases/microformat2-node.jit.su/h-review-aggregate/h-review-aggregate-1.js
259
- - spec/support/cases/microformat2-node.jit.su/h-review-aggregate/h-review-aggregate-2.html
260
- - spec/support/cases/microformat2-node.jit.su/h-review-aggregate/h-review-aggregate-2.js
261
- - spec/support/cases/microformat2-node.jit.su/h-review/h-review-0.html
262
- - spec/support/cases/microformat2-node.jit.su/h-review/h-review-0.js
263
- - spec/support/cases/microformat2-node.jit.su/h-review/h-review-1.html
264
- - spec/support/cases/microformat2-node.jit.su/h-review/h-review-1.js
265
- - spec/support/cases/microformat2-node.jit.su/h-review/h-review-2.html
266
- - spec/support/cases/microformat2-node.jit.su/h-review/h-review-2.js
267
- - spec/support/cases/microformat2-node.jit.su/h-review/h-review-3.html
268
- - spec/support/cases/microformat2-node.jit.su/h-review/h-review-3.js
269
- - spec/support/cases/microformat2-node.jit.su/h-review/h-review-4.html
270
- - spec/support/cases/microformat2-node.jit.su/h-review/h-review-4.js
271
- - spec/support/cases/microformat2-node.jit.su/h-review/h-review-5.html
272
- - spec/support/cases/microformat2-node.jit.su/h-review/h-review-5.js
273
- - spec/support/cases/microformat2-node.jit.su/includes/includes-0.html
274
- - spec/support/cases/microformat2-node.jit.su/includes/includes-0.js
275
- - spec/support/cases/microformat2-node.jit.su/includes/includes-1.html
276
- - spec/support/cases/microformat2-node.jit.su/includes/includes-1.js
277
- - spec/support/cases/microformat2-node.jit.su/includes/includes-2.html
278
- - spec/support/cases/microformat2-node.jit.su/includes/includes-2.js
279
- - spec/support/cases/microformat2-node.jit.su/includes/includes-3.html
280
- - spec/support/cases/microformat2-node.jit.su/includes/includes-3.js
281
- - spec/support/cases/microformat2-node.jit.su/includes/includes-4.html
282
- - spec/support/cases/microformat2-node.jit.su/includes/includes-4.js
283
- - spec/support/cases/microformat2-node.jit.su/rel/rel-0.html
284
- - spec/support/cases/microformat2-node.jit.su/rel/rel-0.js
285
- - spec/support/cases/microformat2-node.jit.su/rel/rel-1.html
286
- - spec/support/cases/microformat2-node.jit.su/rel/rel-1.js
287
- - spec/support/cases/microformat2-node.jit.su/rel/rel-2.html
288
- - spec/support/cases/microformat2-node.jit.su/rel/rel-2.js
289
- - spec/support/cases/microformat2-node.jit.su/rel/rel-3.html
290
- - spec/support/cases/microformat2-node.jit.su/rel/rel-3.js
291
- - spec/support/cases/microformat2-node.jit.su/rel/rel-4.html
292
- - spec/support/cases/microformat2-node.jit.su/rel/rel-4.js
293
161
  - spec/support/cases/microformats.org/microformats-2/microformats-2-0.html
294
162
  - spec/support/cases/microformats.org/microformats-2/microformats-2-0.js
295
163
  - spec/support/cases/microformats.org/microformats-2/microformats-2-1.html
@@ -611,7 +479,46 @@ files:
611
479
  homepage: https://github.com/indieweb/microformats2-ruby
612
480
  licenses: []
613
481
  metadata: {}
614
- post_install_message:
482
+ post_install_message: |2+
483
+
484
+
485
+ The name of the Microformats Ruby Parser is changing from
486
+ "microformats2" to "microformats". This is a one time change.
487
+ (Thanks to @chrisjpowers for transferring the namespace to us.)
488
+
489
+ Follow these instructions to migrate.
490
+
491
+ 1. Install the new gem. Uninstall the old gem.
492
+
493
+ gem install microformats
494
+ gem uninstall microformats2
495
+
496
+
497
+ 2. Change any Gemfiles from:
498
+
499
+ gem "microformats2"
500
+
501
+ to
502
+
503
+ gem "microformats"
504
+ bundle
505
+
506
+
507
+ 3. Change any requires from:
508
+
509
+ require "microformats2"
510
+
511
+ to
512
+
513
+ require "microformats"
514
+
515
+ 4. Change any references to the module such as:
516
+
517
+ Microformats2.parse(source)
518
+
519
+ to
520
+ Microformats.parse(source)
521
+
615
522
  rdoc_options: []
616
523
  require_paths:
617
524
  - lib
@@ -627,7 +534,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
627
534
  version: '0'
628
535
  requirements: []
629
536
  rubyforge_project:
630
- rubygems_version: 2.5.1
537
+ rubygems_version: 2.6.8
631
538
  signing_key:
632
539
  specification_version: 4
633
540
  summary: microformats2 parser
@@ -636,138 +543,6 @@ test_files:
636
543
  - spec/lib/microformats2/parser_spec.rb
637
544
  - spec/lib/microformats2_spec.rb
638
545
  - spec/spec_helper.rb
639
- - spec/support/cases/microformat2-node.jit.su/h-adr/h-adr-0.html
640
- - spec/support/cases/microformat2-node.jit.su/h-adr/h-adr-0.js
641
- - spec/support/cases/microformat2-node.jit.su/h-adr/h-adr-1.html
642
- - spec/support/cases/microformat2-node.jit.su/h-adr/h-adr-1.js
643
- - spec/support/cases/microformat2-node.jit.su/h-adr/h-adr-2.html
644
- - spec/support/cases/microformat2-node.jit.su/h-adr/h-adr-2.js
645
- - spec/support/cases/microformat2-node.jit.su/h-adr/h-adr-3.html
646
- - spec/support/cases/microformat2-node.jit.su/h-adr/h-adr-3.js
647
- - spec/support/cases/microformat2-node.jit.su/h-card/h-card-0.html
648
- - spec/support/cases/microformat2-node.jit.su/h-card/h-card-0.js
649
- - spec/support/cases/microformat2-node.jit.su/h-card/h-card-1.html
650
- - spec/support/cases/microformat2-node.jit.su/h-card/h-card-1.js
651
- - spec/support/cases/microformat2-node.jit.su/h-card/h-card-2.html
652
- - spec/support/cases/microformat2-node.jit.su/h-card/h-card-2.js
653
- - spec/support/cases/microformat2-node.jit.su/h-card/h-card-3.html
654
- - spec/support/cases/microformat2-node.jit.su/h-card/h-card-3.js
655
- - spec/support/cases/microformat2-node.jit.su/h-card/h-card-4.html
656
- - spec/support/cases/microformat2-node.jit.su/h-card/h-card-4.js
657
- - spec/support/cases/microformat2-node.jit.su/h-card/h-card-5.html
658
- - spec/support/cases/microformat2-node.jit.su/h-card/h-card-5.js
659
- - spec/support/cases/microformat2-node.jit.su/h-card/h-card-6.html
660
- - spec/support/cases/microformat2-node.jit.su/h-card/h-card-6.js
661
- - spec/support/cases/microformat2-node.jit.su/h-card/h-card-7.html
662
- - spec/support/cases/microformat2-node.jit.su/h-card/h-card-7.js
663
- - spec/support/cases/microformat2-node.jit.su/h-entry/h-entry-0.html
664
- - spec/support/cases/microformat2-node.jit.su/h-entry/h-entry-0.js
665
- - spec/support/cases/microformat2-node.jit.su/h-entry/h-entry-1.html
666
- - spec/support/cases/microformat2-node.jit.su/h-entry/h-entry-1.js
667
- - spec/support/cases/microformat2-node.jit.su/h-entry/h-entry-2.html
668
- - spec/support/cases/microformat2-node.jit.su/h-entry/h-entry-2.js
669
- - spec/support/cases/microformat2-node.jit.su/h-entry/h-entry-3.html
670
- - spec/support/cases/microformat2-node.jit.su/h-entry/h-entry-3.js
671
- - spec/support/cases/microformat2-node.jit.su/h-event/h-event-0.html
672
- - spec/support/cases/microformat2-node.jit.su/h-event/h-event-0.js
673
- - spec/support/cases/microformat2-node.jit.su/h-event/h-event-1.html
674
- - spec/support/cases/microformat2-node.jit.su/h-event/h-event-1.js
675
- - spec/support/cases/microformat2-node.jit.su/h-event/h-event-2.html
676
- - spec/support/cases/microformat2-node.jit.su/h-event/h-event-2.js
677
- - spec/support/cases/microformat2-node.jit.su/h-event/h-event-3.html
678
- - spec/support/cases/microformat2-node.jit.su/h-event/h-event-3.js
679
- - spec/support/cases/microformat2-node.jit.su/h-event/h-event-4.html
680
- - spec/support/cases/microformat2-node.jit.su/h-event/h-event-4.js
681
- - spec/support/cases/microformat2-node.jit.su/h-event/h-event-5.html
682
- - spec/support/cases/microformat2-node.jit.su/h-event/h-event-5.js
683
- - spec/support/cases/microformat2-node.jit.su/h-event/h-event-6.html
684
- - spec/support/cases/microformat2-node.jit.su/h-event/h-event-6.js
685
- - spec/support/cases/microformat2-node.jit.su/h-event/h-event-7.html
686
- - spec/support/cases/microformat2-node.jit.su/h-event/h-event-7.js
687
- - spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-0.html
688
- - spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-0.js
689
- - spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-1.html
690
- - spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-1.js
691
- - spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-2.html
692
- - spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-2.js
693
- - spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-3.html
694
- - spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-3.js
695
- - spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-4.html
696
- - spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-4.js
697
- - spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-5.html
698
- - spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-5.js
699
- - spec/support/cases/microformat2-node.jit.su/h-news/h-news-0.html
700
- - spec/support/cases/microformat2-node.jit.su/h-news/h-news-0.js
701
- - spec/support/cases/microformat2-node.jit.su/h-news/h-news-1.html
702
- - spec/support/cases/microformat2-node.jit.su/h-news/h-news-1.js
703
- - spec/support/cases/microformat2-node.jit.su/h-org/h-org-0.html
704
- - spec/support/cases/microformat2-node.jit.su/h-org/h-org-0.js
705
- - spec/support/cases/microformat2-node.jit.su/h-org/h-org-1.html
706
- - spec/support/cases/microformat2-node.jit.su/h-org/h-org-1.js
707
- - spec/support/cases/microformat2-node.jit.su/h-org/h-org-2.html
708
- - spec/support/cases/microformat2-node.jit.su/h-org/h-org-2.js
709
- - spec/support/cases/microformat2-node.jit.su/h-product/h-product-0.html
710
- - spec/support/cases/microformat2-node.jit.su/h-product/h-product-0.js
711
- - spec/support/cases/microformat2-node.jit.su/h-product/h-product-1.html
712
- - spec/support/cases/microformat2-node.jit.su/h-product/h-product-1.js
713
- - spec/support/cases/microformat2-node.jit.su/h-product/h-product-2.html
714
- - spec/support/cases/microformat2-node.jit.su/h-product/h-product-2.js
715
- - spec/support/cases/microformat2-node.jit.su/h-product/h-product-3.html
716
- - spec/support/cases/microformat2-node.jit.su/h-product/h-product-3.js
717
- - spec/support/cases/microformat2-node.jit.su/h-recipe/h-recipe-0.html
718
- - spec/support/cases/microformat2-node.jit.su/h-recipe/h-recipe-0.js
719
- - spec/support/cases/microformat2-node.jit.su/h-recipe/h-recipe-1.html
720
- - spec/support/cases/microformat2-node.jit.su/h-recipe/h-recipe-1.js
721
- - spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-0.html
722
- - spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-0.js
723
- - spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-1.html
724
- - spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-1.js
725
- - spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-2.html
726
- - spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-2.js
727
- - spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-3.html
728
- - spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-3.js
729
- - spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-4.html
730
- - spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-4.js
731
- - spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-5.html
732
- - spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-5.js
733
- - spec/support/cases/microformat2-node.jit.su/h-review-aggregate/h-review-aggregate-0.html
734
- - spec/support/cases/microformat2-node.jit.su/h-review-aggregate/h-review-aggregate-0.js
735
- - spec/support/cases/microformat2-node.jit.su/h-review-aggregate/h-review-aggregate-1.html
736
- - spec/support/cases/microformat2-node.jit.su/h-review-aggregate/h-review-aggregate-1.js
737
- - spec/support/cases/microformat2-node.jit.su/h-review-aggregate/h-review-aggregate-2.html
738
- - spec/support/cases/microformat2-node.jit.su/h-review-aggregate/h-review-aggregate-2.js
739
- - spec/support/cases/microformat2-node.jit.su/h-review/h-review-0.html
740
- - spec/support/cases/microformat2-node.jit.su/h-review/h-review-0.js
741
- - spec/support/cases/microformat2-node.jit.su/h-review/h-review-1.html
742
- - spec/support/cases/microformat2-node.jit.su/h-review/h-review-1.js
743
- - spec/support/cases/microformat2-node.jit.su/h-review/h-review-2.html
744
- - spec/support/cases/microformat2-node.jit.su/h-review/h-review-2.js
745
- - spec/support/cases/microformat2-node.jit.su/h-review/h-review-3.html
746
- - spec/support/cases/microformat2-node.jit.su/h-review/h-review-3.js
747
- - spec/support/cases/microformat2-node.jit.su/h-review/h-review-4.html
748
- - spec/support/cases/microformat2-node.jit.su/h-review/h-review-4.js
749
- - spec/support/cases/microformat2-node.jit.su/h-review/h-review-5.html
750
- - spec/support/cases/microformat2-node.jit.su/h-review/h-review-5.js
751
- - spec/support/cases/microformat2-node.jit.su/includes/includes-0.html
752
- - spec/support/cases/microformat2-node.jit.su/includes/includes-0.js
753
- - spec/support/cases/microformat2-node.jit.su/includes/includes-1.html
754
- - spec/support/cases/microformat2-node.jit.su/includes/includes-1.js
755
- - spec/support/cases/microformat2-node.jit.su/includes/includes-2.html
756
- - spec/support/cases/microformat2-node.jit.su/includes/includes-2.js
757
- - spec/support/cases/microformat2-node.jit.su/includes/includes-3.html
758
- - spec/support/cases/microformat2-node.jit.su/includes/includes-3.js
759
- - spec/support/cases/microformat2-node.jit.su/includes/includes-4.html
760
- - spec/support/cases/microformat2-node.jit.su/includes/includes-4.js
761
- - spec/support/cases/microformat2-node.jit.su/rel/rel-0.html
762
- - spec/support/cases/microformat2-node.jit.su/rel/rel-0.js
763
- - spec/support/cases/microformat2-node.jit.su/rel/rel-1.html
764
- - spec/support/cases/microformat2-node.jit.su/rel/rel-1.js
765
- - spec/support/cases/microformat2-node.jit.su/rel/rel-2.html
766
- - spec/support/cases/microformat2-node.jit.su/rel/rel-2.js
767
- - spec/support/cases/microformat2-node.jit.su/rel/rel-3.html
768
- - spec/support/cases/microformat2-node.jit.su/rel/rel-3.js
769
- - spec/support/cases/microformat2-node.jit.su/rel/rel-4.html
770
- - spec/support/cases/microformat2-node.jit.su/rel/rel-4.js
771
546
  - spec/support/cases/microformats.org/microformats-2/microformats-2-0.html
772
547
  - spec/support/cases/microformats.org/microformats-2/microformats-2-0.js
773
548
  - spec/support/cases/microformats.org/microformats-2/microformats-2-1.html