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


The following commit has been merged in the master branch:
commit 257732c8d315b5d9424ab121c73831e627e80340
Author: Tomas Doran <bobtfish at bobtfish.net>
Date:   Sun Mar 4 12:56:37 2012 +0000

    Make options work correctly with MooseX::Getopt

diff --git a/lib/Log/Stash.pm b/lib/Log/Stash.pm
index a997530..18c8ad4 100644
--- a/lib/Log/Stash.pm
+++ b/lib/Log/Stash.pm
@@ -64,6 +64,10 @@ coerce $json_type,
   from NonEmptySimpleStr,
   via { try { JSON::XS->new->relaxed->decode($_) } };
 
+MooseX::Getopt::OptionTypeMap->add_option_type_to_map(
+    $json_type => '=s'
+);
+
 foreach my $name (map { "${_}_options"  } keys %things) {
     has $name => (
         isa => $json_type,

-- 
libmessage-passing-perl Debian packaging



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