[Bps-public-commit] Path-Dispatcher branch, master, updated. d93ee06ca6a157fa04d98d9a8a7549cc50a8f45f

sartak at bestpractical.com sartak at bestpractical.com
Sun Aug 9 13:39:17 EDT 2009


The branch, master has been updated
       via  d93ee06ca6a157fa04d98d9a8a7549cc50a8f45f (commit)
       via  4ab67a2ed5a0aa12b6a1fc6c5684145f01650bfc (commit)
      from  cd15abb1a574e312685861d1b2a5f5180f62dd03 (commit)

Summary of changes:
 Changes                      |    3 ++-
 lib/Path/Dispatcher/Match.pm |    2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

- Log -----------------------------------------------------------------
commit 4ab67a2ed5a0aa12b6a1fc6c5684145f01650bfc
Author: Shawn M Moore <sartak at gmail.com>
Date:   Sun Aug 9 13:38:25 2009 -0400

    0.13 changes

diff --git a/Changes b/Changes
index 6619eb5..d09b268 100644
--- a/Changes
+++ b/Changes
@@ -1,6 +1,7 @@
 Revision history for Path-Dispatcher
 
-0.13
+0.13 Sun Aug 9 13:38:19 2009
+        Add unshift_rule to classes that do Role::Rules
 
 0.12 Fri Apr 17 03:21:05 2009
         Fix a bug with undefined capture variables being converted to the

commit d93ee06ca6a157fa04d98d9a8a7549cc50a8f45f
Author: Shawn M Moore <sartak at gmail.com>
Date:   Sun Aug 9 13:39:03 2009 -0400

    Revert ? 1 : 0, it was just a weird symptom

diff --git a/lib/Path/Dispatcher/Match.pm b/lib/Path/Dispatcher/Match.pm
index ce3151e..5ba67b9 100644
--- a/lib/Path/Dispatcher/Match.pm
+++ b/lib/Path/Dispatcher/Match.pm
@@ -29,7 +29,7 @@ has set_number_vars => (
     is      => 'rw',
     isa     => 'Bool',
     lazy    => 1,
-    default => sub { ref(shift->result) eq 'ARRAY' ? 1 : 0 },
+    default => sub { ref(shift->result) eq 'ARRAY' },
 );
 
 sub run {

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list