add use_moose=1 to loader opts for create=static, release v0.42
Rafael Kitover [Sat, 24 Jul 2010 23:14:43 +0000 (23:14 +0000)]
Changes
lib/Catalyst/Helper/Model/DBIC/Schema.pm
lib/Catalyst/Model/DBIC/Schema.pm

diff --git a/Changes b/Changes
index 2085137..09ed79a 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,5 +1,8 @@
 Revision history for Perl extension Catalyst::Model::DBIC::Schema
 
+0.42  Sat Jul 24 23:14:27 UTC 2010
+        - add use_moose=1 to loader options by default for create=static
+
 0.41  Wed Apr 28 08:42:13 EDT 2010
         - allow configuring ResultSets using the SchemaProxy trait
 
index eb89068..d10e76a 100644 (file)
@@ -4,7 +4,7 @@ use namespace::autoclean;
 use Moose;
 no warnings 'uninitialized';
 
-our $VERSION = '0.41';
+our $VERSION = '0.42';
 $VERSION = eval $VERSION;
 
 use Carp;
@@ -265,6 +265,7 @@ sub _parse_loader_args {
 
     %result = (
         relationships => 1,
+        use_moose => 1,
         (!$self->old_schema ? (
                 use_namespaces => 1
             ) : ()),
index 8ef4bf4..3de4782 100644 (file)
@@ -5,7 +5,7 @@ use mro 'c3';
 extends 'Catalyst::Model';
 with 'CatalystX::Component::Traits';
 
-our $VERSION = '0.41';
+our $VERSION = '0.42';
 $VERSION = eval $VERSION;
 
 use namespace::autoclean;