Skip to content
Commits on Sep 23, 2009
  1. Merge branch 'master' into rubyist

    * master: (85 commits)
      Oops, forgot to bump the version in the CHANGELOG
      Fix Jeweler's Rubyforge settings for uploading docs
      Release 1.2.6
      Update CHANGELOG
      Add FakeWeb::VERSION so you can programmatically determine what version of FakeWeb is loaded without rubygems, etc.
      Switch to Jeweler
      Work around a ruby quirk where the literal /regexp/ syntax triggers "ambiguous first argument; put parentheses or even spaces" warnings
      Fix warnings like "method redefined; discarding old setup" in test_helper.rb
      Avoid double-requiring test_helper.rb when running rake tasks
      Enable warnings when running tests
      Add a little more request matching magic: registering a regex with an explicit port (like :get, /example.com:80/) now matches a request that uses an implied default port (like GET "http://example.com/").
      Restore that re-registering a URI replaces the first registration even when the query params are ordered differently
      Add some test coverage to ensure that re-registering a URI replaces the first registration
      Start refactoring the Registry to unify handling of Regexps and URIs/strings
      Fix that you'd have to sort the query params alphabetically in a registered regex in order for it to ever match a URI. Thanks to Ben Hall for discovering this.
      Improve some regex tests that weren't testing much
      Add missing coverage for FakeWeb.clean_registry
      Ignore Rubymine meta-info
      Add a test for some accidental functionality: you can register response headers using string option keys, too
      Release 1.2.5
      ...
    
    Conflicts:
    	.manifest
    	fakeweb.gemspec
    	lib/fake_web.rb
    	lib/fake_web/registry.rb
    	lib/fake_web/responder.rb
    	test/test_fake_web.rb
    	test/test_fake_web_open_uri.rb
    committed Sep 23, 2009
Commits on Aug 31, 2009
  1. @chrisk
  2. @chrisk
  3. @chrisk

    Release 1.2.6

    chrisk committed Aug 31, 2009
  4. @chrisk

    Update CHANGELOG

    chrisk committed Aug 31, 2009
  5. @chrisk

    Add FakeWeb::VERSION so you can programmatically determine what versi…

    …on of FakeWeb is loaded without rubygems, etc.
    chrisk committed Aug 31, 2009
  6. @chrisk

    Switch to Jeweler

    chrisk committed Aug 30, 2009
Commits on Aug 27, 2009
  1. @chrisk

    Work around a ruby quirk where the literal /regexp/ syntax triggers "…

    …ambiguous first argument; put parentheses or even spaces" warnings
    chrisk committed Aug 27, 2009
  2. @chrisk
  3. @chrisk
  4. @chrisk
Commits on Aug 25, 2009
  1. @chrisk

    Add a little more request matching magic: registering a regex with an…

    … explicit port (like :get, /example.com:80/) now matches a request that uses an implied default port (like GET "http://example.com/").
    
    This way, you can interpolate a host + port into a regex and it'll match the requests you'd think it'd match.
    chrisk committed Aug 24, 2009
Commits on Aug 23, 2009
  1. @chrisk

    Restore that re-registering a URI replaces the first registration eve…

    …n when the query params are ordered differently
    chrisk committed Aug 22, 2009
Commits on Aug 21, 2009
  1. @chrisk

    Add some test coverage to ensure that re-registering a URI replaces t…

    …he first registration
    chrisk committed Aug 20, 2009
Commits on Aug 18, 2009
  1. @chrisk
  2. @chrisk

    Fix that you'd have to sort the query params alphabetically in a regi…

    …stered regex in order for it to ever match a URI. Thanks to Ben Hall for discovering this.
    
    Next up: registry implementation could use a little refactoring, after this change.
    chrisk committed Aug 17, 2009
  3. @chrisk
Commits on Aug 8, 2009
  1. @chrisk
  2. @chrisk
Commits on Jul 16, 2009
  1. Ignore Rubymine meta-info

    Ruben Medellin committed Jul 16, 2009
Commits on Jul 13, 2009
  1. @chrisk

    Add a test for some accidental functionality: you can register respon…

    …se headers using string option keys, too
    chrisk committed Jul 13, 2009
Commits on Jul 9, 2009
  1. @chrisk

    Release 1.2.5

    chrisk committed Jul 8, 2009
  2. @chrisk

    Update CHANGELOG for 1ad6385

    chrisk committed Jul 8, 2009
Commits on Jul 6, 2009
  1. @chrisk
  2. @chrisk

    More concise tests

    chrisk committed Jul 5, 2009
  3. @chrisk
  4. @chrisk
  5. @chrisk

    URI registry: remove the auto-expanding hash idiom, since the hash ne…

    …eded here is just singly nested
    chrisk committed Jul 5, 2009
  6. @chrisk
  7. @chrisk
Commits on Jul 5, 2009
  1. @chrisk
Commits on Jul 4, 2009
  1. @chrisk

    Nix the part of 1ad6385 that attempted to handle userinfo strings wit…

    …h more than one colon in them, which doesn't seem to be legal anyway
    
    The RFC doesn't mention this, but either way, it's not possible to reliably determine which part is the username and which is the password when handling the request, so the only way would be to iterate through the possible permutations. Yuck.
    chrisk committed Jul 4, 2009
Commits on Jul 3, 2009
  1. @chrisk
  2. @chrisk

    Fix that you couldn't register and request URIs if the userinfo part …

    …included escaped unsafe characters
    chrisk committed Jul 3, 2009
Commits on Jun 29, 2009
  1. @chrisk

    Update CHANGELOG for 2c75fa6 and f64af6a

    chrisk committed Jun 28, 2009
Something went wrong with that request. Please try again.