[Catalyst-commits] r12184 - in Catalyst-Devel/1.00/trunk: . lib/Catalyst

t0m at dev.catalyst.perl.org t0m at dev.catalyst.perl.org
Fri Dec 4 11:12:27 GMT 2009


Author: t0m
Date: 2009-12-04 11:12:27 +0000 (Fri, 04 Dec 2009)
New Revision: 12184

Modified:
   Catalyst-Devel/1.00/trunk/Changes
   Catalyst-Devel/1.00/trunk/Makefile.PL
   Catalyst-Devel/1.00/trunk/lib/Catalyst/Helper.pm
Log:
Fix bug regerating applications

Modified: Catalyst-Devel/1.00/trunk/Changes
===================================================================
--- Catalyst-Devel/1.00/trunk/Changes	2009-12-04 07:03:02 UTC (rev 12183)
+++ Catalyst-Devel/1.00/trunk/Changes	2009-12-04 11:12:27 UTC (rev 12184)
@@ -1,5 +1,10 @@
 This file documents the revision history for Perl extension Catalyst-Devel.
 
+        - Use MooseX::Emulate::Class::Accessor::Fast so that options
+          supplied to ->new are put into the hash even if attributes
+          do not exist for them. This fixes -force recreating application
+          scripts.
+
 1.21_01  2009-12-01 03:34:23
         - Update generated scripts to use the new Catalyst::Script:: classes
           available from Catalyst 5.80014_02.

Modified: Catalyst-Devel/1.00/trunk/Makefile.PL
===================================================================
--- Catalyst-Devel/1.00/trunk/Makefile.PL	2009-12-04 07:03:02 UTC (rev 12183)
+++ Catalyst-Devel/1.00/trunk/Makefile.PL	2009-12-04 11:12:27 UTC (rev 12184)
@@ -4,6 +4,7 @@
 all_from 'lib/Catalyst/Devel.pm';
 
 requires 'Moose';
+requires 'MooseX::Emulate::Class::Accessor::Fast';
 requires 'File::ShareDir';
 requires 'namespace::clean';
 requires 'namespace::autoclean';

Modified: Catalyst-Devel/1.00/trunk/lib/Catalyst/Helper.pm
===================================================================
--- Catalyst-Devel/1.00/trunk/lib/Catalyst/Helper.pm	2009-12-04 07:03:02 UTC (rev 12183)
+++ Catalyst-Devel/1.00/trunk/lib/Catalyst/Helper.pm	2009-12-04 11:12:27 UTC (rev 12184)
@@ -15,6 +15,8 @@
 use File::ShareDir qw/dist_dir/;
 use namespace::autoclean;
 
+with 'MooseX::Emulate::Class::Accessor::Fast';
+
 my %cache;
 
 =head1 NAME




More information about the Catalyst-commits mailing list