Commit graph

34 commits

Author SHA1 Message Date
Jessica Lynn Suttles
25f5fda178 Allow u-* properties to be invalid URIs 2014-03-07 14:19:51 -08:00
Jessica Dillon & Jessica Lynn Suttles
22d84e0845 adds Microformats::Parser to move module methods into class instance 2013-07-01 16:31:39 -07:00
Michael Mitchell + Chris Stringer
4b052695cc Jessica has strong feelings on whitespace 2013-04-18 22:13:38 -07:00
Michael Mitchell + Chris Stringer
e8d9e77e41 InvalidPropertyPrefix error class
Raise a InvalidPropertyPrefix error if the prefix is invalid.
2013-04-18 22:13:38 -07:00
Jessica Lynn Suttles
56a8239482 adds activesupport gem dependency 2013-04-18 22:13:37 -07:00
Jessica Lynn Suttles
3f2a627816 crudley implements implied properties. needs more specs 2013-04-18 22:13:36 -07:00
Jessica Lynn Suttles
b4084d5325 yay the world is fixed 2013-04-18 22:13:36 -07:00
Jessica Lynn Suttles
081d0e5000 organizing broke the world 2013-04-18 22:13:36 -07:00
Jessica Lynn Suttles
915250f5b0 implements property parsers as defined in wiki 2013-04-18 22:13:36 -07:00
Jessica Lynn Suttles
c74ecef194 reorganizes spec cases and fixes a couple few 2013-04-18 22:13:36 -07:00
Jessica Lynn Suttles
a02055fd93 moves common parser methods to Parser class 2013-04-18 22:13:35 -07:00
Jessica Lynn Suttles
d54e2015a3 adds to_hash and to_json for collection 2013-04-18 22:13:34 -07:00
Jessica Lynn Suttles
0826659f1e assings properties to root microformat classes 2013-04-18 22:13:34 -07:00
Jessica Lynn Suttles
e9ce55afea walks dom tree looking for root microformat classes 2013-04-18 22:13:34 -07:00
Jessica Lynn Suttles
07d510ab7d allows for parsing of html string, file path, or url 2013-04-18 22:13:34 -07:00
Jessica Lynn Suttles
05ec5276fd initial commit 2013-04-18 22:13:34 -07:00
Shane Becker
19e8c25f6c final commit 2013-04-18 21:34:08 -07:00
Shane Becker
fb51042e58 version bump 2011-06-28 22:19:47 -07:00
Shane Becker
cbc353e785 parse durations as strings. rename class as klass 2011-06-28 22:09:51 -07:00
Shane Becker
89b88c2c41 pull url from tag content if there is no href 2011-06-28 21:28:47 -07:00
Shane Becker
c8123de14b readme and version bump 2011-06-28 21:16:21 -07:00
Shane Becker
06d175b525 removed borrowed rails methods so that this can be public domain 2011-06-28 20:36:24 -07:00
Shane Becker
ebe55fd418 refactored four nearly identical methods into just one. thanks @evanphx 2011-06-28 20:27:27 -07:00
Shane Becker
333e90c175 refactored codez into populate_method method method 2011-06-28 20:09:23 -07:00
Shane Becker
601a65d1db Added ability to accept microformats that are not at the beginning of a class string for attributes 2011-06-28 20:04:15 -07:00
Brian Miller
ea8a526da3 Merge branch 'master' of github.com:veganstraightedge/microformats2
Conflicts:
	lib/microformats2.rb
	test/test_microformats2.rb
2011-06-28 19:49:23 -07:00
Brian Miller
9777b76b46 Fixed issue with h- class elements being evaluated multiple times 2011-06-28 19:47:14 -07:00
Shane Becker
0903ac0fab fixed duplicate elements bug 2011-06-28 19:00:56 -07:00
Shane Becker
fcf1d25716 extracted method_adding to its own method 2011-06-15 12:01:33 -07:00
Shane Becker
f108aac104 removed redundant tests, added test for parsing from a file 2011-06-15 11:54:15 -07:00
Shane Becker
f6fc30c489 removed String monkey patch 2011-06-15 11:49:09 -07:00
Brian Miller
f2921e82bb Fixed tests to work with new hash return type from parse
Added ability to pass files to parse method
2011-06-15 11:40:17 -07:00
Shane Becker
ce2ea993a8 shit works 2011-06-15 00:35:24 -07:00
Shane Becker
9260774403 first commit 2011-06-14 20:02:00 -07:00