[Catalyst-commits] r10396 - in trunk/Catalyst-Model-DBIC-Schema: .
lib/Catalyst/Model/DBIC
caelum at dev.catalyst.perl.org
caelum at dev.catalyst.perl.org
Sat May 30 18:45:17 GMT 2009
Author: caelum
Date: 2009-05-30 18:45:17 +0000 (Sat, 30 May 2009)
New Revision: 10396
Modified:
trunk/Catalyst-Model-DBIC-Schema/Makefile.PL
trunk/Catalyst-Model-DBIC-Schema/lib/Catalyst/Model/DBIC/Schema.pm
Log:
fix mx::traits usage and update runtime dep
Modified: trunk/Catalyst-Model-DBIC-Schema/Makefile.PL
===================================================================
--- trunk/Catalyst-Model-DBIC-Schema/Makefile.PL 2009-05-30 18:35:16 UTC (rev 10395)
+++ trunk/Catalyst-Model-DBIC-Schema/Makefile.PL 2009-05-30 18:45:17 UTC (rev 10396)
@@ -4,8 +4,8 @@
all_from 'lib/Catalyst/Model/DBIC/Schema.pm';
requires 'DBIx::Class' => '0.08103';
-requires 'Catalyst::Runtime' => '5.80003';
-requires 'MooseX::Traits' => '0.06';
+requires 'Catalyst::Runtime' => '5.80005';
+requires 'MooseX::Traits' => '0.05';
requires 'Moose';
requires 'Moose::Autobox';
requires 'MooseX::Types';
Modified: trunk/Catalyst-Model-DBIC-Schema/lib/Catalyst/Model/DBIC/Schema.pm
===================================================================
--- trunk/Catalyst-Model-DBIC-Schema/lib/Catalyst/Model/DBIC/Schema.pm 2009-05-30 18:35:16 UTC (rev 10395)
+++ trunk/Catalyst-Model-DBIC-Schema/lib/Catalyst/Model/DBIC/Schema.pm 2009-05-30 18:45:17 UTC (rev 10396)
@@ -472,13 +472,13 @@
if (my $traits = delete $args->{traits}) {
my @traits = $class->_resolve_traits($traits->flatten);
- return $class->new_with_traits({
+ return $class->new_with_traits(
traits => \@traits,
_original_class_name => $class,
_traits => $traits,
_resolved_traits => \@traits,
%$args
- });
+ );
}
return $class->new($args);
More information about the Catalyst-commits
mailing list