released C-D 1.06
Marcus Ramberg [Wed, 9 Apr 2008 06:36:21 +0000 (06:36 +0000)]
Changes
lib/Catalyst/Devel.pm
lib/Catalyst/Helper.pm

diff --git a/Changes b/Changes
index 9556cb1..89b2a0e 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,5 +1,7 @@
 This file documents the revision history for Perl extension Catalyst-Devel.
 
+1.06   2008-04-09 08:19:00
+        - load plugins in setup, not plugins. (ema_zep@libero.it)
 1.05   2008-04-07 11:55:00
         - Add missing parent dependency to created projects.
 1.04   2008-04-06 16:04:00
index ff155d4..a4ebf5c 100644 (file)
@@ -3,7 +3,7 @@ package Catalyst::Devel;
 use strict;
 use warnings;
 
-our $VERSION             = '1.05';
+our $VERSION             = '1.06';
 our $CATALYST_SCRIPT_GEN = 31;
 
 =head1 NAME
index 1835038..23412cc 100644 (file)
@@ -619,8 +619,6 @@ use Catalyst::Runtime '5.70';
 
 use parent qw/Catalyst/;
 
-[% name %]->plugins(qw/-Debug ConfigLoader Static::Simple/);
-
 our $VERSION = '0.01';
 
 # Configure the application. 
@@ -635,7 +633,7 @@ our $VERSION = '0.01';
 __PACKAGE__->config( name => '[% name %]' );
 
 # Start the application
-__PACKAGE__->setup;
+__PACKAGE__->setup(qw/-Debug ConfigLoader Static::Simple/);
 
 
 =head1 NAME