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 Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s