Instead of using just Ruby's `URI` class to parse URIs, allow the parser to be set through the configuration and just use `URI` as a default. This allows the use of more permissive parser to, e.g. allow subdomains with underscores in them
…actor cucumber.rb naming code. Add spec.
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.
…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.
That was causing these scenarios to fail on travis on 1.9.3.
- An extra line break is needed; otherwise, the appended content gets smashed against the "end" from the existing content, with no line break. - Normalize quotes to singles ('). On 1.9.2p290 I was getting a failure because psych was serializing content length as `"43"` rather than `'43'`.
When the option is used, "gzip" and "deflate" respones are decompressed using Zlib before recording, making the serialized data readable and editable. Example VCR.use_cassette(:example, :decode_compressed_response => true) do # ... end
OS X is though, so this passed for me but failed on travis.
…cenario's name using the :use_scenario_name option when creating Cucumber tags
…file isn't present.
This provides additional flexibility; the user may want to check the encoding specified in an HTTP header. Also, I'm passing the current cassette as an optional yielded param as well.