@@ -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/perl-qa.html.
There is also an irc channel available for users of this distribution, at
irc://irc.perl.org/#perl-qa.
+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.081.
@@ -1,5 +1,16 @@
Revision history for Test-Warnings
+0.019 2014-12-18 20:07:02Z
+ - fix test to allow for special characters (e.g. MSWin32 file
+ separators) in filenames (A. Sinan Unur, PR#7)
+
+0.018 2014-12-17 18:17:30Z
+ - fix test to not depend on message formatting changes in newer Carp
+
+0.017 2014-12-16 20:17:22Z
+ - handle other warning handlers passing us partial warning messages
+ by re-adding the source file and line number
+
0.016 2014-06-21 04:04:55Z
- fix prereq problem with last release - now no longer testing the
example scripts for user installs
@@ -1,4 +1,3 @@
-
This is the Perl distribution Test-Warnings.
Installing Test-Warnings is straightforward.
@@ -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.029.
CONTRIBUTING
Changes
INSTALL
@@ -8,7 +8,6 @@ META.json
META.yml
Makefile.PL
README
-README.md
dist.ini
examples/no_plan.t
examples/sub.t
@@ -20,6 +19,7 @@ examples/warning_like.t
examples/with_done_testing.t
examples/with_plan.t
lib/Test/Warnings.pm
+t/00-report-prereqs.dd
t/00-report-prereqs.t
t/01-basic.t
t/02-done_testing.t
@@ -32,21 +32,22 @@ t/08-use-if.t
t/09-warnings-contents.t
t/10-no-done_testing.t
t/11-double-use.t
+t/12-no-newline.t
weaver.ini
xt/author/00-compile.t
+xt/author/clean-namespaces.t
+xt/author/eol.t
xt/author/examples_synopsis_1.t
xt/author/examples_synopsis_2.t
xt/author/examples_test_warning_contents.t
+xt/author/no-tabs.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-coverage.t
xt/release/pod-no404s.t
xt/release/pod-syntax.t
@@ -4,7 +4,7 @@
"Karen Etheridge <ether@cpan.org>"
],
"dynamic_config" : 0,
- "generated_by" : "Dist::Zilla version 5.019, CPAN::Meta::Converter version 2.141520",
+ "generated_by" : "Dist::Zilla version 5.029, CPAN::Meta::Converter version 2.143240",
"keywords" : [
"testing",
"tests",
@@ -15,7 +15,7 @@
],
"meta-spec" : {
"url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
- "version" : "2"
+ "version" : 2
},
"name" : "Test-Warnings",
"no_index" : {
@@ -28,26 +28,87 @@
"prereqs" : {
"configure" : {
"requires" : {
- "ExtUtils::MakeMaker" : "6.30"
+ "ExtUtils::MakeMaker" : "0",
+ "perl" : "5.006"
}
},
"develop" : {
"recommends" : {
- "Dist::Zilla::PluginBundle::Author::ETHER" : "0.065"
+ "Dist::Zilla::PluginBundle::Author::ETHER" : "0.081"
},
"requires" : {
"Dist::Zilla" : "5",
- "Dist::Zilla::Plugin::ContributorsFromGit" : "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::ExecDir" : "0",
+ "Dist::Zilla::Plugin::FileFinder::ByName" : "0",
"Dist::Zilla::Plugin::GenerateFile" : "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",
+ "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",
"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.013",
+ "Dist::Zilla::Plugin::PkgVersion" : "5.026",
+ "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::Prereqs::Soften" : "0",
+ "Dist::Zilla::Plugin::PromptIfStale" : "0",
+ "Dist::Zilla::Plugin::Readme" : "0",
+ "Dist::Zilla::Plugin::ReadmeAnyFromPod" : "0.142180",
+ "Dist::Zilla::Plugin::Run::AfterBuild" : "0.028",
+ "Dist::Zilla::Plugin::Run::AfterRelease" : "0.024",
+ "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::CleanNamespaces" : "0",
- "Dist::Zilla::PluginBundle::Author::ETHER" : "0.041",
+ "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",
@@ -55,9 +116,10 @@
"Pod::Weaver::Section::Contributors" : "0",
"Test::CPAN::Changes" : "0.19",
"Test::CPAN::Meta" : "0",
- "Test::CleanNamespaces" : ">= 0.04, != 0.06",
+ "Test::CleanNamespaces" : "0.15",
"Test::Deep" : "0",
- "Test::Kwalitee" : "1.12",
+ "Test::EOL" : "0",
+ "Test::Kwalitee" : "1.21",
"Test::More" : "0.94",
"Test::NoTabs" : "0",
"Test::NoWarnings" : "0",
@@ -67,6 +129,7 @@
},
"runtime" : {
"requires" : {
+ "Carp" : "0",
"Exporter" : "0",
"Test::Builder" : "0",
"parent" : "0",
@@ -77,24 +140,22 @@
},
"test" : {
"recommends" : {
- "CPAN::Meta" : "0",
- "CPAN::Meta::Requirements" : "2.120900",
+ "CPAN::Meta" : "2.120900",
"Test::Tester" : "0.108"
},
"requires" : {
"ExtUtils::MakeMaker" : "0",
- "File::Spec::Functions" : "0",
- "List::Util" : "0",
+ "File::Spec" : "0",
"Test::More" : "0.94",
"if" : "0",
- "version" : "0"
+ "perl" : "5.006"
}
}
},
"provides" : {
"Test::Warnings" : {
"file" : "lib/Test/Warnings.pm",
- "version" : "0.016"
+ "version" : "0.019"
}
},
"release_status" : "stable",
@@ -112,13 +173,24 @@
"x_IRC" : "irc://irc.perl.org/#perl-qa",
"x_MailingList" : "http://lists.perl.org/list/perl-qa.html"
},
- "version" : "0.016",
+ "version" : "0.019",
"x_Dist_Zilla" : {
"perl" : {
- "version" : "5.020000"
+ "version" : "5.021005"
},
"plugins" : [
{
+ "class" : "Dist::Zilla::Plugin::Prereqs",
+ "config" : {
+ "Dist::Zilla::Plugin::Prereqs" : {
+ "phase" : "develop",
+ "type" : "requires"
+ }
+ },
+ "name" : "@Author::ETHER/bundle_plugins",
+ "version" : "5.029"
+ },
+ {
"class" : "Dist::Zilla::Plugin::Git::NextVersion",
"config" : {
"Dist::Zilla::Plugin::Git::NextVersion" : {
@@ -131,12 +203,7 @@
}
},
"name" : "@Author::ETHER/Git::NextVersion",
- "version" : "2.023"
- },
- {
- "class" : "Dist::Zilla::Plugin::EnsurePrereqsInstalled",
- "name" : "@Author::ETHER/EnsurePrereqsInstalled",
- "version" : "0.003"
+ "version" : "2.028"
},
{
"class" : "Dist::Zilla::Plugin::PromptIfStale",
@@ -151,8 +218,8 @@
"skip" : []
}
},
- "name" : "@Author::ETHER/build",
- "version" : "0.023"
+ "name" : "@Author::ETHER/stale modules, build",
+ "version" : "0.032"
},
{
"class" : "Dist::Zilla::Plugin::PromptIfStale",
@@ -165,32 +232,46 @@
"skip" : []
}
},
- "name" : "@Author::ETHER/release",
- "version" : "0.023"
+ "name" : "@Author::ETHER/stale modules, release",
+ "version" : "0.032"
},
{
"class" : "Dist::Zilla::Plugin::ExecDir",
"name" : "@Author::ETHER/ExecDir",
- "version" : "5.019"
+ "version" : "5.029"
},
{
"class" : "Dist::Zilla::Plugin::ShareDir",
"name" : "@Author::ETHER/ShareDir",
- "version" : "5.019"
+ "version" : "5.029"
},
{
"class" : "Dist::Zilla::Plugin::FileFinder::ByName",
"name" : "@Author::ETHER/Examples",
- "version" : "5.019"
+ "version" : "5.029"
},
{
"class" : "Dist::Zilla::Plugin::FileFinder::ByName",
"name" : "@Author::ETHER/ExtraTestFiles",
- "version" : "5.019"
+ "version" : "5.029"
},
{
"class" : "Dist::Zilla::Plugin::Git::GatherDir",
"config" : {
+ "Dist::Zilla::Plugin::GatherDir" : {
+ "exclude_filename" : [
+ "README.pod",
+ "LICENSE",
+ "CONTRIBUTING",
+ "blog_20130309.md"
+ ],
+ "exclude_match" : [],
+ "follow_symlinks" : "0",
+ "include_dotfiles" : "0",
+ "prefix" : "",
+ "prune_directory" : [],
+ "root" : "."
+ },
"Dist::Zilla::Plugin::Git::GatherDir" : {
"include_untracked" : "0"
},
@@ -199,32 +280,32 @@
}
},
"name" : "@Author::ETHER/Git::GatherDir",
- "version" : "2.023"
+ "version" : "2.028"
},
{
"class" : "Dist::Zilla::Plugin::MetaYAML",
"name" : "@Author::ETHER/MetaYAML",
- "version" : "5.019"
+ "version" : "5.029"
},
{
"class" : "Dist::Zilla::Plugin::MetaJSON",
"name" : "@Author::ETHER/MetaJSON",
- "version" : "5.019"
+ "version" : "5.029"
},
{
"class" : "Dist::Zilla::Plugin::License",
"name" : "@Author::ETHER/License",
- "version" : "5.019"
+ "version" : "5.029"
},
{
"class" : "Dist::Zilla::Plugin::Readme",
"name" : "@Author::ETHER/Readme",
- "version" : "5.019"
+ "version" : "5.029"
},
{
"class" : "Dist::Zilla::Plugin::Manifest",
"name" : "@Author::ETHER/Manifest",
- "version" : "5.019"
+ "version" : "5.029"
},
{
"class" : "Dist::Zilla::Plugin::GenerateFile::ShareDir",
@@ -233,6 +314,7 @@
"destination_filename" : "CONTRIBUTING",
"dist" : "Dist-Zilla-PluginBundle-Author-ETHER",
"encoding" : "UTF-8",
+ "has_xs" : 0,
"source_filename" : "CONTRIBUTING"
}
},
@@ -240,26 +322,38 @@
"version" : "0.005"
},
{
+ "class" : "Dist::Zilla::Plugin::InstallGuide",
+ "name" : "@Author::ETHER/InstallGuide",
+ "version" : "1.200005"
+ },
+ {
"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",
@@ -270,17 +364,22 @@
}
},
"name" : "@Author::ETHER/Test::NoTabs",
- "version" : "0.08"
+ "version" : "0.09"
},
{
- "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.029"
},
{
"class" : "Dist::Zilla::Plugin::Test::CPAN::Changes",
@@ -290,7 +389,7 @@
{
"class" : "Dist::Zilla::Plugin::Test::ChangesHasContent",
"name" : "@Author::ETHER/Test::ChangesHasContent",
- "version" : "0.006"
+ "version" : "0.007"
},
{
"class" : "Dist::Zilla::Plugin::Test::MinimumVersion",
@@ -300,7 +399,7 @@
{
"class" : "Dist::Zilla::Plugin::PodSyntaxTests",
"name" : "@Author::ETHER/PodSyntaxTests",
- "version" : "5.019"
+ "version" : "5.029"
},
{
"class" : "Dist::Zilla::Plugin::Test::PodSpelling",
@@ -314,8 +413,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",
@@ -325,7 +430,7 @@
{
"class" : "Dist::Zilla::Plugin::Test::ReportPrereqs",
"name" : "@Author::ETHER/Test::ReportPrereqs",
- "version" : "0.013"
+ "version" : "0.019"
},
{
"class" : "Dist::Zilla::Plugin::Test::Portability",
@@ -340,12 +445,7 @@
{
"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.029"
},
{
"class" : "Dist::Zilla::Plugin::PodWeaver",
@@ -359,108 +459,108 @@
{
"class" : "Pod::Weaver::Plugin::EnsurePod5",
"name" : "@CorePrep/EnsurePod5",
- "version" : "4.006"
+ "version" : "4.009"
},
{
"class" : "Pod::Weaver::Plugin::H1Nester",
"name" : "@CorePrep/H1Nester",
- "version" : "4.006"
+ "version" : "4.009"
},
{
"class" : "Pod::Weaver::Plugin::SingleEncoding",
"name" : "@Default/SingleEncoding",
- "version" : "4.006"
+ "version" : "4.009"
},
{
"class" : "Pod::Weaver::Section::Name",
"name" : "@Default/Name",
- "version" : "4.006"
+ "version" : "4.009"
},
{
"class" : "Pod::Weaver::Section::Version",
"name" : "@Default/Version",
- "version" : "4.006"
+ "version" : "4.009"
},
{
"class" : "Pod::Weaver::Section::Region",
"name" : "@Default/prelude",
- "version" : "4.006"
+ "version" : "4.009"
},
{
"class" : "Pod::Weaver::Section::Generic",
"name" : "SYNOPSIS",
- "version" : "4.006"
+ "version" : "4.009"
},
{
"class" : "Pod::Weaver::Section::Generic",
"name" : "DESCRIPTION",
- "version" : "4.006"
+ "version" : "4.009"
},
{
"class" : "Pod::Weaver::Section::Generic",
"name" : "OVERVIEW",
- "version" : "4.006"
+ "version" : "4.009"
},
{
"class" : "Pod::Weaver::Section::Collect",
"name" : "ATTRIBUTES",
- "version" : "4.006"
+ "version" : "4.009"
},
{
"class" : "Pod::Weaver::Section::Collect",
"name" : "METHODS",
- "version" : "4.006"
+ "version" : "4.009"
},
{
"class" : "Pod::Weaver::Section::Collect",
"name" : "FUNCTIONS",
- "version" : "4.006"
+ "version" : "4.009"
},
{
"class" : "Pod::Weaver::Section::Leftovers",
"name" : "@Default/Leftovers",
- "version" : "4.006"
+ "version" : "4.009"
},
{
"class" : "Pod::Weaver::Section::Region",
"name" : "@Default/postlude",
- "version" : "4.006"
+ "version" : "4.009"
},
{
"class" : "Pod::Weaver::Section::Authors",
"name" : "@Default/Authors",
- "version" : "4.006"
+ "version" : "4.009"
},
{
"class" : "Pod::Weaver::Section::Legal",
"name" : "@Default/Legal",
- "version" : "4.006"
+ "version" : "4.009"
},
{
"class" : "Pod::Weaver::Plugin::Transformer",
"name" : "-Transformer",
- "version" : "4.006"
+ "version" : "4.009"
},
{
"class" : "Pod::Weaver::Section::Contributors",
"name" : "Contributors",
- "version" : "0.007"
+ "version" : "0.008"
}
]
}
},
"name" : "@Author::ETHER/PodWeaver",
- "version" : "4.005"
+ "version" : "4.006"
},
{
"class" : "Dist::Zilla::Plugin::NextRelease",
"name" : "@Author::ETHER/NextRelease",
- "version" : "5.019"
+ "version" : "5.029"
},
{
"class" : "Dist::Zilla::Plugin::ReadmeAnyFromPod",
"name" : "@Author::ETHER/ReadmeAnyFromPod",
- "version" : "0.141120"
+ "version" : "0.142470"
},
{
"class" : "Dist::Zilla::Plugin::GithubMeta",
@@ -473,9 +573,24 @@
"version" : "1.20"
},
{
+ "class" : "Dist::Zilla::Plugin::AuthorityFromModule",
+ "config" : {
+ "Dist::Zilla::Plugin::AuthorityFromModule" : {
+ "module" : "Test::Warnings"
+ }
+ },
+ "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.029"
},
{
"class" : "Dist::Zilla::Plugin::MetaProvides::Package",
@@ -488,7 +603,7 @@
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":InstallModules",
- "version" : "5.019"
+ "version" : "5.029"
}
]
},
@@ -499,43 +614,54 @@
}
},
"name" : "@Author::ETHER/MetaProvides::Package",
- "version" : "2.000001"
+ "version" : "2.001003"
},
{
"class" : "Dist::Zilla::Plugin::MetaConfig",
"name" : "@Author::ETHER/MetaConfig",
- "version" : "5.019"
+ "version" : "5.029"
},
{
"class" : "Dist::Zilla::Plugin::Keywords",
+ "config" : {
+ "Dist::Zilla::Plugin::Keywords" : {
+ "keywords" : [
+ "testing",
+ "tests",
+ "warnings"
+ ]
+ }
+ },
"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.008"
},
{
"class" : "Dist::Zilla::Plugin::AutoPrereqs",
"name" : "@Author::ETHER/AutoPrereqs",
- "version" : "5.019"
+ "version" : "5.029"
},
{
"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",
@@ -546,7 +672,7 @@
}
},
"name" : "@Author::ETHER/pluginbundle_version",
- "version" : "5.019"
+ "version" : "5.029"
},
{
"class" : "Dist::Zilla::Plugin::MakeMaker",
@@ -556,12 +682,7 @@
}
},
"name" : "@Author::ETHER/MakeMaker",
- "version" : "5.019"
- },
- {
- "class" : "Dist::Zilla::Plugin::InstallGuide",
- "name" : "@Author::ETHER/InstallGuide",
- "version" : "1.200003"
+ "version" : "5.029"
},
{
"class" : "Dist::Zilla::Plugin::RunExtraTests",
@@ -571,7 +692,7 @@
}
},
"name" : "@Author::ETHER/RunExtraTests",
- "version" : "0.021"
+ "version" : "0.025"
},
{
"class" : "Dist::Zilla::Plugin::CheckSelfDependency",
@@ -583,12 +704,31 @@
}
},
"name" : "@Author::ETHER/CheckSelfDependency",
- "version" : "0.007"
+ "version" : "0.009"
},
{
"class" : "Dist::Zilla::Plugin::Run::AfterBuild",
- "name" : "@Author::ETHER/Run::AfterBuild",
- "version" : "0.021"
+ "config" : {
+ "Dist::Zilla::Plugin::Run::Role::Runner" : {
+ "run" : [
+ "bash -c \"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.028"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::Run::AfterBuild",
+ "config" : {
+ "Dist::Zilla::Plugin::Run::Role::Runner" : {
+ "eval" : [
+ "if ('%d' =~ /^%n-[.[:xdigit:]]+$/) { unlink '.latest'; symlink '%d', '.latest'; }"
+ ]
+ }
+ },
+ "name" : "@Author::ETHER/.latest",
+ "version" : "0.028"
},
{
"class" : "Dist::Zilla::Plugin::CheckStrictVersion",
@@ -611,7 +751,7 @@
}
},
"name" : "@Author::ETHER/initial check",
- "version" : "2.023"
+ "version" : "2.028"
},
{
"class" : "Dist::Zilla::Plugin::Git::CheckFor::MergeConflicts",
@@ -636,17 +776,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.013"
},
{
"class" : "Dist::Zilla::Plugin::TestRelease",
"name" : "@Author::ETHER/TestRelease",
- "version" : "5.019"
+ "version" : "5.029"
},
{
"class" : "Dist::Zilla::Plugin::Git::Check",
@@ -664,22 +804,43 @@
}
},
"name" : "@Author::ETHER/after tests",
- "version" : "2.023"
+ "version" : "2.028"
},
{
"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.029"
},
{
"class" : "Dist::Zilla::Plugin::CopyFilesFromRelease",
+ "config" : {
+ "Dist::Zilla::Plugin::CopyFilesFromRelease" : {
+ "filename" : [
+ "LICENSE",
+ "CONTRIBUTING"
+ ],
+ "match" : []
+ }
+ },
"name" : "@Author::ETHER/CopyFilesFromRelease",
- "version" : "0.001"
+ "version" : "0.003"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::Run::AfterRelease",
+ "config" : {
+ "Dist::Zilla::Plugin::Run::Role::Runner" : {
+ "eval" : [
+ "unlink 'README.md'"
+ ]
+ }
+ },
+ "name" : "@Author::ETHER/remove old READMEs",
+ "version" : "0.028"
},
{
"class" : "Dist::Zilla::Plugin::Git::Commit",
@@ -695,6 +856,7 @@
"allow_dirty" : [
"Changes",
"README.md",
+ "README.pod",
"LICENSE",
"CONTRIBUTING"
],
@@ -706,7 +868,7 @@
}
},
"name" : "@Author::ETHER/Git::Commit",
- "version" : "2.023"
+ "version" : "2.028"
},
{
"class" : "Dist::Zilla::Plugin::Git::Tag",
@@ -714,7 +876,7 @@
"Dist::Zilla::Plugin::Git::Tag" : {
"branch" : null,
"signed" : 0,
- "tag" : "v0.016",
+ "tag" : "v0.019",
"tag_format" : "v%v%t",
"tag_message" : "v%v%t",
"time_zone" : "local"
@@ -724,12 +886,12 @@
}
},
"name" : "@Author::ETHER/Git::Tag",
- "version" : "2.023"
+ "version" : "2.028"
},
{
"class" : "Dist::Zilla::Plugin::GitHub::Update",
"name" : "@Author::ETHER/GitHub::Update",
- "version" : "0.36"
+ "version" : "0.38"
},
{
"class" : "Dist::Zilla::Plugin::Git::Push",
@@ -745,33 +907,41 @@
}
},
"name" : "@Author::ETHER/Git::Push",
- "version" : "2.023"
- },
- {
- "class" : "Dist::Zilla::Plugin::InstallRelease",
- "name" : "@Author::ETHER/InstallRelease",
- "version" : "0.008"
+ "version" : "2.028"
},
{
- "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" : {
+ "run" : "REDACTED"
}
},
- "name" : "@Author::ETHER/via_options",
- "version" : "5.019"
+ "name" : "@Author::ETHER/install release",
+ "version" : "0.028"
},
{
"class" : "Dist::Zilla::Plugin::ConfirmRelease",
"name" : "@Author::ETHER/ConfirmRelease",
- "version" : "5.019"
+ "version" : "5.029"
},
{
"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.019"
},
{
"class" : "Dist::Zilla::Plugin::Prereqs::Soften",
@@ -786,22 +956,23 @@
}
},
"name" : "Prereqs::Soften",
- "version" : "0.004000"
- },
- {
- "class" : "Dist::Zilla::Plugin::ContributorsFromGit",
- "name" : "ContributorsFromGit",
- "version" : "0.013"
+ "version" : "0.005001"
},
{
"class" : "Dist::Zilla::Plugin::Test::CleanNamespaces",
+ "config" : {
+ "Dist::Zilla::Plugin::Test::CleanNamespaces" : {
+ "filename" : "xt/author/clean-namespaces.t",
+ "skips" : []
+ }
+ },
"name" : "Test::CleanNamespaces",
- "version" : "0.003"
+ "version" : "0.006"
},
{
"class" : "Dist::Zilla::Plugin::MetaResources",
"name" : "MetaResources",
- "version" : "5.019"
+ "version" : "5.029"
},
{
"class" : "Dist::Zilla::Plugin::Prereqs",
@@ -812,67 +983,67 @@
}
},
"name" : "DevelopRequires",
- "version" : "5.019"
+ "version" : "5.029"
},
{
"class" : "Dist::Zilla::Plugin::GenerateFile",
"name" : "synopsis_1",
- "version" : "5.019"
+ "version" : "5.029"
},
{
"class" : "Dist::Zilla::Plugin::GenerateFile",
"name" : "synopsis_2",
- "version" : "5.019"
+ "version" : "5.029"
},
{
"class" : "Dist::Zilla::Plugin::GenerateFile",
"name" : "test_warning_contents",
- "version" : "5.019"
+ "version" : "5.029"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":InstallModules",
- "version" : "5.019"
+ "version" : "5.029"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":IncModules",
- "version" : "5.019"
+ "version" : "5.029"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":TestFiles",
- "version" : "5.019"
+ "version" : "5.029"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ExecFiles",
- "version" : "5.019"
+ "version" : "5.029"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ShareFiles",
- "version" : "5.019"
+ "version" : "5.029"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":MainModule",
- "version" : "5.019"
+ "version" : "5.029"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":AllFiles",
- "version" : "5.019"
+ "version" : "5.029"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":NoFiles",
- "version" : "5.019"
+ "version" : "5.029"
},
{
"class" : "Dist::Zilla::Plugin::VerifyPhases",
"name" : "@Author::ETHER/PHASE VERIFICATION",
- "version" : "0.003"
+ "version" : "0.009"
}
],
"zilla" : {
@@ -880,13 +1051,16 @@
"config" : {
"is_trial" : "0"
},
- "version" : "5.019"
+ "version" : "5.029"
}
},
"x_authority" : "cpan:ETHER",
+ "x_authority_from_module" : "Test::Warnings",
"x_contributors" : [
+ "A. Sinan Unur <nanis@cpan.org>",
"Graham Knop <haarg@haarg.org>",
"Leon Timmermans <fawaka@gmail.com>"
- ]
+ ],
+ "x_permissions_from_module" : "Test::Warnings"
}
@@ -4,15 +4,15 @@ author:
- 'Karen Etheridge <ether@cpan.org>'
build_requires:
ExtUtils::MakeMaker: '0'
- File::Spec::Functions: '0'
- List::Util: '0'
+ File::Spec: '0'
Test::More: '0.94'
if: '0'
- version: '0'
+ perl: '5.006'
configure_requires:
- ExtUtils::MakeMaker: '6.30'
+ ExtUtils::MakeMaker: '0'
+ perl: '5.006'
dynamic_config: 0
-generated_by: 'Dist::Zilla version 5.019, CPAN::Meta::Converter version 2.141520'
+generated_by: 'Dist::Zilla version 5.029, CPAN::Meta::Converter version 2.143240'
keywords:
- testing
- tests
@@ -30,8 +30,9 @@ no_index:
provides:
Test::Warnings:
file: lib/Test/Warnings.pm
- version: '0.016'
+ version: '0.019'
requires:
+ Carp: '0'
Exporter: '0'
Test::Builder: '0'
parent: '0'
@@ -44,12 +45,20 @@ resources:
bugtracker: https://rt.cpan.org/Public/Dist/Display.html?Name=Test-Warnings
homepage: https://github.com/karenetheridge/Test-Warnings
repository: https://github.com/karenetheridge/Test-Warnings.git
-version: '0.016'
+version: '0.019'
x_Dist_Zilla:
perl:
- version: '5.020000'
+ version: '5.021005'
plugins:
-
+ class: Dist::Zilla::Plugin::Prereqs
+ config:
+ Dist::Zilla::Plugin::Prereqs:
+ phase: develop
+ type: requires
+ name: '@Author::ETHER/bundle_plugins'
+ version: '5.029'
+ -
class: Dist::Zilla::Plugin::Git::NextVersion
config:
Dist::Zilla::Plugin::Git::NextVersion:
@@ -59,11 +68,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.003'
+ version: '2.028'
-
class: Dist::Zilla::Plugin::PromptIfStale
config:
@@ -74,8 +79,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.032'
-
class: Dist::Zilla::Plugin::PromptIfStale
config:
@@ -85,53 +90,65 @@ x_Dist_Zilla:
modules: []
phase: release
skip: []
- name: '@Author::ETHER/release'
- version: '0.023'
+ name: '@Author::ETHER/stale modules, release'
+ version: '0.032'
-
class: Dist::Zilla::Plugin::ExecDir
name: '@Author::ETHER/ExecDir'
- version: '5.019'
+ version: '5.029'
-
class: Dist::Zilla::Plugin::ShareDir
name: '@Author::ETHER/ShareDir'
- version: '5.019'
+ version: '5.029'
-
class: Dist::Zilla::Plugin::FileFinder::ByName
name: '@Author::ETHER/Examples'
- version: '5.019'
+ version: '5.029'
-
class: Dist::Zilla::Plugin::FileFinder::ByName
name: '@Author::ETHER/ExtraTestFiles'
- version: '5.019'
+ version: '5.029'
-
class: Dist::Zilla::Plugin::Git::GatherDir
config:
+ Dist::Zilla::Plugin::GatherDir:
+ exclude_filename:
+ - README.pod
+ - LICENSE
+ - CONTRIBUTING
+ - blog_20130309.md
+ 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.028'
-
class: Dist::Zilla::Plugin::MetaYAML
name: '@Author::ETHER/MetaYAML'
- version: '5.019'
+ version: '5.029'
-
class: Dist::Zilla::Plugin::MetaJSON
name: '@Author::ETHER/MetaJSON'
- version: '5.019'
+ version: '5.029'
-
class: Dist::Zilla::Plugin::License
name: '@Author::ETHER/License'
- version: '5.019'
+ version: '5.029'
-
class: Dist::Zilla::Plugin::Readme
name: '@Author::ETHER/Readme'
- version: '5.019'
+ version: '5.029'
-
class: Dist::Zilla::Plugin::Manifest
name: '@Author::ETHER/Manifest'
- version: '5.019'
+ version: '5.029'
-
class: Dist::Zilla::Plugin::GenerateFile::ShareDir
config:
@@ -139,25 +156,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.200005'
+ -
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'
@@ -165,15 +194,18 @@ x_Dist_Zilla:
- ':TestFiles'
- '@Author::ETHER/ExtraTestFiles'
name: '@Author::ETHER/Test::NoTabs'
- version: '0.08'
+ version: '0.09'
-
- 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.029'
-
class: Dist::Zilla::Plugin::Test::CPAN::Changes
name: '@Author::ETHER/Test::CPAN::Changes'
@@ -181,7 +213,7 @@ x_Dist_Zilla:
-
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'
@@ -189,7 +221,7 @@ x_Dist_Zilla:
-
class: Dist::Zilla::Plugin::PodSyntaxTests
name: '@Author::ETHER/PodSyntaxTests'
- version: '5.019'
+ version: '5.029'
-
class: Dist::Zilla::Plugin::Test::PodSpelling
name: '@Author::ETHER/Test::PodSpelling'
@@ -200,8 +232,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'
@@ -209,7 +245,7 @@ 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'
@@ -221,11 +257,7 @@ x_Dist_Zilla:
-
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.029'
-
class: Dist::Zilla::Plugin::PodWeaver
config:
@@ -237,85 +269,85 @@ x_Dist_Zilla:
-
class: Pod::Weaver::Plugin::EnsurePod5
name: '@CorePrep/EnsurePod5'
- version: '4.006'
+ version: '4.009'
-
class: Pod::Weaver::Plugin::H1Nester
name: '@CorePrep/H1Nester'
- version: '4.006'
+ version: '4.009'
-
class: Pod::Weaver::Plugin::SingleEncoding
name: '@Default/SingleEncoding'
- version: '4.006'
+ version: '4.009'
-
class: Pod::Weaver::Section::Name
name: '@Default/Name'
- version: '4.006'
+ version: '4.009'
-
class: Pod::Weaver::Section::Version
name: '@Default/Version'
- version: '4.006'
+ version: '4.009'
-
class: Pod::Weaver::Section::Region
name: '@Default/prelude'
- version: '4.006'
+ version: '4.009'
-
class: Pod::Weaver::Section::Generic
name: SYNOPSIS
- version: '4.006'
+ version: '4.009'
-
class: Pod::Weaver::Section::Generic
name: DESCRIPTION
- version: '4.006'
+ version: '4.009'
-
class: Pod::Weaver::Section::Generic
name: OVERVIEW
- version: '4.006'
+ version: '4.009'
-
class: Pod::Weaver::Section::Collect
name: ATTRIBUTES
- version: '4.006'
+ version: '4.009'
-
class: Pod::Weaver::Section::Collect
name: METHODS
- version: '4.006'
+ version: '4.009'
-
class: Pod::Weaver::Section::Collect
name: FUNCTIONS
- version: '4.006'
+ version: '4.009'
-
class: Pod::Weaver::Section::Leftovers
name: '@Default/Leftovers'
- version: '4.006'
+ version: '4.009'
-
class: Pod::Weaver::Section::Region
name: '@Default/postlude'
- version: '4.006'
+ version: '4.009'
-
class: Pod::Weaver::Section::Authors
name: '@Default/Authors'
- version: '4.006'
+ version: '4.009'
-
class: Pod::Weaver::Section::Legal
name: '@Default/Legal'
- version: '4.006'
+ version: '4.009'
-
class: Pod::Weaver::Plugin::Transformer
name: -Transformer
- version: '4.006'
+ version: '4.009'
-
class: Pod::Weaver::Section::Contributors
name: Contributors
- version: '0.007'
+ version: '0.008'
name: '@Author::ETHER/PodWeaver'
- version: '4.005'
+ version: '4.006'
-
class: Dist::Zilla::Plugin::NextRelease
name: '@Author::ETHER/NextRelease'
- version: '5.019'
+ version: '5.029'
-
class: Dist::Zilla::Plugin::ReadmeAnyFromPod
name: '@Author::ETHER/ReadmeAnyFromPod'
- version: '0.141120'
+ version: '0.142470'
-
class: Dist::Zilla::Plugin::GithubMeta
name: '@Author::ETHER/GithubMeta'
@@ -325,9 +357,20 @@ x_Dist_Zilla:
name: '@Author::ETHER/AutoMetaResources'
version: '1.20'
-
+ class: Dist::Zilla::Plugin::AuthorityFromModule
+ config:
+ Dist::Zilla::Plugin::AuthorityFromModule:
+ module: Test::Warnings
+ 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.029'
-
class: Dist::Zilla::Plugin::MetaProvides::Package
config:
@@ -338,41 +381,49 @@ x_Dist_Zilla:
-
class: Dist::Zilla::Plugin::FinderCode
name: ':InstallModules'
- version: '5.019'
+ version: '5.029'
Dist::Zilla::Role::MetaProvider::Provider:
inherit_missing: '1'
inherit_version: '1'
meta_noindex: '1'
name: '@Author::ETHER/MetaProvides::Package'
- version: '2.000001'
+ version: '2.001003'
-
class: Dist::Zilla::Plugin::MetaConfig
name: '@Author::ETHER/MetaConfig'
- version: '5.019'
+ version: '5.029'
-
class: Dist::Zilla::Plugin::Keywords
+ config:
+ Dist::Zilla::Plugin::Keywords:
+ keywords:
+ - testing
+ - tests
+ - warnings
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.008'
-
class: Dist::Zilla::Plugin::AutoPrereqs
name: '@Author::ETHER/AutoPrereqs'
- version: '5.019'
+ version: '5.029'
-
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:
@@ -380,25 +431,21 @@ x_Dist_Zilla:
phase: develop
type: recommends
name: '@Author::ETHER/pluginbundle_version'
- version: '5.019'
+ version: '5.029'
-
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.029'
-
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:
@@ -406,11 +453,23 @@ x_Dist_Zilla:
finder:
- ':InstallModules'
name: '@Author::ETHER/CheckSelfDependency'
- version: '0.007'
+ version: '0.009'
-
class: Dist::Zilla::Plugin::Run::AfterBuild
- name: '@Author::ETHER/Run::AfterBuild'
- version: '0.021'
+ config:
+ Dist::Zilla::Plugin::Run::Role::Runner:
+ run:
+ - "bash -c \"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.028'
+ -
+ class: Dist::Zilla::Plugin::Run::AfterBuild
+ config:
+ Dist::Zilla::Plugin::Run::Role::Runner:
+ eval:
+ - "if ('%d' =~ /^%n-[.[:xdigit:]]+$/) { unlink '.latest'; symlink '%d', '.latest'; }"
+ name: '@Author::ETHER/.latest'
+ version: '0.028'
-
class: Dist::Zilla::Plugin::CheckStrictVersion
name: '@Author::ETHER/CheckStrictVersion'
@@ -427,7 +486,7 @@ x_Dist_Zilla:
Dist::Zilla::Role::Git::Repo:
repo_root: .
name: '@Author::ETHER/initial check'
- version: '2.023'
+ version: '2.028'
-
class: Dist::Zilla::Plugin::Git::CheckFor::MergeConflicts
config:
@@ -445,15 +504,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.013'
-
class: Dist::Zilla::Plugin::TestRelease
name: '@Author::ETHER/TestRelease'
- version: '5.019'
+ version: '5.029'
-
class: Dist::Zilla::Plugin::Git::Check
config:
@@ -466,19 +525,33 @@ x_Dist_Zilla:
Dist::Zilla::Role::Git::Repo:
repo_root: .
name: '@Author::ETHER/after tests'
- version: '2.023'
+ version: '2.028'
-
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.029'
-
class: Dist::Zilla::Plugin::CopyFilesFromRelease
+ config:
+ Dist::Zilla::Plugin::CopyFilesFromRelease:
+ filename:
+ - LICENSE
+ - CONTRIBUTING
+ match: []
name: '@Author::ETHER/CopyFilesFromRelease'
- version: '0.001'
+ version: '0.003'
+ -
+ class: Dist::Zilla::Plugin::Run::AfterRelease
+ config:
+ Dist::Zilla::Plugin::Run::Role::Runner:
+ eval:
+ - "unlink 'README.md'"
+ name: '@Author::ETHER/remove old READMEs'
+ version: '0.028'
-
class: Dist::Zilla::Plugin::Git::Commit
config:
@@ -491,6 +564,7 @@ x_Dist_Zilla:
allow_dirty:
- Changes
- README.md
+ - README.pod
- LICENSE
- CONTRIBUTING
allow_dirty_match: []
@@ -498,25 +572,25 @@ x_Dist_Zilla:
Dist::Zilla::Role::Git::Repo:
repo_root: .
name: '@Author::ETHER/Git::Commit'
- version: '2.023'
+ version: '2.028'
-
class: Dist::Zilla::Plugin::Git::Tag
config:
Dist::Zilla::Plugin::Git::Tag:
branch: ~
signed: 0
- tag: v0.016
+ tag: v0.019
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.028'
-
class: Dist::Zilla::Plugin::GitHub::Update
name: '@Author::ETHER/GitHub::Update'
- version: '0.36'
+ version: '0.38'
-
class: Dist::Zilla::Plugin::Git::Push
config:
@@ -527,27 +601,33 @@ x_Dist_Zilla:
Dist::Zilla::Role::Git::Repo:
repo_root: .
name: '@Author::ETHER/Git::Push'
- version: '2.023'
+ version: '2.028'
-
- class: Dist::Zilla::Plugin::InstallRelease
- name: '@Author::ETHER/InstallRelease'
- version: '0.008'
- -
- 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:
+ run: REDACTED
+ name: '@Author::ETHER/install release'
+ version: '0.028'
-
class: Dist::Zilla::Plugin::ConfirmRelease
name: '@Author::ETHER/ConfirmRelease'
- version: '5.019'
+ version: '5.029'
-
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.019'
-
class: Dist::Zilla::Plugin::Prereqs::Soften
config:
@@ -558,19 +638,19 @@ x_Dist_Zilla:
modules_from_features: ~
to_relationship: recommends
name: Prereqs::Soften
- version: '0.004000'
- -
- class: Dist::Zilla::Plugin::ContributorsFromGit
- name: ContributorsFromGit
- version: '0.013'
+ version: '0.005001'
-
class: Dist::Zilla::Plugin::Test::CleanNamespaces
+ config:
+ Dist::Zilla::Plugin::Test::CleanNamespaces:
+ filename: xt/author/clean-namespaces.t
+ skips: []
name: Test::CleanNamespaces
- version: '0.003'
+ version: '0.006'
-
class: Dist::Zilla::Plugin::MetaResources
name: MetaResources
- version: '5.019'
+ version: '5.029'
-
class: Dist::Zilla::Plugin::Prereqs
config:
@@ -578,61 +658,64 @@ x_Dist_Zilla:
phase: develop
type: requires
name: DevelopRequires
- version: '5.019'
+ version: '5.029'
-
class: Dist::Zilla::Plugin::GenerateFile
name: synopsis_1
- version: '5.019'
+ version: '5.029'
-
class: Dist::Zilla::Plugin::GenerateFile
name: synopsis_2
- version: '5.019'
+ version: '5.029'
-
class: Dist::Zilla::Plugin::GenerateFile
name: test_warning_contents
- version: '5.019'
+ version: '5.029'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':InstallModules'
- version: '5.019'
+ version: '5.029'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':IncModules'
- version: '5.019'
+ version: '5.029'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':TestFiles'
- version: '5.019'
+ version: '5.029'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ExecFiles'
- version: '5.019'
+ version: '5.029'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ShareFiles'
- version: '5.019'
+ version: '5.029'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':MainModule'
- version: '5.019'
+ version: '5.029'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':AllFiles'
- version: '5.019'
+ version: '5.029'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':NoFiles'
- version: '5.019'
+ version: '5.029'
-
class: Dist::Zilla::Plugin::VerifyPhases
name: '@Author::ETHER/PHASE VERIFICATION'
- version: '0.003'
+ version: '0.009'
zilla:
class: Dist::Zilla::Dist::Builder
config:
is_trial: '0'
- version: '5.019'
+ version: '5.029'
x_authority: cpan:ETHER
+x_authority_from_module: Test::Warnings
x_contributors:
+ - 'A. Sinan Unur <nanis@cpan.org>'
- 'Graham Knop <haarg@haarg.org>'
- 'Leon Timmermans <fawaka@gmail.com>'
+x_permissions_from_module: Test::Warnings
@@ -1,11 +1,11 @@
-# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v5.019.
+# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v5.029.
use strict;
use warnings;
use 5.006;
-use ExtUtils::MakeMaker 6.30;
+use ExtUtils::MakeMaker;
@@ -13,13 +13,15 @@ my %WriteMakefileArgs = (
"ABSTRACT" => "Test for warnings and the lack of them",
"AUTHOR" => "Karen Etheridge <ether\@cpan.org>",
"CONFIGURE_REQUIRES" => {
- "ExtUtils::MakeMaker" => "6.30"
+ "ExtUtils::MakeMaker" => 0
},
"DISTNAME" => "Test-Warnings",
"EXE_FILES" => [],
"LICENSE" => "perl",
+ "MIN_PERL_VERSION" => "5.006",
"NAME" => "Test::Warnings",
"PREREQ_PM" => {
+ "Carp" => 0,
"Exporter" => 0,
"Test::Builder" => 0,
"parent" => 0,
@@ -28,13 +30,11 @@ my %WriteMakefileArgs = (
},
"TEST_REQUIRES" => {
"ExtUtils::MakeMaker" => 0,
- "File::Spec::Functions" => 0,
- "List::Util" => 0,
+ "File::Spec" => 0,
"Test::More" => "0.94",
- "if" => 0,
- "version" => 0
+ "if" => 0
},
- "VERSION" => "0.016",
+ "VERSION" => "0.019",
"test" => {
"TESTS" => "t/*.t"
}
@@ -42,16 +42,15 @@ my %WriteMakefileArgs = (
my %FallbackPrereqs = (
+ "Carp" => 0,
"Exporter" => 0,
"ExtUtils::MakeMaker" => 0,
- "File::Spec::Functions" => 0,
- "List::Util" => 0,
+ "File::Spec" => 0,
"Test::Builder" => 0,
"Test::More" => "0.94",
"if" => 0,
"parent" => 0,
"strict" => 0,
- "version" => 0,
"warnings" => 0
);
@@ -1,7 +1,7 @@
This archive contains the distribution Test-Warnings,
-version 0.016:
+version 0.019:
Test for warnings and the lack of them
@@ -11,5 +11,5 @@ 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.029.
@@ -1,221 +0,0 @@
-# NAME
-
-Test::Warnings - Test for warnings and the lack of them
-
-# VERSION
-
-version 0.016
-
-# SYNOPSIS
-
- use Test::More;
- use Test::Warnings;
-
- pass('yay!');
- done_testing;
-
-emits TAP:
-
- ok 1 - yay!
- ok 2 - no (unexpected) warnings (via done_testing)
- 1..2
-
-and:
-
- use Test::More tests => 3;
- use Test::Warnings 0.005 ':all';
-
- pass('yay!');
- like(warning { warn "oh noes!" }, qr/^oh noes/, 'we warned');
-
-emits TAP:
-
- ok 1 - yay!
- ok 2 - we warned
- ok 3 - no (unexpected) warnings (via END block)
- 1..3
-
-# DESCRIPTION
-
-If you've ever tried to use [Test::NoWarnings](https://metacpan.org/pod/Test::NoWarnings) to confirm there are no warnings
-generated by your tests, combined with the convenience of `done_testing` to
-not have to declare a
-[test count](https://metacpan.org/pod/Test::More#I-love-it-when-a-plan-comes-together),
-you'll have discovered that these two features do not play well together,
-as the test count will be calculated _before_ the warnings test is run,
-resulting in a TAP error. (See `examples/test_nowarnings.pl` in this
-distribution for a demonstration.)
-
-This module is intended to be used as a drop-in replacement for
-[Test::NoWarnings](https://metacpan.org/pod/Test::NoWarnings): it also adds an extra test, but runs this test _before_
-`done_testing` calculates the test count, rather than after. It does this by
-hooking into `done_testing` as well as via an `END` block. You can declare
-a plan, or not, and things will still Just Work.
-
-It is actually equivalent to:
-
- use Test::NoWarnings 1.04 ':early';
-
-as warnings are still printed normally as they occur. You are safe, and
-enthusiastically encouraged, to perform a global search-replace of the above
-with `use Test::Warnings;` whether or not your tests have a plan.
-
-It can also be used as a replacement for [Test::Warn](https://metacpan.org/pod/Test::Warn), if you wish to test
-the content of expected warnings; read on to find out how.
-
-# FUNCTIONS
-
-The following functions are available for import (not included by default; you
-can also get all of them by importing the tag `:all`):
-
-## `allow_warnings([bool])` - EXPERIMENTAL - MAY BE REMOVED
-
-When passed a true value, or no value at all, subsequent warnings will not
-result in a test failure; when passed a false value, subsequent warnings will
-result in a test failure. Initial value is `false`.
-
-When warnings are allowed, any warnings will instead be emitted via
-[Test::Builder::note](https://metacpan.org/pod/Test::Builder#Output).
-
-## `allowing_warnings` - EXPERIMENTAL - MAY BE REMOVED
-
-Returns whether we are currently allowing warnings (set by `allow_warnings`
-as described above).
-
-## `had_no_warnings(<optional test name>)`
-
-Tests whether there have been any warnings so far, not preceded by an
-`allowing_warnings` call. It is run
-automatically at the end of all tests, but can also be called manually at any
-time, as often as desired.
-
-## `warnings( { code } )`
-
-Given a code block, runs the block and returns a list of all the
-(not previously allowed via `allow_warnings`) warnings issued within. This
-lets you test for the presence of warnings that you not only would _allow_,
-but _must_ be issued. Testing functions are not provided; given the strings
-returned, you can test these yourself using your favourite testing functions,
-such as [Test::More::is](https://metacpan.org/pod/Test::More) or [Test::Deep::cmp\_deeply](https://metacpan.org/pod/Test::Deep).
-
-Warnings generated by this code block are _NOT_ propagated further. However,
-since they are returned from this function with their filename and line
-numbers intact, you can re-issue them yourself immediately after calling
-`warnings(...)`, if desired.
-
-## `warning( { code } )`
-
-Same as `warnings( { code } )`, except a scalar is always returned - the
-single warning produced, if there was one, or an arrayref otherwise -- which
-can be more convenient to use than `warnings()` if you are expecting exactly
-one warning.
-
-However, you are advised to capture the result from `warning()` into a temp
-variable so you can dump its value if it doesn't contain what you expect.
-e.g. with this test:
-
- like(
- warning { foo() },
- qr/^this is a warning/,
- 'got a warning from foo()',
- );
-
-if you get two warnings (or none) back instead of one, you'll get an
-arrayref, which will result in an unhelpful test failure message like:
-
- # Failed test 'got a warning from foo()'
- # at t/mytest.t line 10.
- # 'ARRAY(0xdeadbeef)'
- # doesn't match '(?^:^this is a warning)'
-
-So instead, change your test to:
-
- my $warning = warning { foo() };
- like(
- $warning,
- qr/^this is a warning/,
- 'got a warning from foo()',
- ) or diag 'got warning(s): ', explain($warning);
-
-# IMPORT OPTIONS
-
-- `:all` - Imports all functions listed above
-- `:no_end_test` - Disables the addition of a `had_no_warnings` test
-via `END` or `done_testing`
-
-# CAVEATS
-
-Sometimes new warnings can appear in Perl that should **not** block
-installation -- for example, smartmatch was recently deprecated in
-perl 5.17.11, so now any distribution that uses smartmatch and also
-tests for warnings cannot be installed under 5.18.0. You might want to
-consider only making warnings fail tests in an author environment -- you can
-do this with the [if](https://metacpan.org/pod/if) pragma:
-
- use if $ENV{AUTHOR_TESTING} || $ENV{RELEASE_TESTING}, 'Test::Warnings';
-
-In future versions of this module, when interfaces are added to test the
-content of warnings, there will likely be additional sugar available to
-indicate that warnings should be checked only in author tests (or TODO when
-not in author testing), but will still provide exported subs. Comments are
-enthusiastically solicited - drop me an email, write up an RT ticket, or come
-by `#perl-qa` on irc!
-
-**Achtung!** This is not a great idea:
-
- sub warning_like(&$;$) {
- my ($code, $pattern, $name) = @_;
- like( &warning($code), $pattern, $name );
- }
-
- warning_like( { ... }, qr/foo/, 'foo appears in the warning' );
-
-If the code in the `{ ... }` is going to warn with a stack trace with the
-arguments to each subroutine in its call stack (for example via `Carp::cluck`),
-the test name, "foo appears in the warning" will itself be matched by the
-regex (see `examples/warning_like.t`). Instead, write this:
-
- like( warning { ... }, qr/foo/, 'foo appears in the warning' );
-
-# TO DO (or: POSSIBLE FEATURES COMING IN FUTURE RELEASES)
-
-- `allow_warnings(qr/.../)` - allow some warnings and not others
-- more sophisticated handling in subtests - if we save some state on the
-[Test::Builder](https://metacpan.org/pod/Test::Builder) object itself, we can allow warnings in a subtest and then
-the state will revert when the subtest ends, as well as check for warnings at
-the end of every subtest via `done_testing`.
-- sugar for making failures TODO when testing outside an author
-environment
-
-# SUPPORT
-
-Bugs may be submitted through [https://rt.cpan.org/Public/Dist/Display.html?Name=Test-Warnings](https://rt.cpan.org/Public/Dist/Display.html?Name=Test-Warnings).
-I am also usually active on irc, as 'ether' at `irc.perl.org`.
-
-# SEE ALSO
-
-- [Test::NoWarnings](https://metacpan.org/pod/Test::NoWarnings)
-- [Test::FailWarnings](https://metacpan.org/pod/Test::FailWarnings)
-- [blogs.perl.org: YANWT (Yet Another No-Warnings Tester)](http://blogs.perl.org/users/ether/2013/03/yanwt-yet-another-no-warnings-tester.html)
-- [strictures](https://metacpan.org/pod/strictures) - which makes all warnings fatal in tests, hence lessening
-
- the need for special warning testing
-
-- [Test::Warn](https://metacpan.org/pod/Test::Warn)
-- [Test::Fatal](https://metacpan.org/pod/Test::Fatal)
-
-# AUTHOR
-
-Karen Etheridge <ether@cpan.org>
-
-# COPYRIGHT AND LICENSE
-
-This software is copyright (c) 2013 by Karen Etheridge.
-
-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
-
-- Graham Knop <haarg@haarg.org>
-- Leon Timmermans <fawaka@gmail.com>
@@ -5,7 +5,7 @@ copyright_year = 2013
license = Perl_5
[@Author::ETHER]
-:version = 0.041
+:version = 0.068
installer = MakeMaker ; stay 5.6-friendly
Git::GatherDir.exclude_filename[] = blog_20130309.md
Test::MinimumVersion.max_target_perl = 5.006
@@ -25,8 +25,6 @@ module = Test::Tester
; authordep Pod::Weaver = 4
; authordep Pod::Weaver::Section::Contributors
-[ContributorsFromGit]
-
[Test::CleanNamespaces]
[MetaResources]
@@ -1,11 +1,8 @@
use strict;
use warnings;
package Test::Warnings;
-BEGIN {
- $Test::Warnings::AUTHORITY = 'cpan:ETHER';
-}
-# git description: v0.015-4-g384099c
-$Test::Warnings::VERSION = '0.016';
+# git description: v0.018-3-g0fac7a0
+{ our $VERSION = '0.019'; }
# ABSTRACT: Test for warnings and the lack of them
# KEYWORDS: testing tests warnings
# vim: set ts=8 sw=4 tw=78 et :
@@ -56,7 +53,13 @@ $SIG{__WARN__} = sub {
}
else
{
- warn $msg;
+ if ($msg =~ /\n$/) {
+ warn $msg;
+ } else {
+ require Carp;
+ Carp::carp($msg)
+ }
+
$forbidden_warnings_found++;
}
};
@@ -145,7 +148,7 @@ Test::Warnings - Test for warnings and the lack of them
=head1 VERSION
-version 0.016
+version 0.019
=head1 SYNOPSIS
@@ -237,7 +240,30 @@ Given a code block, runs the block and returns a list of all the
lets you test for the presence of warnings that you not only would I<allow>,
but I<must> be issued. Testing functions are not provided; given the strings
returned, you can test these yourself using your favourite testing functions,
-such as L<Test::More::is|Test::More> or L<Test::Deep::cmp_deeply|Test::Deep>.
+such as L<Test::More::is|Test::More/is> or L<Test::Deep::cmp_deeply|Test::Deep/cmp_deeply>.
+
+You can use this construct as a replacement for
+L<Test::Warn::warnings_are|Test::Warn/warnings_are>:
+
+ is_deeply(
+ [ warnings { ... } ],
+ [
+ 'warning message 1',
+ 'warning message 2',
+ ],
+ 'got expected warnings',
+ );
+
+or, to replace L<Test::Warn::warnings_like|Test::Warn/warnings_like>:
+
+ cmp_deeply(
+ [ warnings { ... } ],
+ bag( # ordering of messages doesn't matter
+ re(qr/warning message 1/),
+ re(qr/warning message 2/),
+ ),
+ 'got expected warnings (in any order)',
+ );
Warnings generated by this code block are I<NOT> propagated further. However,
since they are returned from this function with their filename and line
@@ -399,10 +425,16 @@ the same terms as the Perl 5 programming language system itself.
=head1 CONTRIBUTORS
+=for stopwords A. Sinan Unur Graham Knop Leon Timmermans
+
=over 4
=item *
+A. Sinan Unur <nanis@cpan.org>
+
+=item *
+
Graham Knop <haarg@haarg.org>
=item *
@@ -0,0 +1,129 @@
+do { my $x = {
+ 'configure' => {
+ 'requires' => {
+ 'ExtUtils::MakeMaker' => '0',
+ 'perl' => '5.006'
+ }
+ },
+ 'develop' => {
+ 'recommends' => {
+ 'Dist::Zilla::PluginBundle::Author::ETHER' => '0.081'
+ },
+ '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::ExecDir' => '0',
+ 'Dist::Zilla::Plugin::FileFinder::ByName' => '0',
+ 'Dist::Zilla::Plugin::GenerateFile' => '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',
+ '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',
+ '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.013',
+ 'Dist::Zilla::Plugin::PkgVersion' => '5.026',
+ '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::Prereqs::Soften' => '0',
+ 'Dist::Zilla::Plugin::PromptIfStale' => '0',
+ 'Dist::Zilla::Plugin::Readme' => '0',
+ 'Dist::Zilla::Plugin::ReadmeAnyFromPod' => '0.142180',
+ 'Dist::Zilla::Plugin::Run::AfterBuild' => '0.028',
+ 'Dist::Zilla::Plugin::Run::AfterRelease' => '0.024',
+ '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::CleanNamespaces' => '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' => '4',
+ 'Pod::Weaver::Section::Contributors' => '0',
+ 'Test::CPAN::Changes' => '0.19',
+ 'Test::CPAN::Meta' => '0',
+ 'Test::CleanNamespaces' => '0.15',
+ 'Test::Deep' => '0',
+ 'Test::EOL' => '0',
+ 'Test::Kwalitee' => '1.21',
+ 'Test::More' => '0.94',
+ 'Test::NoTabs' => '0',
+ 'Test::NoWarnings' => '0',
+ 'Test::Pod' => '1.41',
+ 'Test::Spelling' => '0.12'
+ }
+ },
+ 'runtime' => {
+ 'requires' => {
+ 'Carp' => '0',
+ 'Exporter' => '0',
+ 'Test::Builder' => '0',
+ 'parent' => '0',
+ 'perl' => '5.006',
+ 'strict' => '0',
+ 'warnings' => '0'
+ }
+ },
+ 'test' => {
+ 'recommends' => {
+ 'CPAN::Meta' => '2.120900',
+ 'Test::Tester' => '0.108'
+ },
+ 'requires' => {
+ 'ExtUtils::MakeMaker' => '0',
+ 'File::Spec' => '0',
+ 'Test::More' => '0.94',
+ 'if' => '0',
+ 'perl' => '5.006'
+ }
+ }
+ };
+ $x;
+ }
\ No newline at end of file
@@ -3,198 +3,172 @@
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(
);
-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::GenerateFile' => '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.013',
- 'Dist::Zilla::Plugin::Prereqs' => '0',
- 'Dist::Zilla::Plugin::Prereqs::Soften' => '0',
- 'Dist::Zilla::Plugin::Test::CleanNamespaces' => '0',
- 'Dist::Zilla::PluginBundle::Author::ETHER' => '0.041',
- 'File::Spec' => '0',
- 'IO::Handle' => '0',
- 'IPC::Open3' => '0',
- 'Pod::Weaver' => '4',
- 'Pod::Weaver::Section::Contributors' => '0',
- 'Test::CPAN::Changes' => '0.19',
- 'Test::CPAN::Meta' => '0',
- 'Test::CleanNamespaces' => '>= 0.04, != 0.06',
- 'Test::Deep' => '0',
- 'Test::Kwalitee' => '1.12',
- 'Test::More' => '0.94',
- 'Test::NoTabs' => '0',
- 'Test::NoWarnings' => '0',
- 'Test::Pod' => '1.41',
- 'Test::Spelling' => '0.12'
- }
- },
- 'runtime' => {
- 'requires' => {
- 'Exporter' => '0',
- 'Test::Builder' => '0',
- 'parent' => '0',
- 'perl' => '5.006',
- 'strict' => '0',
- 'warnings' => '0'
- }
- },
- 'test' => {
- 'recommends' => {
- 'CPAN::Meta' => '0',
- 'CPAN::Meta::Requirements' => '2.120900',
- 'Test::Tester' => '0.108'
- },
- 'requires' => {
- 'ExtUtils::MakeMaker' => '0',
- 'File::Spec::Functions' => '0',
- 'List::Util' => '0',
- 'Test::More' => '0.94',
- 'if' => '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;
@@ -0,0 +1,30 @@
+use strict;
+use warnings FATAL => 'all';
+
+use Test::More;
+use Test::Warnings ':no_end_test', 'warnings';
+
+{
+ my ($line, $file);
+
+ my @warnings = warnings { warn "a normal warning"; $line = __LINE__; $file = __FILE__ };
+ like(
+ $warnings[0],
+ qr/^a normal warning at \Q$file\E line $line\.?\n$/,
+ 'test the appearance of a normal warning',
+ );
+}
+
+{
+ my ($line, $file);
+ my $original_handler = $SIG{__WARN__};
+
+ my @warnings = warnings { $original_handler->('a warning with no newline'); $line = __LINE__; $file = __FILE__ };
+ like(
+ $warnings[0],
+ qr/^a warning with no newline at \Q$file\E line $line\.?\n$/,
+ 'warning has origin properly added when it was lacking',
+ );
+}
+
+done_testing;
@@ -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 => 10 + ($ENV{AUTHOR_TESTING} ? 1 : 0);
+# this test was generated with Dist::Zilla::Plugin::Test::Compile 2.051
+use Test::More 0.94;
+plan tests => 10 + ($ENV{AUTHOR_TESTING} ? 1 : 0);
my @module_files = (
'Test/Warnings.pm'
@@ -80,6 +80,7 @@ foreach my $file (@scripts)
-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;
@@ -0,0 +1,11 @@
+use strict;
+use warnings;
+
+# this test was generated with Dist::Zilla::Plugin::Test::CleanNamespaces 0.006
+
+use Test::More 0.94;
+use Test::CleanNamespaces 0.15;
+
+subtest all_namespaces_clean => sub { all_namespaces_clean() };
+
+done_testing;
@@ -0,0 +1,8 @@
+use strict;
+use warnings;
+use Test::More;
+
+# generated by Dist::Zilla::Plugin::Test::EOL 0.16
+use Test::EOL;
+
+all_perl_files_ok({ trailing_whitespace => 1 });
@@ -0,0 +1,55 @@
+use strict;
+use warnings;
+
+# this test was generated with Dist::Zilla::Plugin::Test::NoTabs 0.09
+
+use Test::More 0.88;
+use Test::NoTabs;
+
+my @files = (
+ 'examples/no_plan.t',
+ 'examples/sub.t',
+ 'examples/synopsis_1.t',
+ 'examples/synopsis_2.t',
+ 'examples/test_nowarnings.t',
+ 'examples/test_warning_contents.t',
+ 'examples/warning_like.t',
+ 'examples/with_done_testing.t',
+ 'examples/with_plan.t',
+ 'lib/Test/Warnings.pm',
+ 't/00-report-prereqs.dd',
+ 't/00-report-prereqs.t',
+ 't/01-basic.t',
+ 't/02-done_testing.t',
+ 't/03-subtest.t',
+ 't/04-no-tests.t',
+ 't/05-no-end-block.t',
+ 't/06-skip-all.t',
+ 't/07-no_plan.t',
+ 't/08-use-if.t',
+ 't/09-warnings-contents.t',
+ 't/10-no-done_testing.t',
+ 't/11-double-use.t',
+ 't/12-no-newline.t',
+ 'xt/author/00-compile.t',
+ 'xt/author/clean-namespaces.t',
+ 'xt/author/eol.t',
+ 'xt/author/examples_synopsis_1.t',
+ 'xt/author/examples_synopsis_2.t',
+ 'xt/author/examples_test_warning_contents.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/kwalitee.t',
+ 'xt/release/minimum-version.t',
+ 'xt/release/mojibake.t',
+ 'xt/release/pod-coverage.t',
+ 'xt/release/pod-no404s.t',
+ 'xt/release/pod-syntax.t',
+ 'xt/release/portability.t'
+);
+
+notabs_ok($_) foreach @files;
+done_testing;
@@ -13,6 +13,9 @@ __DATA__
Karen
Etheridge
ether
+Sinan
+Unur
+nanis
Graham
Knop
haarg
@@ -4,7 +4,7 @@ use Test::More tests => 2;
note 'Checking Changes';
my $changes_file = 'Changes';
-my $newver = '0.016';
+my $newver = '0.019';
my $trial_token = '-TRIAL';
SKIP: {
@@ -1,11 +0,0 @@
-use strict;
-use warnings;
-
-# this test was generated with Dist::Zilla::Plugin::Test::CleanNamespaces 0.003
-
-use Test::More 0.94;
-use Test::CleanNamespaces 0.04;
-
-subtest all_namespaces_clean => sub { all_namespaces_clean() };
-
-done_testing;
@@ -1,8 +0,0 @@
-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 });
@@ -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;
@@ -1,53 +0,0 @@
-use strict;
-use warnings;
-
-# this test was generated with Dist::Zilla::Plugin::Test::NoTabs 0.08
-
-use Test::More 0.88;
-use Test::NoTabs;
-
-my @files = (
- 'examples/no_plan.t',
- 'examples/sub.t',
- 'examples/synopsis_1.t',
- 'examples/synopsis_2.t',
- 'examples/test_nowarnings.t',
- 'examples/test_warning_contents.t',
- 'examples/warning_like.t',
- 'examples/with_done_testing.t',
- 'examples/with_plan.t',
- 'lib/Test/Warnings.pm',
- 't/00-report-prereqs.t',
- 't/01-basic.t',
- 't/02-done_testing.t',
- 't/03-subtest.t',
- 't/04-no-tests.t',
- 't/05-no-end-block.t',
- 't/06-skip-all.t',
- 't/07-no_plan.t',
- 't/08-use-if.t',
- 't/09-warnings-contents.t',
- 't/10-no-done_testing.t',
- 't/11-double-use.t',
- 'xt/author/00-compile.t',
- 'xt/author/examples_synopsis_1.t',
- 'xt/author/examples_synopsis_2.t',
- 'xt/author/examples_test_warning_contents.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-coverage.t',
- 'xt/release/pod-no404s.t',
- 'xt/release/pod-syntax.t',
- 'xt/release/portability.t'
-);
-
-notabs_ok($_) foreach @files;
-done_testing;