Commit graph

109 commits

Author SHA1 Message Date
Jessica Lynn Suttles
f2cc8b037a Merge pull request #10 from G5/conditional-get-52510097
Conditional get 52510097
2013-07-01 18:35:55 -07:00
Jessica Dillon & Jessica Lynn Suttles
c0a86fa6b0 updates version 2013-07-01 18:32:38 -07:00
Jessica Dillon & Jessica Lynn Suttles
1311dec8a3 removes saved headers from param defaults 2013-07-01 18:31:25 -07:00
Jessica Dillon & Jessica Lynn Suttles
73d25abefe adds stub_request for outside http call 2013-07-01 17:43:31 -07:00
Jessica Dillon & Jessica Lynn Suttles
27822a835f removes debugger gem from development dependencies. sorry travis! 2013-07-01 17:38:18 -07:00
Jessica Dillon & Jessica Lynn Suttles
3f61f48025 adds parser specs 2013-07-01 17:34:15 -07:00
Jessica Dillon & Jessica Lynn Suttles
8a5e63dd21 adds webmock gem to development dependencies and requires in spec_helper.rb 2013-07-01 17:34:04 -07:00
Jessica Dillon & Jessica Lynn Suttles
78df1dc8bc sets Microformats2::Parser#http_headers on initialize 2013-07-01 16:47:28 -07:00
Jessica Dillon & Jessica Lynn Suttles
ed2f66002e adds Microformats2::Parser#http_headers and Microformats2::Parser#http_body and saves them from the response 2013-07-01 16:46:08 -07: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
Jessica Lynn Suttles
101f4871ad fixes link in README 2013-04-18 22:13:39 -07:00
Michael Mitchell + Chris Stringer
5b8df0f0a9 Bump version 2013-04-18 22:13:39 -07:00
Michael Mitchell + Chris Stringer
dcbcc5123a Remove un-needed to_s method on DateTime 2013-04-18 22:13:38 -07:00
Michael Mitchell + Chris Stringer
d11b0f182c Support for string arg on Embedded 2013-04-18 22:13:38 -07:00
Michael Mitchell
0817798de2 bumps version number to pre3 2013-04-18 22:13:38 -07:00
Michael Mitchell
ec84c5b091 removes straggling pry 2013-04-18 22:13:38 -07:00
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