From: Vincent Pit Date: Thu, 22 Aug 2013 20:36:40 +0000 (-0300) Subject: This is 0.16 X-Git-Tag: v0.16 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=b60676fd0a3c9f9fbe541134a0b8f0dd00be785d;p=perl%2Fmodules%2FIPC-MorseSignals.git This is 0.16 --- diff --git a/Changes b/Changes index 4df4fe6..a939a0e 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,12 @@ Revision history for IPC-MorseSignals +0.16 2013-08-22 20:35 UTC + This is a maintenance release. The code contains no functional change. + Satisfied users of version 0.15 can skip this update. + + Upd : Package metadata overhaul. + + Tst : Author tests are no longer bundled with this distribution. + They are only made available to authors in the git repository. + 0.15 2008-04-05 00:00 UTC + Fix : Correct die error when SIGUSR{1,2} aren't found. + Fix : Strip off duplicated targets when sending to multiple processes diff --git a/MANIFEST b/MANIFEST index 17b85ca..afffbbf 100644 --- a/MANIFEST +++ b/MANIFEST @@ -1,5 +1,6 @@ Changes MANIFEST +META.json META.yml Makefile.PL README diff --git a/META.json b/META.json new file mode 100644 index 0000000..ccdf88b --- /dev/null +++ b/META.json @@ -0,0 +1,69 @@ +{ + "abstract" : "Communicate between processes with Morse signals.", + "author" : [ + "Vincent Pit " + ], + "dynamic_config" : 1, + "generated_by" : "ExtUtils::MakeMaker version 6.72, CPAN::Meta::Converter version 2.132140", + "license" : [ + "perl_5" + ], + "meta-spec" : { + "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec", + "version" : "2" + }, + "name" : "IPC-MorseSignals", + "no_index" : { + "directory" : [ + "t", + "inc" + ] + }, + "prereqs" : { + "build" : { + "requires" : { + "Bit::MorseSignals" : "0.05", + "Carp" : "0", + "Config" : "0", + "Data::Dumper" : "0", + "Exporter" : "0", + "ExtUtils::MakeMaker" : "0", + "POSIX" : "0", + "Test::More" : "0", + "Time::HiRes" : "0", + "base" : "0", + "utf8" : "0" + } + }, + "configure" : { + "requires" : { + "Config" : "0", + "ExtUtils::MakeMaker" : "0" + } + }, + "runtime" : { + "requires" : { + "Bit::MorseSignals" : "0.05", + "Carp" : "0", + "POSIX" : "0", + "Time::HiRes" : "0", + "base" : "0", + "perl" : "5.008" + } + } + }, + "release_status" : "stable", + "resources" : { + "bugtracker" : { + "web" : "http://rt.cpan.org/Dist/Display.html?Name=IPC-MorseSignals" + }, + "homepage" : "http://search.cpan.org/dist/IPC-MorseSignals/", + "license" : [ + "http://dev.perl.org/licenses/" + ], + "repository" : { + "url" : "http://git.profvince.com/?p=perl%2Fmodules%2FIPC-MorseSignals.git" + } + }, + "version" : "0.16" +} diff --git a/META.yml b/META.yml index 091322c..269a4e6 100644 --- a/META.yml +++ b/META.yml @@ -1,25 +1,43 @@ ---- #YAML:1.0 -name: IPC-MorseSignals -version: 0.15 -abstract: Communicate between processes with Morse signals. -license: perl -author: - - Vincent Pit -generated_by: ExtUtils::MakeMaker version 6.42 -distribution_type: module -requires: - Bit::MorseSignals: 0.05 - Carp: 0 - POSIX: 0 - Time::HiRes: 0 -meta-spec: - url: http://module-build.sourceforge.net/META-spec-v1.3.html - version: 1.3 +--- +abstract: 'Communicate between processes with Morse signals.' +author: + - 'Vincent Pit ' build_requires: - Config: 0 - Data::Dumper: 0 - Exporter: 0 - ExtUtils::MakeMaker: 0 - POSIX: 0 - Test::More: 0 - utf8: 0 + Bit::MorseSignals: 0.05 + Carp: 0 + Config: 0 + Data::Dumper: 0 + Exporter: 0 + ExtUtils::MakeMaker: 0 + POSIX: 0 + Test::More: 0 + Time::HiRes: 0 + base: 0 + utf8: 0 +configure_requires: + Config: 0 + ExtUtils::MakeMaker: 0 +dynamic_config: 1 +generated_by: 'ExtUtils::MakeMaker version 6.72, CPAN::Meta::Converter version 2.132140' +license: perl +meta-spec: + url: http://module-build.sourceforge.net/META-spec-v1.4.html + version: 1.4 +name: IPC-MorseSignals +no_index: + directory: + - t + - inc +requires: + Bit::MorseSignals: 0.05 + Carp: 0 + POSIX: 0 + Time::HiRes: 0 + base: 0 + perl: 5.008 +resources: + bugtracker: http://rt.cpan.org/Dist/Display.html?Name=IPC-MorseSignals + homepage: http://search.cpan.org/dist/IPC-MorseSignals/ + license: http://dev.perl.org/licenses/ + repository: http://git.profvince.com/?p=perl%2Fmodules%2FIPC-MorseSignals.git +version: 0.16 diff --git a/README b/README index 698de28..d8c95f9 100644 --- a/README +++ b/README @@ -2,13 +2,13 @@ NAME IPC::MorseSignals - Communicate between processes with Morse signals. VERSION - Version 0.15 + Version 0.16 SYNOPSIS # In the sender process use IPC::MorseSignals::Emitter; - my $deuce = new IPC::MorseSignals::Emitter speed => 1024; + my $deuce = IPC::MorseSignals::Emitter->new(speed => 1024); $deuce->post('HLAGH') for 1 .. 3; $deuce->send($pid); @@ -18,9 +18,9 @@ SYNOPSIS use IPC::MorseSignals::Receiver; local %SIG; - my $pants = new IPC::MorseSignals::Receiver \%SIG, done => sub { + my $pants = IPC::MorseSignals::Receiver->new(\%SIG, done => sub { print STDERR "GOT $_[1]\n"; - }; + }); DESCRIPTION This module implements a rare form of IPC by sending Morse-like signals @@ -32,6 +32,13 @@ DESCRIPTION But, seriously, use something else for your IPC. :) +CAVEATS + When the same signal is sent several times in a row to a process, the + POSIX standard does not guarantee that the relevant signal handler will + be called for each of the notifications. This will result in malformed + messages if the transfer speed is so high that the operating system does + not have the time to call the signal handler for each bit. + DEPENDENCIES You need the complete Bit::MorseSignals distribution. @@ -51,8 +58,7 @@ SEE ALSO AUTHOR Vincent Pit, "", . - You can contact me by mail or on #perl @ FreeNode (vincent or - Prof_Vince). + You can contact me by mail or on "irc.perl.org" (vincent). BUGS Please report any bugs or feature requests to "bug-ipc-morsesignals at @@ -71,7 +77,7 @@ ACKNOWLEDGEMENTS your IPC needs. :) COPYRIGHT & LICENSE - Copyright 2007-2008 Vincent Pit, all rights reserved. + Copyright 2007,2008,2013 Vincent Pit, all rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. diff --git a/lib/IPC/MorseSignals.pm b/lib/IPC/MorseSignals.pm index c873223..e2d5122 100644 --- a/lib/IPC/MorseSignals.pm +++ b/lib/IPC/MorseSignals.pm @@ -9,11 +9,11 @@ IPC::MorseSignals - Communicate between processes with Morse signals. =head1 VERSION -Version 0.15 +Version 0.16 =cut -our $VERSION = '0.15'; +our $VERSION = '0.16'; =head1 SYNOPSIS diff --git a/lib/IPC/MorseSignals/Emitter.pm b/lib/IPC/MorseSignals/Emitter.pm index 44f9346..c6961eb 100644 --- a/lib/IPC/MorseSignals/Emitter.pm +++ b/lib/IPC/MorseSignals/Emitter.pm @@ -16,11 +16,11 @@ IPC::MorseSignals::Emitter - Base class for IPC::MorseSignals emitters. =head1 VERSION -Version 0.15 +Version 0.16 =cut -our $VERSION = '0.15'; +our $VERSION = '0.16'; =head1 SYNOPSIS diff --git a/lib/IPC/MorseSignals/Receiver.pm b/lib/IPC/MorseSignals/Receiver.pm index 0a4c678..714bfe2 100644 --- a/lib/IPC/MorseSignals/Receiver.pm +++ b/lib/IPC/MorseSignals/Receiver.pm @@ -14,11 +14,11 @@ IPC::MorseSignals::Receiver - Base class for IPC::MorseSignals receivers. =head1 VERSION -Version 0.15 +Version 0.16 =cut -our $VERSION = '0.15'; +our $VERSION = '0.16'; =head1 SYNOPSIS