Permalink
Commits on Jul 20, 2012
  1. 2.2.4 release.

    committed Jul 20, 2012
  2. Update relish.

    I got this message from relish just now:
    Sorry, your relish gem 0.5.3 is out of date. Please update to at least version 0.6
    committed Jul 20, 2012
  3. Fix excon so real requests are made with a connection constructed wit…

    …h same args.
    
    I got this warning from VCR on some tests using fog/excon to download a file from S3 over SSL:
    
    WARNING: VCR could not extract a response from Excon error (#<OpenSSL::SSL::SSLError: hostname does not match the server certificate>)
    
    I discovered that the SSL cert verification for a real request w/o VCR was made against
    `s3.amazonaws.com`, while the verification for the request being recorded by VCR was made
    against `<bucket_name>.s3.amazonaws.com`. The difference is due to the fact that fog
    constructs an Excon::Connection instance with a URI of `s3.amazonaws.com`, then makes a
    request with a :host param set to the FQDN. Before this commit, VCR made the real
    request by constructing a new Excon::Connection instance with the URI set to the full
    URI, and it caused the SSL cert verification failure.
    
    This fixes it by ensuring the "real request" connection instance is constructed with
    the same args as the original connection instance.
    committed Jul 20, 2012
Commits on Jul 10, 2012
  1. 2.2.3 release.

    committed Jul 10, 2012
  2. Update RSpec.

    committed Jul 10, 2012
  3. No need for this global "seen request" tracking now that we're handli…

    …ng Net::HTTP's recursion directly.
    committed Jul 10, 2012
  4. Fix FakeWeb library hook for when a Net::HTTP request is re-used.

    Previously I assumed a single Net::HTTP request object would only be used for a single
    request. It turns out it can trivially be re-used. I've refactored the implementation to
    no longer assume that. The request object was being used to hold a VCR request type
    object to handle internal recursion performed by Net::HTTP; now I have a special
    recursive request handler for this situation.
    
    Closes #178.
    committed Jul 3, 2012
  5. Fix typos in comments.

    committed Jul 6, 2012
Commits on Jun 27, 2012
Commits on Jun 15, 2012
  1. Add link to IRC channel.

    committed Jun 15, 2012
  2. 2.2.2 release.

    committed Jun 15, 2012
  3. Fix VCR.eject_cassette so that it always pops the cassette off the st…

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

    [ci skip]
    committed Jun 15, 2012
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

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

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

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

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

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

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

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

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

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

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

    - Add cuke.
    - Add #assert_no_unused_interactions! call from Cassette#eject.
    - Rename error class to match option.
    - Various other small fixes.
    committed May 30, 2012
Commits on May 30, 2012
  1. Renamed option; made has_unused_interactions? private; don't mix opti…

    …on in with http interaction list; Added default option
    challengee committed with May 6, 2012