Commit graph

63 commits

Author SHA1 Message Date
Michael Mitchell + Chris Stringer
e6357023be Bump version 2013-03-22 16:34:44 -07:00
Michael Mitchell + Chris Stringer
0ada4effba Bump rails 2013-03-22 16:30:42 -07:00
Chris Stringer
28bace57f7 Merge pull request #1 from G5/add_property
Add the add_property method
2013-03-22 16:28:50 -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
9fbebdb21d updates usage in readme 2013-03-03 21:48:42 -08:00
Michael Mitchell
e15b4b8d70 updates travis config 2013-02-26 09:37:16 -08:00
Jessica Lynn Suttles
9d12b6e4f7 adds gem description, summary, and homepage 2013-02-18 14:25:44 -08:00
Jessica Lynn Suttles
ec85650496 bumps version 2013-02-18 14:18:22 -08:00
Jessica Lynn Suttles
bb368784ae updates readme 2013-02-18 13:46:21 -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
b26f16ae5c updates specs to use #to_s instead of #value 2013-02-18 11:27:14 -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
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
f05fd1af44 Update README.md 2013-02-15 12:26:11 -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
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
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
67465879fa Update README.md 2013-02-07 20:17:58 -08:00
Jessica Lynn Suttles
ba0246e61d sets default rake task to run specs 2013-02-07 17:42:52 -08:00
Jessica Lynn Suttles
fc6f9f544d renames rake task update_spec_cases to specs:update 2013-02-07 17:31:39 -08:00
Jessica Lynn Suttles
b252d6f188 adds rake to development dependecies to satisfy travis 2013-02-07 17:31:30 -08:00
Jessica Lynn Suttles
c399d3c70f Update README.md 2013-02-07 17:15:42 -08:00
Jessica Lynn Suttles
6fdf517e93 adds .travis.yml 2013-02-07 17:10:29 -08:00
Jessica Lynn Suttles
f3b9ac224f seeing if travis is working 2013-02-07 17:08:09 -08:00
Jessica Lynn Suttles
3221b424de Update README.md 2013-02-07 16:28:22 -08:00
Jessica Lynn Suttles
c9f591af66 updates README 2013-02-07 14:32:20 -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
cc78be542f updates README 2013-02-06 22:42:38 -08:00