convert to Dist::Zilla
Karen Etheridge [Mon, 18 Nov 2013 00:33:50 +0000 (16:33 -0800)]
14 files changed:
.gitignore
Changes
MANIFEST.SKIP [deleted file]
Makefile.PL [deleted file]
README [deleted file]
dist.ini [new file with mode: 0644]
lib/MooseX/Runnable.pm
lib/MooseX/Runnable/Invocation/Plugin/Debug.pm
lib/MooseX/Runnable/Run.pm
lib/MooseX/Runnable/Util/ArgParser.pm
script/bin/mx-run [moved from bin/mx-run with 100% similarity]
weaver.ini [new file with mode: 0644]
xt/pod-coverage.t [deleted file]
xt/pod.t [deleted file]

index 9e7d5de..4e334e9 100644 (file)
@@ -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 (file)
--- 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 (file)
index 8fb2024..0000000
+++ /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 (file)
index f71c0dd..0000000
+++ /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 (file)
index e69de29..0000000
diff --git a/dist.ini b/dist.ini
new file mode 100644 (file)
index 0000000..4179b71
--- /dev/null
+++ b/dist.ini
@@ -0,0 +1,41 @@
+name            = MooseX-Runnable
+author          = Jonathan Rockway <jrockway@cpan.org>
+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]
index b380940..5d0997f 100644 (file)
@@ -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<http://github.com/jrockway/moosex-runnable>
-
-=head1 AUTHOR
-
-Jonathan Rockway C<< <jrockway@cpan.org> >>
-
-=head1 COPYRIGHT
-
-Copyright (c) 2009 Jonathan Rockway
-
-This module is Free Software, you can redistribute it under the same
-terms as Perl itself.
+=cut
index 2fe011b..9e3fd6c 100644 (file)
@@ -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<MooseX::Runnable>
+
+=cut
index 5602afe..9baf8a9 100644 (file)
@@ -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<mx-run>, a script that will run MooseX::Runnable apps, saving you
 valuable seconds!
 
 L<MooseX::Runnable>
+
+=cut
index 9263fa2..e415205 100644 (file)
@@ -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
 
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 (file)
index 0000000..7592644
--- /dev/null
@@ -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 (file)
index 703f91d..0000000
+++ /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 (file)
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();