[Bps-public-commit] r16368 - in Path-Dispatcher/trunk: lib/Path/Dispatcher lib/Path/Dispatcher/Rule

sartak at bestpractical.com sartak at bestpractical.com
Sun Oct 19 07:12:31 EDT 2008


Author: sartak
Date: Sun Oct 19 07:12:25 2008
New Revision: 16368

Modified:
   Path-Dispatcher/trunk/   (props changed)
   Path-Dispatcher/trunk/lib/Path/Dispatcher/Match.pm
   Path-Dispatcher/trunk/lib/Path/Dispatcher/Rule.pm
   Path-Dispatcher/trunk/lib/Path/Dispatcher/Rule/CodeRef.pm
   Path-Dispatcher/trunk/lib/Path/Dispatcher/Rule/Regex.pm
   Path-Dispatcher/trunk/lib/Path/Dispatcher/Rule/Tokens.pm
   Path-Dispatcher/trunk/lib/Path/Dispatcher/Rule/Under.pm

Log:
 r74140 at onn:  sartak | 2008-10-19 07:10:52 -0400
 Make attributes rw


Modified: Path-Dispatcher/trunk/lib/Path/Dispatcher/Match.pm
==============================================================================
--- Path-Dispatcher/trunk/lib/Path/Dispatcher/Match.pm	(original)
+++ Path-Dispatcher/trunk/lib/Path/Dispatcher/Match.pm	Sun Oct 19 07:12:25 2008
@@ -6,28 +6,28 @@
 use Path::Dispatcher::Rule;
 
 has path => (
-    is       => 'ro',
+    is       => 'rw',
     isa      => 'Str',
     required => 1,
 );
 
 has leftover => (
-    is  => 'ro',
+    is  => 'rw',
     isa => 'Str',
 );
 
 has rule => (
-    is       => 'ro',
+    is       => 'rw',
     isa      => 'Path::Dispatcher::Rule',
     required => 1,
 );
 
 has result => (
-    is => 'ro',
+    is => 'rw',
 );
 
 has set_number_vars => (
-    is      => 'ro',
+    is      => 'rw',
     isa     => 'Bool',
     lazy    => 1,
     default => sub { ref(shift->result) eq 'ARRAY' },

Modified: Path-Dispatcher/trunk/lib/Path/Dispatcher/Rule.pm
==============================================================================
--- Path-Dispatcher/trunk/lib/Path/Dispatcher/Rule.pm	(original)
+++ Path-Dispatcher/trunk/lib/Path/Dispatcher/Rule.pm	Sun Oct 19 07:12:25 2008
@@ -8,13 +8,13 @@
 sub match_class { "Path::Dispatcher::Match" }
 
 has block => (
-    is        => 'ro',
+    is        => 'rw',
     isa       => 'CodeRef',
     predicate => 'has_block',
 );
 
 has prefix => (
-    is      => 'ro',
+    is      => 'rw',
     isa     => 'Bool',
     default => 0,
 );

Modified: Path-Dispatcher/trunk/lib/Path/Dispatcher/Rule/CodeRef.pm
==============================================================================
--- Path-Dispatcher/trunk/lib/Path/Dispatcher/Rule/CodeRef.pm	(original)
+++ Path-Dispatcher/trunk/lib/Path/Dispatcher/Rule/CodeRef.pm	Sun Oct 19 07:12:25 2008
@@ -4,7 +4,7 @@
 extends 'Path::Dispatcher::Rule';
 
 has matcher => (
-    is       => 'ro',
+    is       => 'rw',
     isa      => 'CodeRef',
     required => 1,
 );

Modified: Path-Dispatcher/trunk/lib/Path/Dispatcher/Rule/Regex.pm
==============================================================================
--- Path-Dispatcher/trunk/lib/Path/Dispatcher/Rule/Regex.pm	(original)
+++ Path-Dispatcher/trunk/lib/Path/Dispatcher/Rule/Regex.pm	Sun Oct 19 07:12:25 2008
@@ -4,7 +4,7 @@
 extends 'Path::Dispatcher::Rule';
 
 has regex => (
-    is       => 'ro',
+    is       => 'rw',
     isa      => 'RegexpRef',
     required => 1,
 );

Modified: Path-Dispatcher/trunk/lib/Path/Dispatcher/Rule/Tokens.pm
==============================================================================
--- Path-Dispatcher/trunk/lib/Path/Dispatcher/Rule/Tokens.pm	(original)
+++ Path-Dispatcher/trunk/lib/Path/Dispatcher/Rule/Tokens.pm	Sun Oct 19 07:12:25 2008
@@ -28,7 +28,7 @@
      => as 'ArrayRef[Path::Dispatcher::Token|Path::Dispatcher::TokenAlternation]';
 
 has tokens => (
-    is         => 'ro',
+    is         => 'rw',
     isa        => 'Path::Dispatcher::Tokens',
     isa        => 'ArrayRef',
     auto_deref => 1,
@@ -36,7 +36,7 @@
 );
 
 has delimiter => (
-    is      => 'ro',
+    is      => 'rw',
     isa     => 'Str',
     default => ' ',
 );

Modified: Path-Dispatcher/trunk/lib/Path/Dispatcher/Rule/Under.pm
==============================================================================
--- Path-Dispatcher/trunk/lib/Path/Dispatcher/Rule/Under.pm	(original)
+++ Path-Dispatcher/trunk/lib/Path/Dispatcher/Rule/Under.pm	Sun Oct 19 07:12:25 2008
@@ -5,7 +5,7 @@
 extends 'Path::Dispatcher::Rule';
 
 has predicate => (
-    is  => 'ro',
+    is  => 'rw',
     isa => 'Path::Dispatcher::Rule',
 );
 



More information about the Bps-public-commit mailing list