Michael Mitchell
13a8521c21
fixes specs calling now undefined methods
2013-04-18 22:13:38 -07:00
Michael Mitchell
309c0dfcd0
defines the accesors on the singelton class only
2013-04-18 22:13:38 -07:00
Michael Mitchell + Chris Stringer
f4d5f31243
Bump version
2013-04-18 22:13:38 -07:00
Michael Mitchell + Chris Stringer
a074044f57
Bump rails
2013-04-18 22:13:38 -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
65fb44239c
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-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
Michael Mitchell + Chris Stringer
e8be12b66e
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-04-18 22:13:38 -07:00
Michael Mitchell + Chris Stringer
5deb796829
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-04-18 22:13:38 -07:00
Jessica Lynn Suttles
b81aee29f2
updates usage in readme
2013-04-18 22:13:38 -07:00
Michael Mitchell
238903cc1f
updates travis config
2013-04-18 22:13:38 -07:00
Jessica Lynn Suttles
52c5e686f8
adds gem description, summary, and homepage
2013-04-18 22:13:38 -07:00
Jessica Lynn Suttles
f968a7ba0c
bumps version
2013-04-18 22:13:37 -07:00
Jessica Lynn Suttles
61c01b1f6d
updates readme
2013-04-18 22:13:37 -07:00
Jessica Lynn Suttles
bffa750923
adds Property::Foundation#format
2013-04-18 22:13:37 -07:00
Jessica Lynn Suttles
b3ed1207c6
defines pluralized format methods on Collection objects
2013-04-18 22:13:37 -07:00
Jessica Lynn Suttles
3ddb91d492
updates specs to use #to_s instead of #value
2013-04-18 22:13:37 -07:00
Jessica Lynn Suttles
04206e40a6
renames ImpliedProperty::Foundation#value to #to_s
2013-04-18 22:13:37 -07:00
Jessica Lynn Suttles
16dd0cebee
defines pluralized property methods on Format objects
2013-04-18 22:13:37 -07:00
Jessica Lynn Suttles
56a8239482
adds activesupport gem dependency
2013-04-18 22:13:37 -07:00
Jessica Lynn Suttles
8e82752c91
adds activesupport gem dependency
2013-04-18 22:13:37 -07:00
Jessica Lynn Suttles
a33ce3f699
renames Property::Foundation#value to #to_s
2013-04-18 22:13:37 -07:00
Jessica Lynn Suttles
f78e158b7c
Update README.md
2013-04-18 22:13:37 -07:00
Jessica Lynn Suttles
7bda1aaae6
makes simple case slightly more complex
2013-04-18 22:13:37 -07:00
Jessica Lynn Suttles
8344b85938
makes specs way more readable
2013-04-18 22:13:37 -07:00
Jessica Lynn Suttles
ff556ab648
runs all specs from microformats node
2013-04-18 22:13:37 -07:00
Jessica Lynn Suttles
fb7cc7f2eb
adds more tests from microformats wiki
2013-04-18 22:13:37 -07:00
Jessica Lynn Suttles
7385f09eaf
cleans up implied properties and fixes spec
2013-04-18 22:13:36 -07:00
Jessica Lynn Suttles
10ea0256fc
cleans up implied property and adds lots of specs for them
2013-04-18 22:13:36 -07:00
Jessica Lynn Suttles
3f2a627816
crudley implements implied properties. needs more specs
2013-04-18 22:13:36 -07:00
Jessica Lynn Suttles
1d8e46ce95
fixes whitespace issue. uses two spaces instead of tabs
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
40fcdf22d9
fixes the world minus nested formats
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
113d95af17
simplifies properties
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
83b469597f
organizes specs
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
ed58788884
Update README.md
2013-04-18 22:13:36 -07:00
Jessica Lynn Suttles
5b66e6852f
sets default rake task to run specs
2013-04-18 22:13:36 -07:00
Jessica Lynn Suttles
711adc6e5e
renames rake task update_spec_cases to specs:update
2013-04-18 22:13:36 -07:00
Jessica Lynn Suttles
92048366d1
adds rake to development dependecies to satisfy travis
2013-04-18 22:13:35 -07:00
Jessica Lynn Suttles
a285c1350d
Update README.md
2013-04-18 22:13:35 -07:00
Jessica Lynn Suttles
dc5d9020da
adds .travis.yml
2013-04-18 22:13:35 -07:00
Jessica Lynn Suttles
d3b54be695
seeing if travis is working
2013-04-18 22:13:35 -07:00
Jessica Lynn Suttles
807d1b500b
Update README.md
2013-04-18 22:13:35 -07:00
Jessica Lynn Suttles
7962f43323
updates README
2013-04-18 22:13:35 -07:00
Jessica Lynn Suttles
d946c7262c
adds more spec cases
2013-04-18 22:13:35 -07:00
Jessica Lynn Suttles
241b9ffbd3
adds programatically generated spec cases
2013-04-18 22:13:35 -07:00
Jessica Lynn Suttles
506ae94adb
adds rake task to scrape sites for spec examples
2013-04-18 22:13:35 -07:00