[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:39 UTC 2013


The following commit has been merged in the master branch:
commit 5e599da6658ac5e107cb9494701efb539728a582
Author: Tomas Doran <bobtfish at bobtfish.net>
Date:   Sat Feb 25 12:51:04 2012 +0000

    Rename Mixin => Role, I've been writing too much ruby recently clearly

diff --git a/lib/Log/Stash/Input/STDIN.pm b/lib/Log/Stash/Input/STDIN.pm
index ed1ee22..988fecd 100644
--- a/lib/Log/Stash/Input/STDIN.pm
+++ b/lib/Log/Stash/Input/STDIN.pm
@@ -4,7 +4,7 @@ use AnyEvent;
 use Try::Tiny;
 use namespace::autoclean;
 
-with 'Log::Stash::Mixin::Input';
+with 'Log::Stash::Role::Input';
 
 sub BUILD {
     my $self = shift;
diff --git a/lib/Log/Stash/Output/Null.pm b/lib/Log/Stash/Output/Null.pm
index 4ed12d2..b8f64ca 100644
--- a/lib/Log/Stash/Output/Null.pm
+++ b/lib/Log/Stash/Output/Null.pm
@@ -2,7 +2,7 @@ package Log::Stash::Output::Null;
 use Moose;
 use namespace::autoclean;
 
-with 'Log::Stash::Mixin::Output';
+with 'Log::Stash::Role::Output';
 
 sub consume {}
 
diff --git a/lib/Log/Stash/Output/STDOUT.pm b/lib/Log/Stash/Output/STDOUT.pm
index 519657c..a89098b 100644
--- a/lib/Log/Stash/Output/STDOUT.pm
+++ b/lib/Log/Stash/Output/STDOUT.pm
@@ -2,7 +2,7 @@ package Log::Stash::Output::STDOUT;
 use Moose;
 use namespace::autoclean;
 
-with 'Log::Stash::Mixin::Output';
+with 'Log::Stash::Role::Output';
 
 sub consume {
     my $self = shift;
diff --git a/lib/Log/Stash/Output/Test.pm b/lib/Log/Stash/Output/Test.pm
index 0e1b9e2..77b7738 100644
--- a/lib/Log/Stash/Output/Test.pm
+++ b/lib/Log/Stash/Output/Test.pm
@@ -27,7 +27,7 @@ after consume => sub {
         if $self->_has_on_consume_cb;
 };
 
-with 'Log::Stash::Mixin::Output';
+with 'Log::Stash::Role::Output';
 
 __PACKAGE__->meta->make_immutable;
 1;
diff --git a/lib/Log/Stash/Mixin/Filter.pm b/lib/Log/Stash/Role/Filter.pm
similarity index 82%
rename from lib/Log/Stash/Mixin/Filter.pm
rename to lib/Log/Stash/Role/Filter.pm
index 34035a5..71e14f9 100644
--- a/lib/Log/Stash/Mixin/Filter.pm
+++ b/lib/Log/Stash/Role/Filter.pm
@@ -1,9 +1,9 @@
-package Log::Stash::Mixin::Filter;
+package Log::Stash::Role::Filter;
 use Moose::Role;
 use namespace::autoclean;
 
-with 'Log::Stash::Mixin::Consumer';
-with 'Log::Stash::Mixin::Producer';
+with 'Log::Stash::Role::Input';
+with 'Log::Stash::Role::Output';
 
 requires 'filter';
 
diff --git a/lib/Log/Stash/Mixin/Input.pm b/lib/Log/Stash/Role/Input.pm
similarity index 91%
rename from lib/Log/Stash/Mixin/Input.pm
rename to lib/Log/Stash/Role/Input.pm
index 8b79d18..d5d8885 100644
--- a/lib/Log/Stash/Mixin/Input.pm
+++ b/lib/Log/Stash/Role/Input.pm
@@ -1,4 +1,4 @@
-package Log::Stash::Mixin::Input;
+package Log::Stash::Role::Input;
 use Moose::Role;
 use JSON qw/ from_json /;
 use namespace::autoclean;
diff --git a/lib/Log/Stash/Mixin/Output.pm b/lib/Log/Stash/Role/Output.pm
similarity index 92%
rename from lib/Log/Stash/Mixin/Output.pm
rename to lib/Log/Stash/Role/Output.pm
index badb477..9f371db 100644
--- a/lib/Log/Stash/Mixin/Output.pm
+++ b/lib/Log/Stash/Role/Output.pm
@@ -1,4 +1,4 @@
-package Log::Stash::Mixin::Output;
+package Log::Stash::Role::Output;
 use Moose::Role;
 use JSON qw/ to_json /;
 use namespace::autoclean;

-- 
libmessage-passing-perl Debian packaging



More information about the Pkg-perl-cvs-commits mailing list