Skips structs when reading extra loader args after the connect_info in
the helper.
Also a new release, 0.52.
Revision history for Perl extension Catalyst::Model::DBIC::Schema
+0.52 Thu Jul 28 22:07:38 UTC 2011
+ - fix a bug in loader args reading after connect_info (skip structs)
+
0.51 Wed Jul 27 20:57:47 UTC 2011
- warn when helper finds no tables
- accept loader args after connect_info
use Moose;
no warnings 'uninitialized';
-our $VERSION = '0.51';
+our $VERSION = '0.52';
$VERSION = eval $VERSION;
use Carp;
}
while (defined $args->[$i]) {
+ $i++ while $self->_is_struct($args->[$i]);
+
+ last if not defined $args->[$i];
+
my ($key, $val) = split /=/, $args->[$i++], 2;
if ($self->_is_struct($val)) {
extends 'Catalyst::Model';
with 'CatalystX::Component::Traits';
-our $VERSION = '0.51';
+our $VERSION = '0.52';
$VERSION = eval $VERSION;
use namespace::autoclean;