convert to Dist::Zilla, with a minimal config
Karen Etheridge [Fri, 19 Apr 2013 23:59:51 +0000 (16:59 -0700)]
Makefile.PL [deleted file]
README [deleted file]
dist.ini [new file with mode: 0644]
lib/MooseX/Daemonize.pm
lib/MooseX/Daemonize/Core.pm
lib/MooseX/Daemonize/Pid.pm
lib/MooseX/Daemonize/WithPidFile.pm
lib/Test/MooseX/Daemonize.pm

diff --git a/Makefile.PL b/Makefile.PL
deleted file mode 100644 (file)
index ab67d85..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-# Load the Module::Install bundled in ./inc/
-use inc::Module::Install 0.75;
-
-# Define metadata
-name 'MooseX-Daemonize';
-all_from 'lib/MooseX/Daemonize.pm';
-
-# Specific dependencies
-build_requires 'Test::More'   => 0;
-build_requires 'Test::Moose'  => 0;
-
-requires 'Moose'                      => 0.33;
-requires 'MooseX::Getopt'             => 0.07;
-requires 'MooseX::Types::Path::Class' => 0;
-requires 'File::Path'                 => 2.08;
-test_requires 'Test::More'            => 0.88;
-test_requires 'Test::Fatal'           => 0;
-
-no_index 'directory' => 'examples';
-
-auto_manifest;
-
-# r/w: gitmo@git.moose.perl.org:MooseX-Daemonize.git
-repository 'git://git.moose.perl.org/MooseX-Daemonize.git';
-
-WriteAll;
diff --git a/README b/README
deleted file mode 100644 (file)
index 7eed700..0000000
--- a/README
+++ /dev/null
@@ -1,23 +0,0 @@
-MooseX-Daemonize version 0.13
-
-INSTALLATION
-
-To install this module, run the following commands:
-
-    perl Makefile.PL
-    make
-    make test
-    make install
-
-DEPENDENCIES
-
-    Moose
-    MooseX::Getopt
-    MooseX::Types::Path::Class
-
-COPYRIGHT AND LICENCE
-
-Copyright (C) 2007-2011, Chris Prather
-
-This library is free software; you can redistribute it and/or modify
-it under the same terms as Perl itself.
diff --git a/dist.ini b/dist.ini
new file mode 100644 (file)
index 0000000..c28ebe7
--- /dev/null
+++ b/dist.ini
@@ -0,0 +1,37 @@
+name        = MooseX-Daemonize
+author      = Chris Prather <chris@prather.org>
+copyright_holder = Chris Prather
+license     = Perl_5
+version     = 0.17
+
+[Authority]
+authority = cpan:PERIGRIN
+
+[Prereqs / RuntimeRequires]
+Moose                      = 0.33
+MooseX::Getopt             = 0.07
+MooseX::Types::Path::Class = 0
+File::Path                 = 2.08
+
+[Prereqs / TestRequires]
+Test::More  = 0.88
+Test::Fatal = 0
+Test::Moose = 0
+
+[MetaNoIndex]
+directory = t
+directory = examples
+
+[MetaResources]
+bugtracker.web    = https://rt.cpan.org/Dist/Display.html?Name=MooseX-Daemonize
+bugtracker.mailto = bug-MooseX-Daemonize@rt.cpan.org
+; r/w: gitmo@git.moose.perl.org:MooseX-Daemonize.git
+repository.url    = git://git.moose.perl.org/MooseX-Daemonize.git
+repository.web    = http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo/MooseX-Daemonize.git;a=summary
+repository.type   = git
+
+[PkgVersion]
+
+; this is last so ConfirmRelease loads last
+[@Basic]
+
index 4cb6cb3..c9fdb76 100644 (file)
@@ -4,8 +4,6 @@ use Moose::Role;
 use MooseX::Types::Path::Class;
 use File::Path qw(make_path);
 
-our $VERSION   = '0.16';
-
 with 'MooseX::Daemonize::WithPidFile',
      'MooseX::Getopt';
 
index d8512f1..522d047 100644 (file)
@@ -3,8 +3,6 @@ use strict;         # cause Perl::Critic errors are annoying
 use MooseX::Getopt; # to load the NoGetopt metaclass
 use Moose::Role;
 
-our $VERSION   = '0.16';
-
 use POSIX ();
 
 has is_daemon => (
index 9474e2d..472be2f 100644 (file)
@@ -2,7 +2,6 @@ package MooseX::Daemonize::Pid;
 use strict;    # because Kwalitee is pedantic
 use Moose;
 use Moose::Util::TypeConstraints;
-our $VERSION   = '0.16';
 
 coerce 'MooseX::Daemonize::Pid'
     => from 'Int'
index 23a839c..bf1bcf6 100644 (file)
@@ -2,7 +2,6 @@ package MooseX::Daemonize::WithPidFile;
 use strict;         # cause Perl::Critic errors are annoying
 use MooseX::Getopt; # to load the Getopt metaclass
 use Moose::Role;
-our $VERSION   = '0.16';
 
 
 use MooseX::Daemonize::Pid::File;
index 30794aa..8c98072 100644 (file)
@@ -1,7 +1,6 @@
 package Test::MooseX::Daemonize;
 use strict;
 
-our $VERSION   = '0.16';
 our $AUTHORITY = 'cpan:PERIGRIN';
 
 # BEGIN CARGO CULTING