canged prereq for D:D to ensure fix of method call issue
Robert 'phaylon' Sedlacek [Sat, 15 Aug 2009 16:55:36 +0000 (18:55 +0200)]
Changes
Makefile.PL
examples/MyApp-Web/lib/MyApp/Web/Controller/Root.pm
t/lib/TestApp/Controller/Root.pm

diff --git a/Changes b/Changes
index 2fd39b7..31444fe 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,5 +1,6 @@
 [0.006] ...
     - fixed keyword listing method to use new MXD around
+    - changed prereq for D:D to ensure fix of method call issue
 
 [0.005] Wed Aug 12 22:51:42 CEST 2009
     - action signature errors now lead to 404's, not 400's
index bd05175..8fc1fd1 100644 (file)
@@ -24,7 +24,7 @@ requires        'parent',                           '0.221';
 requires        'Data::Dump',                       '1.14';
 requires        'Catalyst',                         '5.80007';
 requires        'CLASS',                            '1.00';
-requires        'Devel::Declare',                   '0.005010';
+requires        'Devel::Declare',                   '0.005011';
 requires        'Moose',                            '0.88';
 requires        'MooseX::AttributeHelpers',         '0.16';
 requires        'MooseX::Declare',                  '0.23';
index 309905b..3f2e3d6 100644 (file)
@@ -6,7 +6,7 @@ controller MyApp::Web::Controller::Root
       with MyApp::Web::ControllerRole::RenderView {
 
     # $CLASS is provided by CLASS.pm
-    $CLASS->config->{namespace} = '';
+    $CLASS->config(namespace => '');
 
 
     # this is the common root action for all other actions
index 4c2d88f..4318c04 100644 (file)
@@ -1,7 +1,7 @@
 use CatalystX::Declare;
 
 controller TestApp::Controller::Root {
-    CLASS->config->{namespace} = '';
+    CLASS->config(namespace => '');
 
     action base under '/' as '';
 }