microformats 4.0.7 → 4.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (366) hide show
  1. checksums.yaml +5 -5
  2. data/.editorconfig +10 -0
  3. data/.gitignore +33 -15
  4. data/.rspec +3 -2
  5. data/.rubocop +3 -0
  6. data/.rubocop.yml +22 -0
  7. data/.ruby-version +1 -0
  8. data/.simplecov +11 -0
  9. data/.travis.yml +17 -2
  10. data/CONTRIBUTING.md +103 -0
  11. data/Guardfile +2 -2
  12. data/LICENSE +116 -0
  13. data/README.md +112 -172
  14. data/Rakefile +6 -7
  15. data/bin/microformats +10 -9
  16. data/lib/microformats.rb +15 -14
  17. data/lib/microformats/absolute_uri.rb +4 -8
  18. data/lib/microformats/format_parser.rb +271 -251
  19. data/lib/microformats/parser.rb +39 -39
  20. data/lib/microformats/parser_core.rb +142 -109
  21. data/lib/microformats/property_parser.rb +42 -65
  22. data/lib/microformats/results/collection.rb +19 -38
  23. data/lib/microformats/results/parser_result.rb +25 -37
  24. data/lib/microformats/results/property_set.rb +24 -31
  25. data/lib/microformats/time_property_parser.rb +122 -118
  26. data/lib/microformats/version.rb +1 -1
  27. data/logo.svg +23 -0
  28. data/microformats.gemspec +35 -33
  29. metadata +124 -451
  30. data/LICENSE.md +0 -36
  31. data/spec/lib/microformats/absolute_uri_spec.rb +0 -56
  32. data/spec/lib/microformats/parser_spec.rb +0 -132
  33. data/spec/lib/microformats_spec.rb +0 -33
  34. data/spec/spec_helper.rb +0 -10
  35. data/spec/support/cases/microformats.org/microformats-2/microformats-2-0.html +0 -2
  36. data/spec/support/cases/microformats.org/microformats-2/microformats-2-0.js +0 -9
  37. data/spec/support/cases/microformats.org/microformats-2/microformats-2-1.html +0 -2
  38. data/spec/support/cases/microformats.org/microformats-2/microformats-2-1.js +0 -10
  39. data/spec/support/cases/microformats.org/microformats-2/microformats-2-2.html +0 -5
  40. data/spec/support/cases/microformats.org/microformats-2/microformats-2-2.js +0 -11
  41. data/spec/support/cases/microformats.org/microformats-2/microformats-2-3.html +0 -17
  42. data/spec/support/cases/microformats.org/microformats-2/microformats-2-3.js +0 -20
  43. data/spec/support/cases/microformats.org/microformats-2/microformats-2-4.html +0 -16
  44. data/spec/support/cases/microformats.org/microformats-2/microformats-2-4.js +0 -24
  45. data/spec/support/cases/microformats.org/microformats-2/microformats-2-5.html +0 -7
  46. data/spec/support/cases/microformats.org/microformats-2/microformats-2-5.js +0 -11
  47. data/spec/support/cases/microformats.org/microformats-2/microformats-2-6.html +0 -9
  48. data/spec/support/cases/microformats.org/microformats-2/microformats-2-6.js +0 -18
  49. data/spec/support/cases/microformats.org/microformats-2/microformats-2-7.html +0 -9
  50. data/spec/support/cases/microformats.org/microformats-2/microformats-2-7.js +0 -18
  51. data/spec/support/cases/microformats.org/microformats-2/microformats-2-8.html +0 -9
  52. data/spec/support/cases/microformats.org/microformats-2/microformats-2-8.js +0 -17
  53. data/spec/support/cases/microformats.org/microformats-2/microformats-2-9.html +0 -9
  54. data/spec/support/cases/microformats.org/microformats-2/microformats-2-9.js +0 -17
  55. data/spec/support/lib/edge_cases/blank_href.html +0 -23
  56. data/spec/support/lib/edge_cases/blank_href.js +0 -15
  57. data/spec/support/lib/edge_cases/blank_rel.html +0 -23
  58. data/spec/support/lib/edge_cases/blank_rel.js +0 -41
  59. data/spec/support/lib/edge_cases/blank_src.html +0 -24
  60. data/spec/support/lib/edge_cases/blank_src.js +0 -16
  61. data/spec/support/lib/edge_cases/blank_value.html +0 -5
  62. data/spec/support/lib/edge_cases/blank_value.js +0 -19
  63. data/spec/support/lib/edge_cases/relative.html +0 -29
  64. data/spec/support/lib/edge_cases/relative.js +0 -15
  65. data/spec/support/lib/edge_cases/vcp-dates.html +0 -13
  66. data/spec/support/lib/edge_cases/vcp-dates.js +0 -30
  67. data/spec/support/lib/microformats/blank_href.html +0 -23
  68. data/spec/support/lib/microformats/blank_href.js +0 -11
  69. data/spec/support/lib/microformats/implied_property/name-fail.html +0 -60
  70. data/spec/support/lib/microformats/implied_property/name-pass.html +0 -30
  71. data/spec/support/lib/microformats/implied_property/photo-fail.html +0 -60
  72. data/spec/support/lib/microformats/implied_property/photo-pass.html +0 -30
  73. data/spec/support/lib/microformats/implied_property/url-fail.html +0 -18
  74. data/spec/support/lib/microformats/implied_property/url-pass.html +0 -12
  75. data/spec/support/lib/microformats/implied_property/url-relative.html +0 -13
  76. data/spec/support/lib/microformats/implied_property/url-unnormalized.html +0 -12
  77. data/spec/support/lib/microformats/nested-format-with-property-of-same-name.html +0 -13
  78. data/spec/support/lib/microformats/nested-format-with-property-of-same-name.js +0 -16
  79. data/spec/support/lib/microformats/nested-format-with-property.html +0 -12
  80. data/spec/support/lib/microformats/nested-format-with-property.js +0 -16
  81. data/spec/support/lib/microformats/nested-format-without-property.html +0 -13
  82. data/spec/support/lib/microformats/nested-property.html +0 -12
  83. data/spec/support/lib/microformats/nested-property.js +0 -10
  84. data/spec/support/lib/microformats/rels-that-drop-the-base.html +0 -11
  85. data/spec/support/lib/microformats/rels-with-unnormalized-urls.html +0 -11
  86. data/spec/support/lib/microformats/rels.html +0 -12
  87. data/spec/support/lib/microformats/rels.js +0 -13
  88. data/spec/support/lib/microformats/simple.html +0 -23
  89. data/spec/support/lib/microformats/simple.js +0 -11
  90. data/vendor/tests/.gitignore +0 -25
  91. data/vendor/tests/LICENSE.md +0 -36
  92. data/vendor/tests/README.md +0 -48
  93. data/vendor/tests/app.js +0 -84
  94. data/vendor/tests/composer.json +0 -5
  95. data/vendor/tests/css/testsuite.css +0 -159
  96. data/vendor/tests/interface.js +0 -18
  97. data/vendor/tests/package.json +0 -27
  98. data/vendor/tests/tests/microformats-mixed/h-card/change-log.html +0 -63
  99. data/vendor/tests/tests/microformats-mixed/h-card/mixedpropertries.html +0 -14
  100. data/vendor/tests/tests/microformats-mixed/h-card/mixedpropertries.json +0 -22
  101. data/vendor/tests/tests/microformats-mixed/h-card/tworoots.html +0 -1
  102. data/vendor/tests/tests/microformats-mixed/h-card/tworoots.json +0 -10
  103. data/vendor/tests/tests/microformats-mixed/h-entry/mixedroots.html +0 -16
  104. data/vendor/tests/tests/microformats-mixed/h-entry/mixedroots.json +0 -38
  105. data/vendor/tests/tests/microformats-mixed/h-resume/change-log.html +0 -68
  106. data/vendor/tests/tests/microformats-mixed/h-resume/mixedroots.html +0 -16
  107. data/vendor/tests/tests/microformats-mixed/h-resume/mixedroots.json +0 -31
  108. data/vendor/tests/tests/microformats-v1/adr/change-log.html +0 -63
  109. data/vendor/tests/tests/microformats-v1/adr/simpleproperties.html +0 -8
  110. data/vendor/tests/tests/microformats-v1/adr/simpleproperties.json +0 -15
  111. data/vendor/tests/tests/microformats-v1/geo/abbrpattern.html +0 -5
  112. data/vendor/tests/tests/microformats-v1/geo/abbrpattern.json +0 -11
  113. data/vendor/tests/tests/microformats-v1/geo/change-log.1.html +0 -78
  114. data/vendor/tests/tests/microformats-v1/geo/change-log.html +0 -63
  115. data/vendor/tests/tests/microformats-v1/geo/hidden.html +0 -10
  116. data/vendor/tests/tests/microformats-v1/geo/hidden.json +0 -11
  117. data/vendor/tests/tests/microformats-v1/geo/simpleproperties.html +0 -6
  118. data/vendor/tests/tests/microformats-v1/geo/simpleproperties.json +0 -11
  119. data/vendor/tests/tests/microformats-v1/geo/valuetitleclass.html +0 -11
  120. data/vendor/tests/tests/microformats-v1/geo/valuetitleclass.json +0 -11
  121. data/vendor/tests/tests/microformats-v1/hcalendar/ampm.html +0 -41
  122. data/vendor/tests/tests/microformats-v1/hcalendar/ampm.json +0 -21
  123. data/vendor/tests/tests/microformats-v1/hcalendar/attendees.html +0 -13
  124. data/vendor/tests/tests/microformats-v1/hcalendar/attendees.json +0 -37
  125. data/vendor/tests/tests/microformats-v1/hcalendar/change-log.html +0 -68
  126. data/vendor/tests/tests/microformats-v1/hcalendar/combining.html +0 -15
  127. data/vendor/tests/tests/microformats-v1/hcalendar/combining.json +0 -31
  128. data/vendor/tests/tests/microformats-v1/hcalendar/concatenate.html +0 -7
  129. data/vendor/tests/tests/microformats-v1/hcalendar/concatenate.json +0 -12
  130. data/vendor/tests/tests/microformats-v1/hcalendar/time.html +0 -44
  131. data/vendor/tests/tests/microformats-v1/hcalendar/time.json +0 -22
  132. data/vendor/tests/tests/microformats-v1/hcard/change-log.html +0 -68
  133. data/vendor/tests/tests/microformats-v1/hcard/email.html +0 -14
  134. data/vendor/tests/tests/microformats-v1/hcard/email.json +0 -11
  135. data/vendor/tests/tests/microformats-v1/hcard/format.html +0 -6
  136. data/vendor/tests/tests/microformats-v1/hcard/format.json +0 -11
  137. data/vendor/tests/tests/microformats-v1/hcard/hyperlinkedphoto.html +0 -3
  138. data/vendor/tests/tests/microformats-v1/hcard/hyperlinkedphoto.json +0 -8
  139. data/vendor/tests/tests/microformats-v1/hcard/justahyperlink.html +0 -1
  140. data/vendor/tests/tests/microformats-v1/hcard/justahyperlink.json +0 -8
  141. data/vendor/tests/tests/microformats-v1/hcard/justaname.html +0 -1
  142. data/vendor/tests/tests/microformats-v1/hcard/justaname.json +0 -8
  143. data/vendor/tests/tests/microformats-v1/hcard/multiple.html +0 -74
  144. data/vendor/tests/tests/microformats-v1/hcard/multiple.json +0 -65
  145. data/vendor/tests/tests/microformats-v1/hcard/name.html +0 -11
  146. data/vendor/tests/tests/microformats-v1/hcard/name.json +0 -15
  147. data/vendor/tests/tests/microformats-v1/hcard/single.html +0 -14
  148. data/vendor/tests/tests/microformats-v1/hcard/single.json +0 -24
  149. data/vendor/tests/tests/microformats-v1/hentry/change-log.html +0 -73
  150. data/vendor/tests/tests/microformats-v1/hentry/summarycontent.html +0 -20
  151. data/vendor/tests/tests/microformats-v1/hentry/summarycontent.json +0 -24
  152. data/vendor/tests/tests/microformats-v1/hfeed/simple.html +0 -30
  153. data/vendor/tests/tests/microformats-v1/hfeed/simple.json +0 -49
  154. data/vendor/tests/tests/microformats-v1/hnews/all.html +0 -37
  155. data/vendor/tests/tests/microformats-v1/hnews/all.json +0 -74
  156. data/vendor/tests/tests/microformats-v1/hnews/change-log.html +0 -72
  157. data/vendor/tests/tests/microformats-v1/hnews/minimum.html +0 -25
  158. data/vendor/tests/tests/microformats-v1/hnews/minimum.json +0 -48
  159. data/vendor/tests/tests/microformats-v1/hproduct/aggregate.html +0 -26
  160. data/vendor/tests/tests/microformats-v1/hproduct/aggregate.json +0 -52
  161. data/vendor/tests/tests/microformats-v1/hproduct/change-log.html +0 -62
  162. data/vendor/tests/tests/microformats-v1/hproduct/simpleproperties.html +0 -13
  163. data/vendor/tests/tests/microformats-v1/hproduct/simpleproperties.json +0 -33
  164. data/vendor/tests/tests/microformats-v1/hresume/affiliation.html +0 -12
  165. data/vendor/tests/tests/microformats-v1/hresume/affiliation.json +0 -25
  166. data/vendor/tests/tests/microformats-v1/hresume/change-log.html +0 -73
  167. data/vendor/tests/tests/microformats-v1/hresume/contact.html +0 -18
  168. data/vendor/tests/tests/microformats-v1/hresume/contact.json +0 -32
  169. data/vendor/tests/tests/microformats-v1/hresume/education.html +0 -13
  170. data/vendor/tests/tests/microformats-v1/hresume/education.json +0 -29
  171. data/vendor/tests/tests/microformats-v1/hresume/skill.html +0 -12
  172. data/vendor/tests/tests/microformats-v1/hresume/skill.json +0 -33
  173. data/vendor/tests/tests/microformats-v1/hresume/work.html +0 -16
  174. data/vendor/tests/tests/microformats-v1/hresume/work.json +0 -30
  175. data/vendor/tests/tests/microformats-v1/hreview-aggregate/change-log.html +0 -67
  176. data/vendor/tests/tests/microformats-v1/hreview-aggregate/hcard.html +0 -18
  177. data/vendor/tests/tests/microformats-v1/hreview-aggregate/hcard.json +0 -31
  178. data/vendor/tests/tests/microformats-v1/hreview-aggregate/justahyperlink.html +0 -6
  179. data/vendor/tests/tests/microformats-v1/hreview-aggregate/justahyperlink.json +0 -19
  180. data/vendor/tests/tests/microformats-v1/hreview-aggregate/vevent.html +0 -13
  181. data/vendor/tests/tests/microformats-v1/hreview-aggregate/vevent.json +0 -22
  182. data/vendor/tests/tests/microformats-v1/hreview/change-log.html +0 -73
  183. data/vendor/tests/tests/microformats-v1/hreview/item.html +0 -8
  184. data/vendor/tests/tests/microformats-v1/hreview/item.json +0 -19
  185. data/vendor/tests/tests/microformats-v1/hreview/vcard.html +0 -23
  186. data/vendor/tests/tests/microformats-v1/hreview/vcard.json +0 -58
  187. data/vendor/tests/tests/microformats-v1/includes/change-log.html +0 -72
  188. data/vendor/tests/tests/microformats-v1/includes/hcarditemref.html +0 -16
  189. data/vendor/tests/tests/microformats-v1/includes/hcarditemref.json +0 -49
  190. data/vendor/tests/tests/microformats-v1/includes/heventitemref.html +0 -25
  191. data/vendor/tests/tests/microformats-v1/includes/heventitemref.json +0 -33
  192. data/vendor/tests/tests/microformats-v1/includes/hyperlink.html +0 -18
  193. data/vendor/tests/tests/microformats-v1/includes/hyperlink.json +0 -43
  194. data/vendor/tests/tests/microformats-v1/includes/object.html +0 -23
  195. data/vendor/tests/tests/microformats-v1/includes/object.json +0 -42
  196. data/vendor/tests/tests/microformats-v1/includes/table.html +0 -12
  197. data/vendor/tests/tests/microformats-v1/includes/table.json +0 -19
  198. data/vendor/tests/tests/microformats-v2/h-adr/change-log.html +0 -62
  199. data/vendor/tests/tests/microformats-v2/h-adr/geo.html +0 -10
  200. data/vendor/tests/tests/microformats-v2/h-adr/geo.json +0 -16
  201. data/vendor/tests/tests/microformats-v2/h-adr/geourl.html +0 -4
  202. data/vendor/tests/tests/microformats-v2/h-adr/geourl.json +0 -13
  203. data/vendor/tests/tests/microformats-v2/h-adr/justaname.html +0 -1
  204. data/vendor/tests/tests/microformats-v2/h-adr/justaname.json +0 -10
  205. data/vendor/tests/tests/microformats-v2/h-adr/lettercase.html +0 -21
  206. data/vendor/tests/tests/microformats-v2/h-adr/lettercase.json +0 -12
  207. data/vendor/tests/tests/microformats-v2/h-adr/simpleproperties.html +0 -8
  208. data/vendor/tests/tests/microformats-v2/h-adr/simpleproperties.json +0 -16
  209. data/vendor/tests/tests/microformats-v2/h-as-note/note.html +0 -56
  210. data/vendor/tests/tests/microformats-v2/h-as-note/note.json +0 -98
  211. data/vendor/tests/tests/microformats-v2/h-card/baseurl.html +0 -6
  212. data/vendor/tests/tests/microformats-v2/h-card/baseurl.json +0 -26
  213. data/vendor/tests/tests/microformats-v2/h-card/change-log.html +0 -100
  214. data/vendor/tests/tests/microformats-v2/h-card/childimplied.html +0 -7
  215. data/vendor/tests/tests/microformats-v2/h-card/childimplied.json +0 -12
  216. data/vendor/tests/tests/microformats-v2/h-card/extendeddescription.html +0 -10
  217. data/vendor/tests/tests/microformats-v2/h-card/extendeddescription.json +0 -15
  218. data/vendor/tests/tests/microformats-v2/h-card/hcard.html +0 -4
  219. data/vendor/tests/tests/microformats-v2/h-card/hcard.json +0 -19
  220. data/vendor/tests/tests/microformats-v2/h-card/horghcard.html +0 -4
  221. data/vendor/tests/tests/microformats-v2/h-card/horghcard.json +0 -19
  222. data/vendor/tests/tests/microformats-v2/h-card/hyperlinkedphoto.html +0 -3
  223. data/vendor/tests/tests/microformats-v2/h-card/hyperlinkedphoto.json +0 -12
  224. data/vendor/tests/tests/microformats-v2/h-card/impliedname.html +0 -15
  225. data/vendor/tests/tests/microformats-v2/h-card/impliedname.json +0 -90
  226. data/vendor/tests/tests/microformats-v2/h-card/impliedphoto.html +0 -11
  227. data/vendor/tests/tests/microformats-v2/h-card/impliedphoto.json +0 -72
  228. data/vendor/tests/tests/microformats-v2/h-card/impliedurl.html +0 -5
  229. data/vendor/tests/tests/microformats-v2/h-card/impliedurl.json +0 -45
  230. data/vendor/tests/tests/microformats-v2/h-card/justahyperlink.html +0 -1
  231. data/vendor/tests/tests/microformats-v2/h-card/justahyperlink.json +0 -11
  232. data/vendor/tests/tests/microformats-v2/h-card/justaname.html +0 -1
  233. data/vendor/tests/tests/microformats-v2/h-card/justaname.json +0 -10
  234. data/vendor/tests/tests/microformats-v2/h-card/nested.html +0 -4
  235. data/vendor/tests/tests/microformats-v2/h-card/nested.json +0 -18
  236. data/vendor/tests/tests/microformats-v2/h-card/p-property.html +0 -21
  237. data/vendor/tests/tests/microformats-v2/h-card/p-property.json +0 -15
  238. data/vendor/tests/tests/microformats-v2/h-card/relativeurls.html +0 -6
  239. data/vendor/tests/tests/microformats-v2/h-card/relativeurls.json +0 -29
  240. data/vendor/tests/tests/microformats-v2/h-entry/change-log.html +0 -90
  241. data/vendor/tests/tests/microformats-v2/h-entry/encoding.html +0 -3
  242. data/vendor/tests/tests/microformats-v2/h-entry/encoding.json +0 -14
  243. data/vendor/tests/tests/microformats-v2/h-entry/impliedvalue-nested.html +0 -9
  244. data/vendor/tests/tests/microformats-v2/h-entry/impliedvalue-nested.json +0 -27
  245. data/vendor/tests/tests/microformats-v2/h-entry/justahyperlink.html +0 -1
  246. data/vendor/tests/tests/microformats-v2/h-entry/justahyperlink.json +0 -11
  247. data/vendor/tests/tests/microformats-v2/h-entry/justaname.html +0 -1
  248. data/vendor/tests/tests/microformats-v2/h-entry/justaname.json +0 -10
  249. data/vendor/tests/tests/microformats-v2/h-entry/scriptstyletags.html +0 -4
  250. data/vendor/tests/tests/microformats-v2/h-entry/scriptstyletags.json +0 -14
  251. data/vendor/tests/tests/microformats-v2/h-entry/summarycontent.html +0 -20
  252. data/vendor/tests/tests/microformats-v2/h-entry/summarycontent.json +0 -25
  253. data/vendor/tests/tests/microformats-v2/h-entry/u-property.html +0 -33
  254. data/vendor/tests/tests/microformats-v2/h-entry/u-property.json +0 -12
  255. data/vendor/tests/tests/microformats-v2/h-entry/urlincontent.html +0 -13
  256. data/vendor/tests/tests/microformats-v2/h-entry/urlincontent.json +0 -14
  257. data/vendor/tests/tests/microformats-v2/h-event/ampm.html +0 -41
  258. data/vendor/tests/tests/microformats-v2/h-event/ampm.json +0 -21
  259. data/vendor/tests/tests/microformats-v2/h-event/attendees.html +0 -13
  260. data/vendor/tests/tests/microformats-v2/h-event/attendees.json +0 -37
  261. data/vendor/tests/tests/microformats-v2/h-event/change-log.html +0 -82
  262. data/vendor/tests/tests/microformats-v2/h-event/combining.html +0 -13
  263. data/vendor/tests/tests/microformats-v2/h-event/combining.json +0 -25
  264. data/vendor/tests/tests/microformats-v2/h-event/concatenate.html +0 -8
  265. data/vendor/tests/tests/microformats-v2/h-event/concatenate.json +0 -12
  266. data/vendor/tests/tests/microformats-v2/h-event/dates.html +0 -13
  267. data/vendor/tests/tests/microformats-v2/h-event/dates.json +0 -26
  268. data/vendor/tests/tests/microformats-v2/h-event/dt-property.html +0 -23
  269. data/vendor/tests/tests/microformats-v2/h-event/dt-property.json +0 -20
  270. data/vendor/tests/tests/microformats-v2/h-event/justahyperlink.html +0 -1
  271. data/vendor/tests/tests/microformats-v2/h-event/justahyperlink.json +0 -11
  272. data/vendor/tests/tests/microformats-v2/h-event/justaname.html +0 -1
  273. data/vendor/tests/tests/microformats-v2/h-event/justaname.json +0 -10
  274. data/vendor/tests/tests/microformats-v2/h-event/time.html +0 -47
  275. data/vendor/tests/tests/microformats-v2/h-event/time.json +0 -25
  276. data/vendor/tests/tests/microformats-v2/h-feed/implied-title.html +0 -30
  277. data/vendor/tests/tests/microformats-v2/h-feed/implied-title.json +0 -23
  278. data/vendor/tests/tests/microformats-v2/h-feed/simple.html +0 -26
  279. data/vendor/tests/tests/microformats-v2/h-feed/simple.json +0 -33
  280. data/vendor/tests/tests/microformats-v2/h-geo/abbrpattern.html +0 -5
  281. data/vendor/tests/tests/microformats-v2/h-geo/abbrpattern.json +0 -12
  282. data/vendor/tests/tests/microformats-v2/h-geo/altitude.html +0 -8
  283. data/vendor/tests/tests/microformats-v2/h-geo/altitude.json +0 -13
  284. data/vendor/tests/tests/microformats-v2/h-geo/change-log.html +0 -67
  285. data/vendor/tests/tests/microformats-v2/h-geo/hidden.html +0 -10
  286. data/vendor/tests/tests/microformats-v2/h-geo/hidden.json +0 -12
  287. data/vendor/tests/tests/microformats-v2/h-geo/justaname.html +0 -3
  288. data/vendor/tests/tests/microformats-v2/h-geo/justaname.json +0 -10
  289. data/vendor/tests/tests/microformats-v2/h-geo/simpleproperties.html +0 -5
  290. data/vendor/tests/tests/microformats-v2/h-geo/simpleproperties.json +0 -12
  291. data/vendor/tests/tests/microformats-v2/h-geo/valuetitleclass.html +0 -11
  292. data/vendor/tests/tests/microformats-v2/h-geo/valuetitleclass.json +0 -12
  293. data/vendor/tests/tests/microformats-v2/h-news/all.html +0 -35
  294. data/vendor/tests/tests/microformats-v2/h-news/all.json +0 -51
  295. data/vendor/tests/tests/microformats-v2/h-news/change-log.html +0 -78
  296. data/vendor/tests/tests/microformats-v2/h-news/minimum.html +0 -24
  297. data/vendor/tests/tests/microformats-v2/h-news/minimum.json +0 -40
  298. data/vendor/tests/tests/microformats-v2/h-org/change-log.html +0 -57
  299. data/vendor/tests/tests/microformats-v2/h-org/hyperlink.html +0 -1
  300. data/vendor/tests/tests/microformats-v2/h-org/hyperlink.json +0 -11
  301. data/vendor/tests/tests/microformats-v2/h-org/simple.html +0 -1
  302. data/vendor/tests/tests/microformats-v2/h-org/simple.json +0 -10
  303. data/vendor/tests/tests/microformats-v2/h-org/simpleproperties.html +0 -4
  304. data/vendor/tests/tests/microformats-v2/h-org/simpleproperties.json +0 -12
  305. data/vendor/tests/tests/microformats-v2/h-product/aggregate.html +0 -21
  306. data/vendor/tests/tests/microformats-v2/h-product/aggregate.json +0 -45
  307. data/vendor/tests/tests/microformats-v2/h-product/change-log.html +0 -62
  308. data/vendor/tests/tests/microformats-v2/h-product/justahyperlink.html +0 -1
  309. data/vendor/tests/tests/microformats-v2/h-product/justahyperlink.json +0 -11
  310. data/vendor/tests/tests/microformats-v2/h-product/justaname.html +0 -1
  311. data/vendor/tests/tests/microformats-v2/h-product/justaname.json +0 -10
  312. data/vendor/tests/tests/microformats-v2/h-product/simpleproperties.html +0 -10
  313. data/vendor/tests/tests/microformats-v2/h-product/simpleproperties.json +0 -26
  314. data/vendor/tests/tests/microformats-v2/h-recipe/all.html +0 -63
  315. data/vendor/tests/tests/microformats-v2/h-recipe/all.json +0 -54
  316. data/vendor/tests/tests/microformats-v2/h-recipe/change-log.html +0 -62
  317. data/vendor/tests/tests/microformats-v2/h-recipe/minimum.html +0 -7
  318. data/vendor/tests/tests/microformats-v2/h-recipe/minimum.json +0 -17
  319. data/vendor/tests/tests/microformats-v2/h-resume/affiliation.html +0 -12
  320. data/vendor/tests/tests/microformats-v2/h-resume/affiliation.json +0 -20
  321. data/vendor/tests/tests/microformats-v2/h-resume/change-log.html +0 -78
  322. data/vendor/tests/tests/microformats-v2/h-resume/contact.html +0 -17
  323. data/vendor/tests/tests/microformats-v2/h-resume/contact.json +0 -26
  324. data/vendor/tests/tests/microformats-v2/h-resume/education.html +0 -13
  325. data/vendor/tests/tests/microformats-v2/h-resume/education.json +0 -30
  326. data/vendor/tests/tests/microformats-v2/h-resume/justaname.html +0 -1
  327. data/vendor/tests/tests/microformats-v2/h-resume/justaname.json +0 -10
  328. data/vendor/tests/tests/microformats-v2/h-resume/skill.html +0 -12
  329. data/vendor/tests/tests/microformats-v2/h-resume/skill.json +0 -12
  330. data/vendor/tests/tests/microformats-v2/h-resume/work.html +0 -16
  331. data/vendor/tests/tests/microformats-v2/h-resume/work.json +0 -31
  332. data/vendor/tests/tests/microformats-v2/h-review-aggregate/change-log.html +0 -78
  333. data/vendor/tests/tests/microformats-v2/h-review-aggregate/hevent.html +0 -13
  334. data/vendor/tests/tests/microformats-v2/h-review-aggregate/hevent.json +0 -23
  335. data/vendor/tests/tests/microformats-v2/h-review-aggregate/justahyperlink.html +0 -8
  336. data/vendor/tests/tests/microformats-v2/h-review-aggregate/justahyperlink.json +0 -19
  337. data/vendor/tests/tests/microformats-v2/h-review-aggregate/simpleproperties.html +0 -18
  338. data/vendor/tests/tests/microformats-v2/h-review-aggregate/simpleproperties.json +0 -26
  339. data/vendor/tests/tests/microformats-v2/h-review/change-log.html +0 -84
  340. data/vendor/tests/tests/microformats-v2/h-review/hyperlink.html +0 -1
  341. data/vendor/tests/tests/microformats-v2/h-review/hyperlink.json +0 -11
  342. data/vendor/tests/tests/microformats-v2/h-review/implieditem.html +0 -4
  343. data/vendor/tests/tests/microformats-v2/h-review/implieditem.json +0 -19
  344. data/vendor/tests/tests/microformats-v2/h-review/item.html +0 -8
  345. data/vendor/tests/tests/microformats-v2/h-review/item.json +0 -20
  346. data/vendor/tests/tests/microformats-v2/h-review/justaname.html +0 -1
  347. data/vendor/tests/tests/microformats-v2/h-review/justaname.json +0 -10
  348. data/vendor/tests/tests/microformats-v2/h-review/photo.html +0 -1
  349. data/vendor/tests/tests/microformats-v2/h-review/photo.json +0 -11
  350. data/vendor/tests/tests/microformats-v2/h-review/vcard.html +0 -23
  351. data/vendor/tests/tests/microformats-v2/h-review/vcard.json +0 -48
  352. data/vendor/tests/tests/microformats-v2/rel/change-log.html +0 -67
  353. data/vendor/tests/tests/microformats-v2/rel/duplicate-rels.html +0 -10
  354. data/vendor/tests/tests/microformats-v2/rel/duplicate-rels.json +0 -75
  355. data/vendor/tests/tests/microformats-v2/rel/license.html +0 -1
  356. data/vendor/tests/tests/microformats-v2/rel/license.json +0 -12
  357. data/vendor/tests/tests/microformats-v2/rel/nofollow.html +0 -1
  358. data/vendor/tests/tests/microformats-v2/rel/nofollow.json +0 -12
  359. data/vendor/tests/tests/microformats-v2/rel/rel-urls.html +0 -8
  360. data/vendor/tests/tests/microformats-v2/rel/rel-urls.json +0 -33
  361. data/vendor/tests/tests/microformats-v2/rel/varying-text-duplicate-rels.html +0 -4
  362. data/vendor/tests/tests/microformats-v2/rel/varying-text-duplicate-rels.json +0 -20
  363. data/vendor/tests/tests/microformats-v2/rel/xfn-all.html +0 -19
  364. data/vendor/tests/tests/microformats-v2/rel/xfn-all.json +0 -92
  365. data/vendor/tests/tests/microformats-v2/rel/xfn-elsewhere.html +0 -10
  366. data/vendor/tests/tests/microformats-v2/rel/xfn-elsewhere.json +0 -40
