Re: [rest.client] rest-client 1.4.0.a release candidate available
- From:
- will leinweber
- Date:
- 2010-02-23 @ 22:29
I merged in your couchrest commit, thanks! You're right that a new version
should go out. I don't have access on gemcutter, just github, but I'll drop
a email to Marcos right now.
— Will
On Mon, Feb 22, 2010 at 11:59 AM, Archiloque <code@archiloque.net> wrote:
> Hi,
>
> The rest-client 1.4.0.a release candidate is now available for testing (as
> it's a prerelease, you'll need to add "--prerelease" to your gem commands if
> you want to install/update it).
>
> Changes
>
> - Response is no more a String, and the mixin is replaced by an
> abstract_response, existing calls are redirected to response body with a
> warning.
> - enable repeated parameters RestClient.post 'http://example.com/resource',
> :param1 => ['one', 'two', 'three'], => :param2 => 'foo' (patch provided by
> Rodrigo Panachi)
> - fixed the redirect code concerning relative path and query string
> combination (patch provided by Kevin Read)
> - redirection code moved to Response so redirection can be customized using
> the block syntax
> - only get and head redirections are now followed by default, as stated in
> the specification
> - added Re stClient.add_before_execution_proc to hack the http request,
> like for oauth
>
> The response change may be breaking in rare cases.
>
> ####
>
> I've done some tests with the usual suspects and even with the
> compatibility code added the Response change break:
> - couchrest and a patch compatible with version 1.3.0 is at
> http://github.com/archiloque/couchrest
> - heroku (only test break, not code) and a patch compatible with version
> 1.3.0 is at http://github.com/archiloque/heroku
>
> As the couchrest dependency is "rest-client", ">= 0.5", I think it means a
> new couchrest version should be released before the real version is shipped.
> Could a couchrester confirm and give an opinion?
>
> Please test the new version and give us a feedback
>
>
> Thanks
>
> A.
>
>