Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jul 16, 2009
  1. Added a missing assert in test. Passing OK

    Ruben Medellin authored
  2. Implemented :body accepting Proc object that yields the match objects…

    Ruben Medellin authored
    … when passing a regexp as :uri
  3. Added test for regexen yielding matches into body response

    Ruben Medellin authored
  4. Ignore Rubymine meta-info

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

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

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

    Release 1.2.5

    chrisk authored
  2. @chrisk

    Update CHANGELOG for 1ad6385

    chrisk authored
Commits on Jul 6, 2009
  1. @chrisk
  2. @chrisk

    More concise tests

    chrisk authored
  3. @chrisk
  4. @chrisk
  5. @chrisk

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

    chrisk authored
    …eded here is just singly nested
  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…

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

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

    chrisk authored
    …included escaped unsafe characters
Commits on Jun 29, 2009
  1. @chrisk
  2. @chrisk

    Fix that exact string and URI matches should always take precedence o…

    chrisk authored
    …ver regex matches when determining which response to use
  3. @chrisk

    Add some test coverage for response precedence when you register iden…

    chrisk authored
    …tical strings and regexes
  4. @chrisk

    Refactor the URI registry's #responses_for to always return an Enumer…

    chrisk authored
    …able (instead of returning nil when there are no matches)
Commits on Jun 28, 2009
  1. @chrisk

    Refactor tests so assertions aren't made inside Net::HTTP blocks.

    chrisk authored
    That way, if a Net::HTTP method doesn't yield, the assertions won't be silently skipped. Hat tip to Roman2K for pointing this out.
  2. @chrisk
  3. @chrisk
  4. @chrisk

    Change request handling so it raises if more than one registered rege…

    chrisk authored
    …x matches a request URI. Less confusing this way.
Commits on Jun 27, 2009
  1. @chrisk
  2. @chrisk

    Add missing test coverage to ensure that blocks attached to Net::HTTP…

    chrisk authored
    … request methods are yielded with the registered response body
  3. @chrisk
  4. @chrisk
Commits on Jun 26, 2009
  1. @chrisk

    Start refactoring regex support: just use one URI registry hash, inst…

    chrisk authored
    …ead of having a duplicate just for regexes
  2. @chrisk
  3. @chrisk
  4. @chrisk
Something went wrong with that request. Please try again.