mattetti / Weasel-Diesel

DSL to describe, document and test web services
MIT License
438 stars 21 forks source link

Support top level array responses #25

Closed raul closed 11 years ago

raul commented 11 years ago

While adding support for top-level array responses I found JSONResponseVerification's internals a bit complicated so I refactored them. Some notes:

All specs are passing but I don't have an actual production API to test it yet, so cases not covered by the test suite may break.

mattetti commented 11 years ago

Sorry I totally missed this PR. It looks good to me, the change of method name might break a few things tho, but that's also easily fixable and the new name is actually better.

raul commented 11 years ago

Thanks @mattetti – are you willing to keep WS active or are you more focused on Go-based APIs these days? :) Since I read your post I'm really tempted to learn Go and use it instead of Ruby for any small API that I need to work on.

mattetti commented 11 years ago

I'm willing to keep WS active but would def. need some help maintaining the project. For my own startup i'm using Rails for the frontend and Go for the API so I'm using WS for this specific project.

kamui commented 11 years ago

Since reading some of your tweets and Go articles I've also been considering trying out Go to build an API. Planning any posts about your experiences building your API in Go?

mattetti commented 11 years ago

I'm planning on writing a book but that won't happen until my startup is launched :)

On Tue, Aug 20, 2013 at 4:44 PM, Jack Chu notifications@github.com wrote:

Since reading some of your tweets and Go articles I've also been considering trying out Go to build an API. Planning any posts about your experiences building your API in Go?

— Reply to this email directly or view it on GitHubhttps://github.com/mattetti/Weasel-Diesel/pull/25#issuecomment-22986259 .

raul commented 11 years ago

Can you please sign me up as a beta reader? :)