Commit graph

38 commits

Author SHA1 Message Date
Michael Mitchell + Chris Stringer
2b6efac25f Bump version 2013-04-01 11:55:30 -07:00
Michael Mitchell + Chris Stringer
c8039c1036 Remove un-needed to_s method on DateTime 2013-03-29 14:58:15 -07:00
Michael Mitchell + Chris Stringer
f7fd944446 Support for string arg on Embedded 2013-03-29 14:55:47 -07:00
Michael Mitchell
e924f0d5d3 bumps version number to pre3 2013-03-26 12:08:35 -07:00
Michael Mitchell
1180a94cf4 defines the accesors on the singelton class only 2013-03-25 15:52:51 -07:00
Michael Mitchell + Chris Stringer
e6357023be Bump version 2013-03-22 16:34:44 -07:00
Michael Mitchell + Chris Stringer
a34816f072 Jessica has strong feelings on whitespace 2013-03-22 16:27:35 -07:00
Michael Mitchell + Chris Stringer
66f7123d55 DRY up the logic to create new property classes.
Take some code that was duplicated in both the PropertyParser and
Format classes and move into a method in the Property module.
2013-03-22 16:20:18 -07:00
Michael Mitchell + Chris Stringer
3f56c99f9b InvalidPropertyPrefix error class
Raise a InvalidPropertyPrefix error if the prefix is invalid.
2013-03-22 16:03:51 -07:00
Michael Mitchell + Chris Stringer
395cae7bb2 Refactor add_property
Change implementation of the add_property method which allows for
dynamically adding attributes from outside the gem. We made it
simpler to construct the args needed for this method and refactored
the logic and tests.
2013-03-22 15:43:28 -07:00
Michael Mitchell + Chris Stringer
b38ac70b38 Add the add_property method
Adds support for a public add_property method which exposes adding
a property to a Format object dynamically while still doing the
right thing with to_hash and to_json.
2013-03-19 17:21:20 -07:00
Jessica Lynn Suttles
ec85650496 bumps version 2013-02-18 14:18:22 -08:00
Jessica Lynn Suttles
9549741596 adds Property::Foundation#format 2013-02-18 12:07:16 -08:00
Jessica Lynn Suttles
c27451cb26 defines pluralized format methods on Collection objects 2013-02-18 11:57:59 -08:00
Jessica Lynn Suttles
87dba34aca renames ImpliedProperty::Foundation#value to #to_s 2013-02-18 11:26:33 -08:00
Jessica Lynn Suttles
56b0897f34 defines pluralized property methods on Format objects 2013-02-18 10:10:31 -08:00
Jessica Lynn Suttles
bb6fe195af adds activesupport gem dependency 2013-02-18 09:59:13 -08:00
Jessica Lynn Suttles
4d444ec2a6 renames Property::Foundation#value to #to_s 2013-02-18 09:30:12 -08:00
Jessica Lynn Suttles
0833989b76 makes specs way more readable 2013-02-15 10:53:40 -08:00
Jessica Lynn Suttles
ead57dea46 adds more tests from microformats wiki 2013-02-14 14:44:53 -08:00
Jessica Lynn Suttles
014f885a61 cleans up implied properties and fixes spec 2013-02-14 14:44:53 -08:00
Jessica Lynn Suttles
5a3a33e9df cleans up implied property and adds lots of specs for them 2013-02-14 14:44:53 -08:00
Jessica Lynn Suttles
107e536e76 crudley implements implied properties. needs more specs 2013-02-14 14:44:52 -08:00
Jessica Lynn Suttles
eaded423d1 fixes whitespace issue. uses two spaces instead of tabs 2013-02-14 14:44:52 -08:00
Jessica Lynn Suttles
8cba3209b9 yay the world is fixed 2013-02-14 14:44:52 -08:00
Jessica Lynn Suttles
077cf429f1 fixes the world minus nested formats 2013-02-14 14:44:52 -08:00
Jessica Lynn Suttles
6f6a6418f1 organizing broke the world 2013-02-14 14:44:52 -08:00
Jessica Lynn Suttles
5ebeed6c90 simplifies properties 2013-02-14 14:44:52 -08:00
Jessica Lynn Suttles
fa34795a28 implements property parsers as defined in wiki 2013-02-14 14:44:52 -08:00
Jessica Lynn Suttles
72ce8e3cd6 reorganizes spec cases and fixes a couple few 2013-02-14 14:44:52 -08:00
Jessica Lynn Suttles
85071b8e60 adds support for nested formats 2013-02-06 12:15:07 -08:00
Jessica Lynn Suttles
d3018451c8 adds specs for all property types 2013-02-04 21:05:55 -08:00
Jessica Lynn Suttles
e02e1b3689 moves common parser methods to Parser class 2013-02-04 19:00:37 -08:00
Jessica Lynn Suttles
7937403982 adds to_hash and to_json for collection 2013-02-04 18:24:21 -08:00
Jessica Lynn Suttles
8eb8064fca assings properties to root microformat classes 2013-02-04 17:08:53 -08:00
Jessica Lynn Suttles
1b4b55aa23 walks dom tree looking for root microformat classes 2013-02-04 14:55:06 -08:00
Jessica Lynn Suttles
ab93986857 allows for parsing of html string, file path, or url 2013-02-04 13:40:33 -08:00
Jessica Lynn Suttles
cde204d12f initial commit 2013-02-04 12:45:41 -08:00