Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Nov 24, 2013

  1. David Steinbrunner

    repository metadata fix

    authored November 24, 2013

Feb 11, 2011

  1. David E. Wheeler

    Update copyright date.

    authored February 11, 2011

Dec 29, 2010

  1. David E. Wheeler

    Increment version to 0.12.

    authored December 28, 2010
  2. David E. Wheeler

    Timestamp for 0.11.

    authored December 28, 2010
  3. David E. Wheeler

    Fix broken 405 "Allowed" header.

    The header should have been in a double array ref. So now instead of something
    like `[[Allow => 'GET, HEAD']]`, the headers are properly set to
    `[Allow => 'GET, HEAD']`, and therefore parseable by HTTP::Headers.
    authored December 28, 2010

Oct 17, 2010

  1. David E. Wheeler

    Stick to one module at a time.

    authored October 17, 2010

Oct 16, 2010

  1. David E. Wheeler

    Increment version number to 0.11.

    authored October 15, 2010
  2. David E. Wheeler

    Timestamp for 0.10.

    authored October 15, 2010
  3. David E. Wheeler

    Add traditional `Makefile.PL` to the build.

    authored October 15, 2010

Oct 15, 2010

  1. David E. Wheeler

    Tweak the synopsis a bit.

    authored October 15, 2010
  2. David E. Wheeler

    Documentation once-over; add Acknowledgements.

    authored October 15, 2010
  3. David E. Wheeler

    Eliminate test warning and ignore MYMETA.yml.

    authored October 15, 2010
  4. David E. Wheeler

    Less hacky way to store methods with a route.

    authored October 15, 2010
  5. David E. Wheeler

    Note special case of GET and HEAD.

    authored October 14, 2010
  6. David E. Wheeler

    Change interface to always return a value.

    This gets around returning different things when a resource or method can't be
    found. Also, change the name of the method that does the work to C<dispatch>.
    If a resource or method can't be found, it returns a PSGI array with the
    necessary information. This makes it easier to use now, too. All one has to do
    for a Plack app is:
    
        sub { $router->dispatch($env) };
    
    Of course users will want custom 404 and 405 handlers, so add support for them
    with the `missing` keyword (which may be renamed if I think of something
    better). This defines a code block at the same level as resources to execute for
    404 and 405 responses.
    
    The `match` method is stil around, and returns a hash ref, but I might get rid
    of it altogether.
    
    While at it, add the `TRACE` and `CONNECT` methods. No idea what they do, but
    they're in HTTP 1.1, so might as well be complete.
    authored October 14, 2010

Oct 14, 2010

  1. David E. Wheeler

    Simpler example in the synopsis.

    authored October 14, 2010
  2. David E. Wheeler

    Keep our own routing table.

    Don't use Router::Simple, but keep our own routes. Still using
    Router::Simple::Route to do the matching (for now), but looking up the methods
    ourselves. This is so that we can soon determine whether or not a resource
    was found but the method isn't implemented.
    
    Also might switch to another route matching module at some point.
    Router::Simple is a bit much. String::MatchInterpolate looks promsiing, and
    Pedro Melos has threatened to implement a Route::Tiny.
    authored October 14, 2010
  3. David E. Wheeler

    Dump magical syngleton method.

    Instead just create a lexically-scoped router with the new `router{}`
    function. So no more need to worry about namespace::autoclean, either. So I've
    removed that test.
    authored October 14, 2010
  4. David E. Wheeler

    First commit, implementation mostly complete.

    Just one failing test: I want to make sure that `namespace::autoclean` doesn't
    autoclean the `router()` method. Not sure it's possible. Will find out.
    
    Otherwise it's about ready to go.
    authored October 13, 2010
Something went wrong with that request. Please try again.