[libany-moose-perl] 01/05: Imported Upstream version 0.26
Lucas Kanashiro
kanashiro-guest at moszumanska.debian.org
Thu Jul 23 03:29:55 UTC 2015
This is an automated email from the git hooks/post-receive script.
kanashiro-guest pushed a commit to branch master
in repository libany-moose-perl.
commit 3fa965745dd66e46a6a553cd7c59f88c918ac50e
Author: Lucas Kanashiro <kanashiro.duarte at gmail.com>
Date: Thu Jul 23 00:21:54 2015 -0300
Imported Upstream version 0.26
---
CONTRIBUTING | 16 +-
Changes | 7 +
INSTALL | 1 -
LICENSE | 6 +-
MANIFEST | 9 +-
META.json | 528 +++++++++++++++++++++++++++------------
META.yml | 390 ++++++++++++++++++-----------
Makefile.PL | 37 ++-
README | 8 +-
README.md | 54 ----
dist.ini | 29 ++-
lib/Any/Moose.pm | 37 ++-
t/00-report-prereqs.dd | 121 +++++++++
t/00-report-prereqs.t | 260 +++++++++----------
t/zzz-check-breaks.t | 18 ++
xt/author/00-compile.t | 9 +-
xt/{release => author}/eol.t | 4 +-
xt/{release => author}/no-tabs.t | 8 +-
xt/author/pod-spell.t | 14 +-
xt/release/changes_has_content.t | 2 +-
xt/release/kwalitee.t | 9 +-
xt/release/portability.t | 1 +
22 files changed, 997 insertions(+), 571 deletions(-)
diff --git a/CONTRIBUTING b/CONTRIBUTING
index c0a6df0..da277d7 100644
--- a/CONTRIBUTING
+++ b/CONTRIBUTING
@@ -4,6 +4,13 @@ CONTRIBUTING
Thank you for considering contributing to this distribution. This file
contains instructions that will help you work with the source code.
+PLEASE NOTE that if you have any questions or difficulties, you can reach the
+maintainer(s) through the bug queue described later in this document
+(preferred), or by emailing the releaser directly. You are not required to
+follow any of the steps in this document to submit a patch or bug report;
+these are just recommendations, intended to help you (and help us help you
+faster).
+
The distribution is managed with Dist::Zilla (https://metacpan.org/release/Dist-Zilla).
This means than many of the usual files you might expect are not in the
repository, but are generated at release time (e.g. Makefile.PL).
@@ -70,7 +77,6 @@ You can submit code changes by forking the repository, pushing your code
changes to your clone, and then submitting a pull request. Detailed
instructions for doing that is available here:
-https://help.github.com/
https://help.github.com/articles/creating-a-pull-request
If you have found a bug, but do not have an accompanying patch to fix it, you
@@ -83,6 +89,12 @@ http://lists.perl.org/list/moose.html.
There is also an irc channel available for users of this distribution, at
irc://irc.perl.org/#moose.
+If you send me a patch or pull request, your name and email address will be
+included in the documentation as a contributor (using the attribution on the
+commit or patch), unless you specifically request for it not to be. If you
+wish to be listed under a different name or address, you should submit a pull
+request to the .mailmap file to contain the correct mapping.
+
This file was generated via Dist::Zilla::Plugin::GenerateFile::ShareDir 0.005 from a
-template file originating in Dist-Zilla-PluginBundle-Author-ETHER-0.065.
+template file originating in Dist-Zilla-PluginBundle-Author-ETHER-0.085.
diff --git a/Changes b/Changes
index c3a4232..0343ae3 100644
--- a/Changes
+++ b/Changes
@@ -1,5 +1,12 @@
Revision history for Any-Moose
+0.26 2015-01-24 07:52:46Z
+ - change Mouse $VERSION check to avoid dying on bad 'v2.4.0' version
+
+0.25 2015-01-21 04:31:32Z
+ - mark module as deprecated in metadata
+ - add additional checks for too-old Mouse
+
0.24 2014-06-23 15:53:03Z
- fixed bad changelog from last release, doh!
diff --git a/INSTALL b/INSTALL
index 2a7b679..dd6936c 100644
--- a/INSTALL
+++ b/INSTALL
@@ -1,4 +1,3 @@
-
This is the Perl distribution Any-Moose.
Installing Any-Moose is straightforward.
diff --git a/LICENSE b/LICENSE
index 06afa55..472f130 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,4 +1,4 @@
-This software is copyright (c) 2014 by Best Practical Solutions.
+This software is copyright (c) 2015 by Best Practical Solutions.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
@@ -12,7 +12,7 @@ b) the "Artistic License"
--- The GNU General Public License, Version 1, February 1989 ---
-This software is Copyright (c) 2014 by Best Practical Solutions.
+This software is Copyright (c) 2015 by Best Practical Solutions.
This is free software, licensed under:
@@ -272,7 +272,7 @@ That's all there is to it!
--- The Artistic License 1.0 ---
-This software is Copyright (c) 2014 by Best Practical Solutions.
+This software is Copyright (c) 2015 by Best Practical Solutions.
This is free software, licensed under:
diff --git a/MANIFEST b/MANIFEST
index 080941c..dbd094e 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -1,4 +1,4 @@
-# This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.019.
+# This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.031.
CONTRIBUTING
Changes
INSTALL
@@ -8,10 +8,10 @@ META.json
META.yml
Makefile.PL
README
-README.md
devel/test-combos.pl
dist.ini
lib/Any/Moose.pm
+t/00-report-prereqs.dd
t/00-report-prereqs.t
t/000-version.t
t/001-basic-moose.t
@@ -32,17 +32,18 @@ t/020-strict.t
t/100-canonicalize-fragments.t
t/101-localize-errvar.t
t/lib/AnyMooseTest.pm
+t/zzz-check-breaks.t
weaver.ini
xt/author/00-compile.t
+xt/author/eol.t
+xt/author/no-tabs.t
xt/author/pod-spell.t
xt/release/changes_has_content.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
diff --git a/META.json b/META.json
index 5276937..f283ada 100644
--- a/META.json
+++ b/META.json
@@ -1,5 +1,5 @@
{
- "abstract" : "*deprecated* - use Moo instead!",
+ "abstract" : "(DEPRECATED) use Moo instead!",
"author" : [
"Shawn M Moore <code at sartak.org>",
"Florian Ragwitz <rafl at debian.org>",
@@ -9,8 +9,9 @@
"Ricardo Signes <rjbs at cpan.org>"
],
"dynamic_config" : 1,
- "generated_by" : "Dist::Zilla version 5.019, CPAN::Meta::Converter version 2.141520",
+ "generated_by" : "Dist::Zilla version 5.031, CPAN::Meta::Converter version 2.143240",
"keywords" : [
+ "deprecated",
"Moose",
"Mouse",
"abstraction",
@@ -22,7 +23,7 @@
],
"meta-spec" : {
"url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
- "version" : "2"
+ "version" : 2
},
"name" : "Any-Moose",
"no_index" : {
@@ -34,31 +35,96 @@
"prereqs" : {
"configure" : {
"requires" : {
- "ExtUtils::MakeMaker" : "6.30"
+ "ExtUtils::MakeMaker" : "0",
+ "perl" : "5.006_002"
}
},
"develop" : {
"recommends" : {
- "Dist::Zilla::PluginBundle::Author::ETHER" : "0.065"
+ "Dist::Zilla::PluginBundle::Author::ETHER" : "0.085"
},
"requires" : {
"Dist::Zilla" : "5",
- "Dist::Zilla::Plugin::ContributorsFromGit" : "0",
- "Dist::Zilla::Plugin::DynamicPrereqs" : "0",
- "Dist::Zilla::Plugin::GitHub::Update" : "0",
+ "Dist::Zilla::Plugin::Authority" : "0",
+ "Dist::Zilla::Plugin::AuthorityFromModule" : "0.002",
+ "Dist::Zilla::Plugin::AutoMetaResources" : "0",
+ "Dist::Zilla::Plugin::AutoPrereqs" : "0",
+ "Dist::Zilla::Plugin::CheckIssues" : "0",
+ "Dist::Zilla::Plugin::CheckPrereqsIndexed" : "0",
+ "Dist::Zilla::Plugin::CheckSelfDependency" : "0",
+ "Dist::Zilla::Plugin::CheckStrictVersion" : "0",
+ "Dist::Zilla::Plugin::ConfirmRelease" : "0",
+ "Dist::Zilla::Plugin::CopyFilesFromRelease" : "0",
+ "Dist::Zilla::Plugin::Deprecated" : "0",
+ "Dist::Zilla::Plugin::DynamicPrereqs" : "0.007",
+ "Dist::Zilla::Plugin::ExecDir" : "0",
+ "Dist::Zilla::Plugin::FileFinder::ByName" : "0",
+ "Dist::Zilla::Plugin::GenerateFile::ShareDir" : "0",
+ "Dist::Zilla::Plugin::Git::Check" : "2.025",
+ "Dist::Zilla::Plugin::Git::CheckFor::CorrectBranch" : "0.004",
+ "Dist::Zilla::Plugin::Git::CheckFor::MergeConflicts" : "0",
+ "Dist::Zilla::Plugin::Git::Commit" : "2.020",
+ "Dist::Zilla::Plugin::Git::Contributors" : "0.004",
+ "Dist::Zilla::Plugin::Git::Describe" : "0.004",
+ "Dist::Zilla::Plugin::Git::GatherDir" : "2.016",
+ "Dist::Zilla::Plugin::Git::NextVersion" : "0",
+ "Dist::Zilla::Plugin::Git::Push" : "0",
+ "Dist::Zilla::Plugin::Git::Remote::Check" : "0",
+ "Dist::Zilla::Plugin::Git::Tag" : "0",
+ "Dist::Zilla::Plugin::GitHub::Update" : "0.40",
"Dist::Zilla::Plugin::GithubMeta" : "0",
+ "Dist::Zilla::Plugin::InstallGuide" : "0",
+ "Dist::Zilla::Plugin::Keywords" : "0.004",
+ "Dist::Zilla::Plugin::License" : "0",
"Dist::Zilla::Plugin::MakeMaker" : "0",
+ "Dist::Zilla::Plugin::Manifest" : "0",
+ "Dist::Zilla::Plugin::MetaConfig" : "0",
+ "Dist::Zilla::Plugin::MetaJSON" : "0",
+ "Dist::Zilla::Plugin::MetaNoIndex" : "0",
+ "Dist::Zilla::Plugin::MetaProvides::Package" : "1.15000002",
"Dist::Zilla::Plugin::MetaResources" : "0",
+ "Dist::Zilla::Plugin::MetaTests" : "0",
+ "Dist::Zilla::Plugin::MetaYAML" : "0",
+ "Dist::Zilla::Plugin::MinimumPerl" : "1.006",
+ "Dist::Zilla::Plugin::MojibakeTests" : "0",
+ "Dist::Zilla::Plugin::NextRelease" : "4.300018",
"Dist::Zilla::Plugin::OnlyCorePrereqs" : "0",
+ "Dist::Zilla::Plugin::PkgVersion" : "5.010",
+ "Dist::Zilla::Plugin::PodSyntaxTests" : "0",
+ "Dist::Zilla::Plugin::PodWeaver" : "4.005",
+ "Dist::Zilla::Plugin::Prereqs" : "0",
+ "Dist::Zilla::Plugin::Prereqs::AuthorDeps" : "0",
+ "Dist::Zilla::Plugin::PromptIfStale" : "0",
+ "Dist::Zilla::Plugin::Readme" : "0",
+ "Dist::Zilla::Plugin::ReadmeAnyFromPod" : "0.142180",
"Dist::Zilla::Plugin::RemovePrereqs" : "0",
- "Dist::Zilla::PluginBundle::Author::ETHER" : "0",
+ "Dist::Zilla::Plugin::Run::AfterBuild" : "0.028",
+ "Dist::Zilla::Plugin::Run::AfterRelease" : "0.031",
+ "Dist::Zilla::Plugin::RunExtraTests" : "0.024",
+ "Dist::Zilla::Plugin::ShareDir" : "0",
+ "Dist::Zilla::Plugin::Test::CPAN::Changes" : "0.008",
+ "Dist::Zilla::Plugin::Test::ChangesHasContent" : "0",
+ "Dist::Zilla::Plugin::Test::CheckBreaks" : "0",
+ "Dist::Zilla::Plugin::Test::Compile" : "2.039",
+ "Dist::Zilla::Plugin::Test::EOL" : "0.14",
+ "Dist::Zilla::Plugin::Test::Kwalitee" : "2.06",
+ "Dist::Zilla::Plugin::Test::MinimumVersion" : "2.000003",
+ "Dist::Zilla::Plugin::Test::NoTabs" : "0.08",
+ "Dist::Zilla::Plugin::Test::Pod::No404s" : "0",
+ "Dist::Zilla::Plugin::Test::PodSpelling" : "2.006001",
+ "Dist::Zilla::Plugin::Test::Portability" : "0",
+ "Dist::Zilla::Plugin::Test::ReportPrereqs" : "0.019",
+ "Dist::Zilla::Plugin::TestRelease" : "0",
+ "Dist::Zilla::Plugin::UploadToCPAN" : "0",
+ "Dist::Zilla::PluginBundle::Author::ETHER" : "0.068",
"File::Spec" : "0",
"IO::Handle" : "0",
"IPC::Open3" : "0",
"Pod::Weaver::Section::Contributors" : "0",
"Test::CPAN::Changes" : "0.19",
"Test::CPAN::Meta" : "0",
- "Test::Kwalitee" : "1.12",
+ "Test::EOL" : "0",
+ "Test::Kwalitee" : "1.21",
"Test::More" : "0.94",
"Test::NoTabs" : "0",
"Test::Pod" : "1.41",
@@ -75,22 +141,20 @@
},
"test" : {
"recommends" : {
- "CPAN::Meta" : "0",
- "CPAN::Meta::Requirements" : "2.120900"
+ "CPAN::Meta" : "2.120900"
},
"requires" : {
"ExtUtils::MakeMaker" : "0",
- "File::Spec::Functions" : "0",
- "List::Util" : "0",
- "Test::More" : "0",
- "version" : "0"
+ "File::Spec" : "0",
+ "Test::More" : "0.88",
+ "perl" : "5.006_002"
}
}
},
"provides" : {
"Any::Moose" : {
"file" : "lib/Any/Moose.pm",
- "version" : "0.24"
+ "version" : "0.26"
}
},
"release_status" : "stable",
@@ -108,13 +172,24 @@
"x_IRC" : "irc://irc.perl.org/#moose",
"x_MailingList" : "http://lists.perl.org/list/moose.html"
},
- "version" : "0.24",
+ "version" : "0.26",
"x_Dist_Zilla" : {
"perl" : {
- "version" : "5.021001"
+ "version" : "5.021006"
},
"plugins" : [
{
+ "class" : "Dist::Zilla::Plugin::Prereqs",
+ "config" : {
+ "Dist::Zilla::Plugin::Prereqs" : {
+ "phase" : "develop",
+ "type" : "requires"
+ }
+ },
+ "name" : "@Author::ETHER/bundle_plugins",
+ "version" : "5.031"
+ },
+ {
"class" : "Dist::Zilla::Plugin::Git::NextVersion",
"config" : {
"Dist::Zilla::Plugin::Git::NextVersion" : {
@@ -127,12 +202,7 @@
}
},
"name" : "@Author::ETHER/Git::NextVersion",
- "version" : "2.023"
- },
- {
- "class" : "Dist::Zilla::Plugin::EnsurePrereqsInstalled",
- "name" : "@Author::ETHER/EnsurePrereqsInstalled",
- "version" : "0.004"
+ "version" : "2.029"
},
{
"class" : "Dist::Zilla::Plugin::PromptIfStale",
@@ -147,8 +217,8 @@
"skip" : []
}
},
- "name" : "@Author::ETHER/build",
- "version" : "0.023"
+ "name" : "@Author::ETHER/stale modules, build",
+ "version" : "0.036"
},
{
"class" : "Dist::Zilla::Plugin::PromptIfStale",
@@ -161,32 +231,45 @@
"skip" : []
}
},
- "name" : "@Author::ETHER/release",
- "version" : "0.023"
+ "name" : "@Author::ETHER/stale modules, release",
+ "version" : "0.036"
},
{
"class" : "Dist::Zilla::Plugin::ExecDir",
"name" : "@Author::ETHER/ExecDir",
- "version" : "5.019"
+ "version" : "5.031"
},
{
"class" : "Dist::Zilla::Plugin::ShareDir",
"name" : "@Author::ETHER/ShareDir",
- "version" : "5.019"
+ "version" : "5.031"
},
{
"class" : "Dist::Zilla::Plugin::FileFinder::ByName",
"name" : "@Author::ETHER/Examples",
- "version" : "5.019"
+ "version" : "5.031"
},
{
"class" : "Dist::Zilla::Plugin::FileFinder::ByName",
"name" : "@Author::ETHER/ExtraTestFiles",
- "version" : "5.019"
+ "version" : "5.031"
},
{
"class" : "Dist::Zilla::Plugin::Git::GatherDir",
"config" : {
+ "Dist::Zilla::Plugin::GatherDir" : {
+ "exclude_filename" : [
+ "README.pod",
+ "LICENSE",
+ "CONTRIBUTING"
+ ],
+ "exclude_match" : [],
+ "follow_symlinks" : "0",
+ "include_dotfiles" : "0",
+ "prefix" : "",
+ "prune_directory" : [],
+ "root" : "."
+ },
"Dist::Zilla::Plugin::Git::GatherDir" : {
"include_untracked" : "0"
},
@@ -195,32 +278,32 @@
}
},
"name" : "@Author::ETHER/Git::GatherDir",
- "version" : "2.023"
+ "version" : "2.029"
},
{
"class" : "Dist::Zilla::Plugin::MetaYAML",
"name" : "@Author::ETHER/MetaYAML",
- "version" : "5.019"
+ "version" : "5.031"
},
{
"class" : "Dist::Zilla::Plugin::MetaJSON",
"name" : "@Author::ETHER/MetaJSON",
- "version" : "5.019"
+ "version" : "5.031"
},
{
"class" : "Dist::Zilla::Plugin::License",
"name" : "@Author::ETHER/License",
- "version" : "5.019"
+ "version" : "5.031"
},
{
"class" : "Dist::Zilla::Plugin::Readme",
"name" : "@Author::ETHER/Readme",
- "version" : "5.019"
+ "version" : "5.031"
},
{
"class" : "Dist::Zilla::Plugin::Manifest",
"name" : "@Author::ETHER/Manifest",
- "version" : "5.019"
+ "version" : "5.031"
},
{
"class" : "Dist::Zilla::Plugin::GenerateFile::ShareDir",
@@ -229,6 +312,7 @@
"destination_filename" : "CONTRIBUTING",
"dist" : "Dist-Zilla-PluginBundle-Author-ETHER",
"encoding" : "UTF-8",
+ "has_xs" : 0,
"source_filename" : "CONTRIBUTING"
}
},
@@ -236,26 +320,38 @@
"version" : "0.005"
},
{
+ "class" : "Dist::Zilla::Plugin::InstallGuide",
+ "name" : "@Author::ETHER/InstallGuide",
+ "version" : "1.200006"
+ },
+ {
"class" : "Dist::Zilla::Plugin::Test::Compile",
"config" : {
"Dist::Zilla::Plugin::Test::Compile" : {
+ "bail_out_on_fail" : "1",
+ "fail_on_warning" : "author",
+ "fake_home" : "0",
"filename" : "xt/author/00-compile.t",
"module_finder" : [
":InstallModules"
],
+ "needs_display" : "0",
+ "phase" : "develop",
"script_finder" : [
":ExecFiles",
"@Author::ETHER/Examples"
- ]
+ ],
+ "skips" : []
}
},
"name" : "@Author::ETHER/Test::Compile",
- "version" : "2.043"
+ "version" : "2.051"
},
{
"class" : "Dist::Zilla::Plugin::Test::NoTabs",
"config" : {
"Dist::Zilla::Plugin::Test::NoTabs" : {
+ "filename" : "xt/author/no-tabs.t",
"finder" : [
":InstallModules",
":ExecFiles",
@@ -266,37 +362,42 @@
}
},
"name" : "@Author::ETHER/Test::NoTabs",
- "version" : "0.08"
+ "version" : "0.13"
},
{
- "class" : "Dist::Zilla::Plugin::EOLTests",
- "name" : "@Author::ETHER/EOLTests",
- "version" : "0.02"
+ "class" : "Dist::Zilla::Plugin::Test::EOL",
+ "config" : {
+ "Dist::Zilla::Plugin::Test::EOL" : {
+ "filename" : "xt/author/eol.t"
+ }
+ },
+ "name" : "@Author::ETHER/Test::EOL",
+ "version" : "0.16"
},
{
"class" : "Dist::Zilla::Plugin::MetaTests",
"name" : "@Author::ETHER/MetaTests",
- "version" : "5.019"
+ "version" : "5.031"
},
{
"class" : "Dist::Zilla::Plugin::Test::CPAN::Changes",
"name" : "@Author::ETHER/Test::CPAN::Changes",
- "version" : "0.008"
+ "version" : "0.009"
},
{
"class" : "Dist::Zilla::Plugin::Test::ChangesHasContent",
"name" : "@Author::ETHER/Test::ChangesHasContent",
- "version" : "0.006"
+ "version" : "0.007"
},
{
"class" : "Dist::Zilla::Plugin::Test::MinimumVersion",
"name" : "@Author::ETHER/Test::MinimumVersion",
- "version" : "2.000005"
+ "version" : "2.000006"
},
{
"class" : "Dist::Zilla::Plugin::PodSyntaxTests",
"name" : "@Author::ETHER/PodSyntaxTests",
- "version" : "5.019"
+ "version" : "5.031"
},
{
"class" : "Dist::Zilla::Plugin::Test::PodSpelling",
@@ -310,8 +411,14 @@
},
{
"class" : "Dist::Zilla::Plugin::Test::Kwalitee",
+ "config" : {
+ "Dist::Zilla::Plugin::Test::Kwalitee" : {
+ "filename" : "xt/release/kwalitee.t",
+ "skiptest" : []
+ }
+ },
"name" : "@Author::ETHER/Test::Kwalitee",
- "version" : "2.07"
+ "version" : "2.11"
},
{
"class" : "Dist::Zilla::Plugin::MojibakeTests",
@@ -321,27 +428,27 @@
{
"class" : "Dist::Zilla::Plugin::Test::ReportPrereqs",
"name" : "@Author::ETHER/Test::ReportPrereqs",
- "version" : "0.013"
+ "version" : "0.019"
},
{
"class" : "Dist::Zilla::Plugin::Test::Portability",
"name" : "@Author::ETHER/Test::Portability",
- "version" : "2.000005"
+ "version" : "2.000006"
},
{
"class" : "Dist::Zilla::Plugin::Git::Describe",
+ "config" : {
+ "Dist::Zilla::Plugin::Git::Describe" : {
+ "on_package_line" : "1"
+ }
+ },
"name" : "@Author::ETHER/Git::Describe",
- "version" : "0.003"
+ "version" : "0.004"
},
{
"class" : "Dist::Zilla::Plugin::PkgVersion",
"name" : "@Author::ETHER/PkgVersion",
- "version" : "5.019"
- },
- {
- "class" : "Dist::Zilla::Plugin::Authority",
- "name" : "@Author::ETHER/Authority",
- "version" : "1.006"
+ "version" : "5.031"
},
{
"class" : "Dist::Zilla::Plugin::PodWeaver",
@@ -355,103 +462,103 @@
{
"class" : "Pod::Weaver::Plugin::EnsurePod5",
"name" : "@CorePrep/EnsurePod5",
- "version" : "4.006"
+ "version" : "4.010"
},
{
"class" : "Pod::Weaver::Plugin::H1Nester",
"name" : "@CorePrep/H1Nester",
- "version" : "4.006"
+ "version" : "4.010"
},
{
"class" : "Pod::Weaver::Plugin::SingleEncoding",
"name" : "@Default/SingleEncoding",
- "version" : "4.006"
+ "version" : "4.010"
},
{
"class" : "Pod::Weaver::Section::Name",
"name" : "@Default/Name",
- "version" : "4.006"
+ "version" : "4.010"
},
{
"class" : "Pod::Weaver::Section::Version",
"name" : "@Default/Version",
- "version" : "4.006"
+ "version" : "4.010"
},
{
"class" : "Pod::Weaver::Section::Region",
"name" : "@Default/prelude",
- "version" : "4.006"
+ "version" : "4.010"
},
{
"class" : "Pod::Weaver::Section::Generic",
"name" : "SYNOPSIS",
- "version" : "4.006"
+ "version" : "4.010"
},
{
"class" : "Pod::Weaver::Section::Generic",
"name" : "DESCRIPTION",
- "version" : "4.006"
+ "version" : "4.010"
},
{
"class" : "Pod::Weaver::Section::Generic",
"name" : "OVERVIEW",
- "version" : "4.006"
+ "version" : "4.010"
},
{
"class" : "Pod::Weaver::Section::Collect",
"name" : "ATTRIBUTES",
- "version" : "4.006"
+ "version" : "4.010"
},
{
"class" : "Pod::Weaver::Section::Collect",
"name" : "METHODS",
- "version" : "4.006"
+ "version" : "4.010"
},
{
"class" : "Pod::Weaver::Section::Collect",
"name" : "FUNCTIONS",
- "version" : "4.006"
+ "version" : "4.010"
},
{
"class" : "Pod::Weaver::Section::Leftovers",
"name" : "@Default/Leftovers",
- "version" : "4.006"
+ "version" : "4.010"
},
{
"class" : "Pod::Weaver::Section::Region",
"name" : "@Default/postlude",
- "version" : "4.006"
+ "version" : "4.010"
},
{
"class" : "Pod::Weaver::Section::Authors",
"name" : "@Default/Authors",
- "version" : "4.006"
+ "version" : "4.010"
},
{
"class" : "Pod::Weaver::Section::Legal",
"name" : "@Default/Legal",
- "version" : "4.006"
+ "version" : "4.010"
},
{
"class" : "Pod::Weaver::Section::Contributors",
"name" : "Contributors",
- "version" : "0.007"
+ "version" : "0.009"
}
]
}
},
"name" : "@Author::ETHER/PodWeaver",
- "version" : "4.005"
+ "version" : "4.006"
},
{
"class" : "Dist::Zilla::Plugin::NextRelease",
"name" : "@Author::ETHER/NextRelease",
- "version" : "5.019"
+ "version" : "5.031"
},
{
"class" : "Dist::Zilla::Plugin::ReadmeAnyFromPod",
"name" : "@Author::ETHER/ReadmeAnyFromPod",
- "version" : "0.141120"
+ "version" : "0.142470"
},
{
"class" : "Dist::Zilla::Plugin::GithubMeta",
@@ -464,9 +571,24 @@
"version" : "1.20"
},
{
+ "class" : "Dist::Zilla::Plugin::AuthorityFromModule",
+ "config" : {
+ "Dist::Zilla::Plugin::AuthorityFromModule" : {
+ "module" : "Any::Moose"
+ }
+ },
+ "name" : "@Author::ETHER/AuthorityFromModule",
+ "version" : "0.004"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::Authority",
+ "name" : "@Author::ETHER/Authority",
+ "version" : "1.009"
+ },
+ {
"class" : "Dist::Zilla::Plugin::MetaNoIndex",
"name" : "@Author::ETHER/MetaNoIndex",
- "version" : "5.019"
+ "version" : "5.031"
},
{
"class" : "Dist::Zilla::Plugin::MetaProvides::Package",
@@ -479,7 +601,7 @@
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":InstallModules",
- "version" : "5.019"
+ "version" : "5.031"
}
]
},
@@ -490,43 +612,57 @@
}
},
"name" : "@Author::ETHER/MetaProvides::Package",
- "version" : "2.000001"
+ "version" : "2.003001"
},
{
"class" : "Dist::Zilla::Plugin::MetaConfig",
"name" : "@Author::ETHER/MetaConfig",
- "version" : "5.019"
+ "version" : "5.031"
},
{
"class" : "Dist::Zilla::Plugin::Keywords",
+ "config" : {
+ "Dist::Zilla::Plugin::Keywords" : {
+ "keywords" : [
+ "deprecated",
+ "Moose",
+ "Mouse",
+ "abstraction",
+ "layer",
+ "object-oriented"
+ ]
+ }
+ },
"name" : "@Author::ETHER/Keywords",
- "version" : "0.005"
+ "version" : "0.006"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::Git::Contributors",
+ "config" : {
+ "Dist::Zilla::Plugin::Git::Contributors" : {
+ "include_authors" : "0",
+ "include_releaser" : "1",
+ "order_by" : "commits",
+ "paths" : []
+ }
+ },
+ "name" : "@Author::ETHER/Git::Contributors",
+ "version" : "0.009"
},
{
"class" : "Dist::Zilla::Plugin::AutoPrereqs",
"name" : "@Author::ETHER/AutoPrereqs",
- "version" : "5.019"
+ "version" : "5.031"
},
{
"class" : "Dist::Zilla::Plugin::Prereqs::AuthorDeps",
"name" : "@Author::ETHER/Prereqs::AuthorDeps",
- "version" : "0.003"
+ "version" : "0.004"
},
{
"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.019"
+ "version" : "1.006"
},
{
"class" : "Dist::Zilla::Plugin::Prereqs",
@@ -537,7 +673,7 @@
}
},
"name" : "@Author::ETHER/pluginbundle_version",
- "version" : "5.019"
+ "version" : "5.031"
},
{
"class" : "Dist::Zilla::Plugin::MakeMaker",
@@ -547,12 +683,7 @@
}
},
"name" : "@Author::ETHER/MakeMaker",
- "version" : "5.019"
- },
- {
- "class" : "Dist::Zilla::Plugin::InstallGuide",
- "name" : "@Author::ETHER/InstallGuide",
- "version" : "1.200003"
+ "version" : "5.031"
},
{
"class" : "Dist::Zilla::Plugin::RunExtraTests",
@@ -562,7 +693,7 @@
}
},
"name" : "@Author::ETHER/RunExtraTests",
- "version" : "0.021"
+ "version" : "0.025"
},
{
"class" : "Dist::Zilla::Plugin::CheckSelfDependency",
@@ -574,12 +705,33 @@
}
},
"name" : "@Author::ETHER/CheckSelfDependency",
- "version" : "0.007"
+ "version" : "0.010"
},
{
"class" : "Dist::Zilla::Plugin::Run::AfterBuild",
- "name" : "@Author::ETHER/Run::AfterBuild",
- "version" : "0.021"
+ "config" : {
+ "Dist::Zilla::Plugin::Run::Role::Runner" : {
+ "fatal_errors" : 1,
+ "run" : [
+ "bash -c \"test -e .ackrc && grep -q -- '--ignore-dir=.latest' .ackrc || echo '--ignore-dir=.latest' >> .ackrc; if [[ `dirname %d` != .build ]]; then test -e .ackrc && grep -q -- '--ignore-dir=%d' .ackrc || echo '--ignore-dir=%d' >> .ackrc; fi\""
+ ]
+ }
+ },
+ "name" : "@Author::ETHER/.ackrc",
+ "version" : "0.032"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::Run::AfterBuild",
+ "config" : {
+ "Dist::Zilla::Plugin::Run::Role::Runner" : {
+ "eval" : [
+ "if ('%d' =~ /^%n-[.[:xdigit:]]+$/) { unlink '.latest'; symlink '%d', '.latest'; }"
+ ],
+ "fatal_errors" : 1
+ }
+ },
+ "name" : "@Author::ETHER/.latest",
+ "version" : "0.032"
},
{
"class" : "Dist::Zilla::Plugin::CheckStrictVersion",
@@ -602,7 +754,7 @@
}
},
"name" : "@Author::ETHER/initial check",
- "version" : "2.023"
+ "version" : "2.029"
},
{
"class" : "Dist::Zilla::Plugin::Git::CheckFor::MergeConflicts",
@@ -627,17 +779,17 @@
{
"class" : "Dist::Zilla::Plugin::Git::Remote::Check",
"name" : "@Author::ETHER/Git::Remote::Check",
- "version" : "0.2.0"
+ "version" : "0.1.2"
},
{
"class" : "Dist::Zilla::Plugin::CheckPrereqsIndexed",
"name" : "@Author::ETHER/CheckPrereqsIndexed",
- "version" : "0.012"
+ "version" : "0.014"
},
{
"class" : "Dist::Zilla::Plugin::TestRelease",
"name" : "@Author::ETHER/TestRelease",
- "version" : "5.019"
+ "version" : "5.031"
},
{
"class" : "Dist::Zilla::Plugin::Git::Check",
@@ -655,22 +807,31 @@
}
},
"name" : "@Author::ETHER/after tests",
- "version" : "2.023"
+ "version" : "2.029"
},
{
"class" : "Dist::Zilla::Plugin::CheckIssues",
"name" : "@Author::ETHER/CheckIssues",
- "version" : "0.002"
+ "version" : "0.007"
},
{
"class" : "Dist::Zilla::Plugin::UploadToCPAN",
"name" : "@Author::ETHER/UploadToCPAN",
- "version" : "5.019"
+ "version" : "5.031"
},
{
"class" : "Dist::Zilla::Plugin::CopyFilesFromRelease",
+ "config" : {
+ "Dist::Zilla::Plugin::CopyFilesFromRelease" : {
+ "filename" : [
+ "LICENSE",
+ "CONTRIBUTING"
+ ],
+ "match" : []
+ }
+ },
"name" : "@Author::ETHER/CopyFilesFromRelease",
- "version" : "0.001"
+ "version" : "0.005"
},
{
"class" : "Dist::Zilla::Plugin::Git::Commit",
@@ -685,7 +846,7 @@
"Dist::Zilla::Role::Git::DirtyFiles" : {
"allow_dirty" : [
"Changes",
- "README.md",
+ "README.pod",
"LICENSE",
"CONTRIBUTING"
],
@@ -696,8 +857,8 @@
"repo_root" : "."
}
},
- "name" : "@Author::ETHER/Git::Commit",
- "version" : "2.023"
+ "name" : "@Author::ETHER/release snapshot",
+ "version" : "2.029"
},
{
"class" : "Dist::Zilla::Plugin::Git::Tag",
@@ -705,7 +866,7 @@
"Dist::Zilla::Plugin::Git::Tag" : {
"branch" : null,
"signed" : 0,
- "tag" : "v0.24",
+ "tag" : "v0.26",
"tag_format" : "v%v%t",
"tag_message" : "v%v%t",
"time_zone" : "local"
@@ -715,12 +876,12 @@
}
},
"name" : "@Author::ETHER/Git::Tag",
- "version" : "2.023"
+ "version" : "2.029"
},
{
"class" : "Dist::Zilla::Plugin::GitHub::Update",
"name" : "@Author::ETHER/GitHub::Update",
- "version" : "0.36"
+ "version" : "0.40"
},
{
"class" : "Dist::Zilla::Plugin::Git::Push",
@@ -736,33 +897,43 @@
}
},
"name" : "@Author::ETHER/Git::Push",
- "version" : "2.023"
+ "version" : "2.029"
},
{
- "class" : "Dist::Zilla::Plugin::InstallRelease",
- "name" : "@Author::ETHER/InstallRelease",
- "version" : "0.008"
+ "class" : "Dist::Zilla::Plugin::Run::AfterRelease",
+ "config" : {
+ "Dist::Zilla::Plugin::Run::Role::Runner" : {
+ "fatal_errors" : 0,
+ "run" : [
+ "REDACTED"
+ ]
+ }
+ },
+ "name" : "@Author::ETHER/install release",
+ "version" : "0.032"
},
{
- "class" : "Dist::Zilla::Plugin::Prereqs",
+ "class" : "Dist::Zilla::Plugin::Run::AfterRelease",
"config" : {
- "Dist::Zilla::Plugin::Prereqs" : {
- "phase" : "develop",
- "type" : "requires"
+ "Dist::Zilla::Plugin::Run::Role::Runner" : {
+ "eval" : [
+ "print \"release complete!\n\""
+ ],
+ "fatal_errors" : 1
}
},
- "name" : "@Author::ETHER/via_options",
- "version" : "5.019"
+ "name" : "@Author::ETHER/release complete",
+ "version" : "0.032"
},
{
"class" : "Dist::Zilla::Plugin::ConfirmRelease",
"name" : "@Author::ETHER/ConfirmRelease",
- "version" : "5.019"
+ "version" : "5.031"
},
{
"class" : "Dist::Zilla::Plugin::MetaResources",
"name" : "MetaResources",
- "version" : "5.019"
+ "version" : "5.031"
},
{
"class" : "Dist::Zilla::Plugin::RemovePrereqs",
@@ -770,72 +941,110 @@
"Dist::Zilla::Plugin::RemovePrereqs" : {
"modules_to_remove" : [
"Moose",
- "Mouse"
+ "Mouse",
+ "Mouse::Util"
]
}
},
"name" : "RemovePrereqs",
- "version" : "5.019"
+ "version" : "5.031"
},
{
"class" : "Dist::Zilla::Plugin::OnlyCorePrereqs",
+ "config" : {
+ "Dist::Zilla::Plugin::OnlyCorePrereqs" : {
+ "check_dual_life_versions" : "0",
+ "deprecated_ok" : "0",
+ "phases" : [
+ "configure",
+ "build",
+ "runtime",
+ "test"
+ ],
+ "skips" : [],
+ "starting_version" : "5.006"
+ }
+ },
"name" : "OnlyCorePrereqs",
- "version" : "0.013"
+ "version" : "0.020"
},
{
"class" : "Dist::Zilla::Plugin::DynamicPrereqs",
"name" : "DynamicPrereqs",
- "version" : "0.005"
+ "version" : "0.009"
},
{
- "class" : "Dist::Zilla::Plugin::ContributorsFromGit",
- "name" : "ContributorsFromGit",
- "version" : "0.013"
+ "class" : "Dist::Zilla::Plugin::Test::CheckBreaks",
+ "config" : {
+ "Dist::Zilla::Plugin::Test::CheckBreaks" : {
+ "conflicts_module" : "Moose::Conflicts"
+ }
+ },
+ "name" : "Test::CheckBreaks",
+ "version" : "0.011"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::Git::Contributors",
+ "config" : {
+ "Dist::Zilla::Plugin::Git::Contributors" : {
+ "include_authors" : "0",
+ "include_releaser" : "1",
+ "order_by" : "name",
+ "paths" : []
+ }
+ },
+ "name" : "Git::Contributors",
+ "version" : "0.009"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::Deprecated",
+ "name" : "Deprecated",
+ "version" : "0.002"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":InstallModules",
- "version" : "5.019"
+ "version" : "5.031"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":IncModules",
- "version" : "5.019"
+ "version" : "5.031"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":TestFiles",
- "version" : "5.019"
+ "version" : "5.031"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ExecFiles",
- "version" : "5.019"
+ "version" : "5.031"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ShareFiles",
- "version" : "5.019"
+ "version" : "5.031"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":MainModule",
- "version" : "5.019"
+ "version" : "5.031"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":AllFiles",
- "version" : "5.019"
+ "version" : "5.031"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":NoFiles",
- "version" : "5.019"
+ "version" : "5.031"
},
{
"class" : "Dist::Zilla::Plugin::VerifyPhases",
"name" : "@Author::ETHER/PHASE VERIFICATION",
- "version" : "0.003"
+ "version" : "0.010"
}
],
"zilla" : {
@@ -843,17 +1052,20 @@
"config" : {
"is_trial" : "0"
},
- "version" : "5.019"
+ "version" : "5.031"
}
},
"x_authority" : "cpan:SARTAK",
+ "x_authority_from_module" : "Any::Moose",
"x_contributors" : [
- "Chris 'BinGOs' Williams <chris at bingosnet.co.uk>",
- "Graham Knop <haarg at haarg.org>",
"Karen Etheridge <ether at cpan.org>",
- "Stevan Little <stevan.little at iinteractive.com>",
"gfx <gfuji at cpan.org>",
- "tokuhirom <tokuhirom at gmail.com>"
- ]
+ "Graham Knop <haarg at haarg.org>",
+ "Stevan Little <stevan.little at iinteractive.com>",
+ "tokuhirom <tokuhirom at gmail.com>",
+ "Chris 'BinGOs' Williams <chris at bingosnet.co.uk>"
+ ],
+ "x_deprecated" : 1,
+ "x_permissions_from_module" : "Any::Moose"
}
diff --git a/META.yml b/META.yml
index a0d74f2..bae59b2 100644
--- a/META.yml
+++ b/META.yml
@@ -1,5 +1,5 @@
---
-abstract: '*deprecated* - use Moo instead!'
+abstract: '(DEPRECATED) use Moo instead!'
author:
- 'Shawn M Moore <code at sartak.org>'
- 'Florian Ragwitz <rafl at debian.org>'
@@ -9,15 +9,16 @@ author:
- 'Ricardo Signes <rjbs at cpan.org>'
build_requires:
ExtUtils::MakeMaker: '0'
- File::Spec::Functions: '0'
- List::Util: '0'
- Test::More: '0'
- version: '0'
+ File::Spec: '0'
+ Test::More: '0.88'
+ perl: 5.006_002
configure_requires:
- ExtUtils::MakeMaker: '6.30'
+ ExtUtils::MakeMaker: '0'
+ perl: 5.006_002
dynamic_config: 1
-generated_by: 'Dist::Zilla version 5.019, CPAN::Meta::Converter version 2.141520'
+generated_by: 'Dist::Zilla version 5.031, CPAN::Meta::Converter version 2.143240'
keywords:
+ - deprecated
- Moose
- Mouse
- abstraction
@@ -35,7 +36,7 @@ no_index:
provides:
Any::Moose:
file: lib/Any/Moose.pm
- version: '0.24'
+ version: '0.26'
requires:
Carp: '0'
perl: 5.006_002
@@ -47,12 +48,20 @@ resources:
bugtracker: https://rt.cpan.org/Public/Dist/Display.html?Name=Any-Moose
homepage: https://github.com/moose/Any-Moose
repository: https://github.com/moose/Any-Moose.git
-version: '0.24'
+version: '0.26'
x_Dist_Zilla:
perl:
- version: '5.021001'
+ version: '5.021006'
plugins:
-
+ class: Dist::Zilla::Plugin::Prereqs
+ config:
+ Dist::Zilla::Plugin::Prereqs:
+ phase: develop
+ type: requires
+ name: '@Author::ETHER/bundle_plugins'
+ version: '5.031'
+ -
class: Dist::Zilla::Plugin::Git::NextVersion
config:
Dist::Zilla::Plugin::Git::NextVersion:
@@ -62,11 +71,7 @@ x_Dist_Zilla:
Dist::Zilla::Role::Git::Repo:
repo_root: .
name: '@Author::ETHER/Git::NextVersion'
- version: '2.023'
- -
- class: Dist::Zilla::Plugin::EnsurePrereqsInstalled
- name: '@Author::ETHER/EnsurePrereqsInstalled'
- version: '0.004'
+ version: '2.029'
-
class: Dist::Zilla::Plugin::PromptIfStale
config:
@@ -77,8 +82,8 @@ x_Dist_Zilla:
- Dist::Zilla::PluginBundle::Author::ETHER
phase: build
skip: []
- name: '@Author::ETHER/build'
- version: '0.023'
+ name: '@Author::ETHER/stale modules, build'
+ version: '0.036'
-
class: Dist::Zilla::Plugin::PromptIfStale
config:
@@ -88,53 +93,64 @@ x_Dist_Zilla:
modules: []
phase: release
skip: []
- name: '@Author::ETHER/release'
- version: '0.023'
+ name: '@Author::ETHER/stale modules, release'
+ version: '0.036'
-
class: Dist::Zilla::Plugin::ExecDir
name: '@Author::ETHER/ExecDir'
- version: '5.019'
+ version: '5.031'
-
class: Dist::Zilla::Plugin::ShareDir
name: '@Author::ETHER/ShareDir'
- version: '5.019'
+ version: '5.031'
-
class: Dist::Zilla::Plugin::FileFinder::ByName
name: '@Author::ETHER/Examples'
- version: '5.019'
+ version: '5.031'
-
class: Dist::Zilla::Plugin::FileFinder::ByName
name: '@Author::ETHER/ExtraTestFiles'
- version: '5.019'
+ version: '5.031'
-
class: Dist::Zilla::Plugin::Git::GatherDir
config:
+ Dist::Zilla::Plugin::GatherDir:
+ exclude_filename:
+ - README.pod
+ - LICENSE
+ - CONTRIBUTING
+ exclude_match: []
+ follow_symlinks: '0'
+ include_dotfiles: '0'
+ prefix: ''
+ prune_directory: []
+ root: .
Dist::Zilla::Plugin::Git::GatherDir:
include_untracked: '0'
Dist::Zilla::Role::Git::Repo:
repo_root: .
name: '@Author::ETHER/Git::GatherDir'
- version: '2.023'
+ version: '2.029'
-
class: Dist::Zilla::Plugin::MetaYAML
name: '@Author::ETHER/MetaYAML'
- version: '5.019'
+ version: '5.031'
-
class: Dist::Zilla::Plugin::MetaJSON
name: '@Author::ETHER/MetaJSON'
- version: '5.019'
+ version: '5.031'
-
class: Dist::Zilla::Plugin::License
name: '@Author::ETHER/License'
- version: '5.019'
+ version: '5.031'
-
class: Dist::Zilla::Plugin::Readme
name: '@Author::ETHER/Readme'
- version: '5.019'
+ version: '5.031'
-
class: Dist::Zilla::Plugin::Manifest
name: '@Author::ETHER/Manifest'
- version: '5.019'
+ version: '5.031'
-
class: Dist::Zilla::Plugin::GenerateFile::ShareDir
config:
@@ -142,25 +158,37 @@ x_Dist_Zilla:
destination_filename: CONTRIBUTING
dist: Dist-Zilla-PluginBundle-Author-ETHER
encoding: UTF-8
+ has_xs: 0
source_filename: CONTRIBUTING
name: '@Author::ETHER/generate CONTRIBUTING'
version: '0.005'
-
+ class: Dist::Zilla::Plugin::InstallGuide
+ name: '@Author::ETHER/InstallGuide'
+ version: '1.200006'
+ -
class: Dist::Zilla::Plugin::Test::Compile
config:
Dist::Zilla::Plugin::Test::Compile:
+ bail_out_on_fail: '1'
+ fail_on_warning: author
+ fake_home: '0'
filename: xt/author/00-compile.t
module_finder:
- ':InstallModules'
+ needs_display: '0'
+ phase: develop
script_finder:
- ':ExecFiles'
- '@Author::ETHER/Examples'
+ skips: []
name: '@Author::ETHER/Test::Compile'
- version: '2.043'
+ version: '2.051'
-
class: Dist::Zilla::Plugin::Test::NoTabs
config:
Dist::Zilla::Plugin::Test::NoTabs:
+ filename: xt/author/no-tabs.t
finder:
- ':InstallModules'
- ':ExecFiles'
@@ -168,31 +196,34 @@ x_Dist_Zilla:
- ':TestFiles'
- '@Author::ETHER/ExtraTestFiles'
name: '@Author::ETHER/Test::NoTabs'
- version: '0.08'
+ version: '0.13'
-
- class: Dist::Zilla::Plugin::EOLTests
- name: '@Author::ETHER/EOLTests'
- version: '0.02'
+ class: Dist::Zilla::Plugin::Test::EOL
+ config:
+ Dist::Zilla::Plugin::Test::EOL:
+ filename: xt/author/eol.t
+ name: '@Author::ETHER/Test::EOL'
+ version: '0.16'
-
class: Dist::Zilla::Plugin::MetaTests
name: '@Author::ETHER/MetaTests'
- version: '5.019'
+ version: '5.031'
-
class: Dist::Zilla::Plugin::Test::CPAN::Changes
name: '@Author::ETHER/Test::CPAN::Changes'
- version: '0.008'
+ version: '0.009'
-
class: Dist::Zilla::Plugin::Test::ChangesHasContent
name: '@Author::ETHER/Test::ChangesHasContent'
- version: '0.006'
+ version: '0.007'
-
class: Dist::Zilla::Plugin::Test::MinimumVersion
name: '@Author::ETHER/Test::MinimumVersion'
- version: '2.000005'
+ version: '2.000006'
-
class: Dist::Zilla::Plugin::PodSyntaxTests
name: '@Author::ETHER/PodSyntaxTests'
- version: '5.019'
+ version: '5.031'
-
class: Dist::Zilla::Plugin::Test::PodSpelling
name: '@Author::ETHER/Test::PodSpelling'
@@ -203,8 +234,12 @@ x_Dist_Zilla:
version: '1.001'
-
class: Dist::Zilla::Plugin::Test::Kwalitee
+ config:
+ Dist::Zilla::Plugin::Test::Kwalitee:
+ filename: xt/release/kwalitee.t
+ skiptest: []
name: '@Author::ETHER/Test::Kwalitee'
- version: '2.07'
+ version: '2.11'
-
class: Dist::Zilla::Plugin::MojibakeTests
name: '@Author::ETHER/MojibakeTests'
@@ -212,23 +247,22 @@ x_Dist_Zilla:
-
class: Dist::Zilla::Plugin::Test::ReportPrereqs
name: '@Author::ETHER/Test::ReportPrereqs'
- version: '0.013'
+ version: '0.019'
-
class: Dist::Zilla::Plugin::Test::Portability
name: '@Author::ETHER/Test::Portability'
- version: '2.000005'
+ version: '2.000006'
-
class: Dist::Zilla::Plugin::Git::Describe
+ config:
+ Dist::Zilla::Plugin::Git::Describe:
+ on_package_line: '1'
name: '@Author::ETHER/Git::Describe'
- version: '0.003'
+ version: '0.004'
-
class: Dist::Zilla::Plugin::PkgVersion
name: '@Author::ETHER/PkgVersion'
- version: '5.019'
- -
- class: Dist::Zilla::Plugin::Authority
- name: '@Author::ETHER/Authority'
- version: '1.006'
+ version: '5.031'
-
class: Dist::Zilla::Plugin::PodWeaver
config:
@@ -240,81 +274,81 @@ x_Dist_Zilla:
-
class: Pod::Weaver::Plugin::EnsurePod5
name: '@CorePrep/EnsurePod5'
- version: '4.006'
+ version: '4.010'
-
class: Pod::Weaver::Plugin::H1Nester
name: '@CorePrep/H1Nester'
- version: '4.006'
+ version: '4.010'
-
class: Pod::Weaver::Plugin::SingleEncoding
name: '@Default/SingleEncoding'
- version: '4.006'
+ version: '4.010'
-
class: Pod::Weaver::Section::Name
name: '@Default/Name'
- version: '4.006'
+ version: '4.010'
-
class: Pod::Weaver::Section::Version
name: '@Default/Version'
- version: '4.006'
+ version: '4.010'
-
class: Pod::Weaver::Section::Region
name: '@Default/prelude'
- version: '4.006'
+ version: '4.010'
-
class: Pod::Weaver::Section::Generic
name: SYNOPSIS
- version: '4.006'
+ version: '4.010'
-
class: Pod::Weaver::Section::Generic
name: DESCRIPTION
- version: '4.006'
+ version: '4.010'
-
class: Pod::Weaver::Section::Generic
name: OVERVIEW
- version: '4.006'
+ version: '4.010'
-
class: Pod::Weaver::Section::Collect
name: ATTRIBUTES
- version: '4.006'
+ version: '4.010'
-
class: Pod::Weaver::Section::Collect
name: METHODS
- version: '4.006'
+ version: '4.010'
-
class: Pod::Weaver::Section::Collect
name: FUNCTIONS
- version: '4.006'
+ version: '4.010'
-
class: Pod::Weaver::Section::Leftovers
name: '@Default/Leftovers'
- version: '4.006'
+ version: '4.010'
-
class: Pod::Weaver::Section::Region
name: '@Default/postlude'
- version: '4.006'
+ version: '4.010'
-
class: Pod::Weaver::Section::Authors
name: '@Default/Authors'
- version: '4.006'
+ version: '4.010'
-
class: Pod::Weaver::Section::Legal
name: '@Default/Legal'
- version: '4.006'
+ version: '4.010'
-
class: Pod::Weaver::Section::Contributors
name: Contributors
- version: '0.007'
+ version: '0.009'
name: '@Author::ETHER/PodWeaver'
- version: '4.005'
+ version: '4.006'
-
class: Dist::Zilla::Plugin::NextRelease
name: '@Author::ETHER/NextRelease'
- version: '5.019'
+ version: '5.031'
-
class: Dist::Zilla::Plugin::ReadmeAnyFromPod
name: '@Author::ETHER/ReadmeAnyFromPod'
- version: '0.141120'
+ version: '0.142470'
-
class: Dist::Zilla::Plugin::GithubMeta
name: '@Author::ETHER/GithubMeta'
@@ -324,9 +358,20 @@ x_Dist_Zilla:
name: '@Author::ETHER/AutoMetaResources'
version: '1.20'
-
+ class: Dist::Zilla::Plugin::AuthorityFromModule
+ config:
+ Dist::Zilla::Plugin::AuthorityFromModule:
+ module: Any::Moose
+ name: '@Author::ETHER/AuthorityFromModule'
+ version: '0.004'
+ -
+ class: Dist::Zilla::Plugin::Authority
+ name: '@Author::ETHER/Authority'
+ version: '1.009'
+ -
class: Dist::Zilla::Plugin::MetaNoIndex
name: '@Author::ETHER/MetaNoIndex'
- version: '5.019'
+ version: '5.031'
-
class: Dist::Zilla::Plugin::MetaProvides::Package
config:
@@ -337,41 +382,52 @@ x_Dist_Zilla:
-
class: Dist::Zilla::Plugin::FinderCode
name: ':InstallModules'
- version: '5.019'
+ version: '5.031'
Dist::Zilla::Role::MetaProvider::Provider:
inherit_missing: '1'
inherit_version: '1'
meta_noindex: '1'
name: '@Author::ETHER/MetaProvides::Package'
- version: '2.000001'
+ version: '2.003001'
-
class: Dist::Zilla::Plugin::MetaConfig
name: '@Author::ETHER/MetaConfig'
- version: '5.019'
+ version: '5.031'
-
class: Dist::Zilla::Plugin::Keywords
+ config:
+ Dist::Zilla::Plugin::Keywords:
+ keywords:
+ - deprecated
+ - Moose
+ - Mouse
+ - abstraction
+ - layer
+ - object-oriented
name: '@Author::ETHER/Keywords'
- version: '0.005'
+ version: '0.006'
+ -
+ class: Dist::Zilla::Plugin::Git::Contributors
+ config:
+ Dist::Zilla::Plugin::Git::Contributors:
+ include_authors: '0'
+ include_releaser: '1'
+ order_by: commits
+ paths: []
+ name: '@Author::ETHER/Git::Contributors'
+ version: '0.009'
-
class: Dist::Zilla::Plugin::AutoPrereqs
name: '@Author::ETHER/AutoPrereqs'
- version: '5.019'
+ version: '5.031'
-
class: Dist::Zilla::Plugin::Prereqs::AuthorDeps
name: '@Author::ETHER/Prereqs::AuthorDeps'
- version: '0.003'
+ version: '0.004'
-
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.019'
+ version: '1.006'
-
class: Dist::Zilla::Plugin::Prereqs
config:
@@ -379,25 +435,21 @@ x_Dist_Zilla:
phase: develop
type: recommends
name: '@Author::ETHER/pluginbundle_version'
- version: '5.019'
+ version: '5.031'
-
class: Dist::Zilla::Plugin::MakeMaker
config:
Dist::Zilla::Role::TestRunner:
default_jobs: 9
name: '@Author::ETHER/MakeMaker'
- version: '5.019'
- -
- class: Dist::Zilla::Plugin::InstallGuide
- name: '@Author::ETHER/InstallGuide'
- version: '1.200003'
+ version: '5.031'
-
class: Dist::Zilla::Plugin::RunExtraTests
config:
Dist::Zilla::Role::TestRunner:
default_jobs: 9
name: '@Author::ETHER/RunExtraTests'
- version: '0.021'
+ version: '0.025'
-
class: Dist::Zilla::Plugin::CheckSelfDependency
config:
@@ -405,11 +457,25 @@ x_Dist_Zilla:
finder:
- ':InstallModules'
name: '@Author::ETHER/CheckSelfDependency'
- version: '0.007'
+ version: '0.010'
-
class: Dist::Zilla::Plugin::Run::AfterBuild
- name: '@Author::ETHER/Run::AfterBuild'
- version: '0.021'
+ config:
+ Dist::Zilla::Plugin::Run::Role::Runner:
+ fatal_errors: 1
+ run:
+ - "bash -c \"test -e .ackrc && grep -q -- '--ignore-dir=.latest' .ackrc || echo '--ignore-dir=.latest' >> .ackrc; if [[ `dirname %d` != .build ]]; then test -e .ackrc && grep -q -- '--ignore-dir=%d' .ackrc || echo '--ignore-dir=%d' >> .ackrc; fi\""
+ name: '@Author::ETHER/.ackrc'
+ version: '0.032'
+ -
+ class: Dist::Zilla::Plugin::Run::AfterBuild
+ config:
+ Dist::Zilla::Plugin::Run::Role::Runner:
+ eval:
+ - "if ('%d' =~ /^%n-[.[:xdigit:]]+$/) { unlink '.latest'; symlink '%d', '.latest'; }"
+ fatal_errors: 1
+ name: '@Author::ETHER/.latest'
+ version: '0.032'
-
class: Dist::Zilla::Plugin::CheckStrictVersion
name: '@Author::ETHER/CheckStrictVersion'
@@ -426,7 +492,7 @@ x_Dist_Zilla:
Dist::Zilla::Role::Git::Repo:
repo_root: .
name: '@Author::ETHER/initial check'
- version: '2.023'
+ version: '2.029'
-
class: Dist::Zilla::Plugin::Git::CheckFor::MergeConflicts
config:
@@ -444,15 +510,15 @@ x_Dist_Zilla:
-
class: Dist::Zilla::Plugin::Git::Remote::Check
name: '@Author::ETHER/Git::Remote::Check'
- version: 0.2.0
+ version: 0.1.2
-
class: Dist::Zilla::Plugin::CheckPrereqsIndexed
name: '@Author::ETHER/CheckPrereqsIndexed'
- version: '0.012'
+ version: '0.014'
-
class: Dist::Zilla::Plugin::TestRelease
name: '@Author::ETHER/TestRelease'
- version: '5.019'
+ version: '5.031'
-
class: Dist::Zilla::Plugin::Git::Check
config:
@@ -465,19 +531,25 @@ x_Dist_Zilla:
Dist::Zilla::Role::Git::Repo:
repo_root: .
name: '@Author::ETHER/after tests'
- version: '2.023'
+ version: '2.029'
-
class: Dist::Zilla::Plugin::CheckIssues
name: '@Author::ETHER/CheckIssues'
- version: '0.002'
+ version: '0.007'
-
class: Dist::Zilla::Plugin::UploadToCPAN
name: '@Author::ETHER/UploadToCPAN'
- version: '5.019'
+ version: '5.031'
-
class: Dist::Zilla::Plugin::CopyFilesFromRelease
+ config:
+ Dist::Zilla::Plugin::CopyFilesFromRelease:
+ filename:
+ - LICENSE
+ - CONTRIBUTING
+ match: []
name: '@Author::ETHER/CopyFilesFromRelease'
- version: '0.001'
+ version: '0.005'
-
class: Dist::Zilla::Plugin::Git::Commit
config:
@@ -489,33 +561,33 @@ x_Dist_Zilla:
Dist::Zilla::Role::Git::DirtyFiles:
allow_dirty:
- Changes
- - README.md
+ - README.pod
- LICENSE
- CONTRIBUTING
allow_dirty_match: []
changelog: Changes
Dist::Zilla::Role::Git::Repo:
repo_root: .
- name: '@Author::ETHER/Git::Commit'
- version: '2.023'
+ name: '@Author::ETHER/release snapshot'
+ version: '2.029'
-
class: Dist::Zilla::Plugin::Git::Tag
config:
Dist::Zilla::Plugin::Git::Tag:
branch: ~
signed: 0
- tag: v0.24
+ tag: v0.26
tag_format: v%v%t
tag_message: v%v%t
time_zone: local
Dist::Zilla::Role::Git::Repo:
repo_root: .
name: '@Author::ETHER/Git::Tag'
- version: '2.023'
+ version: '2.029'
-
class: Dist::Zilla::Plugin::GitHub::Update
name: '@Author::ETHER/GitHub::Update'
- version: '0.36'
+ version: '0.40'
-
class: Dist::Zilla::Plugin::Git::Push
config:
@@ -526,27 +598,33 @@ x_Dist_Zilla:
Dist::Zilla::Role::Git::Repo:
repo_root: .
name: '@Author::ETHER/Git::Push'
- version: '2.023'
- -
- class: Dist::Zilla::Plugin::InstallRelease
- name: '@Author::ETHER/InstallRelease'
- version: '0.008'
+ version: '2.029'
-
- class: Dist::Zilla::Plugin::Prereqs
+ class: Dist::Zilla::Plugin::Run::AfterRelease
config:
- Dist::Zilla::Plugin::Prereqs:
- phase: develop
- type: requires
- name: '@Author::ETHER/via_options'
- version: '5.019'
+ Dist::Zilla::Plugin::Run::Role::Runner:
+ fatal_errors: 0
+ run:
+ - REDACTED
+ name: '@Author::ETHER/install release'
+ version: '0.032'
+ -
+ class: Dist::Zilla::Plugin::Run::AfterRelease
+ config:
+ Dist::Zilla::Plugin::Run::Role::Runner:
+ eval:
+ - "print \"release complete!\n\""
+ fatal_errors: 1
+ name: '@Author::ETHER/release complete'
+ version: '0.032'
-
class: Dist::Zilla::Plugin::ConfirmRelease
name: '@Author::ETHER/ConfirmRelease'
- version: '5.019'
+ version: '5.031'
-
class: Dist::Zilla::Plugin::MetaResources
name: MetaResources
- version: '5.019'
+ version: '5.031'
-
class: Dist::Zilla::Plugin::RemovePrereqs
config:
@@ -554,66 +632,98 @@ x_Dist_Zilla:
modules_to_remove:
- Moose
- Mouse
+ - Mouse::Util
name: RemovePrereqs
- version: '5.019'
+ version: '5.031'
-
class: Dist::Zilla::Plugin::OnlyCorePrereqs
+ config:
+ Dist::Zilla::Plugin::OnlyCorePrereqs:
+ check_dual_life_versions: '0'
+ deprecated_ok: '0'
+ phases:
+ - configure
+ - build
+ - runtime
+ - test
+ skips: []
+ starting_version: '5.006'
name: OnlyCorePrereqs
- version: '0.013'
+ version: '0.020'
-
class: Dist::Zilla::Plugin::DynamicPrereqs
name: DynamicPrereqs
- version: '0.005'
+ version: '0.009'
+ -
+ class: Dist::Zilla::Plugin::Test::CheckBreaks
+ config:
+ Dist::Zilla::Plugin::Test::CheckBreaks:
+ conflicts_module: Moose::Conflicts
+ name: Test::CheckBreaks
+ version: '0.011'
-
- class: Dist::Zilla::Plugin::ContributorsFromGit
- name: ContributorsFromGit
- version: '0.013'
+ class: Dist::Zilla::Plugin::Git::Contributors
+ config:
+ Dist::Zilla::Plugin::Git::Contributors:
+ include_authors: '0'
+ include_releaser: '1'
+ order_by: name
+ paths: []
+ name: Git::Contributors
+ version: '0.009'
+ -
+ class: Dist::Zilla::Plugin::Deprecated
+ name: Deprecated
+ version: '0.002'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':InstallModules'
- version: '5.019'
+ version: '5.031'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':IncModules'
- version: '5.019'
+ version: '5.031'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':TestFiles'
- version: '5.019'
+ version: '5.031'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ExecFiles'
- version: '5.019'
+ version: '5.031'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ShareFiles'
- version: '5.019'
+ version: '5.031'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':MainModule'
- version: '5.019'
+ version: '5.031'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':AllFiles'
- version: '5.019'
+ version: '5.031'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':NoFiles'
- version: '5.019'
+ version: '5.031'
-
class: Dist::Zilla::Plugin::VerifyPhases
name: '@Author::ETHER/PHASE VERIFICATION'
- version: '0.003'
+ version: '0.010'
zilla:
class: Dist::Zilla::Dist::Builder
config:
is_trial: '0'
- version: '5.019'
+ version: '5.031'
x_authority: cpan:SARTAK
+x_authority_from_module: Any::Moose
x_contributors:
- - "Chris 'BinGOs' Williams <chris at bingosnet.co.uk>"
- - 'Graham Knop <haarg at haarg.org>'
- 'Karen Etheridge <ether at cpan.org>'
- - 'Stevan Little <stevan.little at iinteractive.com>'
- 'gfx <gfuji at cpan.org>'
+ - 'Graham Knop <haarg at haarg.org>'
+ - 'Stevan Little <stevan.little at iinteractive.com>'
- 'tokuhirom <tokuhirom at gmail.com>'
+ - "Chris 'BinGOs' Williams <chris at bingosnet.co.uk>"
+x_deprecated: 1
+x_permissions_from_module: Any::Moose
diff --git a/Makefile.PL b/Makefile.PL
index aebba19..4a2e20d 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -1,23 +1,24 @@
-# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v5.019.
+# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v5.031.
use strict;
use warnings;
use 5.006_002;
-use ExtUtils::MakeMaker 6.30;
+use ExtUtils::MakeMaker;
my %WriteMakefileArgs = (
- "ABSTRACT" => "*deprecated* - use Moo instead!",
+ "ABSTRACT" => "(DEPRECATED) use Moo instead!",
"AUTHOR" => "Shawn M Moore <code\@sartak.org>, Florian Ragwitz <rafl\@debian.org>, Stevan Little <stevan\@iinteractive.com>, Tokuhiro Matsuno <tokuhirom\@gmail.com>, Goro Fuji <gfuji\@cpan.org>, Ricardo Signes <rjbs\@cpan.org>",
"CONFIGURE_REQUIRES" => {
- "ExtUtils::MakeMaker" => "6.30"
+ "ExtUtils::MakeMaker" => 0
},
"DISTNAME" => "Any-Moose",
"EXE_FILES" => [],
"LICENSE" => "perl",
+ "MIN_PERL_VERSION" => "5.006_002",
"NAME" => "Any::Moose",
"PREREQ_PM" => {
"Carp" => 0,
@@ -26,12 +27,10 @@ my %WriteMakefileArgs = (
},
"TEST_REQUIRES" => {
"ExtUtils::MakeMaker" => 0,
- "File::Spec::Functions" => 0,
- "List::Util" => 0,
- "Test::More" => 0,
- "version" => 0
+ "File::Spec" => 0,
+ "Test::More" => "0.88"
},
- "VERSION" => "0.24",
+ "VERSION" => "0.26",
"test" => {
"TESTS" => "t/*.t"
}
@@ -41,22 +40,21 @@ my %WriteMakefileArgs = (
my %FallbackPrereqs = (
"Carp" => 0,
"ExtUtils::MakeMaker" => 0,
- "File::Spec::Functions" => 0,
- "List::Util" => 0,
- "Test::More" => 0,
+ "File::Spec" => 0,
+ "Test::More" => "0.88",
"strict" => 0,
- "version" => 0,
"warnings" => 0
);
+# inserted by Dist::Zilla::Plugin::DynamicPrereqs 0.009
if (eval { require Moose }) {
-# we have any version of Moose; good enough! -- rjbs, 2011-09-15
-# This should fix a crufty edge-case with cpantesting -- bingos, 2011-11-07
-$WriteMakefileArgs{PREREQ_PM}{'Moose'} = $FallbackPrereqs{'Moose'} = '0';
+ # we have any version of Moose; good enough! -- rjbs, 2011-09-15
+ # This should fix a crufty edge-case with cpantesting -- bingos, 2011-11-07
+ $WriteMakefileArgs{PREREQ_PM}{'Moose'} = $FallbackPrereqs{'Moose'} = '0';
} else {
-# No Moose? Well, we need *something* to test with, so we'll ask for the
-# lighter-weight one, Mouse. -- rjbs, 2011-09-15
-$WriteMakefileArgs{PREREQ_PM}{'Mouse'} = $FallbackPrereqs{'Mouse'} = '0.40';
+ # No Moose? Well, we need *something* to test with, so we'll ask for the
+ # lighter-weight one, Mouse. -- rjbs, 2011-09-15
+ $WriteMakefileArgs{PREREQ_PM}{'Mouse'} = $FallbackPrereqs{'Mouse'} = '0.40';
}
@@ -73,3 +71,4 @@ delete $WriteMakefileArgs{CONFIGURE_REQUIRES}
WriteMakefile(%WriteMakefileArgs);
+
diff --git a/README b/README
index 537d581..bc0bbb4 100644
--- a/README
+++ b/README
@@ -1,15 +1,15 @@
This archive contains the distribution Any-Moose,
-version 0.24:
+version 0.26:
- *deprecated* - use Moo instead!
+ (DEPRECATED) use Moo instead!
-This software is copyright (c) 2014 by Best Practical Solutions.
+This software is copyright (c) 2015 by Best Practical Solutions.
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.019.
+This README file was generated by Dist::Zilla::Plugin::Readme v5.031.
diff --git a/README.md b/README.md
deleted file mode 100644
index 5329cd6..0000000
--- a/README.md
+++ /dev/null
@@ -1,54 +0,0 @@
-# NAME
-
-Any::Moose - \*deprecated\* - use Moo instead!
-
-# VERSION
-
-version 0.24
-
-# DEPRECATION
-
-日本語翻訳: http://blog.64p.org/entry/2013/02/06/094906
-
-Please use [Moo](https://metacpan.org/pod/Moo) instead of Any::Moose for new code.
-
-Moo classes and roles will transparently and correctly upgrade to
-Moose when needed. This is a fundamentally better design than what
-Any::Moose offers. Mouse metaclasses do not interact with Moose
-metaclasses which leaks abstractions all over the place.
-
-Any::Moose had a good run. It was a simplistic but expedient answer
-for getting Moose syntax on the cheap but with the transparent
-upgrade path to Moose when you needed it. But really, please don't
-use it any more. :)
-
-You may find [MooX::late](https://metacpan.org/pod/MooX::late) useful for porting your code from
-Any::Moose to Moo.
-
-For the sparse documentation Any::Moose used to include, see
-[https://metacpan.org/module/SARTAK/Any-Moose-0.18/lib/Any/Moose.pm](https://metacpan.org/module/SARTAK/Any-Moose-0.18/lib/Any/Moose.pm)
-
-# AUTHORS
-
-- Shawn M Moore <code at sartak.org>
-- Florian Ragwitz <rafl at debian.org>
-- Stevan Little <stevan at iinteractive.com>
-- Tokuhiro Matsuno <tokuhirom at gmail.com>
-- Goro Fuji <gfuji at cpan.org>
-- Ricardo Signes <rjbs at cpan.org>
-
-# COPYRIGHT AND LICENSE
-
-This software is copyright (c) 2014 by Best Practical Solutions.
-
-This is free software; you can redistribute it and/or modify it under
-the same terms as the Perl 5 programming language system itself.
-
-# CONTRIBUTORS
-
-- Chris 'BinGOs' Williams <chris at bingosnet.co.uk>
-- Graham Knop <haarg at haarg.org>
-- Karen Etheridge <ether at cpan.org>
-- Stevan Little <stevan.little at iinteractive.com>
-- gfx <gfuji at cpan.org>
-- tokuhirom <tokuhirom at gmail.com>
diff --git a/dist.ini b/dist.ini
index d9a42cc..f66240a 100644
--- a/dist.ini
+++ b/dist.ini
@@ -9,6 +9,7 @@ license = Perl_5
copyright_holder = Best Practical Solutions
[@Author::ETHER]
+:version = 0.068
installer = MakeMaker ; MBT does not like dynamic_config = 1
Authority.authority = cpan:SARTAK
Test::MinimumVersion.max_target_perl = 5.006002
@@ -28,22 +29,30 @@ x_MailingList = http://lists.perl.org/list/moose.html
[RemovePrereqs]
remove = Moose
remove = Mouse
+remove = Mouse::Util
[OnlyCorePrereqs]
starting_version = 5.006
check_dual_life_versions = 0
[DynamicPrereqs]
--raw = if (eval { require Moose }) {
--raw = # we have any version of Moose; good enough! -- rjbs, 2011-09-15
--raw = # This should fix a crufty edge-case with cpantesting -- bingos, 2011-11-07
--raw = $WriteMakefileArgs{PREREQ_PM}{'Moose'} = $FallbackPrereqs{'Moose'} = '0';
--raw = } else {
--raw = # No Moose? Well, we need *something* to test with, so we'll ask for the
--raw = # lighter-weight one, Mouse. -- rjbs, 2011-09-15
--raw = $WriteMakefileArgs{PREREQ_PM}{'Mouse'} = $FallbackPrereqs{'Mouse'} = '0.40';
--raw = }
+:version = 0.007
+-delimiter = |
+-raw = |if (eval { require Moose }) {
+-raw = | # we have any version of Moose; good enough! -- rjbs, 2011-09-15
+-raw = | # This should fix a crufty edge-case with cpantesting -- bingos, 2011-11-07
+-raw = | $WriteMakefileArgs{PREREQ_PM}{'Moose'} = $FallbackPrereqs{'Moose'} = '0';
+-raw = |} else {
+-raw = | # No Moose? Well, we need *something* to test with, so we'll ask for the
+-raw = | # lighter-weight one, Mouse. -- rjbs, 2011-09-15
+-raw = | $WriteMakefileArgs{PREREQ_PM}{'Mouse'} = $FallbackPrereqs{'Mouse'} = '0.40';
+-raw = |}
; authordep Pod::Weaver::Section::Contributors
-[ContributorsFromGit]
+[Test::CheckBreaks]
+conflicts_module = Moose::Conflicts
+
+[Git::Contributors]
+
+[Deprecated]
diff --git a/lib/Any/Moose.pm b/lib/Any/Moose.pm
index 62cc61d..213f9df 100644
--- a/lib/Any/Moose.pm
+++ b/lib/Any/Moose.pm
@@ -1,12 +1,7 @@
-package Any::Moose;
-BEGIN {
- $Any::Moose::AUTHORITY = 'cpan:SARTAK';
-}
-# git description: v0.23-2-g25d6466
-$Any::Moose::VERSION = '0.24';
-# ABSTRACT: *deprecated* - use Moo instead!
-# KEYWORDS: Moose Mouse abstraction layer object-oriented
-
+package Any::Moose; # git description: v0.25-2-g151f81b
+# ABSTRACT: (DEPRECATED) use Moo instead!
+# KEYWORDS: deprecated Moose Mouse abstraction layer object-oriented
+$Any::Moose::VERSION = '0.26';
use 5.006_002;
use strict;
use warnings;
@@ -36,7 +31,7 @@ do {
elsif (_is_moose_loaded()) {
$PREFERRED = 'Moose';
}
- elsif (eval { require Mouse }) {
+ elsif (eval { require Mouse; require Mouse::Util; Mouse::Util->can('get_metaclass_by_name') }) {
$PREFERRED = 'Mouse';
}
elsif (eval { require Moose }) {
@@ -105,7 +100,9 @@ sub unimport {
sub _backer_of {
my $pkg = shift;
- if(exists $INC{'Mouse.pm'}){
+ if(exists $INC{'Mouse.pm'}
+ and Mouse::Util->can('get_metaclass_by_name')
+ ){
my $meta = Mouse::Util::get_metaclass_by_name($pkg);
if ($meta) {
return 'Mouse::Role' if $meta->isa('Mouse::Meta::Role');
@@ -241,11 +238,11 @@ __END__
=head1 NAME
-Any::Moose - *deprecated* - use Moo instead!
+Any::Moose - (DEPRECATED) use Moo instead!
=head1 VERSION
-version 0.24
+version 0.26
=head1 DEPRECATION
@@ -301,26 +298,28 @@ Ricardo Signes <rjbs at cpan.org>
=head1 COPYRIGHT AND LICENSE
-This software is copyright (c) 2014 by Best Practical Solutions.
+This software is copyright (c) 2015 by Best Practical Solutions.
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
+=for stopwords Karen Etheridge gfx Graham Knop Stevan Little tokuhirom Chris 'BinGOs' Williams
+
=over 4
=item *
-Chris 'BinGOs' Williams <chris at bingosnet.co.uk>
+Karen Etheridge <ether at cpan.org>
=item *
-Graham Knop <haarg at haarg.org>
+gfx <gfuji at cpan.org>
=item *
-Karen Etheridge <ether at cpan.org>
+Graham Knop <haarg at haarg.org>
=item *
@@ -328,11 +327,11 @@ Stevan Little <stevan.little at iinteractive.com>
=item *
-gfx <gfuji at cpan.org>
+tokuhirom <tokuhirom at gmail.com>
=item *
-tokuhirom <tokuhirom at gmail.com>
+Chris 'BinGOs' Williams <chris at bingosnet.co.uk>
=back
diff --git a/t/00-report-prereqs.dd b/t/00-report-prereqs.dd
new file mode 100644
index 0000000..c975834
--- /dev/null
+++ b/t/00-report-prereqs.dd
@@ -0,0 +1,121 @@
+do { my $x = {
+ 'configure' => {
+ 'requires' => {
+ 'ExtUtils::MakeMaker' => '0',
+ 'perl' => '5.006_002'
+ }
+ },
+ 'develop' => {
+ 'recommends' => {
+ 'Dist::Zilla::PluginBundle::Author::ETHER' => '0.085'
+ },
+ 'requires' => {
+ 'Dist::Zilla' => '5',
+ 'Dist::Zilla::Plugin::Authority' => '0',
+ 'Dist::Zilla::Plugin::AuthorityFromModule' => '0.002',
+ 'Dist::Zilla::Plugin::AutoMetaResources' => '0',
+ 'Dist::Zilla::Plugin::AutoPrereqs' => '0',
+ 'Dist::Zilla::Plugin::CheckIssues' => '0',
+ 'Dist::Zilla::Plugin::CheckPrereqsIndexed' => '0',
+ 'Dist::Zilla::Plugin::CheckSelfDependency' => '0',
+ 'Dist::Zilla::Plugin::CheckStrictVersion' => '0',
+ 'Dist::Zilla::Plugin::ConfirmRelease' => '0',
+ 'Dist::Zilla::Plugin::CopyFilesFromRelease' => '0',
+ 'Dist::Zilla::Plugin::Deprecated' => '0',
+ 'Dist::Zilla::Plugin::DynamicPrereqs' => '0.007',
+ 'Dist::Zilla::Plugin::ExecDir' => '0',
+ 'Dist::Zilla::Plugin::FileFinder::ByName' => '0',
+ 'Dist::Zilla::Plugin::GenerateFile::ShareDir' => '0',
+ 'Dist::Zilla::Plugin::Git::Check' => '2.025',
+ 'Dist::Zilla::Plugin::Git::CheckFor::CorrectBranch' => '0.004',
+ 'Dist::Zilla::Plugin::Git::CheckFor::MergeConflicts' => '0',
+ 'Dist::Zilla::Plugin::Git::Commit' => '2.020',
+ 'Dist::Zilla::Plugin::Git::Contributors' => '0.004',
+ 'Dist::Zilla::Plugin::Git::Describe' => '0.004',
+ 'Dist::Zilla::Plugin::Git::GatherDir' => '2.016',
+ 'Dist::Zilla::Plugin::Git::NextVersion' => '0',
+ 'Dist::Zilla::Plugin::Git::Push' => '0',
+ 'Dist::Zilla::Plugin::Git::Remote::Check' => '0',
+ 'Dist::Zilla::Plugin::Git::Tag' => '0',
+ 'Dist::Zilla::Plugin::GitHub::Update' => '0.40',
+ 'Dist::Zilla::Plugin::GithubMeta' => '0',
+ 'Dist::Zilla::Plugin::InstallGuide' => '0',
+ 'Dist::Zilla::Plugin::Keywords' => '0.004',
+ 'Dist::Zilla::Plugin::License' => '0',
+ 'Dist::Zilla::Plugin::MakeMaker' => '0',
+ 'Dist::Zilla::Plugin::Manifest' => '0',
+ 'Dist::Zilla::Plugin::MetaConfig' => '0',
+ 'Dist::Zilla::Plugin::MetaJSON' => '0',
+ 'Dist::Zilla::Plugin::MetaNoIndex' => '0',
+ 'Dist::Zilla::Plugin::MetaProvides::Package' => '1.15000002',
+ 'Dist::Zilla::Plugin::MetaResources' => '0',
+ 'Dist::Zilla::Plugin::MetaTests' => '0',
+ 'Dist::Zilla::Plugin::MetaYAML' => '0',
+ 'Dist::Zilla::Plugin::MinimumPerl' => '1.006',
+ 'Dist::Zilla::Plugin::MojibakeTests' => '0',
+ 'Dist::Zilla::Plugin::NextRelease' => '4.300018',
+ 'Dist::Zilla::Plugin::OnlyCorePrereqs' => '0',
+ 'Dist::Zilla::Plugin::PkgVersion' => '5.010',
+ 'Dist::Zilla::Plugin::PodSyntaxTests' => '0',
+ 'Dist::Zilla::Plugin::PodWeaver' => '4.005',
+ 'Dist::Zilla::Plugin::Prereqs' => '0',
+ 'Dist::Zilla::Plugin::Prereqs::AuthorDeps' => '0',
+ 'Dist::Zilla::Plugin::PromptIfStale' => '0',
+ 'Dist::Zilla::Plugin::Readme' => '0',
+ 'Dist::Zilla::Plugin::ReadmeAnyFromPod' => '0.142180',
+ 'Dist::Zilla::Plugin::RemovePrereqs' => '0',
+ 'Dist::Zilla::Plugin::Run::AfterBuild' => '0.028',
+ 'Dist::Zilla::Plugin::Run::AfterRelease' => '0.031',
+ 'Dist::Zilla::Plugin::RunExtraTests' => '0.024',
+ 'Dist::Zilla::Plugin::ShareDir' => '0',
+ 'Dist::Zilla::Plugin::Test::CPAN::Changes' => '0.008',
+ 'Dist::Zilla::Plugin::Test::ChangesHasContent' => '0',
+ 'Dist::Zilla::Plugin::Test::CheckBreaks' => '0',
+ 'Dist::Zilla::Plugin::Test::Compile' => '2.039',
+ 'Dist::Zilla::Plugin::Test::EOL' => '0.14',
+ 'Dist::Zilla::Plugin::Test::Kwalitee' => '2.06',
+ 'Dist::Zilla::Plugin::Test::MinimumVersion' => '2.000003',
+ 'Dist::Zilla::Plugin::Test::NoTabs' => '0.08',
+ 'Dist::Zilla::Plugin::Test::Pod::No404s' => '0',
+ 'Dist::Zilla::Plugin::Test::PodSpelling' => '2.006001',
+ 'Dist::Zilla::Plugin::Test::Portability' => '0',
+ 'Dist::Zilla::Plugin::Test::ReportPrereqs' => '0.019',
+ 'Dist::Zilla::Plugin::TestRelease' => '0',
+ 'Dist::Zilla::Plugin::UploadToCPAN' => '0',
+ 'Dist::Zilla::PluginBundle::Author::ETHER' => '0.068',
+ 'File::Spec' => '0',
+ 'IO::Handle' => '0',
+ 'IPC::Open3' => '0',
+ 'Pod::Weaver::Section::Contributors' => '0',
+ 'Test::CPAN::Changes' => '0.19',
+ 'Test::CPAN::Meta' => '0',
+ 'Test::EOL' => '0',
+ 'Test::Kwalitee' => '1.21',
+ 'Test::More' => '0.94',
+ 'Test::NoTabs' => '0',
+ 'Test::Pod' => '1.41',
+ 'Test::Spelling' => '0.12'
+ }
+ },
+ 'runtime' => {
+ 'requires' => {
+ 'Carp' => '0',
+ 'perl' => '5.006_002',
+ 'strict' => '0',
+ 'warnings' => '0'
+ }
+ },
+ 'test' => {
+ 'recommends' => {
+ 'CPAN::Meta' => '2.120900'
+ },
+ 'requires' => {
+ 'ExtUtils::MakeMaker' => '0',
+ 'File::Spec' => '0',
+ 'Test::More' => '0.88',
+ 'perl' => '5.006_002'
+ }
+ }
+ };
+ $x;
+ }
\ No newline at end of file
diff --git a/t/00-report-prereqs.t b/t/00-report-prereqs.t
index a2ef71b..f2a89cd 100644
--- a/t/00-report-prereqs.t
+++ b/t/00-report-prereqs.t
@@ -3,37 +3,63 @@
use strict;
use warnings;
-# This test was generated by Dist::Zilla::Plugin::Test::ReportPrereqs 0.013
+# This test was generated by Dist::Zilla::Plugin::Test::ReportPrereqs 0.019
use Test::More tests => 1;
use ExtUtils::MakeMaker;
-use File::Spec::Functions;
-use List::Util qw/max/;
-use version;
+use File::Spec;
+
+# from $version::LAX
+my $lax_version_re =
+ qr/(?: undef | (?: (?:[0-9]+) (?: \. | (?:\.[0-9]+) (?:_[0-9]+)? )?
+ |
+ (?:\.[0-9]+) (?:_[0-9]+)?
+ ) | (?:
+ v (?:[0-9]+) (?: (?:\.[0-9]+)+ (?:_[0-9]+)? )?
+ |
+ (?:[0-9]+)? (?:\.[0-9]+){2,} (?:_[0-9]+)?
+ )
+ )/x;
# 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')";
+my $cpan_meta_pre = "CPAN::Meta::Prereqs";
+my $HAS_CPAN_META = eval "require $cpan_meta; $cpan_meta->VERSION('2.120900')" && eval "require $cpan_meta_pre"; ## no critic
# Verify requirements?
my $DO_VERIFY_PREREQS = 1;
-sub _merge_requires {
+sub _max {
+ my $max = shift;
+ $max = ( $_ > $max ) ? $_ : $max for @_;
+ return $max;
+}
+
+sub _merge_prereqs {
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 );
+
+ # CPAN::Meta::Prereqs object
+ if (ref $collector eq $cpan_meta_pre) {
+ return $collector->with_merged_prereqs(
+ CPAN::Meta::Prereqs->new( $prereqs )
+ );
+ }
+
+ # Raw hashrefs
+ for my $phase ( keys %$prereqs ) {
+ for my $type ( keys %{ $prereqs->{$phase} } ) {
+ for my $module ( keys %{ $prereqs->{$phase}{$type} } ) {
+ $collector->{$phase}{$type}{$module} = $prereqs->{$phase}{$type}{$module};
+ }
}
}
+
+ return $collector;
}
-my %include = map {; $_ => 1 } qw(
+my @include = qw(
Class::MOP
Moose
MooseX::Types
@@ -43,154 +69,112 @@ my %include = map {; $_ => 1 } qw(
Role::Tiny
);
-my %exclude = map {; $_ => 1 } qw(
+my @exclude = qw(
);
# Add static prereqs to the included modules list
-my $static_prereqs = do { my $x = {
- 'configure' => {
- 'requires' => {
- 'ExtUtils::MakeMaker' => '6.30'
- }
- },
- 'develop' => {
- 'recommends' => {
- 'Dist::Zilla::PluginBundle::Author::ETHER' => '0.065'
- },
- 'requires' => {
- 'Dist::Zilla' => '5',
- 'Dist::Zilla::Plugin::ContributorsFromGit' => '0',
- 'Dist::Zilla::Plugin::DynamicPrereqs' => '0',
- 'Dist::Zilla::Plugin::GitHub::Update' => '0',
- 'Dist::Zilla::Plugin::GithubMeta' => '0',
- 'Dist::Zilla::Plugin::MakeMaker' => '0',
- 'Dist::Zilla::Plugin::MetaResources' => '0',
- 'Dist::Zilla::Plugin::OnlyCorePrereqs' => '0',
- 'Dist::Zilla::Plugin::RemovePrereqs' => '0',
- 'Dist::Zilla::PluginBundle::Author::ETHER' => '0',
- 'File::Spec' => '0',
- 'IO::Handle' => '0',
- 'IPC::Open3' => '0',
- 'Pod::Weaver::Section::Contributors' => '0',
- 'Test::CPAN::Changes' => '0.19',
- 'Test::CPAN::Meta' => '0',
- 'Test::Kwalitee' => '1.12',
- 'Test::More' => '0.94',
- 'Test::NoTabs' => '0',
- 'Test::Pod' => '1.41',
- 'Test::Spelling' => '0.12'
- }
- },
- 'runtime' => {
- 'requires' => {
- 'Carp' => '0',
- 'perl' => '5.006_002',
- 'strict' => '0',
- 'warnings' => '0'
- }
- },
- 'test' => {
- 'recommends' => {
- 'CPAN::Meta' => '0',
- 'CPAN::Meta::Requirements' => '2.120900'
- },
- 'requires' => {
- 'ExtUtils::MakeMaker' => '0',
- 'File::Spec::Functions' => '0',
- 'List::Util' => '0',
- 'Test::More' => '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);
-}
+my $static_prereqs = do 't/00-report-prereqs.dd';
+# Merge all prereqs (either with ::Prereqs or a hashref)
+my $full_prereqs = _merge_prereqs(
+ ( $HAS_CPAN_META ? $cpan_meta_pre->new : {} ),
+ $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);
+ if ( my $meta = eval { CPAN::Meta->load_file($source) } ) {
+ $full_prereqs = _merge_prereqs($full_prereqs, $meta->prereqs);
}
- }
}
else {
- $source = 'static metadata';
+ $source = 'static metadata';
}
-my @modules = sort grep { ! $exclude{$_} } keys %include;
-my @reports = [qw/Version Module/];
+my @full_reports;
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'";
+my $req_hash = $HAS_CPAN_META ? $full_prereqs->as_string_hash : $full_prereqs;
+
+# Add static includes into a fake section
+for my $mod (@include) {
+ $req_hash->{other}{modules}{$mod} = 0;
+}
+
+for my $phase ( qw(configure build test runtime develop other) ) {
+ next unless $req_hash->{$phase};
+ next if ($phase eq 'develop' and not $ENV{AUTHOR_TESTING});
+
+ for my $type ( qw(requires recommends suggests conflicts modules) ) {
+ next unless $req_hash->{$phase}{$type};
+
+ my $title = ucfirst($phase).' '.ucfirst($type);
+ my @reports = [qw/Module Want Have/];
+
+ for my $mod ( sort keys %{ $req_hash->{$phase}{$type} } ) {
+ next if $mod eq 'perl';
+ next if grep { $_ eq $mod } @exclude;
+
+ my $file = $mod;
+ $file =~ s{::}{/}g;
+ $file .= ".pm";
+ my ($prefix) = grep { -e File::Spec->catfile($_, $file) } @INC;
+
+ my $want = $req_hash->{$phase}{$type}{$mod};
+ $want = "undef" unless defined $want;
+ $want = "any" if !$want && $want == 0;
+
+ my $req_string = $want eq 'any' ? 'any version required' : "version '$want' required";
+
+ if ($prefix) {
+ my $have = MM->parse_version( File::Spec->catfile($prefix, $file) );
+ $have = "undef" unless defined $have;
+ push @reports, [$mod, $want, $have];
+
+ if ( $DO_VERIFY_PREREQS && $HAS_CPAN_META && $type eq 'requires' ) {
+ if ( $have !~ /\A$lax_version_re\z/ ) {
+ push @dep_errors, "$mod version '$have' cannot be parsed ($req_string)";
+ }
+ elsif ( ! $full_prereqs->requirements_for( $phase, $type )->accepts_module( $mod => $have ) ) {
+ push @dep_errors, "$mod version '$have' is not in required range '$want'";
+ }
+ }
+ }
+ else {
+ push @reports, [$mod, $want, "missing"];
+
+ if ( $DO_VERIFY_PREREQS && $type eq 'requires' ) {
+ push @dep_errors, "$mod is not installed ($req_string)";
+ }
+ }
}
- }
- }
- }
- else {
- push @reports, ["missing", $mod];
+ if ( @reports ) {
+ push @full_reports, "=== $title ===\n\n";
- 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)";
- }
+ my $ml = _max( map { length $_->[0] } @reports );
+ my $wl = _max( map { length $_->[1] } @reports );
+ my $hl = _max( map { length $_->[2] } @reports );
+ splice @reports, 1, 0, ["-" x $ml, "-" x $wl, "-" x $hl];
+
+ push @full_reports, map { sprintf(" %*s %*s %*s\n", -$ml, $_->[0], $wl, $_->[1], $hl, $_->[2]) } @reports;
+ push @full_reports, "\n";
+ }
}
- }
}
-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 ( @full_reports ) {
+ diag "\nVersions for all modules listed in $source (including optional ones):\n\n", @full_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"
- );
+ 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;
diff --git a/t/zzz-check-breaks.t b/t/zzz-check-breaks.t
new file mode 100644
index 0000000..b5a04a4
--- /dev/null
+++ b/t/zzz-check-breaks.t
@@ -0,0 +1,18 @@
+use strict;
+use warnings;
+
+# this test was generated with Dist::Zilla::Plugin::Test::CheckBreaks 0.011
+
+use Test::More 0.88;
+
+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 --git a/xt/author/00-compile.t b/xt/author/00-compile.t
index 1ef3895..499ce75 100644
--- a/xt/author/00-compile.t
+++ b/xt/author/00-compile.t
@@ -2,11 +2,11 @@ use 5.006;
use strict;
use warnings;
-# this test was generated with Dist::Zilla::Plugin::Test::Compile 2.043
-
-use Test::More 0.94 tests => 1 + ($ENV{AUTHOR_TESTING} ? 1 : 0);
+# this test was generated with Dist::Zilla::Plugin::Test::Compile 2.051
+use Test::More 0.94;
+plan tests => 1 + ($ENV{AUTHOR_TESTING} ? 1 : 0);
my @module_files = (
'Any/Moose.pm'
@@ -45,6 +45,7 @@ for my $lib (@module_files)
-is(scalar(@warnings), 0, 'no warnings found') if $ENV{AUTHOR_TESTING};
+is(scalar(@warnings), 0, 'no warnings found')
+ or diag 'got warnings: ', explain(\@warnings) if $ENV{AUTHOR_TESTING};
BAIL_OUT("Compilation problems") if !Test::More->builder->is_passing;
diff --git a/xt/release/eol.t b/xt/author/eol.t
similarity index 58%
rename from xt/release/eol.t
rename to xt/author/eol.t
index d13c49d..24b0b33 100644
--- a/xt/release/eol.t
+++ b/xt/author/eol.t
@@ -2,7 +2,7 @@ use strict;
use warnings;
use Test::More;
-eval 'use Test::EOL';
-plan skip_all => 'Test::EOL required' if $@;
+# generated by Dist::Zilla::Plugin::Test::EOL 0.16
+use Test::EOL;
all_perl_files_ok({ trailing_whitespace => 1 });
diff --git a/xt/release/no-tabs.t b/xt/author/no-tabs.t
similarity index 91%
rename from xt/release/no-tabs.t
rename to xt/author/no-tabs.t
index a9adb6d..c710a5f 100644
--- a/xt/release/no-tabs.t
+++ b/xt/author/no-tabs.t
@@ -1,13 +1,14 @@
use strict;
use warnings;
-# this test was generated with Dist::Zilla::Plugin::Test::NoTabs 0.08
+# this test was generated with Dist::Zilla::Plugin::Test::NoTabs 0.13
use Test::More 0.88;
use Test::NoTabs;
my @files = (
'lib/Any/Moose.pm',
+ 't/00-report-prereqs.dd',
't/00-report-prereqs.t',
't/000-version.t',
't/001-basic-moose.t',
@@ -28,16 +29,17 @@ my @files = (
't/100-canonicalize-fragments.t',
't/101-localize-errvar.t',
't/lib/AnyMooseTest.pm',
+ 't/zzz-check-breaks.t',
'xt/author/00-compile.t',
+ 'xt/author/eol.t',
+ 'xt/author/no-tabs.t',
'xt/author/pod-spell.t',
'xt/release/changes_has_content.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'
diff --git a/xt/author/pod-spell.t b/xt/author/pod-spell.t
index 6ef1c65..7c41be1 100644
--- a/xt/author/pod-spell.t
+++ b/xt/author/pod-spell.t
@@ -31,17 +31,17 @@ rjbs
Best
Practical
Solutions
-Chris
-BinGOs
-Williams
-chris
-Graham
-Knop
-haarg
Karen
Etheridge
ether
gfx
+Graham
+Knop
+haarg
+Chris
+BinGOs
+Williams
+chris
lib
Any
Moose
diff --git a/xt/release/changes_has_content.t b/xt/release/changes_has_content.t
index 6334b94..d2969b8 100644
--- a/xt/release/changes_has_content.t
+++ b/xt/release/changes_has_content.t
@@ -4,7 +4,7 @@ use Test::More tests => 2;
note 'Checking Changes';
my $changes_file = 'Changes';
-my $newver = '0.24';
+my $newver = '0.26';
my $trial_token = '-TRIAL';
SKIP: {
diff --git a/xt/release/kwalitee.t b/xt/release/kwalitee.t
index 13cecfa..bcbce84 100644
--- a/xt/release/kwalitee.t
+++ b/xt/release/kwalitee.t
@@ -1,4 +1,9 @@
-# this test was generated with Dist::Zilla::Plugin::Test::Kwalitee 2.07
+# this test was generated with Dist::Zilla::Plugin::Test::Kwalitee 2.11
use strict;
use warnings;
-use Test::Kwalitee;
+use Test::More 0.88;
+use Test::Kwalitee 1.21 'kwalitee_ok';
+
+kwalitee_ok();
+
+done_testing;
diff --git a/xt/release/portability.t b/xt/release/portability.t
index e68185d..bb53c7b 100644
--- a/xt/release/portability.t
+++ b/xt/release/portability.t
@@ -8,4 +8,5 @@ use Test::More;
eval 'use Test::Portability::Files';
plan skip_all => 'Test::Portability::Files required for testing portability'
if $@;
+
run_tests();
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libany-moose-perl.git
More information about the Pkg-perl-cvs-commits
mailing list