[Catalyst-commits] r12788 - in Catalyst-Model-DBIC-Schema/trunk: .
lib/Catalyst/Helper/Model/DBIC lib/Catalyst/Model/DBIC
caelum at dev.catalyst.perl.org
caelum at dev.catalyst.perl.org
Mon Feb 1 15:10:33 GMT 2010
Author: caelum
Date: 2010-02-01 15:10:32 +0000 (Mon, 01 Feb 2010)
New Revision: 12788
Modified:
Catalyst-Model-DBIC-Schema/trunk/Changes
Catalyst-Model-DBIC-Schema/trunk/lib/Catalyst/Helper/Model/DBIC/Schema.pm
Catalyst-Model-DBIC-Schema/trunk/lib/Catalyst/Model/DBIC/Schema.pm
Log:
better 'on_connect_do' parsing in helper, release
Modified: Catalyst-Model-DBIC-Schema/trunk/Changes
===================================================================
--- Catalyst-Model-DBIC-Schema/trunk/Changes 2010-02-01 12:44:40 UTC (rev 12787)
+++ Catalyst-Model-DBIC-Schema/trunk/Changes 2010-02-01 15:10:32 UTC (rev 12788)
@@ -1,5 +1,8 @@
Revision history for Perl extension Catalyst::Model::DBIC::Schema
+0.39 Mon Feb 1 10:08:51 EST 2010
+ - better 'on_connect_do' parsing in Helper
+
0.38 Fri Jan 15 06:41:24 EST 2010
- re-add the 'storage' proxy method
Modified: Catalyst-Model-DBIC-Schema/trunk/lib/Catalyst/Helper/Model/DBIC/Schema.pm
===================================================================
--- Catalyst-Model-DBIC-Schema/trunk/lib/Catalyst/Helper/Model/DBIC/Schema.pm 2010-02-01 12:44:40 UTC (rev 12787)
+++ Catalyst-Model-DBIC-Schema/trunk/lib/Catalyst/Helper/Model/DBIC/Schema.pm 2010-02-01 15:10:32 UTC (rev 12788)
@@ -4,7 +4,7 @@
use Moose;
no warnings 'uninitialized';
-our $VERSION = '0.38';
+our $VERSION = '0.39';
$VERSION = eval $VERSION;
use Carp;
@@ -488,7 +488,7 @@
return $code if looks_like_number $code;
- return $code if $code =~ m{^[\w;:/]*\z};
+ return $code if not $self->_is_struct($code);
return eval "{no strict; $code}";
}
Modified: Catalyst-Model-DBIC-Schema/trunk/lib/Catalyst/Model/DBIC/Schema.pm
===================================================================
--- Catalyst-Model-DBIC-Schema/trunk/lib/Catalyst/Model/DBIC/Schema.pm 2010-02-01 12:44:40 UTC (rev 12787)
+++ Catalyst-Model-DBIC-Schema/trunk/lib/Catalyst/Model/DBIC/Schema.pm 2010-02-01 15:10:32 UTC (rev 12788)
@@ -5,7 +5,7 @@
extends 'Catalyst::Model';
with 'CatalystX::Component::Traits';
-our $VERSION = '0.38';
+our $VERSION = '0.39';
$VERSION = eval $VERSION;
use namespace::autoclean;
More information about the Catalyst-commits
mailing list