New Version of canned, with custom return code support

Canned is now 0.2.0, this has been the start of a major internal refactor, so it is no longer just one big ball of JavaScript but starting to have some internal structure.
A major new feature is the support for specifying the return code inside the file, so special codes like 201 for create etc. can now simply be added via //! statusCode: 201.
For anybody who likes to help the tests got some love as well and are now in more friendly jasmine and hopefully easier to understand than before.

Enjoy!

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.