Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Sep 10, 2010
  1. 1.1.2 release.

    authored
  2. Documentation update.

    authored
Commits on Sep 9, 2010
  1. Don't extend a Net::HTTP response with our module when WebMock has al…

    authored
    …ready extended it with its own module.
    
    These modules duplicate the same behavior and stomp on each other's toes.
Commits on Sep 8, 2010
  1. When the result of a request is an exception, raise it, rather than t…

    authored
    …rying to read a body from it.
Commits on Aug 28, 2010
  1. List patron and em-http-request in our Gemfile so that our Gemfile.lo…

    authored
    …ck doesn't change everytime we run something on JRuby.
Commits on Aug 27, 2010
  1. 1.1.1 release.

    authored
  2. Lock dev dependency to WebMock 1.3.3.

    authored
    On 1.3.4 I get a failing cucumber scenario, but I believe it's a bug in WebMock.  I'm going to investigate more.
Commits on Aug 26, 2010
  1. Updated Gemfile/gemspec/Rakefile, etc to use latest best practices ba…

    authored
    …sed on the gem skeleton that bundler generates.
  2. Refactored and updated #check_version! on FakeWeb/WebMock adapters so…

    authored
    … that a warning is printed for a version with a greater major or minor version number.
    
    This simulates the ~> gem comparison operator, and is inspired by wycats' recent blog post:
    
    http://yehudakatz.com/2010/08/21/using-considered-harmful-or-whats-wrong-with/
  3. Change http stubbing adapters to be modules rather than classes.

    authored
    They should never be instantiated and don't really hold state.  A module is more appropriate here.
Commits on Aug 24, 2010
  1. Use a localhost regex with FakeWeb.allow_net_connect for the ignore_l…

    authored
    …ocalhost feature.
    
    This is simpler than changing allow_net_connect from false to true and back again in our Net::HTTP extension for a localhost request.
Commits on Aug 23, 2010
  1. Upgrade to FakeWeb 1.3.0.

    authored
  2. Optimized #stub_requests a bit.

    authored
    Appending to an array with `<< value` is faster than with `+= [value]`, as it doesn't create a new array object for each append.
    
    A benchmark shows there is about a 10x performance difference:
    
    http://gist.github.com/544809
Commits on Aug 22, 2010
  1. 1.1.0 release.

    authored
  2. Readme updates.

    authored
  3. 1.9.2 compatibility fix: in an override, use an alias to refer to the…

    authored
    … original method rather than super.
    
    This works around an error I'm getting on 1.9.2:
    
    "super from singleton method that is defined to multiple classes is not supported; this will be fixed in 1.9.3 or later"
  4. 1.9.2 compatibility fix: don't try to use ruby-debug on 1.9.2.

    authored
    On 1.9.2, I'm getting errors like these:
    
    dyld: lazy symbol binding failed: Symbol not found: _rb_method_node
      Referenced from: /Users/mmarston/.rvm/gems/ruby-1.9.2-p0/gems/ruby-debug-base19-0.11.23/lib/ruby_debug.bundle
      Expected in: flat namespace
    
    dyld: Symbol not found: _rb_method_node
      Referenced from: /Users/mmarston/.rvm/gems/ruby-1.9.2-p0/gems/ruby-debug-base19-0.11.23/lib/ruby_debug.bundle
      Expected in: flat namespace
  5. 1.9.2 compatibility fix: sort attributes before putting them in a Set.

    authored
    On 1.9.2, Set.new([1, 2]).hash != Set.new([2, 1]).hash, but Set.new([1, 2]).hash == Set.new([1, 2]).hash.
Something went wrong with that request. Please try again.