Commit graph

153 commits

Author SHA1 Message Date
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
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
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
jessicard
fcfebdc019 add comment for clarity for issue https://github.com/G5/microformats2/issues/17 2013-11-03 17:03:20 -08:00
jessicard
e630923e1d normalizes rels urls in issue https://github.com/G5/microformats2/issues/16 2013-11-03 16:55:37 -08:00
Don Petersen
56383a0a91 Merge pull request #15 from G5/drop-the-base
Don't explode when a rel attribute exists without a base tag.
2013-10-09 10:20:36 -07:00
Don Petersen
07ab221d3e Don't explode when a rel attribute exists without a base tag.
It tries to build an absolute URL for link tags that contain a rel
attribute and a relative URL, using the <base> tag to decide what to
prefix the relative URLs with.  It's very common for people to omit the
base tag and to use rel attributes in stylesheets, and that blows up the
parser.

Now we don't attempt to build absolute URLs when the base URL can't be
determined.
2013-10-08 22:06:59 +00:00
Jessica Lynn Suttles
71ec812511 Merge pull request #12 from tommorris/rels-alternates
Added support for rel and alternates
2013-10-03 20:38:57 -07:00
Jessica Lynn Suttles
1014214a37 Merge pull request #14 from G5/dependency_updates
Update some dependencies.
2013-10-03 20:35:20 -07:00
Jessica Lynn Suttles
14b0f9f455 Merge pull request #13 from G5/readme_fixes
Fix a couple of minor issues in the README.
2013-10-03 20:34:08 -07:00
Matt Bohme
742e4076c8 Update some dependencies.
Tests still pass, I'm going to call it good.  If you build a new app
today, you'll have a hard time with that version of activesupport and
nokogiri.
2013-10-03 17:06:24 -07:00
Matt Bohme
805765bf0a Fix a couple of minor issues in the README. 2013-10-03 10:29:54 -07:00
Tom Morris
bf3bd6dee3 omitting the nil - breaking the Travis build 2013-09-15 18:20:04 +01:00
Tom Morris
2364ed13de updated README to move rels into supported section 2013-09-15 11:56:04 +01:00
Tom Morris
7daf6c5e11 modified collection.rb to parse rels and alternates
in order to parse relative URLs in rels, we need to parse the base/@href of
the page if there, or to pass the URL in, so added the relevant stuff to support
that.
2013-09-15 11:52:53 +01:00
Tom Morris
38e0ae313f modifying existing test JSON output to add blank rel hashes
rel: {} is required by the spec even if it is empty
2013-09-15 11:51:49 +01:00
Tom Morris
6b6524e4af adding specs for rels/alternates 2013-09-15 11:51:24 +01:00
Jessica Lynn Suttles
f2cc8b037a Merge pull request #10 from G5/conditional-get-52510097
Conditional get 52510097
2013-07-01 18:35:55 -07:00
Jessica Dillon & Jessica Lynn Suttles
c0a86fa6b0 updates version 2013-07-01 18:32:38 -07:00
Jessica Dillon & Jessica Lynn Suttles
1311dec8a3 removes saved headers from param defaults 2013-07-01 18:31:25 -07:00
Jessica Dillon & Jessica Lynn Suttles
73d25abefe adds stub_request for outside http call 2013-07-01 17:43:31 -07:00
Jessica Dillon & Jessica Lynn Suttles
27822a835f removes debugger gem from development dependencies. sorry travis! 2013-07-01 17:38:18 -07:00
Jessica Dillon & Jessica Lynn Suttles
3f61f48025 adds parser specs 2013-07-01 17:34:15 -07:00