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


The following commit has been merged in the master branch:
commit 05a36ac4138ca99c6abe7f423e2c14d209d2ed19
Author: Tomas Doran <bobtfish at bobtfish.net>
Date:   Sun Jun 10 11:40:35 2012 +0100

    s/run_log_server/run_message_server/

diff --git a/Changes b/Changes
index a43bb0f..e363add 100644
--- a/Changes
+++ b/Changes
@@ -1,6 +1,6 @@
-  - Rename the log_chain function in Message::Passing::DSL
-    to message_chain to follow general rename, as we're not just
-    about logs.
+  - Rename the log_chain function to message_chain and run_log_server
+    function to run_message_server, in Message::Passing::DSL
+    to follow the general rename, as we're not just about logs.
 
 0.007
   - Documentation in the message-pass script
diff --git a/README b/README
index bc55460..aa3672e 100644
--- a/README
+++ b/README
@@ -117,7 +117,7 @@ THIS MODULE
     Builds and returns the configured chain of input => filter => output
 
    start
-    Class method to call the run_log_server function with the results of
+    Class method to call the run_message_server function with the results of
     having constructed an instance of this class, parsed command line
     options and constructed a chain.
 
diff --git a/lib/Message/Passing.pm b/lib/Message/Passing.pm
index c30dcc8..8d177bb 100644
--- a/lib/Message/Passing.pm
+++ b/lib/Message/Passing.pm
@@ -218,7 +218,7 @@ Builds and returns the configured chain of input => filter => output
 
 =head3 start
 
-Class method to call the run_log_server function with the results of
+Class method to call the run_message_server function with the results of
 having constructed an instance of this class, parsed command line options
 and constructed a chain.
 
diff --git a/lib/Message/Passing/DSL.pm b/lib/Message/Passing/DSL.pm
index f721733..522b8ac 100644
--- a/lib/Message/Passing/DSL.pm
+++ b/lib/Message/Passing/DSL.pm
@@ -9,7 +9,7 @@ use AnyEvent;
 use Moose::Util qw/ does_role /;
 
 Moose::Exporter->setup_import_methods(
-    as_is     => [qw/ run_log_server message_chain input filter output decoder encoder /],
+    as_is     => [qw/ run_message_server message_chain input filter output decoder encoder /],
 );
 
 our $FACTORY;
@@ -90,7 +90,7 @@ sub encoder {
     );
 }
 
-sub run_log_server {
+sub run_message_server {
     my $chain = shift;
     AnyEvent->condvar->recv;
 }
@@ -215,7 +215,7 @@ The last thing in a chain - produces data which gets consumed.
 Class names will be assumed to prefixed with 'Log::Stash::Output::',
 unless you prefix the class with + e.g. C<< +My::Own::Output::Class >>
 
-=head3 run_log_server
+=head3 run_message_server
 
 This enters the event loop and causes log events to be consumed and
 processed.
diff --git a/lib/Message/Passing/Manual/Concepts.pod b/lib/Message/Passing/Manual/Concepts.pod
index 6a2a46a..eb6a598 100644
--- a/lib/Message/Passing/Manual/Concepts.pod
+++ b/lib/Message/Passing/Manual/Concepts.pod
@@ -89,7 +89,7 @@ The example above becomes:
 
     use Message::Passing::DSL;
 
-    run_log_server message_chain {
+    run_message_server message_chain {
         input file => (
             class => 'FileTail',
             output_to => 'stdout',
diff --git a/lib/Message/Passing/Role/Script.pm b/lib/Message/Passing/Role/Script.pm
index 490a3bb..a9e95df 100644
--- a/lib/Message/Passing/Role/Script.pm
+++ b/lib/Message/Passing/Role/Script.pm
@@ -84,7 +84,7 @@ sub start {
     $instance->set_io_priority_if_needed;
     $instance->change_uid_if_needed;
     $instance->deamonize_if_needed;
-    run_log_server $instance->build_chain;
+    run_message_server $instance->build_chain;
 }
 
 1;

-- 
libmessage-passing-perl Debian packaging



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