From: Karen Etheridge Date: Mon, 18 Nov 2013 00:33:50 +0000 (-0800) Subject: convert to Dist::Zilla X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=d1de149811e3340e7847b387faf213827d9a2318;p=gitmo%2FMooseX-Runnable.git convert to Dist::Zilla --- diff --git a/.gitignore b/.gitignore index 9e7d5de..4e334e9 100644 --- a/.gitignore +++ b/.gitignore @@ -1,9 +1,3 @@ -cover_db -META.yml -Makefile -blib -inc -pm_to_blib -MANIFEST -Makefile.old -/MANIFEST.bak +/.build/ +!.gitignore +/MooseX-Runnable-* diff --git a/Changes b/Changes index d453902..f452899 100644 --- a/Changes +++ b/Changes @@ -1,4 +1,6 @@ +Revision history for {{$dist->name}} +{{$NEXT}} - converted uses of Path::Class to Path::Tiny (Karen Etheridge) - removed use of deprecated Class::MOP::load_class diff --git a/MANIFEST.SKIP b/MANIFEST.SKIP deleted file mode 100644 index 8fb2024..0000000 --- a/MANIFEST.SKIP +++ /dev/null @@ -1,8 +0,0 @@ -.git/ -blib -pm_to_blib -MANIFEST.bak -MANIFEST.SKIP~ -cover_db -Makefile$ -Makefile.old$ diff --git a/Makefile.PL b/Makefile.PL deleted file mode 100644 index f71c0dd..0000000 --- a/Makefile.PL +++ /dev/null @@ -1,23 +0,0 @@ -use inc::Module::Install; - -name 'MooseX-Runnable'; -all_from 'lib/MooseX/Runnable.pm'; - -requires 'Moose'; -requires 'MooseX::Getopt'; # not really -requires 'MooseX::Types' => '0.10'; -requires 'Path::Tiny' => '0.009'; # need this version for 5.8 support -requires 'MooseX::Types::Path::Tiny'; -requires 'namespace::autoclean'; -requires 'List::MoreUtils'; -requires 'Params::Util'; - -build_requires 'Test::More'; -build_requires 'ok'; -build_requires 'Test::TableDriven'; - -resources repository => 'git://git.moose.perl.org/MooseX-Runnable.git'; - -install_script 'bin/mx-run'; - -WriteAll(); diff --git a/README b/README deleted file mode 100644 index e69de29..0000000 diff --git a/dist.ini b/dist.ini new file mode 100644 index 0000000..4179b71 --- /dev/null +++ b/dist.ini @@ -0,0 +1,41 @@ +name = MooseX-Runnable +author = Jonathan Rockway +license = Perl_5 +copyright_holder = Jonathan Rockway +copyright_year = 2009 + +[SurgicalPodWeaver] + +[FileFinder::Filter / ModulesSansPlugins] +finder = :InstallModules +skip = ^lib/MooseX/Runnable/Invocation/Plugin/ + +[@Author::ETHER] +:version = 0.040 +server = gitmo +Authority.authority = cpan:JROCKWAY +-remove = PodWeaver +AutoPrereqs.finder[0] = ModulesSansPlugins +AutoPrereqs.finder[1] = :ExecFiles +AutoPrereqs.skip[0] = ^MooseX::Runnable::Invocation::Plugin +AutoPrereqs.skip[1] = ^Class$ + +[MetaResources] +x_IRC = irc://irc.perl.org/#moose +x_MailingList = http://lists.perl.org/list/moose.html + +[Prereqs / RuntimeRecommends] +MooseX::Getopt = 0 + +; todo - use a develop_finder to look in Plugins/ +[Prereqs / DevelopRequires] +AnyEvent = 0 +App::Packer::PAR = 0 +Data::Dump::Streamer = 0 +File::ChangeNotify = 0 +File::Temp = 0 +Module::ScanDeps = 0 + +; authordep Pod::Weaver::Section::Contributors + +[ContributorsFromGit] diff --git a/lib/MooseX/Runnable.pm b/lib/MooseX/Runnable.pm index b380940..5d0997f 100644 --- a/lib/MooseX/Runnable.pm +++ b/lib/MooseX/Runnable.pm @@ -1,17 +1,14 @@ package MooseX::Runnable; +# ABSTRACT: Tag a class as a runnable application use Moose::Role; -our $VERSION = '0.03'; - requires 'run'; 1; __END__ -=head1 NAME - -MooseX::Runnable - tag a class as a runnable application +=pod =head1 SYNOPSIS @@ -104,17 +101,4 @@ Many of the plugins shipped are unstable; they may go away, change, break, etc. If there is no documentation for a plugin, it is probably just a prototype. -=head1 REPOSITORY - -L - -=head1 AUTHOR - -Jonathan Rockway C<< >> - -=head1 COPYRIGHT - -Copyright (c) 2009 Jonathan Rockway - -This module is Free Software, you can redistribute it under the same -terms as Perl itself. +=cut diff --git a/lib/MooseX/Runnable/Invocation/Plugin/Debug.pm b/lib/MooseX/Runnable/Invocation/Plugin/Debug.pm index 2fe011b..9e3fd6c 100644 --- a/lib/MooseX/Runnable/Invocation/Plugin/Debug.pm +++ b/lib/MooseX/Runnable/Invocation/Plugin/Debug.pm @@ -1,4 +1,6 @@ package MooseX::Runnable::Invocation::Plugin::Debug; +# ABSTRACT: print debugging information + use Moose::Role; with 'MooseX::Runnable::Invocation::Plugin::Role::CmdlineArgs'; @@ -51,9 +53,7 @@ for my $method (qw{ __END__ -=head1 NAME - -MooseX::Runnable::Invocation::Plugin::Debug - print debugging information +=pod =head1 DESCRIPTION @@ -65,3 +65,5 @@ messages. =head1 SEE ALSO L + +=cut diff --git a/lib/MooseX/Runnable/Run.pm b/lib/MooseX/Runnable/Run.pm index 5602afe..9baf8a9 100644 --- a/lib/MooseX/Runnable/Run.pm +++ b/lib/MooseX/Runnable/Run.pm @@ -1,4 +1,5 @@ package MooseX::Runnable::Run; +# ABSTRACT: Run a MooseX::Runnable class as an application use strict; use warnings; @@ -38,9 +39,7 @@ sub import { __END__ -=head1 NAME - -MooseX::Runnable::Run - run a MooseX::Runnable class as an application +=pod =head1 SYNOPSIS @@ -80,3 +79,5 @@ L, a script that will run MooseX::Runnable apps, saving you valuable seconds! L + +=cut diff --git a/lib/MooseX/Runnable/Util/ArgParser.pm b/lib/MooseX/Runnable/Util/ArgParser.pm index 9263fa2..e415205 100644 --- a/lib/MooseX/Runnable/Util/ArgParser.pm +++ b/lib/MooseX/Runnable/Util/ArgParser.pm @@ -1,4 +1,6 @@ package MooseX::Runnable::Util::ArgParser; +# ABSTRACT: parse @ARGV for mx-run + use Moose; use MooseX::Types::Moose qw(HashRef ArrayRef Str Bool); use MooseX::Types::Path::Tiny qw(Path); @@ -260,9 +262,7 @@ sub guess_cmdline { __END__ -=head1 NAME - -MooseX::Runnable::Util::ArgParser - parse @ARGV for mx-run +=pod =head1 SYNOPSIS diff --git a/bin/mx-run b/script/bin/mx-run similarity index 100% rename from bin/mx-run rename to script/bin/mx-run diff --git a/weaver.ini b/weaver.ini new file mode 100644 index 0000000..7592644 --- /dev/null +++ b/weaver.ini @@ -0,0 +1,10 @@ +[@Default] + +[-Transformer] +transformer = List + +[-StopWords] + +[-Encoding] + +[Contributors] diff --git a/xt/pod-coverage.t b/xt/pod-coverage.t deleted file mode 100644 index 703f91d..0000000 --- a/xt/pod-coverage.t +++ /dev/null @@ -1,6 +0,0 @@ -#!perl -T - -use Test::More; -eval "use Test::Pod::Coverage 1.04"; -plan skip_all => "Test::Pod::Coverage 1.04 required for testing POD coverage" if $@; -all_pod_coverage_ok(); diff --git a/xt/pod.t b/xt/pod.t deleted file mode 100644 index 976d7cd..0000000 --- a/xt/pod.t +++ /dev/null @@ -1,6 +0,0 @@ -#!perl -T - -use Test::More; -eval "use Test::Pod 1.14"; -plan skip_all => "Test::Pod 1.14 required for testing POD" if $@; -all_pod_files_ok();