rest-client 1.5.0 available


Archiloque <code@...>
 

Gem is now available

Regards

A.

Le 23 avr. 2010 à 22:53, Archiloque a écrit :

Hi all,

I've pushed a rest-client 1.5.0.b gem on the repository, as several changed has been made and no bug is opened for the moment

Changes:

- the response is now a String with the Response module a.k.a. the change in 1.4.0 was a mistake (Response.body is returning self for compatability)
- added AbstractResponse.to_i to improve semantic
- multipart Payloads ignores the name attribute if it's not set (patch provided by Tekin Suleyman)
- correctly takes into account user headers whose keys are strings (path provided by Cyril Rohr)
- use binary mode for payload temp file
- concatenate cookies with ';'
- fixed deeper parameter handling
- do not quote the boundary in the Content-Type header (patch provided by W. Andrew Loe III)

(the 1.5.0.a had a 1.9 error in the tests)

Tested with: ruby, jruby, jruby 1.9, taps, heroku, couchrest, couchtiny

rest-client-components is broken because it directly instantiate Response, which I think no other library is doing, a fix is available at http://github.com/archiloque/rest-client-components and I'll wait Cyril to ship a new version before releasing mine

I'm waiting for comments, suggestion and bug reports

Regards

A.