From: Karen Etheridge Date: Fri, 19 Apr 2013 23:59:51 +0000 (-0700) Subject: convert to Dist::Zilla, with a minimal config X-Git-Tag: v0.17~3 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=e8b1dfe063c19170894aaf9983ede6398221b366;p=gitmo%2FMooseX-Daemonize.git convert to Dist::Zilla, with a minimal config --- diff --git a/Makefile.PL b/Makefile.PL deleted file mode 100644 index ab67d85..0000000 --- a/Makefile.PL +++ /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 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 index 0000000..c28ebe7 --- /dev/null +++ b/dist.ini @@ -0,0 +1,37 @@ +name = MooseX-Daemonize +author = Chris Prather +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] + diff --git a/lib/MooseX/Daemonize.pm b/lib/MooseX/Daemonize.pm index 4cb6cb3..c9fdb76 100644 --- a/lib/MooseX/Daemonize.pm +++ b/lib/MooseX/Daemonize.pm @@ -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'; diff --git a/lib/MooseX/Daemonize/Core.pm b/lib/MooseX/Daemonize/Core.pm index d8512f1..522d047 100644 --- a/lib/MooseX/Daemonize/Core.pm +++ b/lib/MooseX/Daemonize/Core.pm @@ -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 => ( diff --git a/lib/MooseX/Daemonize/Pid.pm b/lib/MooseX/Daemonize/Pid.pm index 9474e2d..472be2f 100644 --- a/lib/MooseX/Daemonize/Pid.pm +++ b/lib/MooseX/Daemonize/Pid.pm @@ -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' diff --git a/lib/MooseX/Daemonize/WithPidFile.pm b/lib/MooseX/Daemonize/WithPidFile.pm index 23a839c..bf1bcf6 100644 --- a/lib/MooseX/Daemonize/WithPidFile.pm +++ b/lib/MooseX/Daemonize/WithPidFile.pm @@ -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; diff --git a/lib/Test/MooseX/Daemonize.pm b/lib/Test/MooseX/Daemonize.pm index 30794aa..8c98072 100644 --- a/lib/Test/MooseX/Daemonize.pm +++ b/lib/Test/MooseX/Daemonize.pm @@ -1,7 +1,6 @@ package Test::MooseX::Daemonize; use strict; -our $VERSION = '0.16'; our $AUTHORITY = 'cpan:PERIGRIN'; # BEGIN CARGO CULTING