Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Jan 8, 2009
  1. @chrisk
Commits on Jan 6, 2009
  1. @chrisk
  2. @chrisk

    Whitespace cleanup

    chrisk authored
  3. @chrisk
  4. @chrisk

    Merge commit 'technicalpickles/master' into cleanup

    chrisk authored
    * 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. @chrisk

    Update changelog

    chrisk authored
  2. @chrisk
  3. @technicalpickles

    Updated manifest.

    technicalpickles authored
  4. @technicalpickles
  5. @technicalpickles
  6. @technicalpickles
Commits on Jan 4, 2009
  1. @technicalpickles
  2. @technicalpickles
  3. @technicalpickles
  4. @technicalpickles
  5. @chrisk
Commits on Jan 3, 2009
  1. @chrisk

    Add HTTP method support throughout FakeWeb

    chrisk authored
    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.
  2. @chrisk
Commits on Jan 2, 2009
  1. @chrisk
Commits on Jan 1, 2009
  1. @chrisk
  2. @chrisk

    DRY up license/copyright info

    chrisk authored
Commits on Dec 31, 2008
  1. @chrisk

    Release 1.1.2.6

    chrisk authored
Commits on Dec 30, 2008
  1. @chrisk

    Lots of README cleanup: add installation section, remove OpenURI exam…

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

    Update CHANGELOG

    chrisk authored
Commits on Dec 26, 2008
  1. @chrisk
Commits on Dec 25, 2008
  1. @chrisk
Commits on Dec 24, 2008
  1. @chrisk

    Fix up some rdoc options

    chrisk authored
Commits on Dec 23, 2008
  1. @chrisk
  2. @chrisk
  3. @chrisk

    Raise a specific exception when real HTTP requests are disabled, and …

    chrisk authored
    …simplify the exception message (no HTTP method support yet, and printing the entire list of registered URIs gets pretty unwieldy)
  4. @chrisk
  5. @chrisk
  6. @chrisk
  7. @chrisk

    Add tests for allow_net_connect

    chrisk authored
  8. @chrisk
Something went wrong with that request. Please try again.