[libmessage-passing-zeromq-perl] 28/78: change to use new cb param
Jonas Smedegaard
js at alioth.debian.org
Mon Sep 30 09:28:21 UTC 2013
This is an automated email from the git hooks/post-receive script.
js pushed a commit to branch master
in repository libmessage-passing-zeromq-perl.
commit c55856feb2c87705f8eac105a2ee456e22c9a8bc
Author: Tomas Doran <bobtfish at bobtfish.net>
Date: Fri Mar 23 00:56:32 2012 +0000
change to use new cb param
---
Makefile.PL | 2 +-
t/input.t | 2 +-
t/output.t | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Makefile.PL b/Makefile.PL
index 6b11d8c..76193de 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -14,7 +14,7 @@ requires 'JSON';
requires 'JSON::XS';
requires 'Try::Tiny';
requires 'Task::Weaken';
-requires 'Log::Stash' => '0.001';
+requires 'Log::Stash' => '0.002';
requires 'POSIX::AtFork' => '0.02';
requires 'Sub::Name';
diff --git a/t/input.t b/t/input.t
index 87dc6bd..f758dee 100644
--- a/t/input.t
+++ b/t/input.t
@@ -9,7 +9,7 @@ use ZeroMQ qw/:all/;
my $cv = AnyEvent->condvar;
my $output = Log::Stash::Output::Test->new(
- on_consume_cb => sub { $cv->send },
+ cb => sub { $cv->send },
);
my $input = Log::Stash::Input::ZeroMQ->new(
socket_bind => 'tcp://*:5558',
diff --git a/t/output.t b/t/output.t
index 044452d..df61c0e 100644
--- a/t/output.t
+++ b/t/output.t
@@ -19,7 +19,7 @@ my $cv = AnyEvent->condvar;
my $input = Log::Stash::Input::ZeroMQ->new(
socket_bind => 'tcp://*:5558',
output_to => Log::Stash::Output::Test->new(
- on_consume_cb => sub { $cv->send }
+ cb => sub { $cv->send }
),
);
$cv->recv;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libmessage-passing-zeromq-perl.git
More information about the Pkg-perl-cvs-commits
mailing list