…ack. Previously, if there was an error while ejecting the cassette, the cassette would remain as the current cassette. Closes #175.
Update Typhoeus links.
The fix for this is dependent upon pull requests I've opened with FakeWeb, WebMock and Faraday: - chrisk/fakeweb#32 - bblimke/webmock#190 - https://github.com/technoweenie/faraday/pull/168 Closes #173.
Previously, #partial_uri_from would return nil for a URI that lacked a query, which meant that it would automatically match any other URI w/o a query, even if they were wildly different.
JRuby and Rubinius print errors a bit different (e.g. extra spacing, different placement of error class relative to the error message w/ a multiline message).
- Add cuke. - Add #assert_no_unused_interactions! call from Cassette#eject. - Rename error class to match option. - Various other small fixes.
…on in with http interaction list; Added default option
…uests have been skipped
- Add tests. - Move the body reading out of #vcr_request and into a helper method-- we don't want it to happen multiple times and #vcr_request is memoized for a reason. - Refactor the body reading a bit. - Use it for the response body, too. I don't really understand it, but for some reason the multipart request body becomes the response body when no HTTP adapter is set, and due to the change I made in d924f66, an error was raised. Closes #172.
…akeWeb). Previously, direct WebMock/FakeWeb/Typhoeus stubs would be ignored unless VCR was turned off. However, some users have requested that VCR use these stubs if they are set. This enables that. Part of this changes the VCR::Request::Typed interface a little bit; #stubbed? now returns true regardless of how it was stubbed, and #stubbed_by_vcr? should be used to test if VCR stubbed it (vs. #externally_stubbed?). Note that I consider this a bit experimental. I'm not sure I've thought through all the repercussions of this, and I consider this only "semi supported". Closes #146.
JRuby handles YAML and JSON a bit different from MRI. Also, JRuby keeps #type in 1.9 mode even though MRI does not (but has it on 1.8).
I'm not sure why there's this different behavior for MRI vs RBX, but this fixes it.