microformats2 2.9.0 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +125 -25
- data/Rakefile +0 -60
- data/lib/microformats2.rb +7 -15
- data/lib/microformats2/absolute_uri.rb +5 -1
- data/lib/microformats2/format_parser.rb +321 -46
- data/lib/microformats2/parser.rb +86 -6
- data/lib/microformats2/parser_core.rb +343 -0
- data/lib/microformats2/property_parser.rb +104 -34
- data/lib/microformats2/results/collection.rb +121 -0
- data/lib/microformats2/results/parser_result.rb +111 -0
- data/lib/microformats2/results/property_set.rb +87 -0
- data/lib/microformats2/time_property_parser.rb +161 -0
- data/lib/microformats2/version.rb +1 -1
- data/microformats2.gemspec +2 -1
- data/spec/lib/microformats2/absolute_uri_spec.rb +2 -2
- data/spec/lib/microformats2/parser_spec.rb +36 -5
- data/spec/lib/microformats2_spec.rb +5 -5
- data/spec/spec_helper.rb +0 -1
- data/vendor/tests/.gitignore +25 -0
- data/vendor/tests/LICENSE.md +36 -0
- data/vendor/tests/README.md +48 -0
- data/vendor/tests/app.js +84 -0
- data/vendor/tests/composer.json +5 -0
- data/vendor/tests/css/testsuite.css +159 -0
- data/vendor/tests/interface.js +18 -0
- data/vendor/tests/package.json +27 -0
- data/vendor/tests/tests/microformats-mixed/h-card/change-log.html +63 -0
- data/vendor/tests/tests/microformats-mixed/h-card/mixedpropertries.html +14 -0
- data/vendor/tests/tests/microformats-mixed/h-card/mixedpropertries.json +22 -0
- data/vendor/tests/tests/microformats-mixed/h-card/tworoots.html +1 -0
- data/vendor/tests/tests/microformats-mixed/h-card/tworoots.json +10 -0
- data/vendor/tests/tests/microformats-mixed/h-entry/mixedroots.html +16 -0
- data/vendor/tests/tests/microformats-mixed/h-entry/mixedroots.json +38 -0
- data/vendor/tests/tests/microformats-mixed/h-resume/change-log.html +68 -0
- data/vendor/tests/tests/microformats-mixed/h-resume/mixedroots.html +16 -0
- data/vendor/tests/tests/microformats-mixed/h-resume/mixedroots.json +31 -0
- data/vendor/tests/tests/microformats-v1/adr/change-log.html +63 -0
- data/vendor/tests/tests/microformats-v1/adr/simpleproperties.html +8 -0
- data/vendor/tests/tests/microformats-v1/adr/simpleproperties.json +15 -0
- data/vendor/tests/tests/microformats-v1/geo/abbrpattern.html +5 -0
- data/vendor/tests/tests/microformats-v1/geo/abbrpattern.json +11 -0
- data/vendor/tests/tests/microformats-v1/geo/change-log.1.html +78 -0
- data/vendor/tests/tests/microformats-v1/geo/change-log.html +63 -0
- data/vendor/tests/tests/microformats-v1/geo/hidden.html +10 -0
- data/vendor/tests/tests/microformats-v1/geo/hidden.json +11 -0
- data/vendor/tests/tests/microformats-v1/geo/simpleproperties.html +6 -0
- data/vendor/tests/tests/microformats-v1/geo/simpleproperties.json +11 -0
- data/vendor/tests/tests/microformats-v1/geo/valuetitleclass.html +11 -0
- data/vendor/tests/tests/microformats-v1/geo/valuetitleclass.json +11 -0
- data/vendor/tests/tests/microformats-v1/hcalendar/ampm.html +41 -0
- data/vendor/tests/tests/microformats-v1/hcalendar/ampm.json +21 -0
- data/vendor/tests/tests/microformats-v1/hcalendar/attendees.html +13 -0
- data/vendor/tests/tests/microformats-v1/hcalendar/attendees.json +37 -0
- data/vendor/tests/tests/microformats-v1/hcalendar/change-log.html +68 -0
- data/vendor/tests/tests/microformats-v1/hcalendar/combining.html +15 -0
- data/vendor/tests/tests/microformats-v1/hcalendar/combining.json +31 -0
- data/vendor/tests/tests/microformats-v1/hcalendar/concatenate.html +7 -0
- data/vendor/tests/tests/microformats-v1/hcalendar/concatenate.json +12 -0
- data/vendor/tests/tests/microformats-v1/hcalendar/time.html +44 -0
- data/vendor/tests/tests/microformats-v1/hcalendar/time.json +22 -0
- data/vendor/tests/tests/microformats-v1/hcard/change-log.html +68 -0
- data/vendor/tests/tests/microformats-v1/hcard/email.html +14 -0
- data/vendor/tests/tests/microformats-v1/hcard/email.json +11 -0
- data/vendor/tests/tests/microformats-v1/hcard/format.html +6 -0
- data/vendor/tests/tests/microformats-v1/hcard/format.json +11 -0
- data/vendor/tests/tests/microformats-v1/hcard/hyperlinkedphoto.html +3 -0
- data/vendor/tests/tests/microformats-v1/hcard/hyperlinkedphoto.json +8 -0
- data/vendor/tests/tests/microformats-v1/hcard/justahyperlink.html +1 -0
- data/vendor/tests/tests/microformats-v1/hcard/justahyperlink.json +8 -0
- data/vendor/tests/tests/microformats-v1/hcard/justaname.html +1 -0
- data/vendor/tests/tests/microformats-v1/hcard/justaname.json +8 -0
- data/vendor/tests/tests/microformats-v1/hcard/multiple.html +74 -0
- data/vendor/tests/tests/microformats-v1/hcard/multiple.json +65 -0
- data/vendor/tests/tests/microformats-v1/hcard/name.html +11 -0
- data/vendor/tests/tests/microformats-v1/hcard/name.json +15 -0
- data/vendor/tests/tests/microformats-v1/hcard/single.html +14 -0
- data/vendor/tests/tests/microformats-v1/hcard/single.json +24 -0
- data/vendor/tests/tests/microformats-v1/hentry/change-log.html +73 -0
- data/vendor/tests/tests/microformats-v1/hentry/summarycontent.html +20 -0
- data/vendor/tests/tests/microformats-v1/hentry/summarycontent.json +24 -0
- data/vendor/tests/tests/microformats-v1/hfeed/simple.html +30 -0
- data/vendor/tests/tests/microformats-v1/hfeed/simple.json +49 -0
- data/vendor/tests/tests/microformats-v1/hnews/all.html +37 -0
- data/vendor/tests/tests/microformats-v1/hnews/all.json +74 -0
- data/vendor/tests/tests/microformats-v1/hnews/change-log.html +72 -0
- data/vendor/tests/tests/microformats-v1/hnews/minimum.html +25 -0
- data/vendor/tests/tests/microformats-v1/hnews/minimum.json +48 -0
- data/vendor/tests/tests/microformats-v1/hproduct/aggregate.html +26 -0
- data/vendor/tests/tests/microformats-v1/hproduct/aggregate.json +52 -0
- data/vendor/tests/tests/microformats-v1/hproduct/change-log.html +62 -0
- data/vendor/tests/tests/microformats-v1/hproduct/simpleproperties.html +13 -0
- data/vendor/tests/tests/microformats-v1/hproduct/simpleproperties.json +33 -0
- data/vendor/tests/tests/microformats-v1/hresume/affiliation.html +12 -0
- data/vendor/tests/tests/microformats-v1/hresume/affiliation.json +25 -0
- data/vendor/tests/tests/microformats-v1/hresume/change-log.html +73 -0
- data/vendor/tests/tests/microformats-v1/hresume/contact.html +18 -0
- data/vendor/tests/tests/microformats-v1/hresume/contact.json +32 -0
- data/vendor/tests/tests/microformats-v1/hresume/education.html +13 -0
- data/vendor/tests/tests/microformats-v1/hresume/education.json +29 -0
- data/vendor/tests/tests/microformats-v1/hresume/skill.html +12 -0
- data/vendor/tests/tests/microformats-v1/hresume/skill.json +33 -0
- data/vendor/tests/tests/microformats-v1/hresume/work.html +16 -0
- data/vendor/tests/tests/microformats-v1/hresume/work.json +30 -0
- data/vendor/tests/tests/microformats-v1/hreview-aggregate/change-log.html +67 -0
- data/vendor/tests/tests/microformats-v1/hreview-aggregate/hcard.html +18 -0
- data/vendor/tests/tests/microformats-v1/hreview-aggregate/hcard.json +31 -0
- data/vendor/tests/tests/microformats-v1/hreview-aggregate/justahyperlink.html +6 -0
- data/vendor/tests/tests/microformats-v1/hreview-aggregate/justahyperlink.json +19 -0
- data/vendor/tests/tests/microformats-v1/hreview-aggregate/vevent.html +13 -0
- data/vendor/tests/tests/microformats-v1/hreview-aggregate/vevent.json +22 -0
- data/vendor/tests/tests/microformats-v1/hreview/change-log.html +73 -0
- data/vendor/tests/tests/microformats-v1/hreview/item.html +8 -0
- data/vendor/tests/tests/microformats-v1/hreview/item.json +19 -0
- data/vendor/tests/tests/microformats-v1/hreview/vcard.html +23 -0
- data/vendor/tests/tests/microformats-v1/hreview/vcard.json +58 -0
- data/vendor/tests/tests/microformats-v1/includes/change-log.html +72 -0
- data/vendor/tests/tests/microformats-v1/includes/hcarditemref.html +16 -0
- data/vendor/tests/tests/microformats-v1/includes/hcarditemref.json +49 -0
- data/vendor/tests/tests/microformats-v1/includes/heventitemref.html +25 -0
- data/vendor/tests/tests/microformats-v1/includes/heventitemref.json +33 -0
- data/vendor/tests/tests/microformats-v1/includes/hyperlink.html +18 -0
- data/vendor/tests/tests/microformats-v1/includes/hyperlink.json +43 -0
- data/vendor/tests/tests/microformats-v1/includes/object.html +23 -0
- data/vendor/tests/tests/microformats-v1/includes/object.json +42 -0
- data/vendor/tests/tests/microformats-v1/includes/table.html +12 -0
- data/vendor/tests/tests/microformats-v1/includes/table.json +19 -0
- data/vendor/tests/tests/microformats-v2/h-adr/change-log.html +62 -0
- data/vendor/tests/tests/microformats-v2/h-adr/geo.html +10 -0
- data/vendor/tests/tests/microformats-v2/h-adr/geo.json +16 -0
- data/vendor/tests/tests/microformats-v2/h-adr/geourl.html +4 -0
- data/vendor/tests/tests/microformats-v2/h-adr/geourl.json +13 -0
- data/vendor/tests/tests/microformats-v2/h-adr/justaname.html +1 -0
- data/vendor/tests/tests/microformats-v2/h-adr/justaname.json +10 -0
- data/vendor/tests/tests/microformats-v2/h-adr/lettercase.html +21 -0
- data/vendor/tests/tests/microformats-v2/h-adr/lettercase.json +12 -0
- data/vendor/tests/tests/microformats-v2/h-adr/simpleproperties.html +8 -0
- data/vendor/tests/tests/microformats-v2/h-adr/simpleproperties.json +16 -0
- data/vendor/tests/tests/microformats-v2/h-as-note/note.html +56 -0
- data/vendor/tests/tests/microformats-v2/h-as-note/note.json +98 -0
- data/vendor/tests/tests/microformats-v2/h-card/baseurl.html +6 -0
- data/vendor/tests/tests/microformats-v2/h-card/baseurl.json +26 -0
- data/vendor/tests/tests/microformats-v2/h-card/change-log.html +100 -0
- data/vendor/tests/tests/microformats-v2/h-card/childimplied.html +7 -0
- data/vendor/tests/tests/microformats-v2/h-card/childimplied.json +12 -0
- data/vendor/tests/tests/microformats-v2/h-card/extendeddescription.html +10 -0
- data/vendor/tests/tests/microformats-v2/h-card/extendeddescription.json +15 -0
- data/vendor/tests/tests/microformats-v2/h-card/hcard.html +4 -0
- data/vendor/tests/tests/microformats-v2/h-card/hcard.json +19 -0
- data/vendor/tests/tests/microformats-v2/h-card/horghcard.html +4 -0
- data/vendor/tests/tests/microformats-v2/h-card/horghcard.json +19 -0
- data/vendor/tests/tests/microformats-v2/h-card/hyperlinkedphoto.html +3 -0
- data/vendor/tests/tests/microformats-v2/h-card/hyperlinkedphoto.json +12 -0
- data/vendor/tests/tests/microformats-v2/h-card/impliedname.html +15 -0
- data/vendor/tests/tests/microformats-v2/h-card/impliedname.json +90 -0
- data/vendor/tests/tests/microformats-v2/h-card/impliedphoto.html +11 -0
- data/vendor/tests/tests/microformats-v2/h-card/impliedphoto.json +72 -0
- data/vendor/tests/tests/microformats-v2/h-card/impliedurl.html +5 -0
- data/vendor/tests/tests/microformats-v2/h-card/impliedurl.json +45 -0
- data/vendor/tests/tests/microformats-v2/h-card/justahyperlink.html +1 -0
- data/vendor/tests/tests/microformats-v2/h-card/justahyperlink.json +11 -0
- data/vendor/tests/tests/microformats-v2/h-card/justaname.html +1 -0
- data/vendor/tests/tests/microformats-v2/h-card/justaname.json +10 -0
- data/vendor/tests/tests/microformats-v2/h-card/nested.html +4 -0
- data/vendor/tests/tests/microformats-v2/h-card/nested.json +18 -0
- data/vendor/tests/tests/microformats-v2/h-card/p-property.html +21 -0
- data/vendor/tests/tests/microformats-v2/h-card/p-property.json +15 -0
- data/vendor/tests/tests/microformats-v2/h-card/relativeurls.html +6 -0
- data/vendor/tests/tests/microformats-v2/h-card/relativeurls.json +29 -0
- data/vendor/tests/tests/microformats-v2/h-entry/change-log.html +90 -0
- data/vendor/tests/tests/microformats-v2/h-entry/encoding.html +3 -0
- data/vendor/tests/tests/microformats-v2/h-entry/encoding.json +14 -0
- data/vendor/tests/tests/microformats-v2/h-entry/impliedvalue-nested.html +9 -0
- data/vendor/tests/tests/microformats-v2/h-entry/impliedvalue-nested.json +27 -0
- data/vendor/tests/tests/microformats-v2/h-entry/justahyperlink.html +1 -0
- data/vendor/tests/tests/microformats-v2/h-entry/justahyperlink.json +11 -0
- data/vendor/tests/tests/microformats-v2/h-entry/justaname.html +1 -0
- data/vendor/tests/tests/microformats-v2/h-entry/justaname.json +10 -0
- data/vendor/tests/tests/microformats-v2/h-entry/scriptstyletags.html +4 -0
- data/vendor/tests/tests/microformats-v2/h-entry/scriptstyletags.json +14 -0
- data/vendor/tests/tests/microformats-v2/h-entry/summarycontent.html +20 -0
- data/vendor/tests/tests/microformats-v2/h-entry/summarycontent.json +25 -0
- data/vendor/tests/tests/microformats-v2/h-entry/u-property.html +33 -0
- data/vendor/tests/tests/microformats-v2/h-entry/u-property.json +12 -0
- data/vendor/tests/tests/microformats-v2/h-entry/urlincontent.html +13 -0
- data/vendor/tests/tests/microformats-v2/h-entry/urlincontent.json +14 -0
- data/vendor/tests/tests/microformats-v2/h-event/ampm.html +41 -0
- data/vendor/tests/tests/microformats-v2/h-event/ampm.json +21 -0
- data/vendor/tests/tests/microformats-v2/h-event/attendees.html +13 -0
- data/vendor/tests/tests/microformats-v2/h-event/attendees.json +37 -0
- data/vendor/tests/tests/microformats-v2/h-event/change-log.html +82 -0
- data/vendor/tests/tests/microformats-v2/h-event/combining.html +13 -0
- data/vendor/tests/tests/microformats-v2/h-event/combining.json +25 -0
- data/vendor/tests/tests/microformats-v2/h-event/concatenate.html +8 -0
- data/vendor/tests/tests/microformats-v2/h-event/concatenate.json +12 -0
- data/vendor/tests/tests/microformats-v2/h-event/dates.html +13 -0
- data/vendor/tests/tests/microformats-v2/h-event/dates.json +26 -0
- data/vendor/tests/tests/microformats-v2/h-event/dt-property.html +23 -0
- data/vendor/tests/tests/microformats-v2/h-event/dt-property.json +20 -0
- data/vendor/tests/tests/microformats-v2/h-event/justahyperlink.html +1 -0
- data/vendor/tests/tests/microformats-v2/h-event/justahyperlink.json +11 -0
- data/vendor/tests/tests/microformats-v2/h-event/justaname.html +1 -0
- data/vendor/tests/tests/microformats-v2/h-event/justaname.json +10 -0
- data/vendor/tests/tests/microformats-v2/h-event/time.html +47 -0
- data/vendor/tests/tests/microformats-v2/h-event/time.json +25 -0
- data/vendor/tests/tests/microformats-v2/h-feed/implied-title.html +30 -0
- data/vendor/tests/tests/microformats-v2/h-feed/implied-title.json +23 -0
- data/vendor/tests/tests/microformats-v2/h-feed/simple.html +26 -0
- data/vendor/tests/tests/microformats-v2/h-feed/simple.json +33 -0
- data/vendor/tests/tests/microformats-v2/h-geo/abbrpattern.html +5 -0
- data/vendor/tests/tests/microformats-v2/h-geo/abbrpattern.json +12 -0
- data/vendor/tests/tests/microformats-v2/h-geo/altitude.html +8 -0
- data/vendor/tests/tests/microformats-v2/h-geo/altitude.json +13 -0
- data/vendor/tests/tests/microformats-v2/h-geo/change-log.html +67 -0
- data/vendor/tests/tests/microformats-v2/h-geo/hidden.html +10 -0
- data/vendor/tests/tests/microformats-v2/h-geo/hidden.json +12 -0
- data/vendor/tests/tests/microformats-v2/h-geo/justaname.html +3 -0
- data/vendor/tests/tests/microformats-v2/h-geo/justaname.json +10 -0
- data/vendor/tests/tests/microformats-v2/h-geo/simpleproperties.html +5 -0
- data/vendor/tests/tests/microformats-v2/h-geo/simpleproperties.json +12 -0
- data/vendor/tests/tests/microformats-v2/h-geo/valuetitleclass.html +11 -0
- data/vendor/tests/tests/microformats-v2/h-geo/valuetitleclass.json +12 -0
- data/vendor/tests/tests/microformats-v2/h-news/all.html +35 -0
- data/vendor/tests/tests/microformats-v2/h-news/all.json +51 -0
- data/vendor/tests/tests/microformats-v2/h-news/change-log.html +78 -0
- data/vendor/tests/tests/microformats-v2/h-news/minimum.html +24 -0
- data/vendor/tests/tests/microformats-v2/h-news/minimum.json +40 -0
- data/vendor/tests/tests/microformats-v2/h-org/change-log.html +57 -0
- data/vendor/tests/tests/microformats-v2/h-org/hyperlink.html +1 -0
- data/vendor/tests/tests/microformats-v2/h-org/hyperlink.json +11 -0
- data/vendor/tests/tests/microformats-v2/h-org/simple.html +1 -0
- data/vendor/tests/tests/microformats-v2/h-org/simple.json +10 -0
- data/vendor/tests/tests/microformats-v2/h-org/simpleproperties.html +4 -0
- data/vendor/tests/tests/microformats-v2/h-org/simpleproperties.json +12 -0
- data/vendor/tests/tests/microformats-v2/h-product/aggregate.html +21 -0
- data/vendor/tests/tests/microformats-v2/h-product/aggregate.json +45 -0
- data/vendor/tests/tests/microformats-v2/h-product/change-log.html +62 -0
- data/vendor/tests/tests/microformats-v2/h-product/justahyperlink.html +1 -0
- data/vendor/tests/tests/microformats-v2/h-product/justahyperlink.json +11 -0
- data/vendor/tests/tests/microformats-v2/h-product/justaname.html +1 -0
- data/vendor/tests/tests/microformats-v2/h-product/justaname.json +10 -0
- data/vendor/tests/tests/microformats-v2/h-product/simpleproperties.html +10 -0
- data/vendor/tests/tests/microformats-v2/h-product/simpleproperties.json +26 -0
- data/vendor/tests/tests/microformats-v2/h-recipe/all.html +63 -0
- data/vendor/tests/tests/microformats-v2/h-recipe/all.json +54 -0
- data/vendor/tests/tests/microformats-v2/h-recipe/change-log.html +62 -0
- data/vendor/tests/tests/microformats-v2/h-recipe/minimum.html +7 -0
- data/vendor/tests/tests/microformats-v2/h-recipe/minimum.json +17 -0
- data/vendor/tests/tests/microformats-v2/h-resume/affiliation.html +12 -0
- data/vendor/tests/tests/microformats-v2/h-resume/affiliation.json +20 -0
- data/vendor/tests/tests/microformats-v2/h-resume/change-log.html +78 -0
- data/vendor/tests/tests/microformats-v2/h-resume/contact.html +17 -0
- data/vendor/tests/tests/microformats-v2/h-resume/contact.json +26 -0
- data/vendor/tests/tests/microformats-v2/h-resume/education.html +13 -0
- data/vendor/tests/tests/microformats-v2/h-resume/education.json +30 -0
- data/vendor/tests/tests/microformats-v2/h-resume/justaname.html +1 -0
- data/vendor/tests/tests/microformats-v2/h-resume/justaname.json +10 -0
- data/vendor/tests/tests/microformats-v2/h-resume/skill.html +12 -0
- data/vendor/tests/tests/microformats-v2/h-resume/skill.json +12 -0
- data/vendor/tests/tests/microformats-v2/h-resume/work.html +16 -0
- data/vendor/tests/tests/microformats-v2/h-resume/work.json +31 -0
- data/vendor/tests/tests/microformats-v2/h-review-aggregate/change-log.html +78 -0
- data/vendor/tests/tests/microformats-v2/h-review-aggregate/hevent.html +13 -0
- data/vendor/tests/tests/microformats-v2/h-review-aggregate/hevent.json +23 -0
- data/vendor/tests/tests/microformats-v2/h-review-aggregate/justahyperlink.html +8 -0
- data/vendor/tests/tests/microformats-v2/h-review-aggregate/justahyperlink.json +19 -0
- data/vendor/tests/tests/microformats-v2/h-review-aggregate/simpleproperties.html +18 -0
- data/vendor/tests/tests/microformats-v2/h-review-aggregate/simpleproperties.json +26 -0
- data/vendor/tests/tests/microformats-v2/h-review/change-log.html +84 -0
- data/vendor/tests/tests/microformats-v2/h-review/hyperlink.html +1 -0
- data/vendor/tests/tests/microformats-v2/h-review/hyperlink.json +11 -0
- data/vendor/tests/tests/microformats-v2/h-review/implieditem.html +4 -0
- data/vendor/tests/tests/microformats-v2/h-review/implieditem.json +19 -0
- data/vendor/tests/tests/microformats-v2/h-review/item.html +8 -0
- data/vendor/tests/tests/microformats-v2/h-review/item.json +20 -0
- data/vendor/tests/tests/microformats-v2/h-review/justaname.html +1 -0
- data/vendor/tests/tests/microformats-v2/h-review/justaname.json +10 -0
- data/vendor/tests/tests/microformats-v2/h-review/photo.html +1 -0
- data/vendor/tests/tests/microformats-v2/h-review/photo.json +11 -0
- data/vendor/tests/tests/microformats-v2/h-review/vcard.html +23 -0
- data/vendor/tests/tests/microformats-v2/h-review/vcard.json +48 -0
- data/vendor/tests/tests/microformats-v2/rel/change-log.html +67 -0
- data/vendor/tests/tests/microformats-v2/rel/duplicate-rels.html +10 -0
- data/vendor/tests/tests/microformats-v2/rel/duplicate-rels.json +75 -0
- data/vendor/tests/tests/microformats-v2/rel/license.html +1 -0
- data/vendor/tests/tests/microformats-v2/rel/license.json +12 -0
- data/vendor/tests/tests/microformats-v2/rel/nofollow.html +1 -0
- data/vendor/tests/tests/microformats-v2/rel/nofollow.json +12 -0
- data/vendor/tests/tests/microformats-v2/rel/rel-urls.html +8 -0
- data/vendor/tests/tests/microformats-v2/rel/rel-urls.json +33 -0
- data/vendor/tests/tests/microformats-v2/rel/varying-text-duplicate-rels.html +4 -0
- data/vendor/tests/tests/microformats-v2/rel/varying-text-duplicate-rels.json +20 -0
- data/vendor/tests/tests/microformats-v2/rel/xfn-all.html +19 -0
- data/vendor/tests/tests/microformats-v2/rel/xfn-all.json +92 -0
- data/vendor/tests/tests/microformats-v2/rel/xfn-elsewhere.html +10 -0
- data/vendor/tests/tests/microformats-v2/rel/xfn-elsewhere.json +40 -0
- metadata +285 -37
- data/lib/microformats2/collection.rb +0 -136
- data/lib/microformats2/format.rb +0 -151
- data/lib/microformats2/implied_property/foundation.rb +0 -59
- data/lib/microformats2/implied_property/name.rb +0 -34
- data/lib/microformats2/implied_property/photo.rb +0 -28
- data/lib/microformats2/implied_property/url.rb +0 -24
- data/lib/microformats2/property.rb +0 -21
- data/lib/microformats2/property/date_time.rb +0 -28
- data/lib/microformats2/property/embedded.rb +0 -9
- data/lib/microformats2/property/foundation.rb +0 -143
- data/lib/microformats2/property/text.rb +0 -16
- data/lib/microformats2/property/url.rb +0 -26
- data/spec/lib/microformats2/collection_spec.rb +0 -252
- data/spec/lib/microformats2/implied_property/name_spec.rb +0 -31
- data/spec/lib/microformats2/implied_property/photo_spec.rb +0 -31
- data/spec/lib/microformats2/implied_property/url_spec.rb +0 -58
@@ -0,0 +1,10 @@
|
|
1
|
+
<a href="http://ma.tt/2015/05/beethoven-mozart-bach/"
|
2
|
+
title="Permalink to Beethoven, Mozart, Bach" rel="bookmark">
|
3
|
+
<time class="entry-date" datetime="2015-05-31T22:42:00+00:00">May 31, 2015</time></a></span>
|
4
|
+
<a href="http://ma.tt/category/asides/" rel="category tag">Asides</a>
|
5
|
+
<span class="author vcard">
|
6
|
+
<a class="url fn n" href="http://ma.tt/author/saxmatt/"
|
7
|
+
title="View all posts by Matt" rel="author">Matt</a></span>
|
8
|
+
<span class="date"><a href="http://ma.tt/2015/06/jefferson-on-idleness/" title="Permalink to Jefferson on Idleness" rel="bookmark"><time class="entry-date" datetime="2015-06-02T21:26:00+00:00">June 2, 2015</time></a></span>
|
9
|
+
<span class="categories-links"><a href="http://ma.tt/category/asides/" rel="category tag">Asides</a></span>
|
10
|
+
<span class="author vcard"><a class="url fn n" href="http://ma.tt/author/saxmatt/" title="View all posts by Matt" rel="author">Matt</a></span>
|
@@ -0,0 +1,75 @@
|
|
1
|
+
{
|
2
|
+
"rels": {
|
3
|
+
"bookmark": [
|
4
|
+
"http://ma.tt/2015/05/beethoven-mozart-bach/",
|
5
|
+
"http://ma.tt/2015/06/jefferson-on-idleness/"
|
6
|
+
],
|
7
|
+
"category": [
|
8
|
+
"http://ma.tt/category/asides/"
|
9
|
+
],
|
10
|
+
"tag": [
|
11
|
+
"http://ma.tt/category/asides/"
|
12
|
+
],
|
13
|
+
"author": [
|
14
|
+
"http://ma.tt/author/saxmatt/"
|
15
|
+
]
|
16
|
+
},
|
17
|
+
"items": [
|
18
|
+
{
|
19
|
+
"type": [
|
20
|
+
"h-card"
|
21
|
+
],
|
22
|
+
"properties": {
|
23
|
+
"url": [
|
24
|
+
"http://ma.tt/author/saxmatt/"
|
25
|
+
],
|
26
|
+
"name": [
|
27
|
+
"Matt"
|
28
|
+
]
|
29
|
+
}
|
30
|
+
},
|
31
|
+
{
|
32
|
+
"type": [
|
33
|
+
"h-card"
|
34
|
+
],
|
35
|
+
"properties": {
|
36
|
+
"url": [
|
37
|
+
"http://ma.tt/author/saxmatt/"
|
38
|
+
],
|
39
|
+
"name": [
|
40
|
+
"Matt"
|
41
|
+
]
|
42
|
+
}
|
43
|
+
}
|
44
|
+
],
|
45
|
+
"rel-urls": {
|
46
|
+
"http://ma.tt/category/asides/": {
|
47
|
+
"rels": [
|
48
|
+
"category",
|
49
|
+
"tag"
|
50
|
+
],
|
51
|
+
"text": "Asides"
|
52
|
+
},
|
53
|
+
"http://ma.tt/author/saxmatt/": {
|
54
|
+
"rels": [
|
55
|
+
"author"
|
56
|
+
],
|
57
|
+
"text": "Matt",
|
58
|
+
"title": "View all posts by Matt"
|
59
|
+
},
|
60
|
+
"http://ma.tt/2015/05/beethoven-mozart-bach/": {
|
61
|
+
"rels": [
|
62
|
+
"bookmark"
|
63
|
+
],
|
64
|
+
"text": "May 31, 2015",
|
65
|
+
"title": "Permalink to Beethoven, Mozart, Bach"
|
66
|
+
},
|
67
|
+
"http://ma.tt/2015/06/jefferson-on-idleness/": {
|
68
|
+
"rels": [
|
69
|
+
"bookmark"
|
70
|
+
],
|
71
|
+
"text": "June 2, 2015",
|
72
|
+
"title": "Permalink to Jefferson on Idleness"
|
73
|
+
}
|
74
|
+
}
|
75
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
<a rel="license" href="http://creativecommons.org/licenses/by/2.5/">cc by 2.5</a>
|
@@ -0,0 +1 @@
|
|
1
|
+
<a rel="nofollow" href="http://microformats.org/wiki/microformats:copyrights">Copyrights</a>
|
@@ -0,0 +1,8 @@
|
|
1
|
+
<a rel="author" href="http://example.com/a">author a</a>
|
2
|
+
<a rel="author" href="http://example.com/b">author b</a>
|
3
|
+
<a rel="in-reply-to" href="http://example.com/1">post 1</a>
|
4
|
+
<a rel="in-reply-to" href="http://example.com/2">post 2</a>
|
5
|
+
<a rel="alternate home"
|
6
|
+
href="http://example.com/fr"
|
7
|
+
media="handheld"
|
8
|
+
hreflang="fr">French mobile homepage</a>
|
@@ -0,0 +1,33 @@
|
|
1
|
+
{
|
2
|
+
"items": [],
|
3
|
+
"rels": {
|
4
|
+
"author": [ "http://example.com/a", "http://example.com/b" ],
|
5
|
+
"in-reply-to": [ "http://example.com/1", "http://example.com/2" ],
|
6
|
+
"home": [ "http://example.com/fr" ],
|
7
|
+
"alternate": [ "http://example.com/fr" ]
|
8
|
+
},
|
9
|
+
"rel-urls": {
|
10
|
+
"http://example.com/a": {
|
11
|
+
"rels": ["author"],
|
12
|
+
"text": "author a"
|
13
|
+
},
|
14
|
+
"http://example.com/b": {
|
15
|
+
"rels": ["author"],
|
16
|
+
"text": "author b"
|
17
|
+
},
|
18
|
+
"http://example.com/1": {
|
19
|
+
"rels": ["in-reply-to"],
|
20
|
+
"text": "post 1"
|
21
|
+
},
|
22
|
+
"http://example.com/2": {
|
23
|
+
"rels": ["in-reply-to"],
|
24
|
+
"text": "post 2"
|
25
|
+
},
|
26
|
+
"http://example.com/fr": {
|
27
|
+
"rels": ["alternate", "home"],
|
28
|
+
"media": "handheld",
|
29
|
+
"hreflang": "fr",
|
30
|
+
"text": "French mobile homepage"
|
31
|
+
}
|
32
|
+
}
|
33
|
+
}
|
@@ -0,0 +1,4 @@
|
|
1
|
+
This is a contrived example - not found links like this in the wild:
|
2
|
+
<a href="http://ma.tt/category/asides/" rel="category tag">Asides</a>
|
3
|
+
<a href="http://ma.tt/category/asides/" rel="category tag">B-sides</a>
|
4
|
+
<a href="http://ma.tt/category/asides/" rel="category tag">seasides</a>
|
@@ -0,0 +1,20 @@
|
|
1
|
+
{
|
2
|
+
"rels": {
|
3
|
+
"category": [
|
4
|
+
"http://ma.tt/category/asides/"
|
5
|
+
],
|
6
|
+
"tag": [
|
7
|
+
"http://ma.tt/category/asides/"
|
8
|
+
]
|
9
|
+
},
|
10
|
+
"items": [],
|
11
|
+
"rel-urls": {
|
12
|
+
"http://ma.tt/category/asides/": {
|
13
|
+
"rels": [
|
14
|
+
"category",
|
15
|
+
"tag"
|
16
|
+
],
|
17
|
+
"text": "Asides"
|
18
|
+
}
|
19
|
+
}
|
20
|
+
}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
<ul>
|
2
|
+
<li><a rel="friend" href="http://example.com/profile/jane">jane</a></li>
|
3
|
+
<li><a rel="acquaintance" href="http://example.com/profile/jeo">jeo</a></li>
|
4
|
+
<li><a rel="contact" href="http://example.com/profile/lily">lily</a></li>
|
5
|
+
<li><a rel="met" href="http://example.com/profile/oliver">oliver</a></li>
|
6
|
+
<li><a rel="co-worker" href="http://example.com/profile/emily">emily</a></li>
|
7
|
+
<li><a rel="colleague" href="http://example.com/profile/jack">jack</a></li>
|
8
|
+
<li><a rel="neighbor" href="http://example.com/profile/isabella">isabella</a></li>
|
9
|
+
<li><a rel="child" href="http://example.com/profile/harry">harry</a></li>
|
10
|
+
<li><a rel="parent" href="http://example.com/profile/sophia">sophia</a></li>
|
11
|
+
<li><a rel="sibling" href="http://example.com/profile/charlie">charlie</a></li>
|
12
|
+
<li><a rel="spouse" href="http://example.com/profile/olivia">olivia</a></li>
|
13
|
+
<li><a rel="kin" href="http://example.com/profile/james">james</a></li>
|
14
|
+
<li><a rel="muse" href="http://example.com/profile/ava">ava</a></li>
|
15
|
+
<li><a rel="crush" href="http://example.com/profile/joshua">joshua</a></li>
|
16
|
+
<li><a rel="date" href="http://example.com/profile/chloe">chloe</a></li>
|
17
|
+
<li><a rel="sweetheart" href="http://example.com/profile/alfie">alfie</a></li>
|
18
|
+
<li><a rel="me" href="http://example.com/profile/isla">isla</a></li>
|
19
|
+
</ul>
|
@@ -0,0 +1,92 @@
|
|
1
|
+
{
|
2
|
+
"items": [],
|
3
|
+
"rels": {
|
4
|
+
"friend": ["http://example.com/profile/jane"],
|
5
|
+
"acquaintance": ["http://example.com/profile/jeo"],
|
6
|
+
"contact": ["http://example.com/profile/lily"],
|
7
|
+
"met": ["http://example.com/profile/oliver"],
|
8
|
+
"co-worker": ["http://example.com/profile/emily"],
|
9
|
+
"colleague": ["http://example.com/profile/jack"],
|
10
|
+
"neighbor": ["http://example.com/profile/isabella"],
|
11
|
+
"child": ["http://example.com/profile/harry"],
|
12
|
+
"parent": ["http://example.com/profile/sophia"],
|
13
|
+
"sibling": ["http://example.com/profile/charlie"],
|
14
|
+
"spouse": ["http://example.com/profile/olivia"],
|
15
|
+
"kin": ["http://example.com/profile/james"],
|
16
|
+
"muse": ["http://example.com/profile/ava"],
|
17
|
+
"crush": ["http://example.com/profile/joshua"],
|
18
|
+
"date": ["http://example.com/profile/chloe"],
|
19
|
+
"sweetheart": ["http://example.com/profile/alfie"],
|
20
|
+
"me": ["http://example.com/profile/isla"]
|
21
|
+
},
|
22
|
+
"rel-urls": {
|
23
|
+
"http://example.com/profile/jane": {
|
24
|
+
"text": "jane",
|
25
|
+
"rels": ["friend"]
|
26
|
+
},
|
27
|
+
"http://example.com/profile/jeo": {
|
28
|
+
"text": "jeo",
|
29
|
+
"rels": ["acquaintance"]
|
30
|
+
},
|
31
|
+
"http://example.com/profile/lily": {
|
32
|
+
"text": "lily",
|
33
|
+
"rels": ["contact"]
|
34
|
+
},
|
35
|
+
"http://example.com/profile/oliver": {
|
36
|
+
"text": "oliver",
|
37
|
+
"rels": ["met"]
|
38
|
+
},
|
39
|
+
"http://example.com/profile/emily": {
|
40
|
+
"text": "emily",
|
41
|
+
"rels": ["co-worker"]
|
42
|
+
},
|
43
|
+
"http://example.com/profile/jack": {
|
44
|
+
"text": "jack",
|
45
|
+
"rels": ["colleague"]
|
46
|
+
},
|
47
|
+
"http://example.com/profile/isabella": {
|
48
|
+
"text": "isabella",
|
49
|
+
"rels": ["neighbor"]
|
50
|
+
},
|
51
|
+
"http://example.com/profile/harry": {
|
52
|
+
"text": "harry",
|
53
|
+
"rels": ["child"]
|
54
|
+
},
|
55
|
+
"http://example.com/profile/sophia": {
|
56
|
+
"text": "sophia",
|
57
|
+
"rels": ["parent"]
|
58
|
+
},
|
59
|
+
"http://example.com/profile/charlie": {
|
60
|
+
"text": "charlie",
|
61
|
+
"rels": ["sibling"]
|
62
|
+
},
|
63
|
+
"http://example.com/profile/olivia": {
|
64
|
+
"text": "olivia",
|
65
|
+
"rels": ["spouse"]
|
66
|
+
},
|
67
|
+
"http://example.com/profile/james": {
|
68
|
+
"text": "james",
|
69
|
+
"rels": ["kin"]
|
70
|
+
},
|
71
|
+
"http://example.com/profile/ava": {
|
72
|
+
"text": "ava",
|
73
|
+
"rels": ["muse"]
|
74
|
+
},
|
75
|
+
"http://example.com/profile/joshua": {
|
76
|
+
"text": "joshua",
|
77
|
+
"rels": ["crush"]
|
78
|
+
},
|
79
|
+
"http://example.com/profile/chloe": {
|
80
|
+
"text": "chloe",
|
81
|
+
"rels": ["date"]
|
82
|
+
},
|
83
|
+
"http://example.com/profile/alfie": {
|
84
|
+
"text": "alfie",
|
85
|
+
"rels": ["sweetheart"]
|
86
|
+
},
|
87
|
+
"http://example.com/profile/isla": {
|
88
|
+
"text": "isla",
|
89
|
+
"rels": ["me"]
|
90
|
+
}
|
91
|
+
}
|
92
|
+
}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
<ul>
|
2
|
+
<li><a rel="me" href="http://twitter.com/glennjones">twitter</a></li>
|
3
|
+
<li><a rel="me" href="http://delicious.com/glennjonesnet/">delicious</a></li>
|
4
|
+
<li><a rel="me" href="https://plus.google.com/u/0/105161464208920272734/about">google+</a></li>
|
5
|
+
<li><a rel="me" href="http://lanyrd.com/people/glennjones/">lanyrd</a></li>
|
6
|
+
<li><a rel="me" href="http://github.com/glennjones">github</a></li>
|
7
|
+
<li><a rel="me" href="http://www.flickr.com/photos/glennjonesnet/">flickr</a></li>
|
8
|
+
<li><a rel="me" href="http://www.linkedin.com/in/glennjones">linkedin</a></li>
|
9
|
+
<li><a rel="me" href="http://www.slideshare.net/glennjones/presentations">slideshare</a></li>
|
10
|
+
</ul>
|
@@ -0,0 +1,40 @@
|
|
1
|
+
{
|
2
|
+
"items": [],
|
3
|
+
"rels": {
|
4
|
+
"me": ["http://twitter.com/glennjones", "http://delicious.com/glennjonesnet/", "https://plus.google.com/u/0/105161464208920272734/about", "http://lanyrd.com/people/glennjones/", "http://github.com/glennjones", "http://www.flickr.com/photos/glennjonesnet/", "http://www.linkedin.com/in/glennjones", "http://www.slideshare.net/glennjones/presentations"]
|
5
|
+
},
|
6
|
+
"rel-urls": {
|
7
|
+
"http://twitter.com/glennjones": {
|
8
|
+
"text": "twitter",
|
9
|
+
"rels": ["me"]
|
10
|
+
},
|
11
|
+
"http://delicious.com/glennjonesnet/": {
|
12
|
+
"text": "delicious",
|
13
|
+
"rels": ["me"]
|
14
|
+
},
|
15
|
+
"https://plus.google.com/u/0/105161464208920272734/about": {
|
16
|
+
"text": "google+",
|
17
|
+
"rels": ["me"]
|
18
|
+
},
|
19
|
+
"http://lanyrd.com/people/glennjones/": {
|
20
|
+
"text": "lanyrd",
|
21
|
+
"rels": ["me"]
|
22
|
+
},
|
23
|
+
"http://github.com/glennjones": {
|
24
|
+
"text": "github",
|
25
|
+
"rels": ["me"]
|
26
|
+
},
|
27
|
+
"http://www.flickr.com/photos/glennjonesnet/": {
|
28
|
+
"text": "flickr",
|
29
|
+
"rels": ["me"]
|
30
|
+
},
|
31
|
+
"http://www.linkedin.com/in/glennjones": {
|
32
|
+
"text": "linkedin",
|
33
|
+
"rels": ["me"]
|
34
|
+
},
|
35
|
+
"http://www.slideshare.net/glennjones/presentations": {
|
36
|
+
"text": "slideshare",
|
37
|
+
"rels": ["me"]
|
38
|
+
}
|
39
|
+
}
|
40
|
+
}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: microformats2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shane Becker
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2017-05-
|
13
|
+
date: 2017-05-12 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: nokogiri
|
@@ -40,20 +40,6 @@ dependencies:
|
|
40
40
|
- - ">="
|
41
41
|
- !ruby/object:Gem::Version
|
42
42
|
version: '0'
|
43
|
-
- !ruby/object:Gem::Dependency
|
44
|
-
name: activesupport
|
45
|
-
requirement: !ruby/object:Gem::Requirement
|
46
|
-
requirements:
|
47
|
-
- - ">="
|
48
|
-
- !ruby/object:Gem::Version
|
49
|
-
version: '0'
|
50
|
-
type: :runtime
|
51
|
-
prerelease: false
|
52
|
-
version_requirements: !ruby/object:Gem::Requirement
|
53
|
-
requirements:
|
54
|
-
- - ">="
|
55
|
-
- !ruby/object:Gem::Version
|
56
|
-
version: '0'
|
57
43
|
- !ruby/object:Gem::Dependency
|
58
44
|
name: rake
|
59
45
|
requirement: !ruby/object:Gem::Requirement
|
@@ -158,28 +144,17 @@ files:
|
|
158
144
|
- Rakefile
|
159
145
|
- lib/microformats2.rb
|
160
146
|
- lib/microformats2/absolute_uri.rb
|
161
|
-
- lib/microformats2/collection.rb
|
162
|
-
- lib/microformats2/format.rb
|
163
147
|
- lib/microformats2/format_parser.rb
|
164
|
-
- lib/microformats2/implied_property/foundation.rb
|
165
|
-
- lib/microformats2/implied_property/name.rb
|
166
|
-
- lib/microformats2/implied_property/photo.rb
|
167
|
-
- lib/microformats2/implied_property/url.rb
|
168
148
|
- lib/microformats2/parser.rb
|
169
|
-
- lib/microformats2/
|
170
|
-
- lib/microformats2/property/date_time.rb
|
171
|
-
- lib/microformats2/property/embedded.rb
|
172
|
-
- lib/microformats2/property/foundation.rb
|
173
|
-
- lib/microformats2/property/text.rb
|
174
|
-
- lib/microformats2/property/url.rb
|
149
|
+
- lib/microformats2/parser_core.rb
|
175
150
|
- lib/microformats2/property_parser.rb
|
151
|
+
- lib/microformats2/results/collection.rb
|
152
|
+
- lib/microformats2/results/parser_result.rb
|
153
|
+
- lib/microformats2/results/property_set.rb
|
154
|
+
- lib/microformats2/time_property_parser.rb
|
176
155
|
- lib/microformats2/version.rb
|
177
156
|
- microformats2.gemspec
|
178
157
|
- spec/lib/microformats2/absolute_uri_spec.rb
|
179
|
-
- spec/lib/microformats2/collection_spec.rb
|
180
|
-
- spec/lib/microformats2/implied_property/name_spec.rb
|
181
|
-
- spec/lib/microformats2/implied_property/photo_spec.rb
|
182
|
-
- spec/lib/microformats2/implied_property/url_spec.rb
|
183
158
|
- spec/lib/microformats2/parser_spec.rb
|
184
159
|
- spec/lib/microformats2_spec.rb
|
185
160
|
- spec/spec_helper.rb
|
@@ -356,6 +331,283 @@ files:
|
|
356
331
|
- spec/support/lib/microformats2/rels.js
|
357
332
|
- spec/support/lib/microformats2/simple.html
|
358
333
|
- spec/support/lib/microformats2/simple.js
|
334
|
+
- vendor/tests/.gitignore
|
335
|
+
- vendor/tests/LICENSE.md
|
336
|
+
- vendor/tests/README.md
|
337
|
+
- vendor/tests/app.js
|
338
|
+
- vendor/tests/composer.json
|
339
|
+
- vendor/tests/css/testsuite.css
|
340
|
+
- vendor/tests/interface.js
|
341
|
+
- vendor/tests/package.json
|
342
|
+
- vendor/tests/tests/microformats-mixed/h-card/change-log.html
|
343
|
+
- vendor/tests/tests/microformats-mixed/h-card/mixedpropertries.html
|
344
|
+
- vendor/tests/tests/microformats-mixed/h-card/mixedpropertries.json
|
345
|
+
- vendor/tests/tests/microformats-mixed/h-card/tworoots.html
|
346
|
+
- vendor/tests/tests/microformats-mixed/h-card/tworoots.json
|
347
|
+
- vendor/tests/tests/microformats-mixed/h-entry/mixedroots.html
|
348
|
+
- vendor/tests/tests/microformats-mixed/h-entry/mixedroots.json
|
349
|
+
- vendor/tests/tests/microformats-mixed/h-resume/change-log.html
|
350
|
+
- vendor/tests/tests/microformats-mixed/h-resume/mixedroots.html
|
351
|
+
- vendor/tests/tests/microformats-mixed/h-resume/mixedroots.json
|
352
|
+
- vendor/tests/tests/microformats-v1/adr/change-log.html
|
353
|
+
- vendor/tests/tests/microformats-v1/adr/simpleproperties.html
|
354
|
+
- vendor/tests/tests/microformats-v1/adr/simpleproperties.json
|
355
|
+
- vendor/tests/tests/microformats-v1/geo/abbrpattern.html
|
356
|
+
- vendor/tests/tests/microformats-v1/geo/abbrpattern.json
|
357
|
+
- vendor/tests/tests/microformats-v1/geo/change-log.1.html
|
358
|
+
- vendor/tests/tests/microformats-v1/geo/change-log.html
|
359
|
+
- vendor/tests/tests/microformats-v1/geo/hidden.html
|
360
|
+
- vendor/tests/tests/microformats-v1/geo/hidden.json
|
361
|
+
- vendor/tests/tests/microformats-v1/geo/simpleproperties.html
|
362
|
+
- vendor/tests/tests/microformats-v1/geo/simpleproperties.json
|
363
|
+
- vendor/tests/tests/microformats-v1/geo/valuetitleclass.html
|
364
|
+
- vendor/tests/tests/microformats-v1/geo/valuetitleclass.json
|
365
|
+
- vendor/tests/tests/microformats-v1/hcalendar/ampm.html
|
366
|
+
- vendor/tests/tests/microformats-v1/hcalendar/ampm.json
|
367
|
+
- vendor/tests/tests/microformats-v1/hcalendar/attendees.html
|
368
|
+
- vendor/tests/tests/microformats-v1/hcalendar/attendees.json
|
369
|
+
- vendor/tests/tests/microformats-v1/hcalendar/change-log.html
|
370
|
+
- vendor/tests/tests/microformats-v1/hcalendar/combining.html
|
371
|
+
- vendor/tests/tests/microformats-v1/hcalendar/combining.json
|
372
|
+
- vendor/tests/tests/microformats-v1/hcalendar/concatenate.html
|
373
|
+
- vendor/tests/tests/microformats-v1/hcalendar/concatenate.json
|
374
|
+
- vendor/tests/tests/microformats-v1/hcalendar/time.html
|
375
|
+
- vendor/tests/tests/microformats-v1/hcalendar/time.json
|
376
|
+
- vendor/tests/tests/microformats-v1/hcard/change-log.html
|
377
|
+
- vendor/tests/tests/microformats-v1/hcard/email.html
|
378
|
+
- vendor/tests/tests/microformats-v1/hcard/email.json
|
379
|
+
- vendor/tests/tests/microformats-v1/hcard/format.html
|
380
|
+
- vendor/tests/tests/microformats-v1/hcard/format.json
|
381
|
+
- vendor/tests/tests/microformats-v1/hcard/hyperlinkedphoto.html
|
382
|
+
- vendor/tests/tests/microformats-v1/hcard/hyperlinkedphoto.json
|
383
|
+
- vendor/tests/tests/microformats-v1/hcard/justahyperlink.html
|
384
|
+
- vendor/tests/tests/microformats-v1/hcard/justahyperlink.json
|
385
|
+
- vendor/tests/tests/microformats-v1/hcard/justaname.html
|
386
|
+
- vendor/tests/tests/microformats-v1/hcard/justaname.json
|
387
|
+
- vendor/tests/tests/microformats-v1/hcard/multiple.html
|
388
|
+
- vendor/tests/tests/microformats-v1/hcard/multiple.json
|
389
|
+
- vendor/tests/tests/microformats-v1/hcard/name.html
|
390
|
+
- vendor/tests/tests/microformats-v1/hcard/name.json
|
391
|
+
- vendor/tests/tests/microformats-v1/hcard/single.html
|
392
|
+
- vendor/tests/tests/microformats-v1/hcard/single.json
|
393
|
+
- vendor/tests/tests/microformats-v1/hentry/change-log.html
|
394
|
+
- vendor/tests/tests/microformats-v1/hentry/summarycontent.html
|
395
|
+
- vendor/tests/tests/microformats-v1/hentry/summarycontent.json
|
396
|
+
- vendor/tests/tests/microformats-v1/hfeed/simple.html
|
397
|
+
- vendor/tests/tests/microformats-v1/hfeed/simple.json
|
398
|
+
- vendor/tests/tests/microformats-v1/hnews/all.html
|
399
|
+
- vendor/tests/tests/microformats-v1/hnews/all.json
|
400
|
+
- vendor/tests/tests/microformats-v1/hnews/change-log.html
|
401
|
+
- vendor/tests/tests/microformats-v1/hnews/minimum.html
|
402
|
+
- vendor/tests/tests/microformats-v1/hnews/minimum.json
|
403
|
+
- vendor/tests/tests/microformats-v1/hproduct/aggregate.html
|
404
|
+
- vendor/tests/tests/microformats-v1/hproduct/aggregate.json
|
405
|
+
- vendor/tests/tests/microformats-v1/hproduct/change-log.html
|
406
|
+
- vendor/tests/tests/microformats-v1/hproduct/simpleproperties.html
|
407
|
+
- vendor/tests/tests/microformats-v1/hproduct/simpleproperties.json
|
408
|
+
- vendor/tests/tests/microformats-v1/hresume/affiliation.html
|
409
|
+
- vendor/tests/tests/microformats-v1/hresume/affiliation.json
|
410
|
+
- vendor/tests/tests/microformats-v1/hresume/change-log.html
|
411
|
+
- vendor/tests/tests/microformats-v1/hresume/contact.html
|
412
|
+
- vendor/tests/tests/microformats-v1/hresume/contact.json
|
413
|
+
- vendor/tests/tests/microformats-v1/hresume/education.html
|
414
|
+
- vendor/tests/tests/microformats-v1/hresume/education.json
|
415
|
+
- vendor/tests/tests/microformats-v1/hresume/skill.html
|
416
|
+
- vendor/tests/tests/microformats-v1/hresume/skill.json
|
417
|
+
- vendor/tests/tests/microformats-v1/hresume/work.html
|
418
|
+
- vendor/tests/tests/microformats-v1/hresume/work.json
|
419
|
+
- vendor/tests/tests/microformats-v1/hreview-aggregate/change-log.html
|
420
|
+
- vendor/tests/tests/microformats-v1/hreview-aggregate/hcard.html
|
421
|
+
- vendor/tests/tests/microformats-v1/hreview-aggregate/hcard.json
|
422
|
+
- vendor/tests/tests/microformats-v1/hreview-aggregate/justahyperlink.html
|
423
|
+
- vendor/tests/tests/microformats-v1/hreview-aggregate/justahyperlink.json
|
424
|
+
- vendor/tests/tests/microformats-v1/hreview-aggregate/vevent.html
|
425
|
+
- vendor/tests/tests/microformats-v1/hreview-aggregate/vevent.json
|
426
|
+
- vendor/tests/tests/microformats-v1/hreview/change-log.html
|
427
|
+
- vendor/tests/tests/microformats-v1/hreview/item.html
|
428
|
+
- vendor/tests/tests/microformats-v1/hreview/item.json
|
429
|
+
- vendor/tests/tests/microformats-v1/hreview/vcard.html
|
430
|
+
- vendor/tests/tests/microformats-v1/hreview/vcard.json
|
431
|
+
- vendor/tests/tests/microformats-v1/includes/change-log.html
|
432
|
+
- vendor/tests/tests/microformats-v1/includes/hcarditemref.html
|
433
|
+
- vendor/tests/tests/microformats-v1/includes/hcarditemref.json
|
434
|
+
- vendor/tests/tests/microformats-v1/includes/heventitemref.html
|
435
|
+
- vendor/tests/tests/microformats-v1/includes/heventitemref.json
|
436
|
+
- vendor/tests/tests/microformats-v1/includes/hyperlink.html
|
437
|
+
- vendor/tests/tests/microformats-v1/includes/hyperlink.json
|
438
|
+
- vendor/tests/tests/microformats-v1/includes/object.html
|
439
|
+
- vendor/tests/tests/microformats-v1/includes/object.json
|
440
|
+
- vendor/tests/tests/microformats-v1/includes/table.html
|
441
|
+
- vendor/tests/tests/microformats-v1/includes/table.json
|
442
|
+
- vendor/tests/tests/microformats-v2/h-adr/change-log.html
|
443
|
+
- vendor/tests/tests/microformats-v2/h-adr/geo.html
|
444
|
+
- vendor/tests/tests/microformats-v2/h-adr/geo.json
|
445
|
+
- vendor/tests/tests/microformats-v2/h-adr/geourl.html
|
446
|
+
- vendor/tests/tests/microformats-v2/h-adr/geourl.json
|
447
|
+
- vendor/tests/tests/microformats-v2/h-adr/justaname.html
|
448
|
+
- vendor/tests/tests/microformats-v2/h-adr/justaname.json
|
449
|
+
- vendor/tests/tests/microformats-v2/h-adr/lettercase.html
|
450
|
+
- vendor/tests/tests/microformats-v2/h-adr/lettercase.json
|
451
|
+
- vendor/tests/tests/microformats-v2/h-adr/simpleproperties.html
|
452
|
+
- vendor/tests/tests/microformats-v2/h-adr/simpleproperties.json
|
453
|
+
- vendor/tests/tests/microformats-v2/h-as-note/note.html
|
454
|
+
- vendor/tests/tests/microformats-v2/h-as-note/note.json
|
455
|
+
- vendor/tests/tests/microformats-v2/h-card/baseurl.html
|
456
|
+
- vendor/tests/tests/microformats-v2/h-card/baseurl.json
|
457
|
+
- vendor/tests/tests/microformats-v2/h-card/change-log.html
|
458
|
+
- vendor/tests/tests/microformats-v2/h-card/childimplied.html
|
459
|
+
- vendor/tests/tests/microformats-v2/h-card/childimplied.json
|
460
|
+
- vendor/tests/tests/microformats-v2/h-card/extendeddescription.html
|
461
|
+
- vendor/tests/tests/microformats-v2/h-card/extendeddescription.json
|
462
|
+
- vendor/tests/tests/microformats-v2/h-card/hcard.html
|
463
|
+
- vendor/tests/tests/microformats-v2/h-card/hcard.json
|
464
|
+
- vendor/tests/tests/microformats-v2/h-card/horghcard.html
|
465
|
+
- vendor/tests/tests/microformats-v2/h-card/horghcard.json
|
466
|
+
- vendor/tests/tests/microformats-v2/h-card/hyperlinkedphoto.html
|
467
|
+
- vendor/tests/tests/microformats-v2/h-card/hyperlinkedphoto.json
|
468
|
+
- vendor/tests/tests/microformats-v2/h-card/impliedname.html
|
469
|
+
- vendor/tests/tests/microformats-v2/h-card/impliedname.json
|
470
|
+
- vendor/tests/tests/microformats-v2/h-card/impliedphoto.html
|
471
|
+
- vendor/tests/tests/microformats-v2/h-card/impliedphoto.json
|
472
|
+
- vendor/tests/tests/microformats-v2/h-card/impliedurl.html
|
473
|
+
- vendor/tests/tests/microformats-v2/h-card/impliedurl.json
|
474
|
+
- vendor/tests/tests/microformats-v2/h-card/justahyperlink.html
|
475
|
+
- vendor/tests/tests/microformats-v2/h-card/justahyperlink.json
|
476
|
+
- vendor/tests/tests/microformats-v2/h-card/justaname.html
|
477
|
+
- vendor/tests/tests/microformats-v2/h-card/justaname.json
|
478
|
+
- vendor/tests/tests/microformats-v2/h-card/nested.html
|
479
|
+
- vendor/tests/tests/microformats-v2/h-card/nested.json
|
480
|
+
- vendor/tests/tests/microformats-v2/h-card/p-property.html
|
481
|
+
- vendor/tests/tests/microformats-v2/h-card/p-property.json
|
482
|
+
- vendor/tests/tests/microformats-v2/h-card/relativeurls.html
|
483
|
+
- vendor/tests/tests/microformats-v2/h-card/relativeurls.json
|
484
|
+
- vendor/tests/tests/microformats-v2/h-entry/change-log.html
|
485
|
+
- vendor/tests/tests/microformats-v2/h-entry/encoding.html
|
486
|
+
- vendor/tests/tests/microformats-v2/h-entry/encoding.json
|
487
|
+
- vendor/tests/tests/microformats-v2/h-entry/impliedvalue-nested.html
|
488
|
+
- vendor/tests/tests/microformats-v2/h-entry/impliedvalue-nested.json
|
489
|
+
- vendor/tests/tests/microformats-v2/h-entry/justahyperlink.html
|
490
|
+
- vendor/tests/tests/microformats-v2/h-entry/justahyperlink.json
|
491
|
+
- vendor/tests/tests/microformats-v2/h-entry/justaname.html
|
492
|
+
- vendor/tests/tests/microformats-v2/h-entry/justaname.json
|
493
|
+
- vendor/tests/tests/microformats-v2/h-entry/scriptstyletags.html
|
494
|
+
- vendor/tests/tests/microformats-v2/h-entry/scriptstyletags.json
|
495
|
+
- vendor/tests/tests/microformats-v2/h-entry/summarycontent.html
|
496
|
+
- vendor/tests/tests/microformats-v2/h-entry/summarycontent.json
|
497
|
+
- vendor/tests/tests/microformats-v2/h-entry/u-property.html
|
498
|
+
- vendor/tests/tests/microformats-v2/h-entry/u-property.json
|
499
|
+
- vendor/tests/tests/microformats-v2/h-entry/urlincontent.html
|
500
|
+
- vendor/tests/tests/microformats-v2/h-entry/urlincontent.json
|
501
|
+
- vendor/tests/tests/microformats-v2/h-event/ampm.html
|
502
|
+
- vendor/tests/tests/microformats-v2/h-event/ampm.json
|
503
|
+
- vendor/tests/tests/microformats-v2/h-event/attendees.html
|
504
|
+
- vendor/tests/tests/microformats-v2/h-event/attendees.json
|
505
|
+
- vendor/tests/tests/microformats-v2/h-event/change-log.html
|
506
|
+
- vendor/tests/tests/microformats-v2/h-event/combining.html
|
507
|
+
- vendor/tests/tests/microformats-v2/h-event/combining.json
|
508
|
+
- vendor/tests/tests/microformats-v2/h-event/concatenate.html
|
509
|
+
- vendor/tests/tests/microformats-v2/h-event/concatenate.json
|
510
|
+
- vendor/tests/tests/microformats-v2/h-event/dates.html
|
511
|
+
- vendor/tests/tests/microformats-v2/h-event/dates.json
|
512
|
+
- vendor/tests/tests/microformats-v2/h-event/dt-property.html
|
513
|
+
- vendor/tests/tests/microformats-v2/h-event/dt-property.json
|
514
|
+
- vendor/tests/tests/microformats-v2/h-event/justahyperlink.html
|
515
|
+
- vendor/tests/tests/microformats-v2/h-event/justahyperlink.json
|
516
|
+
- vendor/tests/tests/microformats-v2/h-event/justaname.html
|
517
|
+
- vendor/tests/tests/microformats-v2/h-event/justaname.json
|
518
|
+
- vendor/tests/tests/microformats-v2/h-event/time.html
|
519
|
+
- vendor/tests/tests/microformats-v2/h-event/time.json
|
520
|
+
- vendor/tests/tests/microformats-v2/h-feed/implied-title.html
|
521
|
+
- vendor/tests/tests/microformats-v2/h-feed/implied-title.json
|
522
|
+
- vendor/tests/tests/microformats-v2/h-feed/simple.html
|
523
|
+
- vendor/tests/tests/microformats-v2/h-feed/simple.json
|
524
|
+
- vendor/tests/tests/microformats-v2/h-geo/abbrpattern.html
|
525
|
+
- vendor/tests/tests/microformats-v2/h-geo/abbrpattern.json
|
526
|
+
- vendor/tests/tests/microformats-v2/h-geo/altitude.html
|
527
|
+
- vendor/tests/tests/microformats-v2/h-geo/altitude.json
|
528
|
+
- vendor/tests/tests/microformats-v2/h-geo/change-log.html
|
529
|
+
- vendor/tests/tests/microformats-v2/h-geo/hidden.html
|
530
|
+
- vendor/tests/tests/microformats-v2/h-geo/hidden.json
|
531
|
+
- vendor/tests/tests/microformats-v2/h-geo/justaname.html
|
532
|
+
- vendor/tests/tests/microformats-v2/h-geo/justaname.json
|
533
|
+
- vendor/tests/tests/microformats-v2/h-geo/simpleproperties.html
|
534
|
+
- vendor/tests/tests/microformats-v2/h-geo/simpleproperties.json
|
535
|
+
- vendor/tests/tests/microformats-v2/h-geo/valuetitleclass.html
|
536
|
+
- vendor/tests/tests/microformats-v2/h-geo/valuetitleclass.json
|
537
|
+
- vendor/tests/tests/microformats-v2/h-news/all.html
|
538
|
+
- vendor/tests/tests/microformats-v2/h-news/all.json
|
539
|
+
- vendor/tests/tests/microformats-v2/h-news/change-log.html
|
540
|
+
- vendor/tests/tests/microformats-v2/h-news/minimum.html
|
541
|
+
- vendor/tests/tests/microformats-v2/h-news/minimum.json
|
542
|
+
- vendor/tests/tests/microformats-v2/h-org/change-log.html
|
543
|
+
- vendor/tests/tests/microformats-v2/h-org/hyperlink.html
|
544
|
+
- vendor/tests/tests/microformats-v2/h-org/hyperlink.json
|
545
|
+
- vendor/tests/tests/microformats-v2/h-org/simple.html
|
546
|
+
- vendor/tests/tests/microformats-v2/h-org/simple.json
|
547
|
+
- vendor/tests/tests/microformats-v2/h-org/simpleproperties.html
|
548
|
+
- vendor/tests/tests/microformats-v2/h-org/simpleproperties.json
|
549
|
+
- vendor/tests/tests/microformats-v2/h-product/aggregate.html
|
550
|
+
- vendor/tests/tests/microformats-v2/h-product/aggregate.json
|
551
|
+
- vendor/tests/tests/microformats-v2/h-product/change-log.html
|
552
|
+
- vendor/tests/tests/microformats-v2/h-product/justahyperlink.html
|
553
|
+
- vendor/tests/tests/microformats-v2/h-product/justahyperlink.json
|
554
|
+
- vendor/tests/tests/microformats-v2/h-product/justaname.html
|
555
|
+
- vendor/tests/tests/microformats-v2/h-product/justaname.json
|
556
|
+
- vendor/tests/tests/microformats-v2/h-product/simpleproperties.html
|
557
|
+
- vendor/tests/tests/microformats-v2/h-product/simpleproperties.json
|
558
|
+
- vendor/tests/tests/microformats-v2/h-recipe/all.html
|
559
|
+
- vendor/tests/tests/microformats-v2/h-recipe/all.json
|
560
|
+
- vendor/tests/tests/microformats-v2/h-recipe/change-log.html
|
561
|
+
- vendor/tests/tests/microformats-v2/h-recipe/minimum.html
|
562
|
+
- vendor/tests/tests/microformats-v2/h-recipe/minimum.json
|
563
|
+
- vendor/tests/tests/microformats-v2/h-resume/affiliation.html
|
564
|
+
- vendor/tests/tests/microformats-v2/h-resume/affiliation.json
|
565
|
+
- vendor/tests/tests/microformats-v2/h-resume/change-log.html
|
566
|
+
- vendor/tests/tests/microformats-v2/h-resume/contact.html
|
567
|
+
- vendor/tests/tests/microformats-v2/h-resume/contact.json
|
568
|
+
- vendor/tests/tests/microformats-v2/h-resume/education.html
|
569
|
+
- vendor/tests/tests/microformats-v2/h-resume/education.json
|
570
|
+
- vendor/tests/tests/microformats-v2/h-resume/justaname.html
|
571
|
+
- vendor/tests/tests/microformats-v2/h-resume/justaname.json
|
572
|
+
- vendor/tests/tests/microformats-v2/h-resume/skill.html
|
573
|
+
- vendor/tests/tests/microformats-v2/h-resume/skill.json
|
574
|
+
- vendor/tests/tests/microformats-v2/h-resume/work.html
|
575
|
+
- vendor/tests/tests/microformats-v2/h-resume/work.json
|
576
|
+
- vendor/tests/tests/microformats-v2/h-review-aggregate/change-log.html
|
577
|
+
- vendor/tests/tests/microformats-v2/h-review-aggregate/hevent.html
|
578
|
+
- vendor/tests/tests/microformats-v2/h-review-aggregate/hevent.json
|
579
|
+
- vendor/tests/tests/microformats-v2/h-review-aggregate/justahyperlink.html
|
580
|
+
- vendor/tests/tests/microformats-v2/h-review-aggregate/justahyperlink.json
|
581
|
+
- vendor/tests/tests/microformats-v2/h-review-aggregate/simpleproperties.html
|
582
|
+
- vendor/tests/tests/microformats-v2/h-review-aggregate/simpleproperties.json
|
583
|
+
- vendor/tests/tests/microformats-v2/h-review/change-log.html
|
584
|
+
- vendor/tests/tests/microformats-v2/h-review/hyperlink.html
|
585
|
+
- vendor/tests/tests/microformats-v2/h-review/hyperlink.json
|
586
|
+
- vendor/tests/tests/microformats-v2/h-review/implieditem.html
|
587
|
+
- vendor/tests/tests/microformats-v2/h-review/implieditem.json
|
588
|
+
- vendor/tests/tests/microformats-v2/h-review/item.html
|
589
|
+
- vendor/tests/tests/microformats-v2/h-review/item.json
|
590
|
+
- vendor/tests/tests/microformats-v2/h-review/justaname.html
|
591
|
+
- vendor/tests/tests/microformats-v2/h-review/justaname.json
|
592
|
+
- vendor/tests/tests/microformats-v2/h-review/photo.html
|
593
|
+
- vendor/tests/tests/microformats-v2/h-review/photo.json
|
594
|
+
- vendor/tests/tests/microformats-v2/h-review/vcard.html
|
595
|
+
- vendor/tests/tests/microformats-v2/h-review/vcard.json
|
596
|
+
- vendor/tests/tests/microformats-v2/rel/change-log.html
|
597
|
+
- vendor/tests/tests/microformats-v2/rel/duplicate-rels.html
|
598
|
+
- vendor/tests/tests/microformats-v2/rel/duplicate-rels.json
|
599
|
+
- vendor/tests/tests/microformats-v2/rel/license.html
|
600
|
+
- vendor/tests/tests/microformats-v2/rel/license.json
|
601
|
+
- vendor/tests/tests/microformats-v2/rel/nofollow.html
|
602
|
+
- vendor/tests/tests/microformats-v2/rel/nofollow.json
|
603
|
+
- vendor/tests/tests/microformats-v2/rel/rel-urls.html
|
604
|
+
- vendor/tests/tests/microformats-v2/rel/rel-urls.json
|
605
|
+
- vendor/tests/tests/microformats-v2/rel/varying-text-duplicate-rels.html
|
606
|
+
- vendor/tests/tests/microformats-v2/rel/varying-text-duplicate-rels.json
|
607
|
+
- vendor/tests/tests/microformats-v2/rel/xfn-all.html
|
608
|
+
- vendor/tests/tests/microformats-v2/rel/xfn-all.json
|
609
|
+
- vendor/tests/tests/microformats-v2/rel/xfn-elsewhere.html
|
610
|
+
- vendor/tests/tests/microformats-v2/rel/xfn-elsewhere.json
|
359
611
|
homepage: https://github.com/indieweb/microformats2-ruby
|
360
612
|
licenses: []
|
361
613
|
metadata: {}
|
@@ -379,7 +631,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
379
631
|
requirements:
|
380
632
|
- - ">="
|
381
633
|
- !ruby/object:Gem::Version
|
382
|
-
version: '0'
|
634
|
+
version: '2.0'
|
383
635
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
384
636
|
requirements:
|
385
637
|
- - ">="
|
@@ -393,10 +645,6 @@ specification_version: 4
|
|
393
645
|
summary: microformats2 parser
|
394
646
|
test_files:
|
395
647
|
- spec/lib/microformats2/absolute_uri_spec.rb
|
396
|
-
- spec/lib/microformats2/collection_spec.rb
|
397
|
-
- spec/lib/microformats2/implied_property/name_spec.rb
|
398
|
-
- spec/lib/microformats2/implied_property/photo_spec.rb
|
399
|
-
- spec/lib/microformats2/implied_property/url_spec.rb
|
400
648
|
- spec/lib/microformats2/parser_spec.rb
|
401
649
|
- spec/lib/microformats2_spec.rb
|
402
650
|
- spec/spec_helper.rb
|