Commit graph

173 commits

Author SHA1 Message Date
f78162fd41 While parsing check for existance of attribute
When parsing rel attributes, check for existance of the href attribute
before extracting the text, sometimes like in this post somewhere
https://www.patreon.com/posts/jeenas-excellent-6467133 it might be empty
and causes an exception. All the other uses above this one check that too.
2016-08-03 21:40:11 +02:00
Shane Becker
945ffe6c6e Version bump to 2.0.2 2016-05-04 14:07:03 -07:00
Shane Becker
12417d5096 Merge pull request #37 from jeena/master
Don't crash if it's not possible to attach to property
2016-05-04 14:01:11 -07:00
Jeena
a54c64034d Don't crash if it's not possible to attach to property
Normally one can attach to properties, but if it is of a type URL then
it crashes hard. This check just drops everything which can't be
attached by `<<`.
2016-04-24 02:11:56 +02:00
Shane Becker
a00edda73d Merge pull request #36 from ckruse/master
fix: typo compatable -> compatible
2016-02-24 15:08:58 -08:00
Christian Kruse
086bed9d54 fix: typo compatable -> compatible 2016-02-19 21:40:17 +01:00
Shane Becker
6edf5721d1 Update name 2015-12-23 12:37:54 -08:00
Shane Becker
7b62671ad2 Bold is **, not * 2015-12-23 12:35:04 -08:00
Shane Becker
b6b37b0700 Add TODO for using the mf2 test suite 2015-12-23 12:34:07 -08:00
Shane Becker
7647446ea8 Clean up README
And remove Guard command
2015-12-23 12:28:22 -08:00
Shane Becker
dc884bdc2b Status update 2015-12-23 11:56:37 -08:00
Shane Becker
408145f52a Merge pull request #33 from jeena/master
Resolve relative URLs (bugfix)
2015-12-22 17:19:41 -08:00
Shane Becker
1a3f86f797 Merge pull request #23 from indieweb/add-spec-for-p-h-foo
Add spec for nested format with property of same name
2015-12-22 17:11:54 -08:00
Shane Becker
bba83be9b4 Remove reference to G5 2015-12-22 16:55:41 -08:00
Shane Becker
412a94e576 Remove reference to G5 2015-12-22 16:52:52 -08:00
Shane Becker
5dcc2df60d Remove campfire notifications 2015-12-22 16:12:42 -08:00
Shane Becker
22f5de54dd Capitalize gem description 2015-12-22 15:37:49 -08:00
Shane Becker
59a316712a Add me to authors list in gemspec 2015-12-22 15:37:21 -08:00
Shane Becker
aff63658ce Change license file to CC0. 2015-12-22 15:33:22 -08:00
Shane Becker
82f2b13dc2 Change license to CC0. 2015-12-22 15:14:18 -08:00
Shane Becker
a7dcd994b8 Update Code Climate badge 2015-12-22 14:49:35 -08:00
Shane Becker
baf6060dfb Change /g5 links to /indieweb in README 2015-12-22 14:46:14 -08:00
Jeena
6c90f01ae7 Resolve relative URLs (bugfix)
When the <base> tag is used, the @base wasn't handed down all the way to URLs
and photos, this patch fixes this problem.

In addition to that it also makes it possible to handle u-url on <input> tags.
2015-08-21 21:17:54 +02:00
Michael Mitchell
1e9e65cf9e Update README.md 2015-08-10 10:56:06 -07:00
Jessica Suttles
5aeb8cef40 Merge pull request #30 from barnabywalters/patch-1
Added usage examples of collection.to_hash and .to_json
2014-06-11 09:49:17 -07:00
Barnaby Walters
96ed937040 Added usage examples of collection.to_hash and .to_json
As per @aaronpk wanting this feature to the point of considering creating a separate parser — turns out it is possible, just a little buried!
2014-06-11 16:45:17 +00:00
Jessica Lynn Suttles
0734bc5c44 Add .travis.yml campfire template 2014-03-10 16:12:55 -07:00
Jessica Lynn Suttles
840fdff624 Bump version to 2.0.1 2014-03-10 15:56:27 -07:00
Jessica Lynn Suttles
afe70d6b6d Merge pull request #27 from G5/allow-invalid-uri-as-u-properties
Allow u-* properties to be invalid URIs
2014-03-10 15:48:03 -07:00
Jessica Lynn Suttles
86d89eecf4 Merge pull request #28 from G5/let-it-be
Convert a spec to an explicit subject and lets.
2014-03-10 14:04:12 -07:00
Don Petersen
fd6ea19652 Convert a spec to an explicit subject and lets. 2014-03-10 20:54:22 +00:00
Jessica Lynn Suttles
cb918e2dd1 Add specs for Microformats2::AbsoluteUri 2014-03-10 12:26:24 -07:00
Jessica Lynn Suttles
d8545d9930 Do not log URI::InvalidURIError error message 2014-03-07 16:41:34 -08:00
Jessica Lynn Suttles
25f5fda178 Allow u-* properties to be invalid URIs 2014-03-07 14:19:51 -08:00
jessicard
d85c12c606 adds jessicard to authors in gemspec 2014-02-25 15:58:34 -08:00
jessicard
bbff5ac389 adds jessicard to list of contributors 2014-02-25 15:56:14 -08:00
Jessica Lynn Suttles
78927d36b8 Bump version to 2.0.0
Fixes #24
2014-02-25 15:23:57 -08:00
Jessica Lynn Suttles
ed10fa8823 Remove version constraints from dependencies 2014-02-25 15:19:27 -08:00
Jessica Dillon & Jessica Lynn Suttles
b972df4334 Add a usage example for nested microformats to README
Fixes #25
2014-02-25 15:11:45 -08:00
Jessica Dillon & Jessica Lynn Suttles
2ac4cff54b Add spec for nested format with property of same name 2013-12-12 15:11:51 -08:00
Jessica Dillon & Jessica Lynn Suttles
68bfe0fb2e Update Campfire config for Travis CI 2013-11-17 16:16:52 -08:00
Jessica Dillon & Jessica Lynn Suttles
b83c2118f6 Fix .travis.yml file 2013-11-17 16:09:45 -08:00
Jessica Dillon & Jessica Lynn Suttles
1869adb60e Add Campfire notifications for Travis CI 2013-11-17 16:00:25 -08:00
Jessica Lynn Suttles
210e8cf96c Merge pull request #20 from G5/normalize-u-property-values
Normalize u-* property values
2013-11-06 10:43:53 -08:00
jessicard
0eb04480f5 Normalize u-* property values for implied properties 2013-11-04 16:03:41 -08:00
Jessica Lynn Suttles
249fc1ef74 Update README 2013-11-04 15:14:54 -08:00
Jessica Lynn Suttles
e65c1a2407 Normalize u-* property values 2013-11-04 15:13:34 -08:00
jessicard
c7a9820168 Merge pull request #18 from G5/normalize-rel-urls
Normalizes rels urls
2013-11-04 14:28:23 -08:00
Jessica Lynn Suttles
e8ef4e9c62 Merge pull request #19 from G5/rel-alternates-tests
Adds rel="alternates" clarity comment
2013-11-04 14:03:55 -08:00
Jessica Lynn Suttles
cdce96db13 Simplify Microformats::Collection#absolutize 2013-11-04 13:58:02 -08:00