… back. This already worked for most adapters, but had an issue for the HTTP client adapter. Note that I had to change the line breaks in the webmock server response to \r\n (which matches the HTTP spec, I believe) in order to get curb and patron to parse the headers correctly.
…erministic in Ruby 1.8.7-p357
…d uri, or RequestStub
Weirdly, it appears that on 1.8.7, Array#delete will return the object you pass to it rather than the object in the array! O = Struct.new(:a, :b) i1, i2 = O.new(3, 5), O.new(3, 5) list = [i1] deleted = list.delete(i2) deleted.equal?(i1) # => true on 1.9.2, false on 1.8.7 deleted.equal?(i2) # => false on 1.9.2, true on 1.8.7
request. Previously, the httpclient and typhoeus adapters would use different request_signature instances for the global_stub hook and the after_requets hook. Using the same instance makes it more consistent and enables a new VCR feature.