Skip to content
Commits on Jun 15, 2012
  1. Fix VCR.eject_cassette so that it always pops the cassette off the st…

    committed Jun 14, 2012
    …ack.
    
    Previously, if there was an error while ejecting the cassette, the cassette would remain as the current cassette.
    
    Closes #175.
  2. Fix a few yard formatting issues.

    committed Jun 14, 2012
    [ci skip]
Commits on Jun 14, 2012
Commits on Jun 13, 2012
  1. 2.2.1 release.

    committed Jun 13, 2012
  2. Merge pull request #174 from i0rek/typhoeus_links

    committed Jun 13, 2012
    Update Typhoeus links.
  3. @i0rek

    Update Typhoeus links.

    i0rek committed Jun 13, 2012
  4. Add spec for consistent handling of empty body responses.

    committed Jun 12, 2012
    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.
  5. Fix comment formatting.

    committed Jun 12, 2012
Commits on Jun 12, 2012
  1. Fix #uri_without_params so that it handles URIs w/ no query properly.

    committed Jun 12, 2012
    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.
Commits on Jun 7, 2012
  1. A few relish fixes.

    committed Jun 6, 2012
Commits on Jun 5, 2012
  1. Documentation fixes.

    committed Jun 5, 2012
    [ci skip]
Commits on May 31, 2012
  1. 2.2.0 release.

    committed May 31, 2012
  2. Make cuke tolerant of slight interpreter discrepancies.

    committed May 30, 2012
    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).
  3. Update changelog.

    committed May 30, 2012
    [ci skip]
  4. Finish the allow_unused_http_interactions feature.

    committed May 29, 2012
    - Add cuke.
    - Add #assert_no_unused_interactions! call from Cassette#eject.
    - Rename error class to match option.
    - Various other small fixes.
Commits on May 30, 2012
  1. @challengee

    Renamed option; made has_unused_interactions? private; don't mix opti…

    challengee committed with May 6, 2012
    …on in with http interaction list; Added default option
  2. @challengee
  3. @challengee
  4. Reformat changelog.

    committed May 29, 2012
    [ci skip]
  5. Some improvements to @tylerhunt's faraday multipart upload fix.

    committed May 29, 2012
    - 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.
Commits on May 29, 2012
  1. @tylerhunt
  2. Allow requests to be stubbed by external libraries (e.g. WebMock or F…

    committed May 28, 2012
    …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.
Commits on May 28, 2012
  1. Skip some tests on JRuby that don't apply.

    committed May 27, 2012
    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).
  2. Fix failing specs on rubinius.

    committed May 27, 2012
    I'm not sure why there's this different behavior for MRI vs RBX, but this fixes it.
  3. Fix cukes failing on rubinius.

    committed May 27, 2012
    Rubinius now includes some extra leading spaces on some kinds of errors, for some reason.
Commits on May 27, 2012
  1. Require spec support files relative to load path.

    committed May 26, 2012
    This should prevent any of them from being loaded twice as long as we use the relative form everywhere.
  2. Uninstall JSON gem before running the Travis build.

    committed May 26, 2012
    Some of the VMs appear to have JSON 1.7.1 installed and it's causing weird breakage:
    
    http://travis-ci.org/#!/myronmarston/vcr/jobs/1443136/L145
Commits on May 26, 2012
Something went wrong with that request. Please try again.