Permalink
Commits on Apr 7, 2010
Commits on Apr 1, 2010
  1. Headers are now sorted by key in 'unexpected request' messages report…

    Bartosz Blimke
    Bartosz Blimke committed Apr 1, 2010
    …ed by webmock
Commits on Mar 26, 2010
  1. Updated changelog with 1.0.0 changes

    Bartosz Blimke
    Bartosz Blimke committed Mar 26, 2010
  2. Set dependency to Patron 0.4.5

    Bartosz Blimke
    Bartosz Blimke committed Mar 26, 2010
  3. Updated credits in README

    Bartosz Blimke
    Bartosz Blimke committed Mar 26, 2010
Commits on Mar 23, 2010
  1. Fixed issue where Net::HTTP adapter didn't work for requests with bod…

    Bartosz Blimke
    Bartosz Blimke committed Mar 23, 2010
    …y responding to read
Commits on Mar 14, 2010
  1. Added support for status messages

    Bartosz Blimke
    Bartosz Blimke committed Mar 14, 2010
Commits on Mar 13, 2010
  1. Added unit specs for dynamic responses behaviour

    Bartosz Blimke
    Bartosz Blimke committed Mar 13, 2010
    - Also fixed registry spec
    - Removed some unused code
  2. Updated README regarding dynamic responses

    Bartosz Blimke
    Bartosz Blimke committed Mar 13, 2010
  3. Refactored parts of dynamic responses code

    Bartosz Blimke
    Bartosz Blimke committed Mar 13, 2010
  4. Removed require declarations from specs since they are already requir…

    Bartosz Blimke
    Bartosz Blimke committed Mar 13, 2010
    …ed in spec_helper
  5. Fixed one spec failing after merging tomafro's fork

    Bartosz Blimke
    Bartosz Blimke committed Mar 13, 2010
Commits on Mar 1, 2010
  1. Let to_return take a block as well as a lambda.

    tomafro committed Mar 1, 2010
    With this change, as well as being able to do:
    
      stub_request(:any, 'www.example.net').
          to_return(lambda { |request| {:body => request.body }})
    
    It's also possible to do:
    
      stub_request(:any, 'www.example.net').to_return do |request|
        {:body => request.body }
      end
Commits on Feb 26, 2010
  1. Added complete dynamic request, where headers, body and status can al…

    tomafro committed Feb 26, 2010
    …l be generated by the same lamba.
    
    With this, it should be possible to stub requests using:
    
      stub_request(:any, 'www.example.net').
        to_return(lambda { |request| {:body => request.body }})
    
    Also, as any object that responds to call can be used, it would also be possible to do:
    
      class Responder
        def call(request)
          {:body => 'Hello'}
        end
      end
    
      stub_request(:any, 'www.example.net).to_return(Responder.new)
Commits on Feb 17, 2010
  1. Improved handling exceptions in Patron adapter, to reflect error hand…

    Bartosz Blimke
    Bartosz Blimke committed Feb 17, 2010
    …ling in Patron.
  2. Added support for get_file, put_file, post_file and copy methods in P…

    Bartosz Blimke
    Bartosz Blimke committed Feb 17, 2010
    …atron
  3. Added support for Patron with basic HTTP functionality

    Bartosz Blimke
    Bartosz Blimke committed Feb 17, 2010
Commits on Feb 2, 2010
  1. Added gemspec for version 0.9.1

    Bartosz Blimke
    Bartosz Blimke committed Feb 2, 2010
  2. Version bump to 0.9.1

    Bartosz Blimke
    Bartosz Blimke committed Feb 2, 2010
  3. Added spec which verifies that request expectations are order insensi…

    Bartosz Blimke
    Bartosz Blimke committed Feb 2, 2010
    …tive.
  4. Fixed issue where response status was not read from raw (curl -is) re…

    Bartosz Blimke
    Bartosz Blimke committed Feb 2, 2010
    …sponses
Commits on Jan 31, 2010
  1. Upgraded version to 0.9.0

    Bartosz Blimke
    Bartosz Blimke committed Jan 31, 2010
  2. Minor changes to README

    Bartosz Blimke
    Bartosz Blimke committed Jan 31, 2010
  3. Fixed formatting in 0.9.0 changelog

    Bartosz Blimke
    Bartosz Blimke committed Jan 31, 2010
  4. Added version 0.9.0 features to CHANGELOG and README

    Bartosz Blimke
    Bartosz Blimke committed Jan 31, 2010
  5. Added support for Net::HTTP::Post#body_stream (fixed compatibility wi…

    Bartosz Blimke
    Bartosz Blimke committed Jan 31, 2010
    …th new versions of RestClient)
  6. Changed all specs where WebMock is matching request body to use POST …

    Bartosz Blimke
    Bartosz Blimke committed Jan 31, 2010
    …requests.
  7. Added support for matching requests against given block for WebMock m…

    Bartosz Blimke
    Bartosz Blimke committed Jan 31, 2010
    …atcher and assert_requested
Commits on Jan 30, 2010
  1. Added unit specs to for classes responsible for matching requests aga…

    Bartosz Blimke
    Bartosz Blimke committed Jan 30, 2010
    …inst provided block
  2. Moved RequestProfile specific code to RequestProfile class

    Bartosz Blimke
    Bartosz Blimke committed Jan 30, 2010
  3. Merge branch 'master' of git://github.com/porras/webmock

    Bartosz Blimke
    Bartosz Blimke committed Jan 30, 2010
    Conflicts:
    	spec/webmock_spec.rb