@@ -1,11 +0,0 @@
1
- <img class="h-card" alt="Jane Doe" src="jane.jpeg"/>
2
- <object class="h-card" data="jane.jpeg">Jane Doe</object>
3
-
4
- <div class="h-card"><img alt="Jane Doe" src="jane.jpeg"/></div>
5
- <div class="h-card"><object data="jane.jpeg">Jane Doe</object></div>
6
-
7
- <div class="h-card"><span><img alt="Jane Doe" src="jane.jpeg"/></span></div>
8
- <div class="h-card"><span><object data="jane.jpeg">Jane Doe</object></span></div>
9
-
10
- <div class="h-card"><img class="h-card" alt="Jane Doe" src="jane.jpeg"/>Jane Doe</div>
11
- <div class="h-card"><span class="h-card"><object data="jane.jpeg">Jane Doe</object></span></div>
@@ -1,72 +0,0 @@
1
- {
2
- "items": [{
3
- "type": ["h-card"],
4
- "properties": {
5
- "name": ["Jane Doe"],
6
- "photo": ["http://example.com/jane.jpeg"]
7
- }
8
- },
9
- {
10
- "type": ["h-card"],
11
- "properties": {
12
- "name": ["Jane Doe"],
13
- "photo": ["http://example.com/jane.jpeg"]
14
- }
15
- },
16
- {
17
- "type": ["h-card"],
18
- "properties": {
19
- "name": ["Jane Doe"],
20
- "photo": ["http://example.com/jane.jpeg"]
21
- }
22
- },
23
- {
24
- "type": ["h-card"],
25
- "properties": {
26
- "name": ["Jane Doe"],
27
- "photo": ["http://example.com/jane.jpeg"]
28
- }
29
- },
30
- {
31
- "type": ["h-card"],
32
- "properties": {
33
- "name": ["Jane Doe"],
34
- "photo": ["http://example.com/jane.jpeg"]
35
- }
36
- },
37
- {
38
- "type": ["h-card"],
39
- "properties": {
40
- "name": ["Jane Doe"],
41
- "photo": ["http://example.com/jane.jpeg"]
42
- }
43
- },
44
- {
45
- "type": ["h-card"],
46
- "properties": {
47
- "name": ["Jane Doe"]
48
- },
49
- "children": [{
50
- "type": ["h-card"],
51
- "properties": {
52
- "name": ["Jane Doe"],
53
- "photo": ["http://example.com/jane.jpeg"]
54
- }
55
- }]
56
- },
57
- {
58
- "type": ["h-card"],
59
- "properties": {
60
- "name": ["Jane Doe"]
61
- },
62
- "children": [{
63
- "type": ["h-card"],
64
- "properties": {
65
- "name": ["Jane Doe"],
66
- "photo": ["http://example.com/jane.jpeg"]
67
- }
68
- }]
69
- }],
70
- "rels": {},
71
- "rel-urls": {}
72
- }
@@ -1,5 +0,0 @@
1
- <a class="h-card" href="jane.html">Jane Doe</a>
2
- <area class="h-card" href="jane.html" alt="Jane Doe"/ >
3
- <div class="h-card" ><a href="jane.html">Jane Doe</a><p></p></div>
4
- <div class="h-card" ><area href="jane.html">Jane Doe</area><p></p></div>
5
- <div class="h-card" ><a class="h-card" href="jane.html">Jane Doe</a><p></p></div>
@@ -1,45 +0,0 @@
1
- {
2
- "items": [{
3
- "type": ["h-card"],
4
- "properties": {
5
- "name": ["Jane Doe"],
6
- "url": ["http://example.com/jane.html"]
7
- }
8
- },
9
- {
10
- "type": ["h-card"],
11
- "properties": {
12
- "name": ["Jane Doe"],
13
- "url": ["http://example.com/jane.html"]
14
- }
15
- },
16
- {
17
- "type": ["h-card"],
18
- "properties": {
19
- "name": ["Jane Doe"],
20
- "url": ["http://example.com/jane.html"]
21
- }
22
- },
23
- {
24
- "type": ["h-card"],
25
- "properties": {
26
- "name": ["Jane Doe"],
27
- "url": ["http://example.com/jane.html"]
28
- }
29
- },
30
- {
31
- "type": ["h-card"],
32
- "properties": {
33
- "name": ["Jane Doe"]
34
- },
35
- "children": [{
36
- "type": ["h-card"],
37
- "properties": {
38
- "name": ["Jane Doe"],
39
- "url": ["http://example.com/jane.html"]
40
- }
41
- }]
42
- }],
43
- "rels": {},
44
- "rel-urls": {}
45
- }
@@ -1 +0,0 @@
1
- <a class="h-card" href="http://benward.me/">Ben Ward</a>
@@ -1,11 +0,0 @@
1
- {
2
- "items": [{
3
- "type": ["h-card"],
4
- "properties": {
5
- "name": ["Ben Ward"],
6
- "url": ["http://benward.me/"]
7
- }
8
- }],
9
- "rels": {},
10
- "rel-urls": {}
11
- }
@@ -1 +0,0 @@
1
- <p class="h-card">Frances Berriman</p>
@@ -1,10 +0,0 @@
1
- {
2
- "items": [{
3
- "type": ["h-card"],
4
- "properties": {
5
- "name": ["Frances Berriman"]
6
- }
7
- }],
8
- "rels": {},
9
- "rel-urls": {}
10
- }
@@ -1,4 +0,0 @@
1
- <div class="h-card">
2
- <a class="p-name u-url" href="http://blog.lizardwrangler.com/">Mitchell Baker</a>
3
- (<a class="h-org h-card" href="http://mozilla.org/">Mozilla Foundation</a>)
4
- </div>
@@ -1,18 +0,0 @@
1
- {
2
- "items": [{
3
- "type": ["h-card"],
4
- "properties": {
5
- "name": ["Mitchell Baker"],
6
- "url": ["http://blog.lizardwrangler.com/"]
7
- },
8
- "children": [{
9
- "type": ["h-org", "h-card"],
10
- "properties": {
11
- "name": ["Mozilla Foundation"],
12
- "url": ["http://mozilla.org/"]
13
- }
14
- }]
15
- }],
16
- "rels": {},
17
- "rel-urls": {}
18
- }
@@ -1,21 +0,0 @@
1
- <div class="h-card">
2
-
3
- <span class="p-name">
4
- <span class="p-given-name value">John</span>
5
- <abbr class="p-additional-name" title="Peter">P</abbr>
6
- <span class="p-family-name value ">Doe</span>
7
- </span>
8
- <data class="p-honorific-suffix" value="MSc"></data>
9
-
10
-
11
- <br class="p-honorific-suffix" />BSc<br />
12
- <hr class="p-honorific-suffix" />BA
13
-
14
-
15
- <img class="p-honorific-suffix" src="images/logo.gif" alt="PHD" />
16
- <img src="images/logo.gif" alt="company logos" usemap="#logomap" />
17
- <map name="logomap">
18
- <area class="p-org" shape="rect" coords="0,0,82,126" href="madgex.htm" alt="Madgex" />
19
- <area class="p-org" shape="circle" coords="90,58,3" href="mozilla.htm" alt="Mozilla" />
20
- </map>
21
- </div>
@@ -1,15 +0,0 @@
1
- {
2
- "items": [{
3
- "type": ["h-card"],
4
- "properties": {
5
- "name": ["JohnDoe"],
6
- "given-name": ["John"],
7
- "additional-name": ["Peter"],
8
- "family-name": ["Doe"],
9
- "honorific-suffix": ["MSc", "", "", "PHD"],
10
- "org": ["Madgex", "Mozilla"]
11
- }
12
- }],
13
- "rels": {},
14
- "rel-urls": {}
15
- }
@@ -1,6 +0,0 @@
1
- <base href="http://example.com" >
2
- <div class="h-card">
3
- <a class="p-name u-url" href="http://blog.lizardwrangler.com/">Mitchell Baker</a>
4
- (<a class="p-org h-card" href="bios/mitchell-baker/">Mozilla Foundation</a>)
5
- <img class="u-photo" src="bios/mitchell-baker/picture.jpeg"/>
6
- </div>
@@ -1,29 +0,0 @@
1
-
2
- {
3
- "items": [{
4
- "type": [
5
- "h-card"
6
- ],
7
- "properties": {
8
- "name": [
9
- "Mitchell Baker"
10
- ],
11
- "url": ["http://blog.lizardwrangler.com/"],
12
- "org": [
13
- {
14
- "value": "Mozilla Foundation",
15
- "type": [
16
- "h-card"
17
- ],
18
- "properties": {
19
- "name": ["Mozilla Foundation"],
20
- "url": ["http://example.com/bios/mitchell-baker/"]
21
- }
22
- }
23
- ],
24
- "photo": ["http://example.com/bios/mitchell-baker/picture.jpeg"]
25
- }
26
- }],
27
- "rels": {},
28
- "rel-urls": {}
29
- }
@@ -1,90 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="utf-8" />
5
- <title>h-entry parsing tests</title>
6
-
7
- <link rel="stylesheet" href="../../../css/testsuite.css">
8
- <link rel="stylesheet" href="../../../prettify.css">
9
-
10
- <script src="../../../javascript/prettify.js"></script>
11
- <script src="../../../javascript/testsuite.js"></script>
12
-
13
- </head>
14
- <body class="h-feed">
15
-
16
- <h1 class="p-name"><span class="p-x-format">h-entry</span> parsing tests &dash; change logs</h1>
17
-
18
- <p class="p-description">The files in this directory where designed to test the expanding of relative URLs to absolute URLs in the HTML content of e-* propreties. </p>
19
-
20
-
21
- <h2>Change log:</h2>
22
- <ul>
23
- <!-- Add change log event to the top of this list as a h-entry -->
24
- <li class="h-entry">
25
- <span class="p-name e-content">Moved from experiemental implied value nested test</span> &dash;
26
- <time class="dt-published" datetime="2015-06-08">8 June 2015</time>
27
- by <span class="p-author">Glenn Jones</span>
28
- </li>
29
- <li class="h-entry">
30
- <span class="p-name e-content">Created implied value nested test</span> &dash;
31
- <time class="dt-published" datetime="2015-06-01">1 June 2015</time>
32
- by <span class="p-author">Kyle Mahan</span>
33
- </li>
34
- <li class="h-entry">
35
- <span class="p-name e-content">Added missing space into html proprety of urlcontent test JSON</span> &dash;
36
- <time class="dt-published" datetime="2015-05-31">31 May 2015</time>
37
- by <span class="p-author">Glenn Jones</span>
38
- </li>
39
- <li class="h-entry">
40
- <span class="p-name e-content">Update text output to be textContent non-trimmed for summarycontent and urlcontent tests</span> &dash;
41
- <time class="dt-published" datetime="2015-05-29">29 May 2015</time>
42
- by <span class="p-author">Glenn Jones</span>
43
- </li>
44
- <li class="h-entry">
45
- <span class="p-name e-content">Added missing summmary property to summarycontent test</span> &dash;
46
- <time class="dt-published" datetime="2015-05-23">23 May 2015</time>
47
- by <span class="p-author">Glenn Jones</span>
48
- </li>
49
- <li class="h-entry">
50
- <span class="p-name e-content">Remove duplicate structures from items[] in summarycontent test</span> &dash;
51
- <time class="dt-published" datetime="2015-05-23">23 May 2015</time>
52
- by <span class="p-author">Glenn Jones</span>
53
- </li>
54
- <li class="h-entry">
55
- <span class="p-name e-content">Broke old HTML format into small files to aid simpler testing</span> &dash;
56
- <time class="dt-published" datetime="2015-05-21">21 May 2015</time>
57
- by <span class="p-author">Glenn Jones</span>
58
- </li>
59
- <li class="h-entry">
60
- <span class="p-name e-content">Updated encoding issue on e-*</span> &dash;
61
- <time class="dt-published" datetime="2013-09-19">19 September 2013</time>
62
- by <span class="p-author">Glenn Jones</span>
63
- </li>
64
- <li class="h-entry">
65
- <span class="p-name e-content">Created</span> &dash;
66
- <time class="dt-published" datetime="2013-06-30">30 June 2013</time>
67
- by <span class="p-author">Glenn Jones</span>
68
- </li>
69
- </ul>
70
-
71
-
72
- <h2>Contributors:</h2>
73
- <ul>
74
- <!-- If you Contribute to the test please add yourself as an author using p-author h-card -->
75
- <li class="p-author h-card">
76
- <a class="u-url p-name" rel="author" href="https://kylewm.com/">Kyle Mahan</a>
77
- </li>
78
- <li class="p-author h-card">
79
- <a class="u-url p-name" rel="author" href="http://www.glennjones.net/">Glenn Jones</a>
80
- </li>
81
- </ul>
82
-
83
-
84
- <footer>
85
- All content and code is released into the <a href="http://en.wikipedia.org/wiki/public_domain">public domain</a>
86
- </footer>
87
-
88
- </body>
89
-
90
- </html>
@@ -1,3 +0,0 @@
1
- <div class="h-entry">
2
- <div class="p-name e-content">x&lt;y AT&amp;T &lt;b&gt;NotBold&lt;/b&gt; <b>Bold</b></div>
3
- </div>
@@ -1,14 +0,0 @@
1
- {
2
- "items": [{
3
- "type": ["h-entry"],
4
- "properties": {
5
- "name": ["x<y AT&T <b>NotBold</b> Bold"],
6
- "content": [{
7
- "value": "x<y AT&T <b>NotBold</b> Bold",
8
- "html": "x&lt;y AT&amp;T &lt;b&gt;NotBold&lt;/b&gt; <b>Bold</b>"
9
- }]
10
- }
11
- }],
12
- "rels": {},
13
- "rel-urls": {}
14
- }
@@ -1,9 +0,0 @@
1
- <div class="h-entry">
2
- <div class="u-in-reply-to h-cite">
3
- <span class="p-author h-card">
4
- <span class="p-name">Example Author</span>
5
- <a class="u-url" href="http://example.com">Home</a>
6
- </span>
7
- <a class="p-name u-url" href="http://example.com/post">Example Post</a>
8
- </div>
9
- </div>
@@ -1,27 +0,0 @@
1
- {
2
- "items": [{
3
- "type": ["h-entry"],
4
- "properties": {
5
- "in-reply-to": [{
6
- "type": ["h-cite"],
7
- "properties": {
8
- "name": ["Example Post"],
9
- "url": ["http://example.com/post"],
10
-
11
- "author": [{
12
- "type": ["h-card"],
13
- "properties": {
14
- "url": ["http://example.com"],
15
- "name": ["Example Author"]
16
- },
17
- "value": "Example Author"
18
- }]
19
- },
20
- "value": "http://example.com/post"
21
- }],
22
- "name": ["Example Author\n Home\n \n Example Post"]
23
- }
24
- }],
25
- "rels": {},
26
- "rel-urls": {}
27
- }
@@ -1 +0,0 @@
1
- <a class="h-entry" href="http://microformats.org/2012/06/25/microformats-org-at-7">microformats.org at 7</a>
@@ -1,11 +0,0 @@
1
- {
2
- "items": [{
3
- "type": ["h-entry"],
4
- "properties": {
5
- "name": ["microformats.org at 7"],
6
- "url": ["http://microformats.org/2012/06/25/microformats-org-at-7"]
7
- }
8
- }],
9
- "rels": {},
10
- "rel-urls": {}
11
- }