seancribbs/webmachine-ruby — pull request #54 by petejohanson (2012-06-13 03:06:33+00:00)
Title: Resource creation refactor

A small refactor based (roughly) on the ideas proposed by lgierth at https://github.com/seancribbs/webmachine-ruby/pull/41#issuecomment-6137253

The refactor would allow consumers/libraries to replace all/some of the dispatcher logic as necessary, including plugging in a new "resource factory" as necessary.

All existing tests work as expected, if you would like new tests for the exposed API on Webmachine::Dispatcher, I'll gladly add it.

Thanks.