fix minor testing interface changes
r29121@alice-3: perigrin | 2007-09-19 15:59:12 -0500
fix a bug that Kake discovered inadvertantly
r29122@alice-3: perigrin | 2007-09-19 16:00:50 -0500
update Changes and Version number
r29342@alice-3: perigrin | 2007-09-26 06:45:10 -0500
add a first cut for a JobControl module that uses MooseX::Workers to run jobs asynchronously
r29343@alice-3: perigrin | 2007-09-26 06:49:46 -0500
merging File-Stat-Moose stuff
r29344@alice-3: perigrin | 2007-09-26 06:50:46 -0500
merging iterator stuff
all_from 'lib/MooseX/Daemonize.pm';
# Specific dependencies
-build_requires 'Test::More' => 0;
-requires 'Proc::Daemon' => 0;
-requires 'Carp' => 0;
-requires 'File::Pid' => 0;
-requires 'MooseX::Getopt' => 0;
-requires 'Moose' => 0.20;
+build_requires 'Test::More' => 0;
+
+requires 'Proc::Daemon' => 0;
+requires 'Carp' => 0;
+requires 'File::Pid' => 0;
+requires 'MooseX::Getopt' => 0;
+requires 'Moose' => 0.20;
no_index 'directory' => 'examples';
package Test::MooseX::Daemonize;
use Proc::Daemon;
-use File::Slurp;
# BEGIN CARGO CULTING
use Sub::Exporter;
use Test::Builder;
-our $VERSION = '0.01';
+our $VERSION = '0.02';
our $AUTHORITY = 'cpan:PERIGRIN';
-my @exports = qw[
- daemonize_ok
- check_test_output
-];
+{
+ my @exports = qw[
+ daemonize_ok
+ check_test_output
+ ];
-Sub::Exporter::setup_exporter(
- {
- exports => \@exports,
- groups => { default => \@exports }
- }
-);
+ Sub::Exporter::setup_exporter(
+ {
+ exports => \@exports,
+ groups => { default => \@exports }
+ }
+ );
+}
our $Test = Test::Builder->new;
else {
sleep(1); # Punt on sleep time, 1 seconds should be enough
$Test->ok( -e $daemon->pidfile->file, $msg )
- || $Test->diag( 'Pidfile (' . $daemon->pidfile->file . ') not found.' );
+ || $Test->diag(
+ 'Pidfile (' . $daemon->pidfile->file . ') not found.' );
}
}