[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:44 UTC 2013
The following commit has been merged in the master branch:
commit 5fe5e0bc6bca13defc9be7620d604d70e0857547
Author: Tomas Doran <bobtfish at bobtfish.net>
Date: Sun Mar 4 17:50:45 2012 +0000
Get author tests working, pass pod coverage
diff --git a/Makefile.PL b/Makefile.PL
index 6c45715..e2d861e 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -27,7 +27,7 @@ author_requires 'Pod::Coverage' => '0.19';
author_requires 'Pod::Coverage::TrustPod';
author_requires 'Test::Spelling';
-author_tests 't/author/*.t';
+author_tests 't/author';
WriteAll;
diff --git a/lib/Log/Stash.pm b/lib/Log/Stash.pm
index df2b1f4..34aceba 100644
--- a/lib/Log/Stash.pm
+++ b/lib/Log/Stash.pm
@@ -94,13 +94,13 @@ Log::Stash - a perl subset of Logstash <http://logstash.net>
=head1 DESCRIPTION
-A lightweight but interoperable interoperable subset of logstash
+A lightweight but inter-operable subset of logstash
L<http://logstash.net>
-This implementation is currently a sketch, and as such should be considered
-pre alpha and subject to change at any point.
+This implementation is currently a prototype, and as such should be considered
+alpha and subject to change at any point.
-=head2 BASIC PREMIS
+=head2 BASIC PREMISE
You have data for discrete events, represented by a hash (and
serialized as JSON).
@@ -110,17 +110,18 @@ event, a metric emitted from your application that you wish
to aggregate and process - anything that can be a simple hash really..
You want to be able to shove these events over the network easily,
-and aggregate them / munge them / split them into worker queues.
+and aggregate them / filter and rewrite them / split them into worker queues.
This module is designed as a simple framework for writing components
-that let you do all of these things, in a simple and pluggable manor.
+that let you do all of these things, in a simple and easily extensible
+manor.
For a practical example, You generate events from a source (e.g.
ZeroMQ output of logs and performance metrics from your Catalyst FCGI
-or Starman workers) and run one script that will give you a centralised
+or Starman workers) and run one script that will give you a central
application log file, or push the logs into L<ElasticSearch>.
-There are a growing set of pre-written components you can plug together
+There are a growing set of components you can plug together
to make your logging solution.
Getting started is really easy - you can just use the C<logstash>
@@ -179,7 +180,7 @@ stop a message being passed to the output.
=head2 OUTPUTS
-Ouputs send data to somewhere, i.e. they consume messages.
+Outputs send data to somewhere, i.e. they consume messages.
=over
@@ -248,7 +249,7 @@ which we do not reuse any code from) is copyright 2010 Jorden Sissel.
GNU Affero General Public License, Version 3
If you feel this is too restrictive to be able to use this software,
-please talk to us as we'd be willing to consider relicensing under
+please talk to us as we'd be willing to consider re-licensing under
less restrictive terms.
=cut
diff --git a/lib/Log/Stash/DSL.pm b/lib/Log/Stash/DSL.pm
index ae15bd6..2eb9fae 100644
--- a/lib/Log/Stash/DSL.pm
+++ b/lib/Log/Stash/DSL.pm
@@ -128,7 +128,7 @@ other), warns about any unused parts of the chain, and returns the
chain head (i.e. the input class).
Maintains a registry / factory for the log classes, which is used to
-allow the lookup by symbolic name in the output_to key.
+allow the resolving of symbolic names in the output_to key to function.
See example in the SYNOPSIS, and details on the other functions below.
diff --git a/t/author/podcoverage.t b/t/author/podcoverage.t
new file mode 100644
index 0000000..4d703ed
--- /dev/null
+++ b/t/author/podcoverage.t
@@ -0,0 +1,20 @@
+use strict;
+use warnings;
+use Test::More;
+
+use Pod::Coverage 0.19;
+use Test::Pod::Coverage 1.04;
+
+my @modules = all_modules;
+our @private = ( 'BUILD' );
+foreach my $module (@modules) {
+ local @private = (@private, 'expand_class_name', 'make') if $module =~ /^Log::Stash::DSL::Factory$/;
+
+ pod_coverage_ok($module, {
+ also_private => \@private,
+ coverage_class => 'Pod::Coverage::TrustPod',
+ });
+}
+
+done_testing;
+
--
libmessage-passing-perl Debian packaging
More information about the Pkg-perl-cvs-commits
mailing list