[SCM] libmessage-passing-perl Debian packaging branch, master, updated. debian/0.111-3-14-g44f6e88
Tomas Doran
bobtfish at bobtfish.net
Mon May 6 11:56:55 UTC 2013
The following commit has been merged in the master branch:
commit 39f8d151339e269a1f831631e8846a57e23dc665
Author: Tomas Doran <bobtfish at bobtfish.net>
Date: Mon Apr 30 09:04:18 2012 +0100
Fix warnings
diff --git a/lib/Log/Stash/Role/Input.pm b/lib/Log/Stash/Role/Input.pm
index 40da716..2289ac2 100644
--- a/lib/Log/Stash/Role/Input.pm
+++ b/lib/Log/Stash/Role/Input.pm
@@ -7,7 +7,7 @@ use namespace::autoclean;
sub decode { from_json( $_[1], { utf8 => 1 } ) }
has output_to => (
- does => 'Log::Stash::Role::Output',
+ isa => 'Log::Stash::Types::Output',
is => 'ro',
required => 1,
coerce => 1,
diff --git a/lib/Log/Stash/Types.pm b/lib/Log/Stash/Types.pm
index 846c343..616c4f4 100644
--- a/lib/Log/Stash/Types.pm
+++ b/lib/Log/Stash/Types.pm
@@ -7,14 +7,11 @@ use MooseX::Getopt;
use Try::Tiny;
use namespace::autoclean;
-role_type $_ for map { "Log::Stash::Role::$_" }
- qw/
- Input
- Filter
- Output
- /;
+role_type 'Log::Stash::Types::Input', { role => 'Log::Stash::Role::Input' };
+role_type 'Log::Stash::Types::Output', { role => 'Log::Stash::Role::Output' };
+role_type 'Log::Stash::Types::Filter', { role => 'Log::Stash::Role::Filter' };
-coerce 'Log::Stash::Role::Output',
+coerce 'Log::Stash::Types::Output',
from 'HashRef',
via {
my %stuff = %$_;
--
libmessage-passing-perl Debian packaging
More information about the Pkg-perl-cvs-commits
mailing list