This is an automated email from the git hooks/post-receive script. js pushed a commit to branch tmp in repository libmoosex-runnable-perl.
commit 1e237ec3a056f0c93eb14aeddb3b5fa07f957026 Merge: 3984f9a 1cec5c6 Author: Jonas Smedegaard <[email protected]> Date: Wed Mar 12 15:28:19 2014 +0100 Imported Upstream version 0.07 .gitignore | 9 - Build.PL | 4 + CONTRIBUTING | 78 ++ Changes | 25 +- INSTALL | 44 ++ LICENSE | 379 ++++++++++ MANIFEST | 49 +- MANIFEST.SKIP | 8 - META.json | 837 +++++++++++++++++++++ META.yml | 603 ++++++++++++++- Makefile.PL | 165 +++- README | 15 + README.md | 116 +++ dist.ini | 60 ++ inc/Module/Install.pm | 445 ----------- inc/Module/Install/Base.pm | 78 -- inc/Module/Install/Can.pm | 81 -- inc/Module/Install/Fetch.pm | 93 --- inc/Module/Install/Makefile.pm | 300 -------- inc/Module/Install/Metadata.pm | 647 ---------------- inc/Module/Install/Scripts.pm | 29 - inc/Module/Install/Win32.pm | 64 -- inc/Module/Install/WriteAll.pm | 60 -- lib/MooseX/Runnable.pm | 60 +- lib/MooseX/Runnable/Invocation.pm | 13 +- lib/MooseX/Runnable/Invocation/MxRun.pm | 5 + lib/MooseX/Runnable/Invocation/Plugin/Debug.pm | 29 + lib/MooseX/Runnable/Invocation/Plugin/PAR.pm | 8 +- lib/MooseX/Runnable/Invocation/Plugin/Profile.pm | 5 + lib/MooseX/Runnable/Invocation/Plugin/Restart.pm | 4 + .../Runnable/Invocation/Plugin/Restart/Auto.pm | 17 +- .../Runnable/Invocation/Plugin/Restart/Base.pm | 4 + .../Runnable/Invocation/Plugin/Role/CmdlineArgs.pm | 5 + .../Runnable/Invocation/Role/WithParsedArgs.pm | 5 + .../Runnable/Invocation/Scheme/MooseX/Getopt.pm | 5 + lib/MooseX/Runnable/Run.pm | 34 +- lib/MooseX/Runnable/Util/ArgParser.pm | 35 +- {bin => script}/mx-run | 0 t/00-load.t | 2 - t/00-report-prereqs.t | 229 ++++++ t/basic-mx-getopt.t | 6 +- t/basic.t | 10 +- t/invocation-plugin-initargs.t | 18 +- t/zzz-check-breaks.t | 18 + weaver.ini | 8 + xt/author/00-compile.t | 90 +++ xt/author/pod-spell.t | 45 ++ xt/pod-coverage.t | 6 - xt/pod.t | 6 - xt/release/changes_has_content.t | 41 + xt/release/clean-namespaces.t | 9 + xt/release/cpan-changes.t | 11 + xt/release/distmeta.t | 6 + xt/release/eol.t | 8 + xt/release/kwalitee.t | 4 + xt/release/minimum-version.t | 8 + xt/release/mojibake.t | 12 + xt/release/no-tabs.t | 28 + xt/release/pod-no404s.t | 21 + xt/release/pod-syntax.t | 6 + xt/release/portability.t | 11 + xt/release/test-version.t | 22 + 62 files changed, 3105 insertions(+), 1938 deletions(-) diff --cc .gitignore index 9e7d5de,4e334e9..0000000 deleted file mode 100644,100644 --- a/.gitignore +++ /dev/null @@@ -1,9 -1,3 +1,0 @@@ - cover_db - META.yml - Makefile - blib - inc - pm_to_blib - MANIFEST - Makefile.old - /MANIFEST.bak -/.build/ -!.gitignore -/MooseX-Runnable-* diff --cc Build.PL index 0000000,0000000..05a6cc3 new file mode 100644 --- /dev/null +++ b/Build.PL @@@ -1,0 -1,0 +1,4 @@@ ++# This Build.PL for MooseX-Runnable was generated by Dist::Zilla::Plugin::ModuleBuildTiny 0.006. ++use 5.006; ++use Module::Build::Tiny 0.035; ++Build_PL(); diff --cc Changes index 0d15c57,b87cd8f..680641d --- a/Changes +++ b/Changes @@@ -1,4 -1,23 +1,21 @@@ - 0.03 Sat Jun 26 23:19:41 CDT 2010 -Revision history for {{$dist->name}} - -{{$NEXT}} ++Revision history for MooseX-Runnable + + 0.07 2014-02-19 05:04:37Z + - restore mx-run executable lost in 0.04 + + 0.06 2013-11-20 06:36:45Z + - fixed failing unit tests that define classes inline + + 0.05 2013-11-19 03:36:29Z + - fix repository metadata + + 0.04 2013-11-19 02:20:48Z + - converted uses of Path::Class to Path::Tiny (Karen Etheridge) + - removed use of deprecated Class::MOP::load_class + - converted uses of Test::Exception to Test::Fatal + - repository migrated from shadowcat to the github moose organization + + 0.03 2010-06-27 04:19:41Z - modified verification of RunnableClass values to use Params::Util::_CLASS (Karen Etheridge) diff --cc INSTALL index 0000000,0000000..186cae6 new file mode 100644 --- /dev/null +++ b/INSTALL @@@ -1,0 -1,0 +1,44 @@@ ++ ++This is the Perl distribution MooseX-Runnable. ++ ++Installing MooseX-Runnable is straightforward. ++ ++## Installation with cpanm ++ ++If you have cpanm, you only need one line: ++ ++ % cpanm MooseX::Runnable ++ ++If you are installing into a system-wide directory, you may need to pass the ++"-S" flag to cpanm, which uses sudo to install the module: ++ ++ % cpanm -S MooseX::Runnable ++ ++## Installing with the CPAN shell ++ ++Alternatively, if your CPAN shell is set up, you should just be able to do: ++ ++ % cpan MooseX::Runnable ++ ++## Manual installation ++ ++As a last resort, you can manually install it. Download the tarball, untar it, ++then build it: ++ ++ % perl Build.PL ++ % ./Build && ./Build test ++ ++Then install it: ++ ++ % ./Build install ++ ++If you are installing into a system-wide directory, you may need to run: ++ ++ % sudo ./Build install ++ ++## Documentation ++ ++MooseX-Runnable documentation is available as POD. ++You can run perldoc from a shell to read the documentation: ++ ++ % perldoc MooseX::Runnable diff --cc MANIFEST index d9f6664,0000000..71ff4db mode 100644,000000..100644 --- a/MANIFEST +++ b/MANIFEST @@@ -1,41 -1,0 +1,54 @@@ - .gitignore - bin/mx-run ++# This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.013. ++Build.PL ++CONTRIBUTING +Changes ++INSTALL ++LICENSE ++MANIFEST ++META.json ++META.yml ++Makefile.PL ++README ++README.md ++dist.ini +example/LongRunning.pm +example/MyApp.pm - inc/Module/Install.pm - inc/Module/Install/Base.pm - inc/Module/Install/Can.pm - inc/Module/Install/Fetch.pm - inc/Module/Install/Makefile.pm - inc/Module/Install/Metadata.pm - inc/Module/Install/Scripts.pm - inc/Module/Install/Win32.pm - inc/Module/Install/WriteAll.pm +lib/MooseX/Runnable.pm +lib/MooseX/Runnable/Invocation.pm +lib/MooseX/Runnable/Invocation/MxRun.pm +lib/MooseX/Runnable/Invocation/Plugin/Debug.pm +lib/MooseX/Runnable/Invocation/Plugin/PAR.pm +lib/MooseX/Runnable/Invocation/Plugin/Profile.pm +lib/MooseX/Runnable/Invocation/Plugin/Restart.pm +lib/MooseX/Runnable/Invocation/Plugin/Restart/Auto.pm +lib/MooseX/Runnable/Invocation/Plugin/Restart/Base.pm +lib/MooseX/Runnable/Invocation/Plugin/Role/CmdlineArgs.pm +lib/MooseX/Runnable/Invocation/Role/WithParsedArgs.pm +lib/MooseX/Runnable/Invocation/Scheme/MooseX/Getopt.pm +lib/MooseX/Runnable/Run.pm +lib/MooseX/Runnable/Util/ArgParser.pm - Makefile.PL - MANIFEST This list of files - MANIFEST.SKIP - META.yml - README ++script/mx-run +t/00-load.t ++t/00-report-prereqs.t +t/arg-parser.t +t/basic-mx-getopt.t +t/basic.t +t/invocation-plugin-initargs.t +t/reverse-args.t - xt/pod-coverage.t - xt/pod.t ++t/zzz-check-breaks.t ++weaver.ini ++xt/author/00-compile.t ++xt/author/pod-spell.t ++xt/release/changes_has_content.t ++xt/release/clean-namespaces.t ++xt/release/cpan-changes.t ++xt/release/distmeta.t ++xt/release/eol.t ++xt/release/kwalitee.t ++xt/release/minimum-version.t ++xt/release/mojibake.t ++xt/release/no-tabs.t ++xt/release/pod-no404s.t ++xt/release/pod-syntax.t ++xt/release/portability.t ++xt/release/test-version.t diff --cc META.json index 0000000,0000000..48c070f new file mode 100644 --- /dev/null +++ b/META.json @@@ -1,0 -1,0 +1,837 @@@ ++{ ++ "abstract" : "Tag a class as a runnable application", ++ "author" : [ ++ "Jonathan Rockway <[email protected]>" ++ ], ++ "dynamic_config" : 0, ++ "generated_by" : "Dist::Zilla version 5.013, CPAN::Meta::Converter version 2.133380", ++ "license" : [ ++ "perl_5" ++ ], ++ "meta-spec" : { ++ "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec", ++ "version" : "2" ++ }, ++ "name" : "MooseX-Runnable", ++ "no_index" : { ++ "directory" : [ ++ "t", ++ "xt", ++ "examples", ++ "share" ++ ] ++ }, ++ "prereqs" : { ++ "configure" : { ++ "requires" : { ++ "ExtUtils::MakeMaker" : "6.30", ++ "Module::Build::Tiny" : "0.035" ++ } ++ }, ++ "develop" : { ++ "recommends" : { ++ "Dist::Zilla::PluginBundle::Author::ETHER" : "0.050" ++ }, ++ "requires" : { ++ "AnyEvent" : "0", ++ "App::Packer::PAR" : "0", ++ "Data::Dump::Streamer" : "0", ++ "Dist::Zilla" : "5.013", ++ "Dist::Zilla::Plugin::ContributorsFromGit" : "0", ++ "Dist::Zilla::Plugin::FileFinder::Filter" : "0", ++ "Dist::Zilla::Plugin::GitHub::Update" : "0", ++ "Dist::Zilla::Plugin::GithubMeta" : "0", ++ "Dist::Zilla::Plugin::MakeMaker::Fallback" : "0", ++ "Dist::Zilla::Plugin::MetaResources" : "0", ++ "Dist::Zilla::Plugin::ModuleBuildTiny" : "0.004", ++ "Dist::Zilla::Plugin::PodWeaver" : "4.004", ++ "Dist::Zilla::Plugin::Prereqs" : "0", ++ "Dist::Zilla::Plugin::SurgicalPodWeaver" : "0", ++ "Dist::Zilla::Plugin::Test::CheckBreaks" : "0", ++ "Dist::Zilla::PluginBundle::Author::ETHER" : "0.040", ++ "File::ChangeNotify" : "0", ++ "File::Spec" : "0", ++ "File::Temp" : "0", ++ "IO::Handle" : "0", ++ "IPC::Open3" : "0", ++ "Module::ScanDeps" : "0", ++ "Pod::Elemental::PerlMunger" : "0.200001", ++ "Pod::Weaver" : "4", ++ "Pod::Weaver::Section::Contributors" : "0", ++ "Test::CPAN::Changes" : "0.19", ++ "Test::CPAN::Meta" : "0", ++ "Test::CleanNamespaces" : "0", ++ "Test::Kwalitee" : "1.12", ++ "Test::More" : "0.94", ++ "Test::NoTabs" : "0", ++ "Test::Pod" : "1.41" ++ } ++ }, ++ "runtime" : { ++ "recommends" : { ++ "MooseX::Getopt" : "0" ++ }, ++ "requires" : { ++ "Class::Load" : "0", ++ "FindBin" : "0", ++ "List::MoreUtils" : "0", ++ "Moose" : "0", ++ "Moose::Role" : "0", ++ "MooseX::Types" : "0", ++ "MooseX::Types::Moose" : "0", ++ "MooseX::Types::Path::Tiny" : "0", ++ "Params::Util" : "0", ++ "Path::Tiny" : "0", ++ "namespace::autoclean" : "0", ++ "perl" : "5.006", ++ "strict" : "0", ++ "warnings" : "0" ++ }, ++ "suggests" : { ++ "AnyEvent" : "0", ++ "Data::Dump::Streamer" : "0", ++ "File::ChangeNotify" : "0", ++ "Module::ScanDeps" : "0", ++ "PAR::Packer" : "0", ++ "Params::Validate" : "0" ++ } ++ }, ++ "test" : { ++ "recommends" : { ++ "CPAN::Meta" : "0", ++ "CPAN::Meta::Requirements" : "2.120900" ++ }, ++ "requires" : { ++ "ExtUtils::MakeMaker" : "0", ++ "File::Spec::Functions" : "0", ++ "List::Util" : "0", ++ "MooseX::Getopt" : "0", ++ "Test::Fatal" : "0", ++ "Test::More" : "0", ++ "Test::TableDriven" : "0", ++ "ok" : "0", ++ "version" : "0" ++ } ++ } ++ }, ++ "provides" : { ++ "MooseX::Runnable" : { ++ "file" : "lib/MooseX/Runnable.pm", ++ "version" : "0.07" ++ }, ++ "MooseX::Runnable::Invocation" : { ++ "file" : "lib/MooseX/Runnable/Invocation.pm", ++ "version" : "0.07" ++ }, ++ "MooseX::Runnable::Invocation::MxRun" : { ++ "file" : "lib/MooseX/Runnable/Invocation/MxRun.pm", ++ "version" : "0.07" ++ }, ++ "MooseX::Runnable::Invocation::Plugin::Debug" : { ++ "file" : "lib/MooseX/Runnable/Invocation/Plugin/Debug.pm", ++ "version" : "0.07" ++ }, ++ "MooseX::Runnable::Invocation::Plugin::PAR" : { ++ "file" : "lib/MooseX/Runnable/Invocation/Plugin/PAR.pm", ++ "version" : "0.07" ++ }, ++ "MooseX::Runnable::Invocation::Plugin::Profile" : { ++ "file" : "lib/MooseX/Runnable/Invocation/Plugin/Profile.pm", ++ "version" : "0.07" ++ }, ++ "MooseX::Runnable::Invocation::Plugin::Restart" : { ++ "file" : "lib/MooseX/Runnable/Invocation/Plugin/Restart.pm", ++ "version" : "0.07" ++ }, ++ "MooseX::Runnable::Invocation::Plugin::Restart::Auto" : { ++ "file" : "lib/MooseX/Runnable/Invocation/Plugin/Restart/Auto.pm", ++ "version" : "0.07" ++ }, ++ "MooseX::Runnable::Invocation::Plugin::Restart::Base" : { ++ "file" : "lib/MooseX/Runnable/Invocation/Plugin/Restart/Base.pm", ++ "version" : "0.07" ++ }, ++ "MooseX::Runnable::Invocation::Plugin::Role::CmdlineArgs" : { ++ "file" : "lib/MooseX/Runnable/Invocation/Plugin/Role/CmdlineArgs.pm", ++ "version" : "0.07" ++ }, ++ "MooseX::Runnable::Invocation::Role::WithParsedArgs" : { ++ "file" : "lib/MooseX/Runnable/Invocation/Role/WithParsedArgs.pm", ++ "version" : "0.07" ++ }, ++ "MooseX::Runnable::Invocation::Scheme::MooseX::Getopt" : { ++ "file" : "lib/MooseX/Runnable/Invocation/Scheme/MooseX/Getopt.pm", ++ "version" : "0.07" ++ }, ++ "MooseX::Runnable::Run" : { ++ "file" : "lib/MooseX/Runnable/Run.pm", ++ "version" : "0.07" ++ }, ++ "MooseX::Runnable::Util::ArgParser" : { ++ "file" : "lib/MooseX/Runnable/Util/ArgParser.pm", ++ "version" : "0.07" ++ } ++ }, ++ "release_status" : "stable", ++ "resources" : { ++ "bugtracker" : { ++ "mailto" : "[email protected]", ++ "web" : "https://rt.cpan.org/Public/Dist/Display.html?Name=MooseX-Runnable" ++ }, ++ "homepage" : "https://github.com/moose/MooseX-Runnable", ++ "repository" : { ++ "type" : "git", ++ "url" : "https://github.com/moose/MooseX-Runnable.git", ++ "web" : "https://github.com/moose/MooseX-Runnable" ++ }, ++ "x_IRC" : "irc://irc.perl.org/#moose", ++ "x_MailingList" : "http://lists.perl.org/list/moose.html" ++ }, ++ "version" : "0.07", ++ "x_Dist_Zilla" : { ++ "perl" : { ++ "version" : "5.019008" ++ }, ++ "plugins" : [ ++ { ++ "class" : "Dist::Zilla::Plugin::SurgicalPodWeaver", ++ "config" : { ++ "Dist::Zilla::Plugin::PodWeaver" : { ++ "finder" : [ ++ ":InstallModules", ++ ":ExecFiles" ++ ], ++ "plugins" : [ ++ { ++ "class" : "Pod::Weaver::Plugin::EnsurePod5", ++ "name" : "@CorePrep/EnsurePod5", ++ "version" : "4.006" ++ }, ++ { ++ "class" : "Pod::Weaver::Plugin::H1Nester", ++ "name" : "@CorePrep/H1Nester", ++ "version" : "4.006" ++ }, ++ { ++ "class" : "Pod::Weaver::Plugin::SingleEncoding", ++ "name" : "@Default/SingleEncoding", ++ "version" : "4.006" ++ }, ++ { ++ "class" : "Pod::Weaver::Section::Name", ++ "name" : "@Default/Name", ++ "version" : "4.006" ++ }, ++ { ++ "class" : "Pod::Weaver::Section::Version", ++ "name" : "@Default/Version", ++ "version" : "4.006" ++ }, ++ { ++ "class" : "Pod::Weaver::Section::Region", ++ "name" : "@Default/prelude", ++ "version" : "4.006" ++ }, ++ { ++ "class" : "Pod::Weaver::Section::Generic", ++ "name" : "SYNOPSIS", ++ "version" : "4.006" ++ }, ++ { ++ "class" : "Pod::Weaver::Section::Generic", ++ "name" : "DESCRIPTION", ++ "version" : "4.006" ++ }, ++ { ++ "class" : "Pod::Weaver::Section::Generic", ++ "name" : "OVERVIEW", ++ "version" : "4.006" ++ }, ++ { ++ "class" : "Pod::Weaver::Section::Collect", ++ "name" : "ATTRIBUTES", ++ "version" : "4.006" ++ }, ++ { ++ "class" : "Pod::Weaver::Section::Collect", ++ "name" : "METHODS", ++ "version" : "4.006" ++ }, ++ { ++ "class" : "Pod::Weaver::Section::Collect", ++ "name" : "FUNCTIONS", ++ "version" : "4.006" ++ }, ++ { ++ "class" : "Pod::Weaver::Section::Leftovers", ++ "name" : "@Default/Leftovers", ++ "version" : "4.006" ++ }, ++ { ++ "class" : "Pod::Weaver::Section::Region", ++ "name" : "@Default/postlude", ++ "version" : "4.006" ++ }, ++ { ++ "class" : "Pod::Weaver::Section::Authors", ++ "name" : "@Default/Authors", ++ "version" : "4.006" ++ }, ++ { ++ "class" : "Pod::Weaver::Section::Legal", ++ "name" : "@Default/Legal", ++ "version" : "4.006" ++ }, ++ { ++ "class" : "Pod::Weaver::Plugin::Transformer", ++ "name" : "-Transformer", ++ "version" : "4.006" ++ }, ++ { ++ "class" : "Pod::Weaver::Plugin::StopWords", ++ "name" : "-StopWords", ++ "version" : "1.008" ++ }, ++ { ++ "class" : "Pod::Weaver::Section::Contributors", ++ "name" : "Contributors", ++ "version" : "0.007" ++ } ++ ] ++ } ++ }, ++ "name" : "SurgicalPodWeaver", ++ "version" : "0.0021" ++ }, ++ { ++ "class" : "Dist::Zilla::Plugin::FileFinder::Filter", ++ "name" : "ModulesSansPlugins", ++ "version" : "5.013" ++ }, ++ { ++ "class" : "Dist::Zilla::Plugin::Git::NextVersion", ++ "name" : "@Author::ETHER/Git::NextVersion", ++ "version" : "2.020" ++ }, ++ { ++ "class" : "Dist::Zilla::Plugin::PromptIfStale", ++ "config" : { ++ "Dist::Zilla::Plugin::PromptIfStale" : { ++ "check_all_plugins" : 0, ++ "check_all_prereqs" : 0, ++ "modules" : [ ++ "Dist::Zilla::PluginBundle::Author::ETHER" ++ ], ++ "phase" : "build", ++ "skip" : [] ++ } ++ }, ++ "name" : "@Author::ETHER/build", ++ "version" : "0.017" ++ }, ++ { ++ "class" : "Dist::Zilla::Plugin::PromptIfStale", ++ "config" : { ++ "Dist::Zilla::Plugin::PromptIfStale" : { ++ "check_all_plugins" : "1", ++ "check_all_prereqs" : "1", ++ "modules" : [], ++ "phase" : "release", ++ "skip" : [] ++ } ++ }, ++ "name" : "@Author::ETHER/release", ++ "version" : "0.017" ++ }, ++ { ++ "class" : "Dist::Zilla::Plugin::ExecDir", ++ "name" : "@Author::ETHER/ExecDir", ++ "version" : "5.013" ++ }, ++ { ++ "class" : "Dist::Zilla::Plugin::ShareDir", ++ "name" : "@Author::ETHER/ShareDir", ++ "version" : "5.013" ++ }, ++ { ++ "class" : "Dist::Zilla::Plugin::FileFinder::ByName", ++ "name" : "@Author::ETHER/Examples", ++ "version" : "5.013" ++ }, ++ { ++ "class" : "Dist::Zilla::Plugin::Git::GatherDir", ++ "name" : "@Author::ETHER/Git::GatherDir", ++ "version" : "2.020" ++ }, ++ { ++ "class" : "Dist::Zilla::Plugin::MetaYAML", ++ "name" : "@Author::ETHER/MetaYAML", ++ "version" : "5.013" ++ }, ++ { ++ "class" : "Dist::Zilla::Plugin::MetaJSON", ++ "name" : "@Author::ETHER/MetaJSON", ++ "version" : "5.013" ++ }, ++ { ++ "class" : "Dist::Zilla::Plugin::License", ++ "name" : "@Author::ETHER/License", ++ "version" : "5.013" ++ }, ++ { ++ "class" : "Dist::Zilla::Plugin::Readme", ++ "name" : "@Author::ETHER/Readme", ++ "version" : "5.013" ++ }, ++ { ++ "class" : "Dist::Zilla::Plugin::Manifest", ++ "name" : "@Author::ETHER/Manifest", ++ "version" : "5.013" ++ }, ++ { ++ "class" : "Dist::Zilla::Plugin::GenerateFile::ShareDir", ++ "config" : { ++ "Dist::Zilla::Plugin::GenerateFile::ShareDir" : { ++ "destination_filename" : "CONTRIBUTING", ++ "dist" : "Dist-Zilla-PluginBundle-Author-ETHER", ++ "encoding" : "UTF-8", ++ "source_filename" : "CONTRIBUTING" ++ } ++ }, ++ "name" : "@Author::ETHER/generate CONTRIBUTING", ++ "version" : "0.005" ++ }, ++ { ++ "class" : "Dist::Zilla::Plugin::Test::Compile", ++ "config" : { ++ "Dist::Zilla::Plugin::Test::Compile" : { ++ "filename" : "xt/author/00-compile.t", ++ "module_finder" : [ ++ ":InstallModules" ++ ], ++ "script_finder" : [ ++ ":ExecFiles", ++ "@Author::ETHER/Examples" ++ ] ++ } ++ }, ++ "name" : "@Author::ETHER/Test::Compile", ++ "version" : "2.039" ++ }, ++ { ++ "class" : "Dist::Zilla::Plugin::Test::NoTabs", ++ "config" : { ++ "Dist::Zilla::Plugin::Test::NoTabs" : { ++ "module_finder" : [ ++ ":InstallModules" ++ ], ++ "script_finder" : [ ++ ":ExecFiles", ++ "@Author::ETHER/Examples" ++ ] ++ } ++ }, ++ "name" : "@Author::ETHER/Test::NoTabs", ++ "version" : "0.06" ++ }, ++ { ++ "class" : "Dist::Zilla::Plugin::EOLTests", ++ "name" : "@Author::ETHER/EOLTests", ++ "version" : "0.02" ++ }, ++ { ++ "class" : "Dist::Zilla::Plugin::MetaTests", ++ "name" : "@Author::ETHER/MetaTests", ++ "version" : "5.013" ++ }, ++ { ++ "class" : "Dist::Zilla::Plugin::Test::Version", ++ "name" : "@Author::ETHER/Test::Version", ++ "version" : "0.002004" ++ }, ++ { ++ "class" : "Dist::Zilla::Plugin::Test::CPAN::Changes", ++ "name" : "@Author::ETHER/Test::CPAN::Changes", ++ "version" : "0.008" ++ }, ++ { ++ "class" : "Dist::Zilla::Plugin::Test::ChangesHasContent", ++ "name" : "@Author::ETHER/Test::ChangesHasContent", ++ "version" : "0.006" ++ }, ++ { ++ "class" : "Dist::Zilla::Plugin::Test::MinimumVersion", ++ "name" : "@Author::ETHER/Test::MinimumVersion", ++ "version" : "2.000005" ++ }, ++ { ++ "class" : "Dist::Zilla::Plugin::PodSyntaxTests", ++ "name" : "@Author::ETHER/PodSyntaxTests", ++ "version" : "5.013" ++ }, ++ { ++ "class" : "Dist::Zilla::Plugin::Test::PodSpelling", ++ "name" : "@Author::ETHER/Test::PodSpelling", ++ "version" : "2.006002" ++ }, ++ { ++ "class" : "Dist::Zilla::Plugin::Test::Pod::No404s", ++ "name" : "@Author::ETHER/Test::Pod::No404s", ++ "version" : "1.001" ++ }, ++ { ++ "class" : "Dist::Zilla::Plugin::Test::Kwalitee", ++ "name" : "@Author::ETHER/Test::Kwalitee", ++ "version" : "2.07" ++ }, ++ { ++ "class" : "Dist::Zilla::Plugin::MojibakeTests", ++ "name" : "@Author::ETHER/MojibakeTests", ++ "version" : "0.5" ++ }, ++ { ++ "class" : "Dist::Zilla::Plugin::Test::ReportPrereqs", ++ "name" : "@Author::ETHER/Test::ReportPrereqs", ++ "version" : "0.013" ++ }, ++ { ++ "class" : "Dist::Zilla::Plugin::Test::Portability", ++ "name" : "@Author::ETHER/Test::Portability", ++ "version" : "2.000005" ++ }, ++ { ++ "class" : "Dist::Zilla::Plugin::Git::Describe", ++ "name" : "@Author::ETHER/Git::Describe", ++ "version" : "0.003" ++ }, ++ { ++ "class" : "Dist::Zilla::Plugin::PkgVersion", ++ "name" : "@Author::ETHER/PkgVersion", ++ "version" : "5.013" ++ }, ++ { ++ "class" : "Dist::Zilla::Plugin::Authority", ++ "name" : "@Author::ETHER/Authority", ++ "version" : "1.006" ++ }, ++ { ++ "class" : "Dist::Zilla::Plugin::NextRelease", ++ "name" : "@Author::ETHER/NextRelease", ++ "version" : "5.013" ++ }, ++ { ++ "class" : "Dist::Zilla::Plugin::ReadmeAnyFromPod", ++ "name" : "@Author::ETHER/ReadmeAnyFromPod", ++ "version" : "0.133360" ++ }, ++ { ++ "class" : "Dist::Zilla::Plugin::GithubMeta", ++ "name" : "@Author::ETHER/GithubMeta", ++ "version" : "0.42" ++ }, ++ { ++ "class" : "Dist::Zilla::Plugin::AutoMetaResources", ++ "name" : "@Author::ETHER/AutoMetaResources", ++ "version" : "1.20" ++ }, ++ { ++ "class" : "Dist::Zilla::Plugin::MetaNoIndex", ++ "name" : "@Author::ETHER/MetaNoIndex", ++ "version" : "5.013" ++ }, ++ { ++ "class" : "Dist::Zilla::Plugin::MetaProvides::Package", ++ "config" : { ++ "Dist::Zilla::Plugin::MetaProvides::Package" : { ++ "finder" : [ ++ ":InstallModules" ++ ], ++ "finder_objects" : [ ++ { ++ "class" : "Dist::Zilla::Plugin::FinderCode", ++ "name" : ":InstallModules", ++ "version" : "5.013" ++ } ++ ] ++ }, ++ "Dist::Zilla::Role::MetaProvider::Provider" : { ++ "inherit_missing" : "1", ++ "inherit_version" : "1", ++ "meta_noindex" : "1" ++ } ++ }, ++ "name" : "@Author::ETHER/MetaProvides::Package", ++ "version" : "2.000001" ++ }, ++ { ++ "class" : "Dist::Zilla::Plugin::MetaConfig", ++ "name" : "@Author::ETHER/MetaConfig", ++ "version" : "5.013" ++ }, ++ { ++ "class" : "Dist::Zilla::Plugin::AutoPrereqs", ++ "name" : "@Author::ETHER/AutoPrereqs", ++ "version" : "5.013" ++ }, ++ { ++ "class" : "Dist::Zilla::Plugin::Prereqs::AuthorDeps", ++ "name" : "@Author::ETHER/Prereqs::AuthorDeps", ++ "version" : "0.002" ++ }, ++ { ++ "class" : "Dist::Zilla::Plugin::MinimumPerl", ++ "name" : "@Author::ETHER/MinimumPerl", ++ "version" : "1.003" ++ }, ++ { ++ "class" : "Dist::Zilla::Plugin::Prereqs", ++ "config" : { ++ "Dist::Zilla::Plugin::Prereqs" : { ++ "phase" : "develop", ++ "type" : "requires" ++ } ++ }, ++ "name" : "@Author::ETHER/installer_requirements", ++ "version" : "5.013" ++ }, ++ { ++ "class" : "Dist::Zilla::Plugin::Prereqs", ++ "config" : { ++ "Dist::Zilla::Plugin::Prereqs" : { ++ "phase" : "develop", ++ "type" : "recommends" ++ } ++ }, ++ "name" : "@Author::ETHER/pluginbundle_version", ++ "version" : "5.013" ++ }, ++ { ++ "class" : "Dist::Zilla::Plugin::RunExtraTests", ++ "name" : "@Author::ETHER/RunExtraTests", ++ "version" : "0.018" ++ }, ++ { ++ "class" : "Dist::Zilla::Plugin::MakeMaker::Fallback", ++ "name" : "@Author::ETHER/MakeMaker::Fallback", ++ "version" : "0.006" ++ }, ++ { ++ "class" : "Dist::Zilla::Plugin::ModuleBuildTiny", ++ "name" : "@Author::ETHER/ModuleBuildTiny", ++ "version" : "0.006" ++ }, ++ { ++ "class" : "Dist::Zilla::Plugin::InstallGuide", ++ "name" : "@Author::ETHER/InstallGuide", ++ "version" : "1.200002" ++ }, ++ { ++ "class" : "Dist::Zilla::Plugin::CheckSelfDependency", ++ "config" : { ++ "Dist::Zilla::Plugin::CheckSelfDependency" : { ++ "finder" : [ ++ ":InstallModules" ++ ] ++ } ++ }, ++ "name" : "@Author::ETHER/CheckSelfDependency", ++ "version" : "0.007" ++ }, ++ { ++ "class" : "Dist::Zilla::Plugin::Run::AfterBuild", ++ "name" : "@Author::ETHER/Run::AfterBuild", ++ "version" : "0.020" ++ }, ++ { ++ "class" : "Dist::Zilla::Plugin::Git::Check", ++ "name" : "@Author::ETHER/initial check", ++ "version" : "2.020" ++ }, ++ { ++ "class" : "Dist::Zilla::Plugin::Git::CheckFor::MergeConflicts", ++ "name" : "@Author::ETHER/Git::CheckFor::MergeConflicts", ++ "version" : "0.009" ++ }, ++ { ++ "class" : "Dist::Zilla::Plugin::Git::CheckFor::CorrectBranch", ++ "name" : "@Author::ETHER/Git::CheckFor::CorrectBranch", ++ "version" : "0.009" ++ }, ++ { ++ "class" : "Dist::Zilla::Plugin::Git::Remote::Check", ++ "name" : "@Author::ETHER/Git::Remote::Check", ++ "version" : "0.1.2" ++ }, ++ { ++ "class" : "Dist::Zilla::Plugin::CheckPrereqsIndexed", ++ "name" : "@Author::ETHER/CheckPrereqsIndexed", ++ "version" : "0.010" ++ }, ++ { ++ "class" : "Dist::Zilla::Plugin::TestRelease", ++ "name" : "@Author::ETHER/TestRelease", ++ "version" : "5.013" ++ }, ++ { ++ "class" : "Dist::Zilla::Plugin::Git::Check", ++ "name" : "@Author::ETHER/after tests", ++ "version" : "2.020" ++ }, ++ { ++ "class" : "Dist::Zilla::Plugin::UploadToCPAN", ++ "name" : "@Author::ETHER/UploadToCPAN", ++ "version" : "5.013" ++ }, ++ { ++ "class" : "Dist::Zilla::Plugin::CopyFilesFromRelease", ++ "name" : "@Author::ETHER/CopyFilesFromRelease", ++ "version" : "0.001" ++ }, ++ { ++ "class" : "Dist::Zilla::Plugin::Git::Commit", ++ "name" : "@Author::ETHER/Git::Commit", ++ "version" : "2.020" ++ }, ++ { ++ "class" : "Dist::Zilla::Plugin::Git::Tag", ++ "name" : "@Author::ETHER/Git::Tag", ++ "version" : "2.020" ++ }, ++ { ++ "class" : "Dist::Zilla::Plugin::GitHub::Update", ++ "name" : "@Author::ETHER/GitHub::Update", ++ "version" : "0.36" ++ }, ++ { ++ "class" : "Dist::Zilla::Plugin::Git::Push", ++ "name" : "@Author::ETHER/Git::Push", ++ "version" : "2.020" ++ }, ++ { ++ "class" : "Dist::Zilla::Plugin::InstallRelease", ++ "name" : "@Author::ETHER/InstallRelease", ++ "version" : "0.008" ++ }, ++ { ++ "class" : "Dist::Zilla::Plugin::Prereqs", ++ "config" : { ++ "Dist::Zilla::Plugin::Prereqs" : { ++ "phase" : "develop", ++ "type" : "requires" ++ } ++ }, ++ "name" : "@Author::ETHER/via_options", ++ "version" : "5.013" ++ }, ++ { ++ "class" : "Dist::Zilla::Plugin::ConfirmRelease", ++ "name" : "@Author::ETHER/ConfirmRelease", ++ "version" : "5.013" ++ }, ++ { ++ "class" : "Dist::Zilla::Plugin::MetaResources", ++ "name" : "MetaResources", ++ "version" : "5.013" ++ }, ++ { ++ "class" : "Dist::Zilla::Plugin::Prereqs", ++ "config" : { ++ "Dist::Zilla::Plugin::Prereqs" : { ++ "phase" : "runtime", ++ "type" : "recommends" ++ } ++ }, ++ "name" : "RuntimeRecommends", ++ "version" : "5.013" ++ }, ++ { ++ "class" : "Dist::Zilla::Plugin::Prereqs", ++ "config" : { ++ "Dist::Zilla::Plugin::Prereqs" : { ++ "phase" : "runtime", ++ "type" : "suggests" ++ } ++ }, ++ "name" : "RuntimeSuggests", ++ "version" : "5.013" ++ }, ++ { ++ "class" : "Dist::Zilla::Plugin::Prereqs", ++ "config" : { ++ "Dist::Zilla::Plugin::Prereqs" : { ++ "phase" : "develop", ++ "type" : "requires" ++ } ++ }, ++ "name" : "DevelopRequires", ++ "version" : "5.013" ++ }, ++ { ++ "class" : "Dist::Zilla::Plugin::ContributorsFromGit", ++ "name" : "ContributorsFromGit", ++ "version" : "0.006" ++ }, ++ { ++ "class" : "Dist::Zilla::Plugin::Test::CheckBreaks", ++ "name" : "Test::CheckBreaks", ++ "version" : "0.006" ++ }, ++ { ++ "class" : "Dist::Zilla::Plugin::FinderCode", ++ "name" : ":InstallModules", ++ "version" : "5.013" ++ }, ++ { ++ "class" : "Dist::Zilla::Plugin::FinderCode", ++ "name" : ":IncModules", ++ "version" : "5.013" ++ }, ++ { ++ "class" : "Dist::Zilla::Plugin::FinderCode", ++ "name" : ":TestFiles", ++ "version" : "5.013" ++ }, ++ { ++ "class" : "Dist::Zilla::Plugin::FinderCode", ++ "name" : ":ExecFiles", ++ "version" : "5.013" ++ }, ++ { ++ "class" : "Dist::Zilla::Plugin::FinderCode", ++ "name" : ":ShareFiles", ++ "version" : "5.013" ++ }, ++ { ++ "class" : "Dist::Zilla::Plugin::FinderCode", ++ "name" : ":MainModule", ++ "version" : "5.013" ++ }, ++ { ++ "class" : "Dist::Zilla::Plugin::FinderCode", ++ "name" : ":AllFiles", ++ "version" : "5.013" ++ }, ++ { ++ "class" : "Dist::Zilla::Plugin::FinderCode", ++ "name" : ":NoFiles", ++ "version" : "5.013" ++ } ++ ], ++ "zilla" : { ++ "class" : "Dist::Zilla::Dist::Builder", ++ "config" : { ++ "is_trial" : "0" ++ }, ++ "version" : "5.013" ++ } ++ }, ++ "x_authority" : "cpan:JROCKWAY", ++ "x_breaks" : {}, ++ "x_contributors" : [ ++ "Doug Bell <[email protected]>", ++ "Duke Leto <[email protected]>", ++ "Jonathan Rockway <[email protected]>", ++ "Karen Etheridge <[email protected]>" ++ ] ++} ++ diff --cc META.yml index ea0ac3c,0000000..2d1f760 mode 100644,000000..100644 --- a/META.yml +++ b/META.yml @@@ -1,35 -1,0 +1,596 @@@ +--- - abstract: 'tag a class as a runnable application' ++abstract: 'Tag a class as a runnable application' +author: - - 'Jonathan Rockway C<< <[email protected]> >>' ++ - 'Jonathan Rockway <[email protected]>' +build_requires: - ExtUtils::MakeMaker: 6.42 - Test::More: 0 - Test::TableDriven: 0 - ok: 0 ++ ExtUtils::MakeMaker: '0' ++ File::Spec::Functions: '0' ++ List::Util: '0' ++ MooseX::Getopt: '0' ++ Test::Fatal: '0' ++ Test::More: '0' ++ Test::TableDriven: '0' ++ ok: '0' ++ version: '0' +configure_requires: - ExtUtils::MakeMaker: 6.42 - distribution_type: module - generated_by: 'Module::Install version 0.92' ++ ExtUtils::MakeMaker: '6.30' ++ Module::Build::Tiny: '0.035' ++dynamic_config: 0 ++generated_by: 'Dist::Zilla version 5.013, CPAN::Meta::Converter version 2.133380' +license: perl +meta-spec: + url: http://module-build.sourceforge.net/META-spec-v1.4.html - version: 1.4 ++ version: '1.4' +name: MooseX-Runnable +no_index: + directory: - - example - - inc + - t + - xt ++ - examples ++ - share ++provides: ++ MooseX::Runnable: ++ file: lib/MooseX/Runnable.pm ++ version: '0.07' ++ MooseX::Runnable::Invocation: ++ file: lib/MooseX/Runnable/Invocation.pm ++ version: '0.07' ++ MooseX::Runnable::Invocation::MxRun: ++ file: lib/MooseX/Runnable/Invocation/MxRun.pm ++ version: '0.07' ++ MooseX::Runnable::Invocation::Plugin::Debug: ++ file: lib/MooseX/Runnable/Invocation/Plugin/Debug.pm ++ version: '0.07' ++ MooseX::Runnable::Invocation::Plugin::PAR: ++ file: lib/MooseX/Runnable/Invocation/Plugin/PAR.pm ++ version: '0.07' ++ MooseX::Runnable::Invocation::Plugin::Profile: ++ file: lib/MooseX/Runnable/Invocation/Plugin/Profile.pm ++ version: '0.07' ++ MooseX::Runnable::Invocation::Plugin::Restart: ++ file: lib/MooseX/Runnable/Invocation/Plugin/Restart.pm ++ version: '0.07' ++ MooseX::Runnable::Invocation::Plugin::Restart::Auto: ++ file: lib/MooseX/Runnable/Invocation/Plugin/Restart/Auto.pm ++ version: '0.07' ++ MooseX::Runnable::Invocation::Plugin::Restart::Base: ++ file: lib/MooseX/Runnable/Invocation/Plugin/Restart/Base.pm ++ version: '0.07' ++ MooseX::Runnable::Invocation::Plugin::Role::CmdlineArgs: ++ file: lib/MooseX/Runnable/Invocation/Plugin/Role/CmdlineArgs.pm ++ version: '0.07' ++ MooseX::Runnable::Invocation::Role::WithParsedArgs: ++ file: lib/MooseX/Runnable/Invocation/Role/WithParsedArgs.pm ++ version: '0.07' ++ MooseX::Runnable::Invocation::Scheme::MooseX::Getopt: ++ file: lib/MooseX/Runnable/Invocation/Scheme/MooseX/Getopt.pm ++ version: '0.07' ++ MooseX::Runnable::Run: ++ file: lib/MooseX/Runnable/Run.pm ++ version: '0.07' ++ MooseX::Runnable::Util::ArgParser: ++ file: lib/MooseX/Runnable/Util/ArgParser.pm ++ version: '0.07' ++recommends: ++ MooseX::Getopt: '0' +requires: - List::MoreUtils: 0 - Moose: 0 - MooseX::Getopt: 0 - MooseX::Types: 0.10 - MooseX::Types::Path::Class: 0 - Params::Util: 0 - namespace::autoclean: 0 ++ Class::Load: '0' ++ FindBin: '0' ++ List::MoreUtils: '0' ++ Moose: '0' ++ Moose::Role: '0' ++ MooseX::Types: '0' ++ MooseX::Types::Moose: '0' ++ MooseX::Types::Path::Tiny: '0' ++ Params::Util: '0' ++ Path::Tiny: '0' ++ namespace::autoclean: '0' ++ perl: '5.006' ++ strict: '0' ++ warnings: '0' +resources: - license: http://dev.perl.org/licenses/ - version: 0.03 ++ IRC: irc://irc.perl.org/#moose ++ MailingList: http://lists.perl.org/list/moose.html ++ bugtracker: https://rt.cpan.org/Public/Dist/Display.html?Name=MooseX-Runnable ++ homepage: https://github.com/moose/MooseX-Runnable ++ repository: https://github.com/moose/MooseX-Runnable.git ++version: '0.07' ++x_Dist_Zilla: ++ perl: ++ version: '5.019008' ++ plugins: ++ - ++ class: Dist::Zilla::Plugin::SurgicalPodWeaver ++ config: ++ Dist::Zilla::Plugin::PodWeaver: ++ finder: ++ - ':InstallModules' ++ - ':ExecFiles' ++ plugins: ++ - ++ class: Pod::Weaver::Plugin::EnsurePod5 ++ name: '@CorePrep/EnsurePod5' ++ version: '4.006' ++ - ++ class: Pod::Weaver::Plugin::H1Nester ++ name: '@CorePrep/H1Nester' ++ version: '4.006' ++ - ++ class: Pod::Weaver::Plugin::SingleEncoding ++ name: '@Default/SingleEncoding' ++ version: '4.006' ++ - ++ class: Pod::Weaver::Section::Name ++ name: '@Default/Name' ++ version: '4.006' ++ - ++ class: Pod::Weaver::Section::Version ++ name: '@Default/Version' ++ version: '4.006' ++ - ++ class: Pod::Weaver::Section::Region ++ name: '@Default/prelude' ++ version: '4.006' ++ - ++ class: Pod::Weaver::Section::Generic ++ name: SYNOPSIS ++ version: '4.006' ++ - ++ class: Pod::Weaver::Section::Generic ++ name: DESCRIPTION ++ version: '4.006' ++ - ++ class: Pod::Weaver::Section::Generic ++ name: OVERVIEW ++ version: '4.006' ++ - ++ class: Pod::Weaver::Section::Collect ++ name: ATTRIBUTES ++ version: '4.006' ++ - ++ class: Pod::Weaver::Section::Collect ++ name: METHODS ++ version: '4.006' ++ - ++ class: Pod::Weaver::Section::Collect ++ name: FUNCTIONS ++ version: '4.006' ++ - ++ class: Pod::Weaver::Section::Leftovers ++ name: '@Default/Leftovers' ++ version: '4.006' ++ - ++ class: Pod::Weaver::Section::Region ++ name: '@Default/postlude' ++ version: '4.006' ++ - ++ class: Pod::Weaver::Section::Authors ++ name: '@Default/Authors' ++ version: '4.006' ++ - ++ class: Pod::Weaver::Section::Legal ++ name: '@Default/Legal' ++ version: '4.006' ++ - ++ class: Pod::Weaver::Plugin::Transformer ++ name: -Transformer ++ version: '4.006' ++ - ++ class: Pod::Weaver::Plugin::StopWords ++ name: -StopWords ++ version: '1.008' ++ - ++ class: Pod::Weaver::Section::Contributors ++ name: Contributors ++ version: '0.007' ++ name: SurgicalPodWeaver ++ version: '0.0021' ++ - ++ class: Dist::Zilla::Plugin::FileFinder::Filter ++ name: ModulesSansPlugins ++ version: '5.013' ++ - ++ class: Dist::Zilla::Plugin::Git::NextVersion ++ name: '@Author::ETHER/Git::NextVersion' ++ version: '2.020' ++ - ++ class: Dist::Zilla::Plugin::PromptIfStale ++ config: ++ Dist::Zilla::Plugin::PromptIfStale: ++ check_all_plugins: 0 ++ check_all_prereqs: 0 ++ modules: ++ - Dist::Zilla::PluginBundle::Author::ETHER ++ phase: build ++ skip: [] ++ name: '@Author::ETHER/build' ++ version: '0.017' ++ - ++ class: Dist::Zilla::Plugin::PromptIfStale ++ config: ++ Dist::Zilla::Plugin::PromptIfStale: ++ check_all_plugins: '1' ++ check_all_prereqs: '1' ++ modules: [] ++ phase: release ++ skip: [] ++ name: '@Author::ETHER/release' ++ version: '0.017' ++ - ++ class: Dist::Zilla::Plugin::ExecDir ++ name: '@Author::ETHER/ExecDir' ++ version: '5.013' ++ - ++ class: Dist::Zilla::Plugin::ShareDir ++ name: '@Author::ETHER/ShareDir' ++ version: '5.013' ++ - ++ class: Dist::Zilla::Plugin::FileFinder::ByName ++ name: '@Author::ETHER/Examples' ++ version: '5.013' ++ - ++ class: Dist::Zilla::Plugin::Git::GatherDir ++ name: '@Author::ETHER/Git::GatherDir' ++ version: '2.020' ++ - ++ class: Dist::Zilla::Plugin::MetaYAML ++ name: '@Author::ETHER/MetaYAML' ++ version: '5.013' ++ - ++ class: Dist::Zilla::Plugin::MetaJSON ++ name: '@Author::ETHER/MetaJSON' ++ version: '5.013' ++ - ++ class: Dist::Zilla::Plugin::License ++ name: '@Author::ETHER/License' ++ version: '5.013' ++ - ++ class: Dist::Zilla::Plugin::Readme ++ name: '@Author::ETHER/Readme' ++ version: '5.013' ++ - ++ class: Dist::Zilla::Plugin::Manifest ++ name: '@Author::ETHER/Manifest' ++ version: '5.013' ++ - ++ class: Dist::Zilla::Plugin::GenerateFile::ShareDir ++ config: ++ Dist::Zilla::Plugin::GenerateFile::ShareDir: ++ destination_filename: CONTRIBUTING ++ dist: Dist-Zilla-PluginBundle-Author-ETHER ++ encoding: UTF-8 ++ source_filename: CONTRIBUTING ++ name: '@Author::ETHER/generate CONTRIBUTING' ++ version: '0.005' ++ - ++ class: Dist::Zilla::Plugin::Test::Compile ++ config: ++ Dist::Zilla::Plugin::Test::Compile: ++ filename: xt/author/00-compile.t ++ module_finder: ++ - ':InstallModules' ++ script_finder: ++ - ':ExecFiles' ++ - '@Author::ETHER/Examples' ++ name: '@Author::ETHER/Test::Compile' ++ version: '2.039' ++ - ++ class: Dist::Zilla::Plugin::Test::NoTabs ++ config: ++ Dist::Zilla::Plugin::Test::NoTabs: ++ module_finder: ++ - ':InstallModules' ++ script_finder: ++ - ':ExecFiles' ++ - '@Author::ETHER/Examples' ++ name: '@Author::ETHER/Test::NoTabs' ++ version: '0.06' ++ - ++ class: Dist::Zilla::Plugin::EOLTests ++ name: '@Author::ETHER/EOLTests' ++ version: '0.02' ++ - ++ class: Dist::Zilla::Plugin::MetaTests ++ name: '@Author::ETHER/MetaTests' ++ version: '5.013' ++ - ++ class: Dist::Zilla::Plugin::Test::Version ++ name: '@Author::ETHER/Test::Version' ++ version: '0.002004' ++ - ++ class: Dist::Zilla::Plugin::Test::CPAN::Changes ++ name: '@Author::ETHER/Test::CPAN::Changes' ++ version: '0.008' ++ - ++ class: Dist::Zilla::Plugin::Test::ChangesHasContent ++ name: '@Author::ETHER/Test::ChangesHasContent' ++ version: '0.006' ++ - ++ class: Dist::Zilla::Plugin::Test::MinimumVersion ++ name: '@Author::ETHER/Test::MinimumVersion' ++ version: '2.000005' ++ - ++ class: Dist::Zilla::Plugin::PodSyntaxTests ++ name: '@Author::ETHER/PodSyntaxTests' ++ version: '5.013' ++ - ++ class: Dist::Zilla::Plugin::Test::PodSpelling ++ name: '@Author::ETHER/Test::PodSpelling' ++ version: '2.006002' ++ - ++ class: Dist::Zilla::Plugin::Test::Pod::No404s ++ name: '@Author::ETHER/Test::Pod::No404s' ++ version: '1.001' ++ - ++ class: Dist::Zilla::Plugin::Test::Kwalitee ++ name: '@Author::ETHER/Test::Kwalitee' ++ version: '2.07' ++ - ++ class: Dist::Zilla::Plugin::MojibakeTests ++ name: '@Author::ETHER/MojibakeTests' ++ version: '0.5' ++ - ++ class: Dist::Zilla::Plugin::Test::ReportPrereqs ++ name: '@Author::ETHER/Test::ReportPrereqs' ++ version: '0.013' ++ - ++ class: Dist::Zilla::Plugin::Test::Portability ++ name: '@Author::ETHER/Test::Portability' ++ version: '2.000005' ++ - ++ class: Dist::Zilla::Plugin::Git::Describe ++ name: '@Author::ETHER/Git::Describe' ++ version: '0.003' ++ - ++ class: Dist::Zilla::Plugin::PkgVersion ++ name: '@Author::ETHER/PkgVersion' ++ version: '5.013' ++ - ++ class: Dist::Zilla::Plugin::Authority ++ name: '@Author::ETHER/Authority' ++ version: '1.006' ++ - ++ class: Dist::Zilla::Plugin::NextRelease ++ name: '@Author::ETHER/NextRelease' ++ version: '5.013' ++ - ++ class: Dist::Zilla::Plugin::ReadmeAnyFromPod ++ name: '@Author::ETHER/ReadmeAnyFromPod' ++ version: '0.133360' ++ - ++ class: Dist::Zilla::Plugin::GithubMeta ++ name: '@Author::ETHER/GithubMeta' ++ version: '0.42' ++ - ++ class: Dist::Zilla::Plugin::AutoMetaResources ++ name: '@Author::ETHER/AutoMetaResources' ++ version: '1.20' ++ - ++ class: Dist::Zilla::Plugin::MetaNoIndex ++ name: '@Author::ETHER/MetaNoIndex' ++ version: '5.013' ++ - ++ class: Dist::Zilla::Plugin::MetaProvides::Package ++ config: ++ Dist::Zilla::Plugin::MetaProvides::Package: ++ finder: ++ - ':InstallModules' ++ finder_objects: ++ - ++ class: Dist::Zilla::Plugin::FinderCode ++ name: ':InstallModules' ++ version: '5.013' ++ Dist::Zilla::Role::MetaProvider::Provider: ++ inherit_missing: '1' ++ inherit_version: '1' ++ meta_noindex: '1' ++ name: '@Author::ETHER/MetaProvides::Package' ++ version: '2.000001' ++ - ++ class: Dist::Zilla::Plugin::MetaConfig ++ name: '@Author::ETHER/MetaConfig' ++ version: '5.013' ++ - ++ class: Dist::Zilla::Plugin::AutoPrereqs ++ name: '@Author::ETHER/AutoPrereqs' ++ version: '5.013' ++ - ++ class: Dist::Zilla::Plugin::Prereqs::AuthorDeps ++ name: '@Author::ETHER/Prereqs::AuthorDeps' ++ version: '0.002' ++ - ++ class: Dist::Zilla::Plugin::MinimumPerl ++ name: '@Author::ETHER/MinimumPerl' ++ version: '1.003' ++ - ++ class: Dist::Zilla::Plugin::Prereqs ++ config: ++ Dist::Zilla::Plugin::Prereqs: ++ phase: develop ++ type: requires ++ name: '@Author::ETHER/installer_requirements' ++ version: '5.013' ++ - ++ class: Dist::Zilla::Plugin::Prereqs ++ config: ++ Dist::Zilla::Plugin::Prereqs: ++ phase: develop ++ type: recommends ++ name: '@Author::ETHER/pluginbundle_version' ++ version: '5.013' ++ - ++ class: Dist::Zilla::Plugin::RunExtraTests ++ name: '@Author::ETHER/RunExtraTests' ++ version: '0.018' ++ - ++ class: Dist::Zilla::Plugin::MakeMaker::Fallback ++ name: '@Author::ETHER/MakeMaker::Fallback' ++ version: '0.006' ++ - ++ class: Dist::Zilla::Plugin::ModuleBuildTiny ++ name: '@Author::ETHER/ModuleBuildTiny' ++ version: '0.006' ++ - ++ class: Dist::Zilla::Plugin::InstallGuide ++ name: '@Author::ETHER/InstallGuide' ++ version: '1.200002' ++ - ++ class: Dist::Zilla::Plugin::CheckSelfDependency ++ config: ++ Dist::Zilla::Plugin::CheckSelfDependency: ++ finder: ++ - ':InstallModules' ++ name: '@Author::ETHER/CheckSelfDependency' ++ version: '0.007' ++ - ++ class: Dist::Zilla::Plugin::Run::AfterBuild ++ name: '@Author::ETHER/Run::AfterBuild' ++ version: '0.020' ++ - ++ class: Dist::Zilla::Plugin::Git::Check ++ name: '@Author::ETHER/initial check' ++ version: '2.020' ++ - ++ class: Dist::Zilla::Plugin::Git::CheckFor::MergeConflicts ++ name: '@Author::ETHER/Git::CheckFor::MergeConflicts' ++ version: '0.009' ++ - ++ class: Dist::Zilla::Plugin::Git::CheckFor::CorrectBranch ++ name: '@Author::ETHER/Git::CheckFor::CorrectBranch' ++ version: '0.009' ++ - ++ class: Dist::Zilla::Plugin::Git::Remote::Check ++ name: '@Author::ETHER/Git::Remote::Check' ++ version: 0.1.2 ++ - ++ class: Dist::Zilla::Plugin::CheckPrereqsIndexed ++ name: '@Author::ETHER/CheckPrereqsIndexed' ++ version: '0.010' ++ - ++ class: Dist::Zilla::Plugin::TestRelease ++ name: '@Author::ETHER/TestRelease' ++ version: '5.013' ++ - ++ class: Dist::Zilla::Plugin::Git::Check ++ name: '@Author::ETHER/after tests' ++ version: '2.020' ++ - ++ class: Dist::Zilla::Plugin::UploadToCPAN ++ name: '@Author::ETHER/UploadToCPAN' ++ version: '5.013' ++ - ++ class: Dist::Zilla::Plugin::CopyFilesFromRelease ++ name: '@Author::ETHER/CopyFilesFromRelease' ++ version: '0.001' ++ - ++ class: Dist::Zilla::Plugin::Git::Commit ++ name: '@Author::ETHER/Git::Commit' ++ version: '2.020' ++ - ++ class: Dist::Zilla::Plugin::Git::Tag ++ name: '@Author::ETHER/Git::Tag' ++ version: '2.020' ++ - ++ class: Dist::Zilla::Plugin::GitHub::Update ++ name: '@Author::ETHER/GitHub::Update' ++ version: '0.36' ++ - ++ class: Dist::Zilla::Plugin::Git::Push ++ name: '@Author::ETHER/Git::Push' ++ version: '2.020' ++ - ++ class: Dist::Zilla::Plugin::InstallRelease ++ name: '@Author::ETHER/InstallRelease' ++ version: '0.008' ++ - ++ class: Dist::Zilla::Plugin::Prereqs ++ config: ++ Dist::Zilla::Plugin::Prereqs: ++ phase: develop ++ type: requires ++ name: '@Author::ETHER/via_options' ++ version: '5.013' ++ - ++ class: Dist::Zilla::Plugin::ConfirmRelease ++ name: '@Author::ETHER/ConfirmRelease' ++ version: '5.013' ++ - ++ class: Dist::Zilla::Plugin::MetaResources ++ name: MetaResources ++ version: '5.013' ++ - ++ class: Dist::Zilla::Plugin::Prereqs ++ config: ++ Dist::Zilla::Plugin::Prereqs: ++ phase: runtime ++ type: recommends ++ name: RuntimeRecommends ++ version: '5.013' ++ - ++ class: Dist::Zilla::Plugin::Prereqs ++ config: ++ Dist::Zilla::Plugin::Prereqs: ++ phase: runtime ++ type: suggests ++ name: RuntimeSuggests ++ version: '5.013' ++ - ++ class: Dist::Zilla::Plugin::Prereqs ++ config: ++ Dist::Zilla::Plugin::Prereqs: ++ phase: develop ++ type: requires ++ name: DevelopRequires ++ version: '5.013' ++ - ++ class: Dist::Zilla::Plugin::ContributorsFromGit ++ name: ContributorsFromGit ++ version: '0.006' ++ - ++ class: Dist::Zilla::Plugin::Test::CheckBreaks ++ name: Test::CheckBreaks ++ version: '0.006' ++ - ++ class: Dist::Zilla::Plugin::FinderCode ++ name: ':InstallModules' ++ version: '5.013' ++ - ++ class: Dist::Zilla::Plugin::FinderCode ++ name: ':IncModules' ++ version: '5.013' ++ - ++ class: Dist::Zilla::Plugin::FinderCode ++ name: ':TestFiles' ++ version: '5.013' ++ - ++ class: Dist::Zilla::Plugin::FinderCode ++ name: ':ExecFiles' ++ version: '5.013' ++ - ++ class: Dist::Zilla::Plugin::FinderCode ++ name: ':ShareFiles' ++ version: '5.013' ++ - ++ class: Dist::Zilla::Plugin::FinderCode ++ name: ':MainModule' ++ version: '5.013' ++ - ++ class: Dist::Zilla::Plugin::FinderCode ++ name: ':AllFiles' ++ version: '5.013' ++ - ++ class: Dist::Zilla::Plugin::FinderCode ++ name: ':NoFiles' ++ version: '5.013' ++ zilla: ++ class: Dist::Zilla::Dist::Builder ++ config: ++ is_trial: '0' ++ version: '5.013' ++x_authority: cpan:JROCKWAY ++x_breaks: {} ++x_contributors: ++ - 'Doug Bell <[email protected]>' ++ - 'Duke Leto <[email protected]>' ++ - 'Jonathan Rockway <[email protected]>' ++ - 'Karen Etheridge <[email protected]>' diff --cc Makefile.PL index 389ea8a,0000000..d266a71 mode 100644,000000..100644 --- a/Makefile.PL +++ b/Makefile.PL @@@ -1,20 -1,0 +1,155 @@@ - use inc::Module::Install; ++# This Makefile.PL for MooseX-Runnable was generated by ++# Dist::Zilla::Plugin::MakeMaker::Fallback 0.006 ++# and Dist::Zilla::Plugin::MakeMaker::Awesome 0.20. ++# Don't edit it but the dist.ini and plugins used to construct it. + - name 'MooseX-Runnable'; - all_from 'lib/MooseX/Runnable.pm'; ++use strict; ++use warnings; + - requires 'Moose'; - requires 'MooseX::Getopt'; # not really - requires 'MooseX::Types' => '0.10'; - requires 'MooseX::Types::Path::Class'; - requires 'namespace::autoclean'; - requires 'List::MoreUtils'; - requires 'Params::Util'; ++BEGIN { ++my %configure_requires = ( ++ 'ExtUtils::MakeMaker' => '6.30', ++ 'Module::Build::Tiny' => '0.035', ++); ++ ++my @missing = grep { ++ ! eval "require $_; $_->VERSION($configure_requires{$_}); 1" ++} keys %configure_requires; ++ ++if (not @missing) ++{ ++ print "Congratulations, your toolchain understands 'configure_requires'!\n\n"; ++} ++else ++{ ++ $ENV{PERL_MM_FALLBACK_SILENCE_WARNING} or warn <<'EOW'; ++*** WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING *** ++ ++If you're seeing this warning, your toolchain is really, really old* and you'll ++almost certainly have problems installing CPAN modules from this century. But ++never fear, dear user, for we have the technology to fix this! ++ ++If you're using CPAN.pm to install things, then you can upgrade it using: ++ ++ cpan CPAN ++ ++If you're using CPANPLUS to install things, then you can upgrade it using: ++ ++ cpanp CPANPLUS ++ ++If you're using cpanminus, you shouldn't be seeing this message in the first ++place, so please file an issue on github. ++ ++If you're installing manually, please retrain your fingers to run Build.PL ++when present instead. ++ ++This public service announcement was brought to you by the Perl Toolchain ++Gang, the irc.perl.org #toolchain IRC channel, and the number 42. ++ ++---- ++ ++* Alternatively, you are doing something overly clever, in which case you ++should consider setting the 'prefer_installer' config option in CPAN.pm, or ++'prefer_makefile' in CPANPLUS, to 'mb" and '0' respectively. ++ ++You can also silence this warning for future installations by setting the ++PERL_MM_FALLBACK_SILENCE_WARNING environment variable. ++ ++EOW ++ ++ sleep 10 if -t STDIN && (-t STDOUT || !(-f STDOUT || -c STDOUT)); ++} ++} ++ ++use 5.006; ++ ++use ExtUtils::MakeMaker 6.30; ++ ++ ++ ++my %WriteMakefileArgs = ( ++ "ABSTRACT" => "Tag a class as a runnable application", ++ "AUTHOR" => "Jonathan Rockway <jrockway\@cpan.org>", ++ "BUILD_REQUIRES" => {}, ++ "CONFIGURE_REQUIRES" => { ++ "ExtUtils::MakeMaker" => "6.30", ++ "Module::Build::Tiny" => "0.035" ++ }, ++ "DISTNAME" => "MooseX-Runnable", ++ "EXE_FILES" => [ ++ "script/mx-run" ++ ], ++ "LICENSE" => "perl", ++ "NAME" => "MooseX::Runnable", ++ "PREREQ_PM" => { ++ "Class::Load" => 0, ++ "FindBin" => 0, ++ "List::MoreUtils" => 0, ++ "Moose" => 0, ++ "Moose::Role" => 0, ++ "MooseX::Types" => 0, ++ "MooseX::Types::Moose" => 0, ++ "MooseX::Types::Path::Tiny" => 0, ++ "Params::Util" => 0, ++ "Path::Tiny" => 0, ++ "namespace::autoclean" => 0, ++ "strict" => 0, ++ "warnings" => 0 ++ }, ++ "TEST_REQUIRES" => { ++ "ExtUtils::MakeMaker" => 0, ++ "File::Spec::Functions" => 0, ++ "List::Util" => 0, ++ "MooseX::Getopt" => 0, ++ "Test::Fatal" => 0, ++ "Test::More" => 0, ++ "Test::TableDriven" => 0, ++ "ok" => 0, ++ "version" => 0 ++ }, ++ "VERSION" => "0.07", ++ "test" => { ++ "TESTS" => "t/*.t" ++ } ++); ++ ++ ++my %FallbackPrereqs = ( ++ "Class::Load" => 0, ++ "ExtUtils::MakeMaker" => 0, ++ "File::Spec::Functions" => 0, ++ "FindBin" => 0, ++ "List::MoreUtils" => 0, ++ "List::Util" => 0, ++ "Moose" => 0, ++ "Moose::Role" => 0, ++ "MooseX::Getopt" => 0, ++ "MooseX::Types" => 0, ++ "MooseX::Types::Moose" => 0, ++ "MooseX::Types::Path::Tiny" => 0, ++ "Params::Util" => 0, ++ "Path::Tiny" => 0, ++ "Test::Fatal" => 0, ++ "Test::More" => 0, ++ "Test::TableDriven" => 0, ++ "namespace::autoclean" => 0, ++ "ok" => 0, ++ "strict" => 0, ++ "version" => 0, ++ "warnings" => 0 ++); ++ ++ ++unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) { ++ delete $WriteMakefileArgs{TEST_REQUIRES}; ++ delete $WriteMakefileArgs{BUILD_REQUIRES}; ++ $WriteMakefileArgs{PREREQ_PM} = \%FallbackPrereqs; ++} ++ ++delete $WriteMakefileArgs{CONFIGURE_REQUIRES} ++ unless eval { ExtUtils::MakeMaker->VERSION(6.52) }; ++ ++WriteMakefile(%WriteMakefileArgs); + - build_requires 'Test::More'; - build_requires 'ok'; - build_requires 'Test::TableDriven'; + - install_script 'bin/mx-run'; + - WriteAll(); diff --cc README index e69de29,0000000..e8fbb52 mode 100644,000000..100644 --- a/README +++ b/README @@@ -1,0 -1,0 +1,15 @@@ ++ ++ ++This archive contains the distribution MooseX-Runnable, ++version 0.07: ++ ++ Tag a class as a runnable application ++ ++This software is copyright (c) 2009 by Jonathan Rockway. ++ ++This is free software; you can redistribute it and/or modify it under ++the same terms as the Perl 5 programming language system itself. ++ ++ ++This README file was generated by Dist::Zilla::Plugin::Readme v5.013. ++ diff --cc lib/MooseX/Runnable.pm index b380940,6a8e6e0..4475d54 --- a/lib/MooseX/Runnable.pm +++ b/lib/MooseX/Runnable.pm @@@ -1,7 -1,8 +1,13 @@@ package MooseX::Runnable; - use Moose::Role; ++BEGIN { ++ $MooseX::Runnable::AUTHORITY = 'cpan:JROCKWAY'; ++} ++# git description: v0.06-10-g16c7773 ++$MooseX::Runnable::VERSION = '0.07'; + # ABSTRACT: Tag a class as a runnable application - our $VERSION = '0.03'; + use Moose::Role; + use namespace::autoclean; requires 'run'; @@@ -9,10 -10,8 +15,20 @@@ __END__ + =pod + ++=encoding UTF-8 ++ ++=for :stopwords Jonathan Rockway Doug Bell Duke Leto Karen Etheridge ++ +=head1 NAME + - MooseX::Runnable - tag a class as a runnable application ++MooseX::Runnable - Tag a class as a runnable application ++ ++=head1 VERSION ++ ++version 0.07 + =head1 SYNOPSIS Create a class, tag it runnable, and provide a C<run> method: @@@ -104,17 -103,4 +120,37 @@@ Many of the plugins shipped are unstabl break, etc. If there is no documentation for a plugin, it is probably just a prototype. - =head1 REPOSITORY ++=head1 AUTHOR + - L<http://github.com/jrockway/moosex-runnable> ++Jonathan Rockway <[email protected]> + - =head1 AUTHOR ++=head1 COPYRIGHT AND LICENSE ++ ++This software is copyright (c) 2009 by Jonathan Rockway. ++ ++This is free software; you can redistribute it and/or modify it under ++the same terms as the Perl 5 programming language system itself. ++ ++=head1 CONTRIBUTORS ++ ++=over 4 ++ ++=item * ++ ++Doug Bell <[email protected]> ++ ++=item * ++ ++Duke Leto <[email protected]> ++ ++=item * ++ ++Jonathan Rockway <[email protected]> + - Jonathan Rockway C<< <[email protected]> >> ++=item * + - =head1 COPYRIGHT ++Karen Etheridge <[email protected]> + - Copyright (c) 2009 Jonathan Rockway ++=back + - This module is Free Software, you can redistribute it under the same - terms as Perl itself. + =cut diff --cc lib/MooseX/Runnable/Invocation.pm index b21617c,c889ba8..8566a12 --- a/lib/MooseX/Runnable/Invocation.pm +++ b/lib/MooseX/Runnable/Invocation.pm @@@ -1,4 -1,5 +1,8 @@@ package MooseX::Runnable::Invocation; - ++BEGIN { ++ $MooseX::Runnable::Invocation::AUTHORITY = 'cpan:JROCKWAY'; ++} ++$MooseX::Runnable::Invocation::VERSION = '0.07'; use Moose; use MooseX::Types -declare => ['RunnableClass']; use MooseX::Types::Moose qw(Str HashRef ArrayRef); diff --cc lib/MooseX/Runnable/Invocation/MxRun.pm index 5bae9f2,682908d..e720b50 --- a/lib/MooseX/Runnable/Invocation/MxRun.pm +++ b/lib/MooseX/Runnable/Invocation/MxRun.pm @@@ -1,5 -1,7 +1,10 @@@ package MooseX::Runnable::Invocation::MxRun; - ++BEGIN { ++ $MooseX::Runnable::Invocation::MxRun::AUTHORITY = 'cpan:JROCKWAY'; ++} ++$MooseX::Runnable::Invocation::MxRun::VERSION = '0.07'; use Moose; + use namespace::autoclean; extends 'MooseX::Runnable::Invocation'; with 'MooseX::Runnable::Invocation::Role::WithParsedArgs'; diff --cc lib/MooseX/Runnable/Invocation/Plugin/Debug.pm index 2fe011b,768ab66..2f13a50 --- a/lib/MooseX/Runnable/Invocation/Plugin/Debug.pm +++ b/lib/MooseX/Runnable/Invocation/Plugin/Debug.pm @@@ -1,5 -1,8 +1,11 @@@ package MooseX::Runnable::Invocation::Plugin::Debug; ++BEGIN { ++ $MooseX::Runnable::Invocation::Plugin::Debug::AUTHORITY = 'cpan:JROCKWAY'; ++} + # ABSTRACT: print debugging information - ++$MooseX::Runnable::Invocation::Plugin::Debug::VERSION = '0.07'; use Moose::Role; + use namespace::autoclean; with 'MooseX::Runnable::Invocation::Plugin::Role::CmdlineArgs'; @@@ -51,10 -54,8 +57,20 @@@ for my $method (qw __END__ + =pod + ++=encoding UTF-8 ++ ++=for :stopwords Jonathan Rockway Doug Bell Duke Leto Karen Etheridge ++ +=head1 NAME + +MooseX::Runnable::Invocation::Plugin::Debug - print debugging information + ++=head1 VERSION ++ ++version 0.07 ++ =head1 DESCRIPTION This is an example plugin, showing how you could write your own. It @@@ -65,3 -66,5 +81,16 @@@ messages =head1 SEE ALSO L<MooseX::Runnable> + ++=head1 AUTHOR ++ ++Jonathan Rockway <[email protected]> ++ ++=head1 COPYRIGHT AND LICENSE ++ ++This software is copyright (c) 2009 by Jonathan Rockway. ++ ++This is free software; you can redistribute it and/or modify it under ++the same terms as the Perl 5 programming language system itself. ++ + =cut diff --cc lib/MooseX/Runnable/Invocation/Plugin/PAR.pm index 4dd3993,b47c7ca..50aaffa --- a/lib/MooseX/Runnable/Invocation/Plugin/PAR.pm +++ b/lib/MooseX/Runnable/Invocation/Plugin/PAR.pm @@@ -1,6 -1,6 +1,9 @@@ package MooseX::Runnable::Invocation::Plugin::PAR; - ++BEGIN { ++ $MooseX::Runnable::Invocation::Plugin::PAR::AUTHORITY = 'cpan:JROCKWAY'; ++} ++$MooseX::Runnable::Invocation::Plugin::PAR::VERSION = '0.07'; use Moose::Role; - use Module::ScanDeps (); use App::Packer::PAR (); use MooseX::Runnable::Run; diff --cc lib/MooseX/Runnable/Invocation/Plugin/Profile.pm index 28a4cc1,0bc1a65..d5f2813 --- a/lib/MooseX/Runnable/Invocation/Plugin/Profile.pm +++ b/lib/MooseX/Runnable/Invocation/Plugin/Profile.pm @@@ -1,5 -1,7 +1,10 @@@ package MooseX::Runnable::Invocation::Plugin::Profile; - ++BEGIN { ++ $MooseX::Runnable::Invocation::Plugin::Profile::AUTHORITY = 'cpan:JROCKWAY'; ++} ++$MooseX::Runnable::Invocation::Plugin::Profile::VERSION = '0.07'; use Moose::Role; + use namespace::autoclean; before 'load_class' => sub { my ($self) = @_; diff --cc lib/MooseX/Runnable/Invocation/Plugin/Restart.pm index 3c98714,eac96aa..49eb03c --- a/lib/MooseX/Runnable/Invocation/Plugin/Restart.pm +++ b/lib/MooseX/Runnable/Invocation/Plugin/Restart.pm @@@ -1,4 -1,5 +1,8 @@@ package MooseX::Runnable::Invocation::Plugin::Restart; - ++BEGIN { ++ $MooseX::Runnable::Invocation::Plugin::Restart::AUTHORITY = 'cpan:JROCKWAY'; ++} ++$MooseX::Runnable::Invocation::Plugin::Restart::VERSION = '0.07'; use Moose::Role; use MooseX::Types::Moose qw(Str); use AnyEvent; diff --cc lib/MooseX/Runnable/Invocation/Plugin/Restart/Auto.pm index 210b833,04085b4..8100741 --- a/lib/MooseX/Runnable/Invocation/Plugin/Restart/Auto.pm +++ b/lib/MooseX/Runnable/Invocation/Plugin/Restart/Auto.pm @@@ -1,4 -1,5 +1,8 @@@ package MooseX::Runnable::Invocation::Plugin::Restart::Auto; - ++BEGIN { ++ $MooseX::Runnable::Invocation::Plugin::Restart::Auto::AUTHORITY = 'cpan:JROCKWAY'; ++} ++$MooseX::Runnable::Invocation::Plugin::Restart::Auto::VERSION = '0.07'; use Moose::Role; use MooseX::Types; use MooseX::Types::Moose qw(ArrayRef RegexpRef Any Str); diff --cc lib/MooseX/Runnable/Invocation/Plugin/Restart/Base.pm index 6d42b74,2e0347e..9a01de6 --- a/lib/MooseX/Runnable/Invocation/Plugin/Restart/Base.pm +++ b/lib/MooseX/Runnable/Invocation/Plugin/Restart/Base.pm @@@ -1,4 -1,5 +1,8 @@@ package MooseX::Runnable::Invocation::Plugin::Restart::Base; - ++BEGIN { ++ $MooseX::Runnable::Invocation::Plugin::Restart::Base::AUTHORITY = 'cpan:JROCKWAY'; ++} ++$MooseX::Runnable::Invocation::Plugin::Restart::Base::VERSION = '0.07'; use Moose::Role; use MooseX::Types::Moose qw(Int); use namespace::autoclean; diff --cc lib/MooseX/Runnable/Invocation/Plugin/Role/CmdlineArgs.pm index d3afed5,0f5f9a3..fd468f5 --- a/lib/MooseX/Runnable/Invocation/Plugin/Role/CmdlineArgs.pm +++ b/lib/MooseX/Runnable/Invocation/Plugin/Role/CmdlineArgs.pm @@@ -1,5 -1,7 +1,10 @@@ package MooseX::Runnable::Invocation::Plugin::Role::CmdlineArgs; - ++BEGIN { ++ $MooseX::Runnable::Invocation::Plugin::Role::CmdlineArgs::AUTHORITY = 'cpan:JROCKWAY'; ++} ++$MooseX::Runnable::Invocation::Plugin::Role::CmdlineArgs::VERSION = '0.07'; use Moose::Role; + use namespace::autoclean; requires '_build_initargs_from_cmdline'; diff --cc lib/MooseX/Runnable/Invocation/Role/WithParsedArgs.pm index 420839f,759f7e4..ae1c806 --- a/lib/MooseX/Runnable/Invocation/Role/WithParsedArgs.pm +++ b/lib/MooseX/Runnable/Invocation/Role/WithParsedArgs.pm @@@ -1,6 -1,8 +1,11 @@@ package MooseX::Runnable::Invocation::Role::WithParsedArgs; - ++BEGIN { ++ $MooseX::Runnable::Invocation::Role::WithParsedArgs::AUTHORITY = 'cpan:JROCKWAY'; ++} ++$MooseX::Runnable::Invocation::Role::WithParsedArgs::VERSION = '0.07'; use Moose::Role; use MooseX::Runnable::Util::ArgParser; + use namespace::autoclean; has 'parsed_args' => ( is => 'ro', diff --cc lib/MooseX/Runnable/Invocation/Scheme/MooseX/Getopt.pm index 7bd6b72,2d36f85..8be8135 --- a/lib/MooseX/Runnable/Invocation/Scheme/MooseX/Getopt.pm +++ b/lib/MooseX/Runnable/Invocation/Scheme/MooseX/Getopt.pm @@@ -1,5 -1,7 +1,10 @@@ package MooseX::Runnable::Invocation::Scheme::MooseX::Getopt; - ++BEGIN { ++ $MooseX::Runnable::Invocation::Scheme::MooseX::Getopt::AUTHORITY = 'cpan:JROCKWAY'; ++} ++$MooseX::Runnable::Invocation::Scheme::MooseX::Getopt::VERSION = '0.07'; use Moose::Role; + use namespace::autoclean; around validate_class => sub { return; # always valid diff --cc lib/MooseX/Runnable/Run.pm index 5602afe,bf9da9a..fd3dd7c --- a/lib/MooseX/Runnable/Run.pm +++ b/lib/MooseX/Runnable/Run.pm @@@ -1,8 -1,10 +1,13 @@@ - package MooseX::Runnable::Run; use strict; use warnings; - + package MooseX::Runnable::Run; ++BEGIN { ++ $MooseX::Runnable::Run::AUTHORITY = 'cpan:JROCKWAY'; ++} + # ABSTRACT: Run a MooseX::Runnable class as an application - ++$MooseX::Runnable::Run::VERSION = '0.07'; use MooseX::Runnable::Invocation; + use namespace::autoclean; sub run_application($;@) { my ($app, @args) = @_; @@@ -38,10 -40,8 +43,20 @@@ sub import __END__ + =pod + ++=encoding UTF-8 ++ ++=for :stopwords Jonathan Rockway ++ +=head1 NAME + - MooseX::Runnable::Run - run a MooseX::Runnable class as an application ++MooseX::Runnable::Run - Run a MooseX::Runnable class as an application ++ ++=head1 VERSION ++ ++version 0.07 + =head1 SYNOPSIS Write an app: @@@ -80,3 -80,5 +95,16 @@@ L<mx-run>, a script that will run Moose valuable seconds! L<MooseX::Runnable> + ++=head1 AUTHOR ++ ++Jonathan Rockway <[email protected]> ++ ++=head1 COPYRIGHT AND LICENSE ++ ++This software is copyright (c) 2009 by Jonathan Rockway. ++ ++This is free software; you can redistribute it and/or modify it under ++the same terms as the Perl 5 programming language system itself. ++ + =cut diff --cc lib/MooseX/Runnable/Util/ArgParser.pm index 965d39f,b7d850b..bae943d --- a/lib/MooseX/Runnable/Util/ArgParser.pm +++ b/lib/MooseX/Runnable/Util/ArgParser.pm @@@ -1,9 -1,11 +1,14 @@@ package MooseX::Runnable::Util::ArgParser; ++BEGIN { ++ $MooseX::Runnable::Util::ArgParser::AUTHORITY = 'cpan:JROCKWAY'; ++} + # ABSTRACT: parse @ARGV for mx-run - ++$MooseX::Runnable::Util::ArgParser::VERSION = '0.07'; use Moose; use MooseX::Types::Moose qw(HashRef ArrayRef Str Bool); - use MooseX::Types::Path::Class qw(Dir); + use MooseX::Types::Path::Tiny qw(Path); + use Path::Tiny; # exports path() use List::MoreUtils qw(first_index); - use FindBin; use namespace::autoclean -also => ['_look_for_dash_something', '_delete_first']; @@@ -259,10 -261,10 +264,20 @@@ sub guess_cmdline __END__ + =pod + -=for stopwords mx ++=encoding UTF-8 ++ ++=for :stopwords Jonathan Rockway Doug Bell Duke Leto Karen Etheridge mx ++ +=head1 NAME + +MooseX::Runnable::Util::ArgParser - parse @ARGV for mx-run + ++=head1 VERSION ++ ++version 0.07 + =head1 SYNOPSIS my $parser = MooseX::Runnable::Util::ArgParser->new( @@@ -276,3 -278,3 +291,15 @@@ $parser->is_help; $parser->app_args; ++=head1 AUTHOR ++ ++Jonathan Rockway <[email protected]> ++ ++=head1 COPYRIGHT AND LICENSE ++ ++This software is copyright (c) 2009 by Jonathan Rockway. ++ ++This is free software; you can redistribute it and/or modify it under ++the same terms as the Perl 5 programming language system itself. ++ ++=cut diff --cc t/00-report-prereqs.t index 0000000,0000000..de44b88 new file mode 100644 --- /dev/null +++ b/t/00-report-prereqs.t @@@ -1,0 -1,0 +1,229 @@@ ++#!perl ++ ++use strict; ++use warnings; ++ ++# This test was generated by Dist::Zilla::Plugin::Test::ReportPrereqs 0.013 ++ ++use Test::More tests => 1; ++ ++use ExtUtils::MakeMaker; ++use File::Spec::Functions; ++use List::Util qw/max/; ++use version; ++ ++# hide optional CPAN::Meta modules from prereq scanner ++# and check if they are available ++my $cpan_meta = "CPAN::Meta"; ++my $cpan_meta_req = "CPAN::Meta::Requirements"; ++my $HAS_CPAN_META = eval "require $cpan_meta"; ## no critic ++my $HAS_CPAN_META_REQ = eval "require $cpan_meta_req; $cpan_meta_req->VERSION('2.120900')"; ++ ++# Verify requirements? ++my $DO_VERIFY_PREREQS = 1; ++ ++sub _merge_requires { ++ my ($collector, $prereqs) = @_; ++ for my $phase ( qw/configure build test runtime develop/ ) { ++ next unless exists $prereqs->{$phase}; ++ if ( my $req = $prereqs->{$phase}{'requires'} ) { ++ my $cmr = CPAN::Meta::Requirements->from_string_hash( $req ); ++ $collector->add_requirements( $cmr ); ++ } ++ } ++} ++ ++my %include = map {; $_ => 1 } qw( ++ ++); ++ ++my %exclude = map {; $_ => 1 } qw( ++ ++); ++ ++# Add static prereqs to the included modules list ++my $static_prereqs = do { my $x = { ++ 'configure' => { ++ 'requires' => { ++ 'ExtUtils::MakeMaker' => '6.30', ++ 'Module::Build::Tiny' => '0.035' ++ } ++ }, ++ 'develop' => { ++ 'recommends' => { ++ 'Dist::Zilla::PluginBundle::Author::ETHER' => '0.050' ++ }, ++ 'requires' => { ++ 'AnyEvent' => '0', ++ 'App::Packer::PAR' => '0', ++ 'Data::Dump::Streamer' => '0', ++ 'Dist::Zilla' => '5.013', ++ 'Dist::Zilla::Plugin::ContributorsFromGit' => '0', ++ 'Dist::Zilla::Plugin::FileFinder::Filter' => '0', ++ 'Dist::Zilla::Plugin::GitHub::Update' => '0', ++ 'Dist::Zilla::Plugin::GithubMeta' => '0', ++ 'Dist::Zilla::Plugin::MakeMaker::Fallback' => '0', ++ 'Dist::Zilla::Plugin::MetaResources' => '0', ++ 'Dist::Zilla::Plugin::ModuleBuildTiny' => '0.004', ++ 'Dist::Zilla::Plugin::PodWeaver' => '4.004', ++ 'Dist::Zilla::Plugin::Prereqs' => '0', ++ 'Dist::Zilla::Plugin::SurgicalPodWeaver' => '0', ++ 'Dist::Zilla::Plugin::Test::CheckBreaks' => '0', ++ 'Dist::Zilla::PluginBundle::Author::ETHER' => '0.040', ++ 'File::ChangeNotify' => '0', ++ 'File::Spec' => '0', ++ 'File::Temp' => '0', ++ 'IO::Handle' => '0', ++ 'IPC::Open3' => '0', ++ 'Module::ScanDeps' => '0', ++ 'Pod::Elemental::PerlMunger' => '0.200001', ++ 'Pod::Weaver' => '4', ++ 'Pod::Weaver::Section::Contributors' => '0', ++ 'Test::CPAN::Changes' => '0.19', ++ 'Test::CPAN::Meta' => '0', ++ 'Test::CleanNamespaces' => '0', ++ 'Test::Kwalitee' => '1.12', ++ 'Test::More' => '0.94', ++ 'Test::NoTabs' => '0', ++ 'Test::Pod' => '1.41' ++ } ++ }, ++ 'runtime' => { ++ 'recommends' => { ++ 'MooseX::Getopt' => '0' ++ }, ++ 'requires' => { ++ 'Class::Load' => '0', ++ 'FindBin' => '0', ++ 'List::MoreUtils' => '0', ++ 'Moose' => '0', ++ 'Moose::Role' => '0', ++ 'MooseX::Types' => '0', ++ 'MooseX::Types::Moose' => '0', ++ 'MooseX::Types::Path::Tiny' => '0', ++ 'Params::Util' => '0', ++ 'Path::Tiny' => '0', ++ 'namespace::autoclean' => '0', ++ 'perl' => '5.006', ++ 'strict' => '0', ++ 'warnings' => '0' ++ }, ++ 'suggests' => { ++ 'AnyEvent' => '0', ++ 'Data::Dump::Streamer' => '0', ++ 'File::ChangeNotify' => '0', ++ 'Module::ScanDeps' => '0', ++ 'PAR::Packer' => '0', ++ 'Params::Validate' => '0' ++ } ++ }, ++ 'test' => { ++ 'recommends' => { ++ 'CPAN::Meta' => '0', ++ 'CPAN::Meta::Requirements' => '2.120900' ++ }, ++ 'requires' => { ++ 'ExtUtils::MakeMaker' => '0', ++ 'File::Spec::Functions' => '0', ++ 'List::Util' => '0', ++ 'MooseX::Getopt' => '0', ++ 'Test::Fatal' => '0', ++ 'Test::More' => '0', ++ 'Test::TableDriven' => '0', ++ 'ok' => '0', ++ 'version' => '0' ++ } ++ } ++ }; ++ $x; ++ }; ++ ++delete $static_prereqs->{develop} if not $ENV{AUTHOR_TESTING}; ++$include{$_} = 1 for map { keys %$_ } map { values %$_ } values %$static_prereqs; ++ ++# Merge requirements for major phases (if we can) ++my $all_requires; ++if ( $DO_VERIFY_PREREQS && $HAS_CPAN_META_REQ ) { ++ $all_requires = $cpan_meta_req->new; ++ _merge_requires($all_requires, $static_prereqs); ++} ++ ++ ++# Add dynamic prereqs to the included modules list (if we can) ++my ($source) = grep { -f } 'MYMETA.json', 'MYMETA.yml'; ++if ( $source && $HAS_CPAN_META ) { ++ if ( my $meta = eval { CPAN::Meta->load_file($source) } ) { ++ my $dynamic_prereqs = $meta->prereqs; ++ delete $dynamic_prereqs->{develop} if not $ENV{AUTHOR_TESTING}; ++ $include{$_} = 1 for map { keys %$_ } map { values %$_ } values %$dynamic_prereqs; ++ ++ if ( $DO_VERIFY_PREREQS && $HAS_CPAN_META_REQ ) { ++ _merge_requires($all_requires, $dynamic_prereqs); ++ } ++ } ++} ++else { ++ $source = 'static metadata'; ++} ++ ++my @modules = sort grep { ! $exclude{$_} } keys %include; ++my @reports = [qw/Version Module/]; ++my @dep_errors; ++my $req_hash = defined($all_requires) ? $all_requires->as_string_hash : {}; ++ ++for my $mod ( @modules ) { ++ next if $mod eq 'perl'; ++ my $file = $mod; ++ $file =~ s{::}{/}g; ++ $file .= ".pm"; ++ my ($prefix) = grep { -e catfile($_, $file) } @INC; ++ if ( $prefix ) { ++ my $ver = MM->parse_version( catfile($prefix, $file) ); ++ $ver = "undef" unless defined $ver; # Newer MM should do this anyway ++ push @reports, [$ver, $mod]; ++ ++ if ( $DO_VERIFY_PREREQS && $all_requires ) { ++ my $req = $req_hash->{$mod}; ++ if ( defined $req && length $req ) { ++ if ( ! defined eval { version->parse($ver) } ) { ++ push @dep_errors, "$mod version '$ver' cannot be parsed (version '$req' required)"; ++ } ++ elsif ( ! $all_requires->accepts_module( $mod => $ver ) ) { ++ push @dep_errors, "$mod version '$ver' is not in required range '$req'"; ++ } ++ } ++ } ++ ++ } ++ else { ++ push @reports, ["missing", $mod]; ++ ++ if ( $DO_VERIFY_PREREQS && $all_requires ) { ++ my $req = $req_hash->{$mod}; ++ if ( defined $req && length $req ) { ++ push @dep_errors, "$mod is not installed (version '$req' required)"; ++ } ++ } ++ } ++} ++ ++if ( @reports ) { ++ my $vl = max map { length $_->[0] } @reports; ++ my $ml = max map { length $_->[1] } @reports; ++ splice @reports, 1, 0, ["-" x $vl, "-" x $ml]; ++ diag "\nVersions for all modules listed in $source (including optional ones):\n", ++ map {sprintf(" %*s %*s\n",$vl,$_->[0],-$ml,$_->[1])} @reports; ++} ++ ++if ( @dep_errors ) { ++ diag join("\n", ++ "\n*** WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING ***\n", ++ "The following REQUIRED prerequisites were not satisfied:\n", ++ @dep_errors, ++ "\n" ++ ); ++} ++ ++pass; ++ ++# vim: ts=4 sts=4 sw=4 et: diff --cc t/zzz-check-breaks.t index 0000000,0000000..4efa965 new file mode 100644 --- /dev/null +++ b/t/zzz-check-breaks.t @@@ -1,0 -1,0 +1,18 @@@ ++use strict; ++use warnings; ++ ++# this test was generated with Dist::Zilla::Plugin::Test::CheckBreaks 0.006 ++ ++use Test::More; ++ ++SKIP: { ++ eval 'require Moose::Conflicts; Moose::Conflicts->check_conflicts'; ++ skip('no Moose::Conflicts module found', 1) if not $INC{'Moose/Conflicts.pm'}; ++ ++ diag $@ if $@; ++ pass 'conflicts checked via Moose::Conflicts'; ++} ++ ++pass 'no x_breaks data to check'; ++ ++done_testing; diff --cc xt/author/00-compile.t index 0000000,0000000..dc00703 new file mode 100644 --- /dev/null +++ b/xt/author/00-compile.t @@@ -1,0 -1,0 +1,90 @@@ ++use 5.006; ++use strict; ++use warnings; ++ ++# this test was generated with Dist::Zilla::Plugin::Test::Compile 2.039 ++ ++use Test::More 0.94 tests => 15 + ($ENV{AUTHOR_TESTING} ? 1 : 0); ++ ++ ++ ++my @module_files = ( ++ 'MooseX/Runnable.pm', ++ 'MooseX/Runnable/Invocation.pm', ++ 'MooseX/Runnable/Invocation/MxRun.pm', ++ 'MooseX/Runnable/Invocation/Plugin/Debug.pm', ++ 'MooseX/Runnable/Invocation/Plugin/PAR.pm', ++ 'MooseX/Runnable/Invocation/Plugin/Profile.pm', ++ 'MooseX/Runnable/Invocation/Plugin/Restart.pm', ++ 'MooseX/Runnable/Invocation/Plugin/Restart/Auto.pm', ++ 'MooseX/Runnable/Invocation/Plugin/Restart/Base.pm', ++ 'MooseX/Runnable/Invocation/Plugin/Role/CmdlineArgs.pm', ++ 'MooseX/Runnable/Invocation/Role/WithParsedArgs.pm', ++ 'MooseX/Runnable/Invocation/Scheme/MooseX/Getopt.pm', ++ 'MooseX/Runnable/Run.pm', ++ 'MooseX/Runnable/Util/ArgParser.pm' ++); ++ ++my @scripts = ( ++ 'script/mx-run' ++); ++ ++# no fake home requested ++ ++my $inc_switch = -d 'blib' ? '-Mblib' : '-Ilib'; ++ ++use File::Spec; ++use IPC::Open3; ++use IO::Handle; ++ ++open my $stdin, '<', File::Spec->devnull or die "can't open devnull: $!"; ++ ++my @warnings; ++for my $lib (@module_files) ++{ ++ # see L<perlfaq8/How can I capture STDERR from an external command?> ++ my $stderr = IO::Handle->new; ++ ++ my $pid = open3($stdin, '>&STDERR', $stderr, $^X, $inc_switch, '-e', "require q[$lib]"); ++ binmode $stderr, ':crlf' if $^O eq 'MSWin32'; ++ my @_warnings = <$stderr>; ++ waitpid($pid, 0); ++ is($?, 0, "$lib loaded ok"); ++ ++ if (@_warnings) ++ { ++ warn @_warnings; ++ push @warnings, @_warnings; ++ } ++} ++ ++foreach my $file (@scripts) ++{ SKIP: { ++ open my $fh, '<', $file or warn("Unable to open $file: $!"), next; ++ my $line = <$fh>; ++ close $fh and skip("$file isn't perl", 1) unless $line =~ /^#!.*?\bperl\b\s*(.*)$/; ++ ++ my @flags = $1 ? split(/\s+/, $1) : (); ++ ++ my $stderr = IO::Handle->new; ++ ++ my $pid = open3($stdin, '>&STDERR', $stderr, $^X, $inc_switch, @flags, '-c', $file); ++ binmode $stderr, ':crlf' if $^O eq 'MSWin32'; ++ my @_warnings = <$stderr>; ++ waitpid($pid, 0); ++ is($?, 0, "$file compiled ok"); ++ ++ # in older perls, -c output is simply the file portion of the path being tested ++ if (@_warnings = grep { !/\bsyntax OK$/ } ++ grep { chomp; $_ ne (File::Spec->splitpath($file))[2] } @_warnings) ++ { ++ warn @_warnings; ++ push @warnings, @_warnings; ++ } ++} } ++ ++ ++ ++is(scalar(@warnings), 0, 'no warnings found') if $ENV{AUTHOR_TESTING}; ++ ++BAIL_OUT("Compilation problems") if !Test::More->builder->is_passing; diff --cc xt/author/pod-spell.t index 0000000,0000000..19e2bf6 new file mode 100644 --- /dev/null +++ b/xt/author/pod-spell.t @@@ -1,0 -1,0 +1,45 @@@ ++use strict; ++use warnings; ++use Test::More; ++ ++# generated by Dist::Zilla::Plugin::Test::PodSpelling 2.006002 ++use Test::Spelling 0.12; ++use Pod::Wordlist; ++ ++ ++add_stopwords(<DATA>); ++all_pod_files_spelling_ok( qw( bin lib ) ); ++__DATA__ ++Jonathan ++Rockway ++jrockway ++Doug ++Bell ++doug ++Duke ++Leto ++jonathan ++jon ++Karen ++Etheridge ++ether ++lib ++MooseX ++Runnable ++Invocation ++Util ++ArgParser ++Plugin ++Profile ++PAR ++Debug ++Role ++CmdlineArgs ++Restart ++Auto ++Run ++WithParsedArgs ++Scheme ++Getopt ++MxRun ++Base diff --cc xt/release/changes_has_content.t index 0000000,0000000..15cc305 new file mode 100644 --- /dev/null +++ b/xt/release/changes_has_content.t @@@ -1,0 -1,0 +1,41 @@@ ++#!perl ++ ++use Test::More tests => 2; ++ ++note 'Checking Changes'; ++my $changes_file = 'Changes'; ++my $newver = '0.07'; ++my $trial_token = '-TRIAL'; ++ ++SKIP: { ++ ok(-e $changes_file, "$changes_file file exists") ++ or skip 'Changes is missing', 1; ++ ++ ok(_get_changes($newver), "$changes_file has content for $newver"); ++} ++ ++done_testing; ++ ++# _get_changes copied and adapted from Dist::Zilla::Plugin::Git::Commit ++# by Jerome Quelin ++sub _get_changes ++{ ++ my $newver = shift; ++ ++ # parse changelog to find commit message ++ open(my $fh, '<', $changes_file) or die "cannot open $changes_file: $!"; ++ my $changelog = join('', <$fh>); ++ close $fh; ++ ++ my @content = ++ grep { /^$newver(?:$trial_token)?(?:\s+|$)/ ... /^\S/ } # from newver to un-indented ++ split /\n/, $changelog; ++ shift @content; # drop the version line ++ ++ # drop unindented last line and trailing blank lines ++ pop @content while ( @content && $content[-1] =~ /^(?:\S|\s*$)/ ); ++ ++ # return number of non-blank lines ++ return scalar @content; ++} ++ diff --cc xt/release/cpan-changes.t index 0000000,0000000..8e6e413 new file mode 100644 --- /dev/null +++ b/xt/release/cpan-changes.t @@@ -1,0 -1,0 +1,11 @@@ ++#!perl ++ ++use strict; ++use warnings; ++ ++use Test::More 0.96 tests => 2; ++use_ok('Test::CPAN::Changes'); ++subtest 'changes_ok' => sub { ++ changes_file_ok('Changes'); ++}; ++done_testing(); diff --cc xt/release/distmeta.t index 0000000,0000000..c2280dc new file mode 100644 --- /dev/null +++ b/xt/release/distmeta.t @@@ -1,0 -1,0 +1,6 @@@ ++#!perl ++# This file was automatically generated by Dist::Zilla::Plugin::MetaTests. ++ ++use Test::CPAN::Meta; ++ ++meta_yaml_ok(); diff --cc xt/release/eol.t index 0000000,0000000..d13c49d new file mode 100644 --- /dev/null +++ b/xt/release/eol.t @@@ -1,0 -1,0 +1,8 @@@ ++use strict; ++use warnings; ++use Test::More; ++ ++eval 'use Test::EOL'; ++plan skip_all => 'Test::EOL required' if $@; ++ ++all_perl_files_ok({ trailing_whitespace => 1 }); diff --cc xt/release/kwalitee.t index 0000000,0000000..13cecfa new file mode 100644 --- /dev/null +++ b/xt/release/kwalitee.t @@@ -1,0 -1,0 +1,4 @@@ ++# this test was generated with Dist::Zilla::Plugin::Test::Kwalitee 2.07 ++use strict; ++use warnings; ++use Test::Kwalitee; diff --cc xt/release/minimum-version.t index 0000000,0000000..7a78be0 new file mode 100644 --- /dev/null +++ b/xt/release/minimum-version.t @@@ -1,0 -1,0 +1,8 @@@ ++#!perl ++ ++use Test::More; ++ ++eval "use Test::MinimumVersion"; ++plan skip_all => "Test::MinimumVersion required for testing minimum versions" ++ if $@; ++all_minimum_version_ok( qq{5.008001} ); diff --cc xt/release/mojibake.t index 0000000,0000000..390c632 new file mode 100644 --- /dev/null +++ b/xt/release/mojibake.t @@@ -1,0 -1,0 +1,12 @@@ ++#!perl ++ ++use strict; ++use warnings qw(all); ++ ++use Test::More; ++ ++## no critic (ProhibitStringyEval, RequireCheckingReturnValueOfEval) ++eval q(use Test::Mojibake); ++plan skip_all => q(Test::Mojibake required for source encoding testing) if $@; ++ ++all_files_encoding_ok(); diff --cc xt/release/no-tabs.t index 0000000,0000000..adc5a2c new file mode 100644 --- /dev/null +++ b/xt/release/no-tabs.t @@@ -1,0 -1,0 +1,28 @@@ ++use strict; ++use warnings; ++ ++# this test was generated with Dist::Zilla::Plugin::Test::NoTabs 0.06 ++ ++use Test::More 0.88; ++use Test::NoTabs; ++ ++my @files = ( ++ 'lib/MooseX/Runnable.pm', ++ 'lib/MooseX/Runnable/Invocation.pm', ++ 'lib/MooseX/Runnable/Invocation/MxRun.pm', ++ 'lib/MooseX/Runnable/Invocation/Plugin/Debug.pm', ++ 'lib/MooseX/Runnable/Invocation/Plugin/PAR.pm', ++ 'lib/MooseX/Runnable/Invocation/Plugin/Profile.pm', ++ 'lib/MooseX/Runnable/Invocation/Plugin/Restart.pm', ++ 'lib/MooseX/Runnable/Invocation/Plugin/Restart/Auto.pm', ++ 'lib/MooseX/Runnable/Invocation/Plugin/Restart/Base.pm', ++ 'lib/MooseX/Runnable/Invocation/Plugin/Role/CmdlineArgs.pm', ++ 'lib/MooseX/Runnable/Invocation/Role/WithParsedArgs.pm', ++ 'lib/MooseX/Runnable/Invocation/Scheme/MooseX/Getopt.pm', ++ 'lib/MooseX/Runnable/Run.pm', ++ 'lib/MooseX/Runnable/Util/ArgParser.pm', ++ 'script/mx-run' ++); ++ ++notabs_ok($_) foreach @files; ++done_testing; diff --cc xt/release/pod-no404s.t index 0000000,0000000..eb9760c new file mode 100644 --- /dev/null +++ b/xt/release/pod-no404s.t @@@ -1,0 -1,0 +1,21 @@@ ++#!perl ++ ++use strict; ++use warnings; ++use Test::More; ++ ++foreach my $env_skip ( qw( ++ SKIP_POD_NO404S ++ AUTOMATED_TESTING ++) ){ ++ plan skip_all => "\$ENV{$env_skip} is set, skipping" ++ if $ENV{$env_skip}; ++} ++ ++eval "use Test::Pod::No404s"; ++if ( $@ ) { ++ plan skip_all => 'Test::Pod::No404s required for testing POD'; ++} ++else { ++ all_pod_files_ok(); ++} diff --cc xt/release/pod-syntax.t index 0000000,0000000..f0468f1 new file mode 100644 --- /dev/null +++ b/xt/release/pod-syntax.t @@@ -1,0 -1,0 +1,6 @@@ ++#!perl ++# This file was automatically generated by Dist::Zilla::Plugin::PodSyntaxTests. ++use Test::More; ++use Test::Pod 1.41; ++ ++all_pod_files_ok(); diff --cc xt/release/portability.t index 0000000,0000000..e68185d new file mode 100644 --- /dev/null +++ b/xt/release/portability.t @@@ -1,0 -1,0 +1,11 @@@ ++#!perl ++ ++use strict; ++use warnings; ++ ++use Test::More; ++ ++eval 'use Test::Portability::Files'; ++plan skip_all => 'Test::Portability::Files required for testing portability' ++ if $@; ++run_tests(); diff --cc xt/release/test-version.t index 0000000,0000000..f98657b new file mode 100644 --- /dev/null +++ b/xt/release/test-version.t @@@ -1,0 -1,0 +1,22 @@@ ++use strict; ++use warnings; ++use Test::More; ++ ++# generated by Dist::Zilla::Plugin::Test::Version 0.002004 ++BEGIN { eval "use Test::Version; 1;" or die $@; } ++ ++my @imports = ( 'version_all_ok' ); ++ ++my $params = { ++ is_strict => 1, ++ has_version => 1, ++}; ++ ++push @imports, $params ++ if version->parse( $Test::Version::VERSION ) >= version->parse('1.002'); ++ ++ ++Test::Version->import(@imports); ++ ++version_all_ok; ++done_testing; -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libmoosex-runnable-perl.git _______________________________________________ Pkg-perl-cvs-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits
