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


The following commit has been merged in the master branch:
commit ff536571c975f1a8e83fda49b26f8e5914ceb9a6
Author: Tomas Doran <bobtfish at bobtfish.net>
Date:   Sun Mar 4 16:38:10 2012 +0000

    Add some author tests

diff --git a/Makefile.PL b/Makefile.PL
index ef33518..6c45715 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -20,5 +20,14 @@ requires 'Task::Weaken';
 
 install_script 'script/logstash';
 
+author_requires 'Test::Pod' => '1.14';
+author_requires 'Test::NoTabs';
+author_requires 'Test::Pod::Coverage' => '1.04';
+author_requires 'Pod::Coverage' => '0.19';
+author_requires 'Pod::Coverage::TrustPod';
+author_requires 'Test::Spelling';
+
+author_tests 't/author/*.t';
+
 WriteAll;
 
diff --git a/lib/Log/Stash.pm b/lib/Log/Stash.pm
index aec70d8..0d2a56e 100644
--- a/lib/Log/Stash.pm
+++ b/lib/Log/Stash.pm
@@ -37,7 +37,7 @@ has '+filter' => (
 
 sub build_chain {
     my $self = shift;
-        chain {
+        log_chain {
             output out => (
                 $self->output_options,
                 class => $self->output,
@@ -55,7 +55,7 @@ sub build_chain {
         };
 }
 
-sub start { run __PACKAGE__->new_with_options->build_chain }
+sub start { run_log_server __PACKAGE__->new_with_options->build_chain }
 
 my $json_type = subtype
   as "HashRef";
diff --git a/lib/Log/Stash/Role/Filter.pm b/lib/Log/Stash/Role/Filter.pm
index ebaa724..fc0403f 100644
--- a/lib/Log/Stash/Role/Filter.pm
+++ b/lib/Log/Stash/Role/Filter.pm
@@ -22,7 +22,8 @@ Log::Stash::Mixin::Filter
 
 =head1 DESCRIPTION
 
-Both a producer and a consumer of messages, probably mungeing them in between
+Both a producer and a consumer of messages, able to filter out messages based upon their contents,
+or permute the structure of messages.
 
 =head1 REQUIRED METHODS
 
@@ -37,26 +38,17 @@ Called to filter the message. Returns the mangled message.
 
 L<Log::Stash>
 
-=head1 AUTHOR
-
-Tomas (t0m) Doran <bobtfish at bobtfish.net>
-
 =head1 SPONSORSHIP
 
 This module exists due to the wonderful people at
 L<Suretec Systems|http://www.suretecsystems.com/> who sponsored it's
 development.
 
-=head1 COPYRIGHT
-
-Copyright Suretec Systems 2012.
+=head1 AUTHOR, COPYRIGHT AND LICENSE
 
-Logstash (upon which many ideas for this project is based, but
-which we do not reuse any code from) is copyright 2010 Jorden Sissel.
+See L<Log::Stash>.
 
-=head1 LICENSE
+=cut
 
-XX - TODO
-
-=cu
+1;
 
diff --git a/lib/Log/Stash/Role/Input.pm b/lib/Log/Stash/Role/Input.pm
index aa45428..4343b59 100644
--- a/lib/Log/Stash/Role/Input.pm
+++ b/lib/Log/Stash/Role/Input.pm
@@ -25,25 +25,17 @@ Produces messages.
 
 L<Log::Stash>
 
-=head1 AUTHOR
-
-Tomas (t0m) Doran <bobtfish at bobtfish.net>
-
 =head1 SPONSORSHIP
 
 This module exists due to the wonderful people at
 L<Suretec Systems|http://www.suretecsystems.com/> who sponsored it's
 development.
 
-=head1 COPYRIGHT
+=head1 AUTHOR, COPYRIGHT AND LICENSE
 
-Copyright Suretec Systems 2012.
+See L<Log::Stash>.
 
-Logstash (upon which many ideas for this project is based, but
-which we do not reuse any code from) is copyright 2010 Jorden Sissel.
+=cut
 
-=head1 LICENSE
-
-XX - TODO
+1;
 
-=cu
diff --git a/lib/Log/Stash/Role/Output.pm b/lib/Log/Stash/Role/Output.pm
index f531a9e..acb1aa6 100644
--- a/lib/Log/Stash/Role/Output.pm
+++ b/lib/Log/Stash/Role/Output.pm
@@ -32,27 +32,17 @@ Consume a message
 
 L<Log::Stash>
 
-=head1 AUTHOR
-
-Tomas (t0m) Doran <bobtfish at bobtfish.net>
-
 =head1 SPONSORSHIP
 
 This module exists due to the wonderful people at
 L<Suretec Systems|http://www.suretecsystems.com/> who sponsored it's
 development.
 
-=head1 COPYRIGHT
-
-Copyright Suretec Systems 2012.
+=head1 AUTHOR, COPYRIGHT AND LICENSE
 
-Logstash (upon which many ideas for this project is based, but
-which we do not reuse any code from) is copyright 2010 Jorden Sissel.
-
-=head1 LICENSE
-
-XX - TODO
+See L<Log::Stash>.
 
 =cut
 
+1;
 
diff --git a/t/author/notabs.t b/t/author/notabs.t
new file mode 100644
index 0000000..5cd3ae0
--- /dev/null
+++ b/t/author/notabs.t
@@ -0,0 +1,10 @@
+use strict;
+use warnings;
+
+use File::Spec;
+use FindBin ();
+use Test::More;
+use Test::NoTabs;
+
+all_perl_files_ok(qw/lib/);
+
diff --git a/t/author/pod.t b/t/author/pod.t
new file mode 100644
index 0000000..f908f73
--- /dev/null
+++ b/t/author/pod.t
@@ -0,0 +1,8 @@
+use strict;
+use warnings;
+use Test::More;
+
+use Test::Pod 1.14;
+
+all_pod_files_ok();
+

-- 
libmessage-passing-perl Debian packaging



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