Permalink
Commits on Nov 27, 2009
  1. Merge branch 'master' into curb_support

    * master:
      Rename a bunch of variables and methods for clarity
      Ignore Rubinius's .rbc files
    
    Conflicts:
    	lib/fake_web/registry.rb
    committed Nov 27, 2009
  2. Ignore Rubinius's .rbc files

    committed Nov 27, 2009
Commits on Nov 25, 2009
  1. Spiking some more to handle Curl::Easy instances properly

    Trying to monkey-patch C is scary/awesome.
    committed Nov 25, 2009
Commits on Nov 24, 2009
  1. A little spiking on curb support

    Going to have to do a ton of refactoring to do this properly...
    committed Nov 24, 2009
Commits on Nov 22, 2009
  1. Docs: minor edits to the README

    committed Nov 22, 2009
  2. Docs: remove the sudos everywhere

    committed Nov 22, 2009
  3. 1.9.2 compat: change tests to reflect that Net::HTTP uses #read_nonbl…

    …ock now
    
    References #11.
    committed Nov 22, 2009
Commits on Nov 16, 2009
  1. Remove all the File.dirname(__FILE__) code

    See "Requiring other files relative to each other" in http://weblog.rubyonrails.org/2009/9/1/gem-packaging-best-practices for more info.
    committed Nov 16, 2009
Commits on Nov 15, 2009
  1. Clean up a few comments

    committed Nov 15, 2009
  2. Remove an unnecessary assignment

    committed Nov 15, 2009
Commits on Nov 3, 2009
  1. Release 1.2.7

    committed Nov 3, 2009
Commits on Nov 2, 2009
  1. Move the VERSION file into lib/fake_web/, since library stuff should …

    …be in lib/
    
    For more info, see http://weblog.rubyonrails.org/2009/9/1/gem-packaging-best-practices ("Depending on files outside the load path" section), as well as http://github.com/defunkt/rip/issues/#issue/25
    committed Nov 2, 2009
Commits on Nov 1, 2009
  1. Update the changelog

    committed Nov 1, 2009
Commits on Oct 31, 2009
  1. Revert to sorting the request's query params before matching against …

    …registered regexps, instead of trying every possible combination. Closes #5.
    
    The previous version made matching regexps easier, but the number of permutations required grows too quickly: it's O(n!) for n params, which is so many that FakeWeb would seem to hang for n > 6 or so.
    committed Oct 31, 2009
Commits on Oct 19, 2009
  1. Add a failing test for hanging while calculating permutations of quer…

    …y params
    
    References gh-4.
    committed Oct 19, 2009
Commits on Oct 5, 2009
  1. Print a warning when RightHttpConnection is loaded after FakeWeb

    RightHttpConnection monkeypatches lots of Net::HTTP without delegating to other libraries, therefore replacing a few of FakeWeb's monkeypatches if you load it afterwards. This actually breaks Net::HTTP completely. We can probably work around this by faking at the socket level, instead of replacing Net::HTTP's #request. In the meantime, hopefully this will prevent some headaches for users of both libraries.
    
    Thanks to Ben Brinckerhoff for the report.
    committed Oct 5, 2009
  2. Print a warning when FakeWeb is loaded after Samuel

    FakeWeb stops Samuel (and other "around advice" Net::HTTP patchers) from working when required after them, since the whole point of FakeWeb is to stop faked requests from propagating through to Net::HTTP. Everything works fine when you require FakeWeb first, though, since in that case Samuel is wrapping FakeWeb instead of the other way around.
    committed Oct 5, 2009
Commits on Aug 31, 2009