diff options
author | hiramatsu <hiramatsu> | 2011-12-02 05:19:07 +0000 |
---|---|---|
committer | hiramatsu <hiramatsu> | 2011-12-02 05:19:07 +0000 |
commit | 261391152813ff76e66740b6c5cf98d83d5e080d (patch) | |
tree | ace861b9c73177d3a595228007762b79bb5e8d91 /devel/p5-Path-Dispatcher | |
parent | 28d93c0e1501268e1537b30eae6e724b33c0736d (diff) | |
download | pkgsrc-261391152813ff76e66740b6c5cf98d83d5e080d.tar.gz |
Update p5-Path-Dispatcher to 1.04.
Changes from previous:
1.04 Thu Sep 1 2011
Explicitly depend on Test::Fatal (reported by Jérôme Quelin [rt.cpan.org #70666])
Convert all tests from Test::Exception to Test::Fatal
1.03 Tue Aug 30 2011
Provisional support for arbitrary payloads, not just code blocks, as results
See https://github.com/sartak/path-dispatcher/blob/master/t/200-payload.t
Eventually blocks will be deprecated, but not for a while. Internally blocks are
rewritten as payloads so if you're doing deep magic with PD you may be exposed to
that implementation detail.
1.02 Tue Nov 2 2010
Various improvements to the handling of $match->leftover with undef
1.01 Sun Oct 24 2010
Skip t/026-named-captures.t if you don't have 5.10.1
Give matches a ->parent for inspecting an Under prefix rule's
captures etc
1.00 Sun Oct 17 2010
Bump to 1.0 to indicate back compat breakage
Add match->named($key) for pulling out a named capture
Use Try::Tiny to avoid swallowing exceptions (rafl)
0.16 Sun Oct 17 2010
** BACKWARDS INCOMPATIBLE CHANGE: Pass the match object into rule
** blocks rather than assigning $1, $2, $3. Use ->pos(1), (2), (3),
** etc. instead. This cleans up the code a lot and makes
** Path-Dispatcher more flexible.
Add support for named captures
Make all attributes read-only. If you need something to be read-write,
I am open to such a change. Just let me know!
Make _dispatcher_rule private
Remove trace/readable_attribute/name support. This wants to be
implemented in a different, better, more comprehensive way.
Add documentation for shell tab completion
Plenty other updated documentation
Diffstat (limited to 'devel/p5-Path-Dispatcher')
-rw-r--r-- | devel/p5-Path-Dispatcher/Makefile | 8 | ||||
-rw-r--r-- | devel/p5-Path-Dispatcher/distinfo | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/devel/p5-Path-Dispatcher/Makefile b/devel/p5-Path-Dispatcher/Makefile index 2aed55b8fd2..2d9d556567e 100644 --- a/devel/p5-Path-Dispatcher/Makefile +++ b/devel/p5-Path-Dispatcher/Makefile @@ -1,8 +1,7 @@ -# $NetBSD: Makefile,v 1.7 2011/08/14 12:26:29 obache Exp $ +# $NetBSD: Makefile,v 1.8 2011/12/02 05:19:07 hiramatsu Exp $ -DISTNAME= Path-Dispatcher-0.15 +DISTNAME= Path-Dispatcher-1.04 PKGNAME= p5-${DISTNAME} -PKGREVISION= 2 CATEGORIES= devel perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/S/SA/SARTAK/} @@ -19,7 +18,8 @@ DEPENDS+= p5-Any-Moose-[0-9]*:../../devel/p5-Any-Moose DEPENDS+= p5-Sub-Exporter-[0-9]*:../../devel/p5-Sub-Exporter # For test target -BUILD_DEPENDS+= p5-Test-Exception-[0-9]*:../../devel/p5-Test-Exception +BUILD_DEPENDS+= p5-Try-Tiny-[0-9]*:../../devel/p5-Try-Tiny +BUILD_DEPENDS+= p5-Test-Fatal-[0-9]*:../../devel/p5-Test-Fatal PERL5_PACKLIST= auto/Path/Dispatcher/.packlist diff --git a/devel/p5-Path-Dispatcher/distinfo b/devel/p5-Path-Dispatcher/distinfo index 25d0f7fc479..239b0c0c48b 100644 --- a/devel/p5-Path-Dispatcher/distinfo +++ b/devel/p5-Path-Dispatcher/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.4 2010/03/16 21:52:11 sno Exp $ +$NetBSD: distinfo,v 1.5 2011/12/02 05:19:07 hiramatsu Exp $ -SHA1 (Path-Dispatcher-0.15.tar.gz) = 22cf598a29b76d430d6a1d90ce48c3613420eea5 -RMD160 (Path-Dispatcher-0.15.tar.gz) = d49702578ca05fcee46af02823a28320f83032fc -Size (Path-Dispatcher-0.15.tar.gz) = 32006 bytes +SHA1 (Path-Dispatcher-1.04.tar.gz) = 6b10853f40fbbbdd22b0443aa057d2ba6433267a +RMD160 (Path-Dispatcher-1.04.tar.gz) = 6b9b2a87982a2e9c622dbda0e2236b4684f8fb6e +Size (Path-Dispatcher-1.04.tar.gz) = 37800 bytes |