Permalink
Switch branches/tags
Commits on Jan 8, 2009
Commits on Jan 6, 2009
  1. Whitespace cleanup

    chrisk committed Jan 6, 2009
  2. Merge commit 'technicalpickles/master' into cleanup

    chrisk committed Jan 6, 2009
    * commit 'technicalpickles/master':
      Updated manifest.
      Removed OpenURI::HTTPError since it's part of stdlib.
      Moved Net::HTTP extensions to lib/fake_web/ext/net_http.rb
      Try to use more idiomatic and clearer style.
      Moved SocketDelegator to its own file.
      Moved responder to its own file.
      Moved FakeWeb::Response to separate file.
      Moved FakeWeb::Registry to its own file.
Commits on Jan 5, 2009
  1. Update changelog

    chrisk committed Jan 5, 2009
  2. Updated manifest.

    technicalpickles committed Jan 5, 2009
Commits on Jan 4, 2009
Commits on Jan 3, 2009
  1. Add HTTP method support throughout FakeWeb

    chrisk committed Jan 3, 2009
    Now you can specify an HTTP method when you're registering/checking responses:
    
      FakeWeb.register_uri(:get, "http://example.com", :string => "response")
      FakeWeb.registered_uri?(:get, "http://example.com") # => true
      FakeWeb.registered_uri?(:post, "http://example.com") # => false
    
    And when you use Net::HTTP, it'll only work for GET requests. Or, use :any to explicitly register the request for any HTTP method (best practice, IMO). Retains ability to use the old method signatures (without the method param) for backwards-compatibility.
Commits on Jan 2, 2009
Commits on Jan 1, 2009
  1. DRY up license/copyright info

    chrisk committed Jan 1, 2009
Commits on Dec 31, 2008
  1. Release 1.1.2.6

    chrisk committed Dec 31, 2008
Commits on Dec 30, 2008
  1. Lots of README cleanup: add installation section, remove OpenURI exam…

    chrisk committed Dec 30, 2008
    …ple, rewrite old "description" section, add TODO re: HTTP methods, update copyright
Commits on Dec 28, 2008
  1. Update CHANGELOG

    chrisk committed Dec 28, 2008
Commits on Dec 26, 2008
Commits on Dec 25, 2008
Commits on Dec 24, 2008
  1. Fix up some rdoc options

    chrisk committed Dec 24, 2008
Commits on Dec 23, 2008
  1. Raise a specific exception when real HTTP requests are disabled, and …

    chrisk committed Dec 23, 2008
    …simplify the exception message (no HTTP method support yet, and printing the entire list of registered URIs gets pretty unwieldy)
  2. Add tests for allow_net_connect

    chrisk committed Dec 23, 2008