From: Rafael Kitover Date: Fri, 15 Jan 2010 11:42:16 +0000 (+0000) Subject: re-add the "storage" proxy method, release X-Git-Tag: v0.38^0 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Model-DBIC-Schema.git;a=commitdiff_plain;h=1d67a585d2fdb2ca15a95516ef5ec0973d34a3f8 re-add the "storage" proxy method, release --- diff --git a/Changes b/Changes index bfdbfc3..c84401c 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,8 @@ Revision history for Perl extension Catalyst::Model::DBIC::Schema +0.38 Fri Jan 15 06:41:24 EST 2010 + - re-add the 'storage' proxy method + 0.37 Thu Jan 14 10:20:43 EST 2010 - support single replicant hashref from config diff --git a/lib/Catalyst/Helper/Model/DBIC/Schema.pm b/lib/Catalyst/Helper/Model/DBIC/Schema.pm index c177a30..86be7c7 100644 --- a/lib/Catalyst/Helper/Model/DBIC/Schema.pm +++ b/lib/Catalyst/Helper/Model/DBIC/Schema.pm @@ -4,7 +4,7 @@ use namespace::autoclean; use Moose; no warnings 'uninitialized'; -our $VERSION = '0.37'; +our $VERSION = '0.38'; $VERSION = eval $VERSION; use Carp; diff --git a/lib/Catalyst/Model/DBIC/Schema.pm b/lib/Catalyst/Model/DBIC/Schema.pm index f509af3..b04eedb 100644 --- a/lib/Catalyst/Model/DBIC/Schema.pm +++ b/lib/Catalyst/Model/DBIC/Schema.pm @@ -5,7 +5,7 @@ use mro 'c3'; extends 'Catalyst::Model'; with 'CatalystX::Component::Traits'; -our $VERSION = '0.37'; +our $VERSION = '0.38'; $VERSION = eval $VERSION; use namespace::autoclean; @@ -485,6 +485,8 @@ sub txn_do { shift->schema->txn_do(@_); } sub txn_scope_guard { shift->schema->txn_scope_guard(@_); } +sub storage { shift->schema->storage(@_); } + =head2 setup Called at C time before configuration, but after L is