[libmessage-passing-zeromq-perl] 03/78: Fix bugs

Jonas Smedegaard js at alioth.debian.org
Mon Sep 30 09:28:16 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 ba3d85d1567b8cec84b1c75eabd4b5d1375452bc
Author: Tomas Doran <bobtfish at bobtfish.net>
Date:   Sat Feb 25 09:46:17 2012 +0000

    Fix bugs
---
 .gitignore                    |    1 +
 Makefile.PL                   |    3 +++
 lib/Log/Stash/Input/ZeroMQ.pm |    3 +++
 3 files changed, 7 insertions(+)

diff --git a/.gitignore b/.gitignore
index 5bc14e2..aa56734 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
+*.swp
 META.yml
 META.json
 MYMETA.yml
diff --git a/Makefile.PL b/Makefile.PL
index d3b7ff0..0c7cedf 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -11,6 +11,9 @@ requires 'ZeroMQ';
 requires 'JSON';
 requires 'JSON::XS';
 requires 'Try::Tiny';
+requires 'Task::Weaken';
+
+test_requires 'Test::More' => '0.88';
 
 WriteAll;
 
diff --git a/lib/Log/Stash/Input/ZeroMQ.pm b/lib/Log/Stash/Input/ZeroMQ.pm
index 11d923d..cd0682a 100644
--- a/lib/Log/Stash/Input/ZeroMQ.pm
+++ b/lib/Log/Stash/Input/ZeroMQ.pm
@@ -1,11 +1,14 @@
 package Log::Stash::Input::ZeroMQ;
 use Moose;
 use ZeroMQ qw/:all/;
+use AnyEvent;
+use Scalar::Util qw/ weaken /;
 use namespace::autoclean;
 
 with 'Log::Stash::Mixin::Input';
 
 has socket_bind => (
+    is => 'ro',
     isa => 'Str',
     default => 'tcp://*:5558',
 );

-- 
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