From: Alexander Hartmaier Date: Tue, 10 Aug 2010 16:07:39 +0000 (+0200) Subject: removed check_rel to _check_rel to exclude it from Pod::Coverage testing X-Git-Tag: 2.002003~12 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Controller-DBIC-API.git;a=commitdiff_plain;h=f0f07ea33a8782afb563bdc40a607d6823cb0a79 removed check_rel to _check_rel to exclude it from Pod::Coverage testing --- diff --git a/lib/Catalyst/Controller/DBIC/API/RequestArguments.pm b/lib/Catalyst/Controller/DBIC/API/RequestArguments.pm index a2fee74..e920857 100644 --- a/lib/Catalyst/Controller/DBIC/API/RequestArguments.pm +++ b/lib/Catalyst/Controller/DBIC/API/RequestArguments.pm @@ -10,8 +10,6 @@ use namespace::autoclean; use Catalyst::Controller::DBIC::API::JoinBuilder; -=for Pod::Coverage check_rel - =attribute_private search_validator A Catalyst::Controller::DBIC::API::Validator instance used solely to validate search parameters @@ -199,13 +197,13 @@ Like the synopsis in DBIC::API shows, you can declare a "template" of what is al { my ($self, $new) = @_; - sub check_rel { + sub _check_rel { my ($self, $rel, $static) = @_; if(ArrayRef->check($rel)) { foreach my $rel_sub (@$rel) { - $self->check_rel($rel_sub, $static); + $self->_check_rel($rel_sub, $static); } } elsif(HashRef->check($rel)) @@ -225,7 +223,7 @@ Like the synopsis in DBIC::API shows, you can declare a "template" of what is al foreach my $rel (@$new) { - $self->check_rel($rel, $p->static); + $self->_check_rel($rel, $p->static); } }, );