This is an automated email from the git hooks/post-receive script. js pushed a commit to annotated tag release-0.005 in repository libmoox-role-logger-perl.
commit 3ce3bafca6c7c5bf76b7ca1a2b78033b4cf0ad80 Author: David Golden <dagol...@cpan.org> Date: Wed Sep 24 09:55:38 2014 -0400 drop dependency on Types::Standard --- Changes | 5 +++++ cpanfile | 1 - lib/MooX/Role/Logger.pm | 8 ++------ 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Changes b/Changes index c0529d2..69835ba 100644 --- a/Changes +++ b/Changes @@ -2,6 +2,11 @@ Revision history for MooX-Role-Logger {{$NEXT}} + [Changed] + + - Dropped dependency on Types::Standard. The logging category + will be coerced to a string automatically rather than validated. + 0.004 2014-09-18 10:32:10-04:00 America/New_York [Changed] diff --git a/cpanfile b/cpanfile index c9d39ef..de95fa8 100644 --- a/cpanfile +++ b/cpanfile @@ -1,6 +1,5 @@ requires "Log::Any" => "0"; requires "Moo::Role" => "0"; -requires "Types::Standard" => "0"; requires "perl" => "5.006"; requires "strict" => "0"; requires "warnings" => "0"; diff --git a/lib/MooX/Role/Logger.pm b/lib/MooX/Role/Logger.pm index ec586ea..4dcd58e 100644 --- a/lib/MooX/Role/Logger.pm +++ b/lib/MooX/Role/Logger.pm @@ -6,7 +6,6 @@ package MooX::Role::Logger; # VERSION use Moo::Role; -use Types::Standard qw/Str/; use Log::Any (); @@ -24,13 +23,10 @@ has _logger => ( sub _build__logger { my ($self) = @_; - return Log::Any->get_logger( category => $self->_logger_category ); + return Log::Any->get_logger( category => "" . $self->_logger_category ); } -has _logger_category => ( - is => 'lazy', - isa => Str, -); +has _logger_category => ( is => 'lazy', ); =method _build__logger_category -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libmoox-role-logger-perl.git _______________________________________________ Pkg-perl-cvs-commits mailing list Pkg-perl-cvs-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits