Michael Mitchell + Chris Stringer
f7fd944446
Support for string arg on Embedded
2013-03-29 14:55:47 -07:00
Michael Mitchell
87839c23ce
fixes specs calling now undefined methods
2013-03-25 16:17:16 -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
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
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
b26f16ae5c
updates specs to use #to_s instead of #value
2013-02-18 11:27:14 -08:00
Jessica Lynn Suttles
56b0897f34
defines pluralized property methods on Format objects
2013-02-18 10:10:31 -08:00
Jessica Lynn Suttles
c7a37e5495
adds activesupport gem dependency
2013-02-18 09:35:58 -08:00
Jessica Lynn Suttles
4d444ec2a6
renames Property::Foundation#value to #to_s
2013-02-18 09:30:12 -08:00
Jessica Lynn Suttles
923755e3a3
makes simple case slightly more complex
2013-02-15 10:59:36 -08:00
Jessica Lynn Suttles
0833989b76
makes specs way more readable
2013-02-15 10:53:40 -08:00
Jessica Lynn Suttles
15adede410
runs all specs from microformats node
2013-02-14 14:44:53 -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
84e53c3360
organizes specs
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
cea7a78f33
adds more spec cases
2013-02-07 14:29:31 -08:00
Jessica Lynn Suttles
3caef41082
adds programatically generated spec cases
2013-02-07 14:25:39 -08:00
Jessica Lynn Suttles
d76595f044
adds rake task to scrape sites for spec examples
2013-02-07 14:09:25 -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
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
d49b95e2a3
alway show spec color
2013-02-04 13:40:04 -08:00
Jessica Lynn Suttles
ac771520ae
adds dependencies
2013-02-04 12:53:25 -08:00