From 0e14e61f50268905a3e592ed7903b90b82af8ef8 Mon Sep 17 00:00:00 2001 From: TizenOpenSource Date: Mon, 23 Dec 2024 17:09:25 +0900 Subject: [PATCH] Imported Upstream version 0.32 --- CONTRIBUTING | 6 +- Changes | 3 + MANIFEST | 2 +- META.json | 224 +++++++++++++++-------------- META.yml | 233 +++++++++++++++---------------- Makefile.PL | 4 +- README | 4 +- lib/Try/Tiny.pm | 6 +- t/00-report-prereqs.dd | 2 +- t/00-report-prereqs.t | 18 ++- t/given_when.t | 1 + t/when.t | 1 + xt/author/distmeta.t | 3 +- xt/author/pod-coverage.t | 3 +- xt/author/portability.t | 4 +- xt/release/changes_has_content.t | 2 +- 16 files changed, 259 insertions(+), 257 deletions(-) diff --git a/CONTRIBUTING b/CONTRIBUTING index 4f07af6..9b3e23c 100644 --- a/CONTRIBUTING +++ b/CONTRIBUTING @@ -88,6 +88,10 @@ Results will be visible in the pull request on GitHub. Follow the appropriate links for details when tests fail. Changes will not be mergeable until all tests pass. +Generated files such as README, CONTRIBUTING, Makefile.PL, LICENSE etc should +*not* be included in your pull request, as they will be updated automatically +during the next release. + If you have found a bug, but do not have an accompanying patch to fix it, you can submit an issue report here: https://rt.cpan.org/Public/Dist/Display.html?Name=Try-Tiny @@ -102,4 +106,4 @@ request to the .mailmap file to contain the correct mapping. This file was generated via Dist::Zilla::Plugin::GenerateFile::FromShareDir 0.015 -from a template file originating in Dist-Zilla-PluginBundle-Author-ETHER-0.161. +from a template file originating in Dist-Zilla-PluginBundle-Author-ETHER-0.163. diff --git a/Changes b/Changes index 8bc4935..6a18072 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,8 @@ Revision history for Try-Tiny +0.32 2024-08-16 22:23:44Z + - skip given, when tests on perls >= 5.41.3 which removed these constructs + 0.31 2021-11-23 20:29:12Z - plug Syntax::Keyword::Try and Feature::Compat::Try in the docs diff --git a/MANIFEST b/MANIFEST index b8a352e..f7c2d4b 100644 --- a/MANIFEST +++ b/MANIFEST @@ -1,4 +1,4 @@ -# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.024. +# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.032. CONTRIBUTING Changes INSTALL diff --git a/META.json b/META.json index fb79930..62a138d 100644 --- a/META.json +++ b/META.json @@ -5,7 +5,7 @@ "Jesse Luehrs " ], "dynamic_config" : 0, - "generated_by" : "Dist::Zilla version 6.024, CPAN::Meta::Converter version 2.150010", + "generated_by" : "Dist::Zilla version 6.032, CPAN::Meta::Converter version 2.150010", "license" : [ "mit" ], @@ -32,7 +32,7 @@ }, "develop" : { "recommends" : { - "Dist::Zilla::PluginBundle::Author::ETHER" : "0.161", + "Dist::Zilla::PluginBundle::Author::ETHER" : "0.163", "Dist::Zilla::PluginBundle::Git::VersionManager" : "0.007" }, "requires" : { @@ -176,7 +176,7 @@ "provides" : { "Try::Tiny" : { "file" : "lib/Try/Tiny.pm", - "version" : "0.31" + "version" : "0.32" } }, "release_status" : "stable", @@ -192,16 +192,16 @@ "web" : "https://github.com/p5sagit/Try-Tiny" } }, - "version" : "0.31", + "version" : "0.32", "x_Dist_Zilla" : { "perl" : { - "version" : "5.035006" + "version" : "5.041002" }, "plugins" : [ { "class" : "Dist::Zilla::Plugin::FileFinder::Filter", "name" : "all_files_but_using_5.10_features", - "version" : "6.024" + "version" : "6.032" }, { "class" : "Dist::Zilla::Plugin::Prereqs", @@ -212,7 +212,7 @@ } }, "name" : "@Author::ETHER/pluginbundle version", - "version" : "6.024" + "version" : "6.032" }, { "class" : "Dist::Zilla::Plugin::PromptIfStale", @@ -229,12 +229,12 @@ } }, "name" : "@Author::ETHER/stale modules, build", - "version" : "0.057" + "version" : "0.060" }, { "class" : "Dist::Zilla::Plugin::FileFinder::ByName", "name" : "@Author::ETHER/Examples", - "version" : "6.024" + "version" : "6.032" }, { "class" : "Dist::Zilla::Plugin::Git::GatherDir", @@ -247,7 +247,6 @@ "README.pod" ], "exclude_match" : [], - "follow_symlinks" : 0, "include_dotfiles" : 0, "prefix" : "", "prune_directory" : [], @@ -258,32 +257,32 @@ } }, "name" : "@Author::ETHER/Git::GatherDir", - "version" : "2.048" + "version" : "2.051" }, { "class" : "Dist::Zilla::Plugin::MetaYAML", "name" : "@Author::ETHER/MetaYAML", - "version" : "6.024" + "version" : "6.032" }, { "class" : "Dist::Zilla::Plugin::MetaJSON", "name" : "@Author::ETHER/MetaJSON", - "version" : "6.024" + "version" : "6.032" }, { "class" : "Dist::Zilla::Plugin::Readme", "name" : "@Author::ETHER/Readme", - "version" : "6.024" + "version" : "6.032" }, { "class" : "Dist::Zilla::Plugin::Manifest", "name" : "@Author::ETHER/Manifest", - "version" : "6.024" + "version" : "6.032" }, { "class" : "Dist::Zilla::Plugin::License", "name" : "@Author::ETHER/License", - "version" : "6.024" + "version" : "6.032" }, { "class" : "Dist::Zilla::Plugin::GenerateFile::FromShareDir", @@ -309,7 +308,7 @@ "class" : "Dist::Zilla::Plugin::InstallGuide", "config" : { "Dist::Zilla::Role::ModuleMetadata" : { - "Module::Metadata" : "1.000037", + "Module::Metadata" : "1.000038", "version" : "0.006" } }, @@ -378,7 +377,7 @@ { "class" : "Dist::Zilla::Plugin::MetaTests", "name" : "@Author::ETHER/MetaTests", - "version" : "6.024" + "version" : "6.032" }, { "class" : "Dist::Zilla::Plugin::Test::CPAN::Changes", @@ -408,12 +407,12 @@ { "class" : "Dist::Zilla::Plugin::PodSyntaxTests", "name" : "@Author::ETHER/PodSyntaxTests", - "version" : "6.024" + "version" : "6.032" }, { "class" : "Dist::Zilla::Plugin::PodCoverageTests", "name" : "@Author::ETHER/PodCoverageTests", - "version" : "6.024" + "version" : "6.032" }, { "class" : "Dist::Zilla::Plugin::Test::PodSpelling", @@ -460,7 +459,7 @@ { "class" : "Dist::Zilla::Plugin::Test::ReportPrereqs", "name" : "@Author::ETHER/Test::ReportPrereqs", - "version" : "0.028" + "version" : "0.029" }, { "class" : "Dist::Zilla::Plugin::Test::Portability", @@ -470,12 +469,12 @@ } }, "name" : "@Author::ETHER/Test::Portability", - "version" : "2.001000" + "version" : "2.001001" }, { "class" : "Dist::Zilla::Plugin::Git::Describe", "name" : "@Author::ETHER/Git::Describe", - "version" : "0.007" + "version" : "0.008" }, { "class" : "Dist::Zilla::Plugin::PodWeaver", @@ -486,113 +485,108 @@ ], "finder" : [ ":InstallModules", - ":ExecFiles" + ":PerlExecFiles" ], "plugins" : [ { "class" : "Pod::Weaver::Plugin::EnsurePod5", "name" : "@Author::ETHER/EnsurePod5", - "version" : "4.018" + "version" : "4.020" }, { "class" : "Pod::Weaver::Plugin::H1Nester", "name" : "@Author::ETHER/H1Nester", - "version" : "4.018" + "version" : "4.020" }, { "class" : "Pod::Weaver::Plugin::SingleEncoding", "name" : "@Author::ETHER/SingleEncoding", - "version" : "4.018" + "version" : "4.020" }, { "class" : "Pod::Weaver::Plugin::Transformer", "name" : "@Author::ETHER/List", - "version" : "4.018" + "version" : "4.020" }, { "class" : "Pod::Weaver::Plugin::Transformer", "name" : "@Author::ETHER/Verbatim", - "version" : "4.018" + "version" : "4.020" }, { "class" : "Pod::Weaver::Section::Region", "name" : "@Author::ETHER/header", - "version" : "4.018" + "version" : "4.020" }, { "class" : "Pod::Weaver::Section::Name", "name" : "@Author::ETHER/Name", - "version" : "4.018" + "version" : "4.020" }, { "class" : "Pod::Weaver::Section::Version", "name" : "@Author::ETHER/Version", - "version" : "4.018" + "version" : "4.020" }, { "class" : "Pod::Weaver::Section::Region", "name" : "@Author::ETHER/prelude", - "version" : "4.018" + "version" : "4.020" }, { "class" : "Pod::Weaver::Section::Generic", "name" : "SYNOPSIS", - "version" : "4.018" + "version" : "4.020" }, { "class" : "Pod::Weaver::Section::Generic", "name" : "DESCRIPTION", - "version" : "4.018" + "version" : "4.020" }, { "class" : "Pod::Weaver::Section::Generic", "name" : "OVERVIEW", - "version" : "4.018" + "version" : "4.020" }, { "class" : "Pod::Weaver::Section::Collect", "name" : "ATTRIBUTES", - "version" : "4.018" + "version" : "4.020" }, { "class" : "Pod::Weaver::Section::Collect", "name" : "METHODS", - "version" : "4.018" + "version" : "4.020" }, { "class" : "Pod::Weaver::Section::Collect", "name" : "FUNCTIONS", - "version" : "4.018" + "version" : "4.020" }, { "class" : "Pod::Weaver::Section::Collect", "name" : "TYPES", - "version" : "4.018" + "version" : "4.020" }, { "class" : "Pod::Weaver::Section::Leftovers", "name" : "@Author::ETHER/Leftovers", - "version" : "4.018" + "version" : "4.020" }, { "class" : "Pod::Weaver::Section::Region", "name" : "@Author::ETHER/postlude", - "version" : "4.018" + "version" : "4.020" }, { "class" : "Pod::Weaver::Section::GenerateSection", "name" : "@Author::ETHER/generate SUPPORT", - "version" : "4.018" - }, - { - "class" : "Pod::Weaver::Section::AllowOverride", - "name" : "@Author::ETHER/allow override SUPPORT", - "version" : "0.05" + "version" : "4.020" }, { "class" : "Pod::Weaver::Section::Authors", "name" : "@Author::ETHER/Authors", - "version" : "4.018" + "version" : "4.020" }, { "class" : "Pod::Weaver::Section::AllowOverride", @@ -607,18 +601,18 @@ { "class" : "Pod::Weaver::Section::Legal", "name" : "@Author::ETHER/Legal", - "version" : "4.018" + "version" : "4.020" }, { "class" : "Pod::Weaver::Section::Region", "name" : "@Author::ETHER/footer", - "version" : "4.018" + "version" : "4.020" } ] } }, "name" : "@Author::ETHER/PodWeaver", - "version" : "4.009" + "version" : "4.010" }, { "class" : "Dist::Zilla::Plugin::GithubMeta", @@ -638,7 +632,7 @@ { "class" : "Dist::Zilla::Plugin::MetaNoIndex", "name" : "@Author::ETHER/MetaNoIndex", - "version" : "6.024" + "version" : "6.032" }, { "class" : "Dist::Zilla::Plugin::MetaProvides::Package", @@ -651,7 +645,7 @@ { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":InstallModules", - "version" : "6.024" + "version" : "6.032" } ], "include_underscores" : 0 @@ -663,7 +657,7 @@ "meta_noindex" : 1 }, "Dist::Zilla::Role::ModuleMetadata" : { - "Module::Metadata" : "1.000037", + "Module::Metadata" : "1.000038", "version" : "0.006" } }, @@ -673,7 +667,7 @@ { "class" : "Dist::Zilla::Plugin::MetaConfig", "name" : "@Author::ETHER/MetaConfig", - "version" : "6.024" + "version" : "6.032" }, { "class" : "Dist::Zilla::Plugin::Keywords", @@ -693,12 +687,12 @@ } }, "name" : "@Author::ETHER/UseUnsafeInc", - "version" : "0.001" + "version" : "0.002" }, { "class" : "Dist::Zilla::Plugin::AutoPrereqs", "name" : "@Author::ETHER/AutoPrereqs", - "version" : "6.024" + "version" : "6.032" }, { "class" : "Dist::Zilla::Plugin::Prereqs::AuthorDeps", @@ -718,13 +712,13 @@ } }, "name" : "@Author::ETHER/MakeMaker", - "version" : "6.024" + "version" : "6.032" }, { "class" : "Dist::Zilla::Plugin::Git::Contributors", "config" : { "Dist::Zilla::Plugin::Git::Contributors" : { - "git_version" : "2.31.1", + "git_version" : "2.45.2", "include_authors" : 0, "include_releaser" : 1, "order_by" : "commits", @@ -732,7 +726,7 @@ } }, "name" : "@Author::ETHER/Git::Contributors", - "version" : "0.036" + "version" : "0.037" }, { "class" : "Dist::Zilla::Plugin::StaticInstall", @@ -764,7 +758,7 @@ ] }, "Dist::Zilla::Role::ModuleMetadata" : { - "Module::Metadata" : "1.000037", + "Module::Metadata" : "1.000038", "version" : "0.006" } }, @@ -780,11 +774,11 @@ "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\"" ], - "version" : "0.048" + "version" : "0.050" } }, "name" : "@Author::ETHER/.ackrc", - "version" : "0.048" + "version" : "0.050" }, { "class" : "Dist::Zilla::Plugin::Run::AfterBuild", @@ -795,11 +789,11 @@ ], "fatal_errors" : 0, "quiet" : 1, - "version" : "0.048" + "version" : "0.050" } }, "name" : "@Author::ETHER/.latest", - "version" : "0.048" + "version" : "0.050" }, { "class" : "Dist::Zilla::Plugin::CheckStrictVersion", @@ -815,11 +809,11 @@ "class" : "Dist::Zilla::Plugin::EnsureLatestPerl", "config" : { "Dist::Zilla::Plugin::EnsureLatestPerl" : { - "Module::CoreList" : "5.20211120" + "Module::CoreList" : "5.20240720" } }, "name" : "@Author::ETHER/EnsureLatestPerl", - "version" : "0.008" + "version" : "0.010" }, { "class" : "Dist::Zilla::Plugin::PromptIfStale", @@ -834,7 +828,7 @@ } }, "name" : "@Author::ETHER/stale modules, release", - "version" : "0.057" + "version" : "0.060" }, { "class" : "Dist::Zilla::Plugin::Git::Check", @@ -848,18 +842,18 @@ "changelog" : "Changes" }, "Dist::Zilla::Role::Git::Repo" : { - "git_version" : "2.31.1", + "git_version" : "2.45.2", "repo_root" : "." } }, "name" : "@Author::ETHER/initial check", - "version" : "2.048" + "version" : "2.051" }, { "class" : "Dist::Zilla::Plugin::Git::CheckFor::MergeConflicts", "config" : { "Dist::Zilla::Role::Git::Repo" : { - "git_version" : "2.31.1", + "git_version" : "2.45.2", "repo_root" : "." } }, @@ -870,7 +864,7 @@ "class" : "Dist::Zilla::Plugin::Git::CheckFor::CorrectBranch", "config" : { "Dist::Zilla::Role::Git::Repo" : { - "git_version" : "2.31.1", + "git_version" : "2.45.2", "repo_root" : "." } }, @@ -885,12 +879,12 @@ { "class" : "Dist::Zilla::Plugin::CheckPrereqsIndexed", "name" : "@Author::ETHER/CheckPrereqsIndexed", - "version" : "0.021" + "version" : "0.022" }, { "class" : "Dist::Zilla::Plugin::TestRelease", "name" : "@Author::ETHER/TestRelease", - "version" : "6.024" + "version" : "6.032" }, { "class" : "Dist::Zilla::Plugin::Git::Check", @@ -904,12 +898,12 @@ "changelog" : "Changes" }, "Dist::Zilla::Role::Git::Repo" : { - "git_version" : "2.31.1", + "git_version" : "2.45.2", "repo_root" : "." } }, "name" : "@Author::ETHER/after tests", - "version" : "2.048" + "version" : "2.051" }, { "class" : "Dist::Zilla::Plugin::CheckIssues", @@ -919,7 +913,7 @@ { "class" : "Dist::Zilla::Plugin::UploadToCPAN", "name" : "@Author::ETHER/UploadToCPAN", - "version" : "6.024" + "version" : "6.032" }, { "class" : "Dist::Zilla::Plugin::CopyFilesFromRelease", @@ -957,7 +951,7 @@ } }, "name" : "@Author::ETHER/@Git::VersionManager/pluginbundle version", - "version" : "6.024" + "version" : "6.032" }, { "class" : "Dist::Zilla::Plugin::RewriteVersion::Transitional", @@ -1016,7 +1010,7 @@ "changelog" : "Changes" }, "Dist::Zilla::Role::Git::Repo" : { - "git_version" : "2.31.1", + "git_version" : "2.45.2", "repo_root" : "." }, "Dist::Zilla::Role::Git::StringFormatter" : { @@ -1024,7 +1018,7 @@ } }, "name" : "@Author::ETHER/@Git::VersionManager/release snapshot", - "version" : "2.048" + "version" : "2.051" }, { "class" : "Dist::Zilla::Plugin::Git::Tag", @@ -1033,12 +1027,12 @@ "branch" : null, "changelog" : "Changes", "signed" : 0, - "tag" : "v0.31", + "tag" : "v0.32", "tag_format" : "v%V", "tag_message" : "v%v%t" }, "Dist::Zilla::Role::Git::Repo" : { - "git_version" : "2.31.1", + "git_version" : "2.45.2", "repo_root" : "." }, "Dist::Zilla::Role::Git::StringFormatter" : { @@ -1046,7 +1040,7 @@ } }, "name" : "@Author::ETHER/@Git::VersionManager/Git::Tag", - "version" : "2.048" + "version" : "2.051" }, { "class" : "Dist::Zilla::Plugin::BumpVersionAfterRelease::Transitional", @@ -1066,7 +1060,7 @@ { "class" : "Dist::Zilla::Plugin::NextRelease", "name" : "@Author::ETHER/@Git::VersionManager/NextRelease", - "version" : "6.024" + "version" : "6.032" }, { "class" : "Dist::Zilla::Plugin::Git::Commit", @@ -1088,7 +1082,7 @@ "changelog" : "Changes" }, "Dist::Zilla::Role::Git::Repo" : { - "git_version" : "2.31.1", + "git_version" : "2.45.2", "repo_root" : "." }, "Dist::Zilla::Role::Git::StringFormatter" : { @@ -1096,7 +1090,7 @@ } }, "name" : "@Author::ETHER/@Git::VersionManager/post-release commit", - "version" : "2.048" + "version" : "2.051" }, { "class" : "Dist::Zilla::Plugin::Prereqs", @@ -1107,7 +1101,7 @@ } }, "name" : "@Author::ETHER/@Git::VersionManager/prereqs for @Git::VersionManager", - "version" : "6.024" + "version" : "6.032" }, { "class" : "Dist::Zilla::Plugin::Git::Push", @@ -1119,12 +1113,12 @@ "remotes_must_exist" : 1 }, "Dist::Zilla::Role::Git::Repo" : { - "git_version" : "2.31.1", + "git_version" : "2.45.2", "repo_root" : "." } }, "name" : "@Author::ETHER/Git::Push", - "version" : "2.048" + "version" : "2.051" }, { "class" : "Dist::Zilla::Plugin::GitHub::Update", @@ -1134,7 +1128,7 @@ } }, "name" : "@Author::ETHER/GitHub::Update", - "version" : "0.48" + "version" : "0.49" }, { "class" : "Dist::Zilla::Plugin::Run::AfterRelease", @@ -1145,11 +1139,11 @@ "run" : [ "REDACTED" ], - "version" : "0.048" + "version" : "0.050" } }, "name" : "@Author::ETHER/install release", - "version" : "0.048" + "version" : "0.050" }, { "class" : "Dist::Zilla::Plugin::Run::AfterRelease", @@ -1160,16 +1154,16 @@ ], "fatal_errors" : 1, "quiet" : 1, - "version" : "0.048" + "version" : "0.050" } }, "name" : "@Author::ETHER/release complete", - "version" : "0.048" + "version" : "0.050" }, { "class" : "Dist::Zilla::Plugin::ConfirmRelease", "name" : "@Author::ETHER/ConfirmRelease", - "version" : "6.024" + "version" : "6.032" }, { "class" : "Dist::Zilla::Plugin::Prereqs", @@ -1180,12 +1174,12 @@ } }, "name" : "@Author::ETHER/prereqs for @Author::ETHER", - "version" : "6.024" + "version" : "6.032" }, { "class" : "Dist::Zilla::Plugin::Substitute", "name" : "Substitute", - "version" : "0.006" + "version" : "0.007" }, { "class" : "Dist::Zilla::Plugin::Prereqs::Soften", @@ -1211,11 +1205,11 @@ "config" : { "Dist::Zilla::Plugin::OnlyCorePrereqs" : { "also_disallow" : [], - "check_dual_life_versions" : "0", + "check_dual_life_versions" : 0, "deprecated_ok" : 0, "phases" : [ - "configure", "build", + "configure", "runtime", "test" ], @@ -1224,7 +1218,7 @@ } }, "name" : "OnlyCorePrereqs", - "version" : "0.024" + "version" : "0.025" }, { "class" : "Dist::Zilla::Plugin::Breaks", @@ -1239,7 +1233,7 @@ "no_forced_deps" : 1 }, "Dist::Zilla::Role::ModuleMetadata" : { - "Module::Metadata" : "1.000037", + "Module::Metadata" : "1.000038", "version" : "0.006" } }, @@ -1249,52 +1243,52 @@ { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":InstallModules", - "version" : "6.024" + "version" : "6.032" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":IncModules", - "version" : "6.024" + "version" : "6.032" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":TestFiles", - "version" : "6.024" + "version" : "6.032" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ExtraTestFiles", - "version" : "6.024" + "version" : "6.032" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ExecFiles", - "version" : "6.024" + "version" : "6.032" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":PerlExecFiles", - "version" : "6.024" + "version" : "6.032" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ShareFiles", - "version" : "6.024" + "version" : "6.032" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":MainModule", - "version" : "6.024" + "version" : "6.032" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":AllFiles", - "version" : "6.024" + "version" : "6.032" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":NoFiles", - "version" : "6.024" + "version" : "6.032" }, { "class" : "Dist::Zilla::Plugin::VerifyPhases", @@ -1307,7 +1301,7 @@ "config" : { "is_trial" : 0 }, - "version" : "6.024" + "version" : "6.032" } }, "x_authority" : "cpan:NUFFIN", @@ -1340,8 +1334,8 @@ "Paul Howarth ", "Rudolf Leermakers " ], - "x_generated_by_perl" : "v5.35.6", - "x_serialization_backend" : "Cpanel::JSON::XS version 4.27", + "x_generated_by_perl" : "v5.41.2", + "x_serialization_backend" : "Cpanel::JSON::XS version 4.38", "x_spdx_expression" : "MIT", "x_use_unsafe_inc" : 0 } diff --git a/META.yml b/META.yml index 9e5a476..94bb746 100644 --- a/META.yml +++ b/META.yml @@ -13,7 +13,7 @@ configure_requires: ExtUtils::MakeMaker: '0' perl: '5.006' dynamic_config: 0 -generated_by: 'Dist::Zilla version 6.024, CPAN::Meta::Converter version 2.150010' +generated_by: 'Dist::Zilla version 6.032, CPAN::Meta::Converter version 2.150010' license: mit meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -26,7 +26,7 @@ no_index: provides: Try::Tiny: file: lib/Try/Tiny.pm - version: '0.31' + version: '0.32' requires: Carp: '0' Exporter: '5.57' @@ -38,15 +38,15 @@ resources: bugtracker: https://rt.cpan.org/Public/Dist/Display.html?Name=Try-Tiny homepage: https://github.com/p5sagit/Try-Tiny repository: https://github.com/p5sagit/Try-Tiny.git -version: '0.31' +version: '0.32' x_Dist_Zilla: perl: - version: '5.035006' + version: '5.041002' plugins: - class: Dist::Zilla::Plugin::FileFinder::Filter name: all_files_but_using_5.10_features - version: '6.024' + version: '6.032' - class: Dist::Zilla::Plugin::Prereqs config: @@ -54,7 +54,7 @@ x_Dist_Zilla: phase: develop type: recommends name: '@Author::ETHER/pluginbundle version' - version: '6.024' + version: '6.032' - class: Dist::Zilla::Plugin::PromptIfStale config: @@ -67,11 +67,11 @@ x_Dist_Zilla: run_under_travis: 0 skip: [] name: '@Author::ETHER/stale modules, build' - version: '0.057' + version: '0.060' - class: Dist::Zilla::Plugin::FileFinder::ByName name: '@Author::ETHER/Examples' - version: '6.024' + version: '6.032' - class: Dist::Zilla::Plugin::Git::GatherDir config: @@ -82,7 +82,6 @@ x_Dist_Zilla: - LICENCE - README.pod exclude_match: [] - follow_symlinks: 0 include_dotfiles: 0 prefix: '' prune_directory: [] @@ -90,27 +89,27 @@ x_Dist_Zilla: Dist::Zilla::Plugin::Git::GatherDir: include_untracked: 0 name: '@Author::ETHER/Git::GatherDir' - version: '2.048' + version: '2.051' - class: Dist::Zilla::Plugin::MetaYAML name: '@Author::ETHER/MetaYAML' - version: '6.024' + version: '6.032' - class: Dist::Zilla::Plugin::MetaJSON name: '@Author::ETHER/MetaJSON' - version: '6.024' + version: '6.032' - class: Dist::Zilla::Plugin::Readme name: '@Author::ETHER/Readme' - version: '6.024' + version: '6.032' - class: Dist::Zilla::Plugin::Manifest name: '@Author::ETHER/Manifest' - version: '6.024' + version: '6.032' - class: Dist::Zilla::Plugin::License name: '@Author::ETHER/License' - version: '6.024' + version: '6.032' - class: Dist::Zilla::Plugin::GenerateFile::FromShareDir config: @@ -131,7 +130,7 @@ x_Dist_Zilla: class: Dist::Zilla::Plugin::InstallGuide config: Dist::Zilla::Role::ModuleMetadata: - Module::Metadata: '1.000037' + Module::Metadata: '1.000038' version: '0.006' name: '@Author::ETHER/InstallGuide' version: '1.200014' @@ -139,7 +138,7 @@ x_Dist_Zilla: class: Dist::Zilla::Plugin::Test::Compile config: Dist::Zilla::Plugin::Test::Compile: - bail_out_on_fail: '1' + bail_out_on_fail: 1 fail_on_warning: author fake_home: 0 filename: xt/author/00-compile.t @@ -184,7 +183,7 @@ x_Dist_Zilla: - class: Dist::Zilla::Plugin::MetaTests name: '@Author::ETHER/MetaTests' - version: '6.024' + version: '6.032' - class: Dist::Zilla::Plugin::Test::CPAN::Changes config: @@ -206,11 +205,11 @@ x_Dist_Zilla: - class: Dist::Zilla::Plugin::PodSyntaxTests name: '@Author::ETHER/PodSyntaxTests' - version: '6.024' + version: '6.032' - class: Dist::Zilla::Plugin::PodCoverageTests name: '@Author::ETHER/PodCoverageTests' - version: '6.024' + version: '6.032' - class: Dist::Zilla::Plugin::Test::PodSpelling config: @@ -246,18 +245,18 @@ x_Dist_Zilla: - class: Dist::Zilla::Plugin::Test::ReportPrereqs name: '@Author::ETHER/Test::ReportPrereqs' - version: '0.028' + version: '0.029' - class: Dist::Zilla::Plugin::Test::Portability config: Dist::Zilla::Plugin::Test::Portability: options: '' name: '@Author::ETHER/Test::Portability' - version: '2.001000' + version: '2.001001' - class: Dist::Zilla::Plugin::Git::Describe name: '@Author::ETHER/Git::Describe' - version: '0.007' + version: '0.008' - class: Dist::Zilla::Plugin::PodWeaver config: @@ -266,92 +265,88 @@ x_Dist_Zilla: - '@Author::ETHER' finder: - ':InstallModules' - - ':ExecFiles' + - ':PerlExecFiles' plugins: - class: Pod::Weaver::Plugin::EnsurePod5 name: '@Author::ETHER/EnsurePod5' - version: '4.018' + version: '4.020' - class: Pod::Weaver::Plugin::H1Nester name: '@Author::ETHER/H1Nester' - version: '4.018' + version: '4.020' - class: Pod::Weaver::Plugin::SingleEncoding name: '@Author::ETHER/SingleEncoding' - version: '4.018' + version: '4.020' - class: Pod::Weaver::Plugin::Transformer name: '@Author::ETHER/List' - version: '4.018' + version: '4.020' - class: Pod::Weaver::Plugin::Transformer name: '@Author::ETHER/Verbatim' - version: '4.018' + version: '4.020' - class: Pod::Weaver::Section::Region name: '@Author::ETHER/header' - version: '4.018' + version: '4.020' - class: Pod::Weaver::Section::Name name: '@Author::ETHER/Name' - version: '4.018' + version: '4.020' - class: Pod::Weaver::Section::Version name: '@Author::ETHER/Version' - version: '4.018' + version: '4.020' - class: Pod::Weaver::Section::Region name: '@Author::ETHER/prelude' - version: '4.018' + version: '4.020' - class: Pod::Weaver::Section::Generic name: SYNOPSIS - version: '4.018' + version: '4.020' - class: Pod::Weaver::Section::Generic name: DESCRIPTION - version: '4.018' + version: '4.020' - class: Pod::Weaver::Section::Generic name: OVERVIEW - version: '4.018' + version: '4.020' - class: Pod::Weaver::Section::Collect name: ATTRIBUTES - version: '4.018' + version: '4.020' - class: Pod::Weaver::Section::Collect name: METHODS - version: '4.018' + version: '4.020' - class: Pod::Weaver::Section::Collect name: FUNCTIONS - version: '4.018' + version: '4.020' - class: Pod::Weaver::Section::Collect name: TYPES - version: '4.018' + version: '4.020' - class: Pod::Weaver::Section::Leftovers name: '@Author::ETHER/Leftovers' - version: '4.018' + version: '4.020' - class: Pod::Weaver::Section::Region name: '@Author::ETHER/postlude' - version: '4.018' + version: '4.020' - class: Pod::Weaver::Section::GenerateSection name: '@Author::ETHER/generate SUPPORT' - version: '4.018' - - - class: Pod::Weaver::Section::AllowOverride - name: '@Author::ETHER/allow override SUPPORT' - version: '0.05' + version: '4.020' - class: Pod::Weaver::Section::Authors name: '@Author::ETHER/Authors' - version: '4.018' + version: '4.020' - class: Pod::Weaver::Section::AllowOverride name: '@Author::ETHER/allow override AUTHOR' @@ -363,13 +358,13 @@ x_Dist_Zilla: - class: Pod::Weaver::Section::Legal name: '@Author::ETHER/Legal' - version: '4.018' + version: '4.020' - class: Pod::Weaver::Section::Region name: '@Author::ETHER/footer' - version: '4.018' + version: '4.020' name: '@Author::ETHER/PodWeaver' - version: '4.009' + version: '4.010' - class: Dist::Zilla::Plugin::GithubMeta name: '@Author::ETHER/GithubMeta' @@ -385,7 +380,7 @@ x_Dist_Zilla: - class: Dist::Zilla::Plugin::MetaNoIndex name: '@Author::ETHER/MetaNoIndex' - version: '6.024' + version: '6.032' - class: Dist::Zilla::Plugin::MetaProvides::Package config: @@ -396,22 +391,22 @@ x_Dist_Zilla: - class: Dist::Zilla::Plugin::FinderCode name: ':InstallModules' - version: '6.024' + version: '6.032' include_underscores: 0 Dist::Zilla::Role::MetaProvider::Provider: $Dist::Zilla::Role::MetaProvider::Provider::VERSION: '2.002004' - inherit_missing: '0' - inherit_version: '0' - meta_noindex: '1' + inherit_missing: 0 + inherit_version: 0 + meta_noindex: 1 Dist::Zilla::Role::ModuleMetadata: - Module::Metadata: '1.000037' + Module::Metadata: '1.000038' version: '0.006' name: '@Author::ETHER/MetaProvides::Package' version: '2.004003' - class: Dist::Zilla::Plugin::MetaConfig name: '@Author::ETHER/MetaConfig' - version: '6.024' + version: '6.032' - class: Dist::Zilla::Plugin::Keywords config: @@ -425,11 +420,11 @@ x_Dist_Zilla: Dist::Zilla::Plugin::UseUnsafeInc: dot_in_INC: 0 name: '@Author::ETHER/UseUnsafeInc' - version: '0.001' + version: '0.002' - class: Dist::Zilla::Plugin::AutoPrereqs name: '@Author::ETHER/AutoPrereqs' - version: '6.024' + version: '6.032' - class: Dist::Zilla::Plugin::Prereqs::AuthorDeps name: '@Author::ETHER/Prereqs::AuthorDeps' @@ -444,18 +439,18 @@ x_Dist_Zilla: Dist::Zilla::Role::TestRunner: default_jobs: 9 name: '@Author::ETHER/MakeMaker' - version: '6.024' + version: '6.032' - class: Dist::Zilla::Plugin::Git::Contributors config: Dist::Zilla::Plugin::Git::Contributors: - git_version: 2.31.1 + git_version: 2.45.2 include_authors: 0 include_releaser: 1 order_by: commits paths: [] name: '@Author::ETHER/Git::Contributors' - version: '0.036' + version: '0.037' - class: Dist::Zilla::Plugin::StaticInstall config: @@ -478,7 +473,7 @@ x_Dist_Zilla: finder: - ':InstallModules' Dist::Zilla::Role::ModuleMetadata: - Module::Metadata: '1.000037' + Module::Metadata: '1.000038' version: '0.006' name: '@Author::ETHER/CheckSelfDependency' version: '0.011' @@ -490,9 +485,9 @@ x_Dist_Zilla: quiet: 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\"" - version: '0.048' + version: '0.050' name: '@Author::ETHER/.ackrc' - version: '0.048' + version: '0.050' - class: Dist::Zilla::Plugin::Run::AfterBuild config: @@ -501,9 +496,9 @@ x_Dist_Zilla: - "if ('%d' =~ /^%n-[.[:xdigit:]]+$/) { unlink '.latest'; symlink '%d', '.latest'; }" fatal_errors: 0 quiet: 1 - version: '0.048' + version: '0.050' name: '@Author::ETHER/.latest' - version: '0.048' + version: '0.050' - class: Dist::Zilla::Plugin::CheckStrictVersion name: '@Author::ETHER/CheckStrictVersion' @@ -516,9 +511,9 @@ x_Dist_Zilla: class: Dist::Zilla::Plugin::EnsureLatestPerl config: Dist::Zilla::Plugin::EnsureLatestPerl: - Module::CoreList: '5.20211120' + Module::CoreList: '5.20240720' name: '@Author::ETHER/EnsureLatestPerl' - version: '0.008' + version: '0.010' - class: Dist::Zilla::Plugin::PromptIfStale config: @@ -530,7 +525,7 @@ x_Dist_Zilla: run_under_travis: 0 skip: [] name: '@Author::ETHER/stale modules, release' - version: '0.057' + version: '0.060' - class: Dist::Zilla::Plugin::Git::Check config: @@ -541,15 +536,15 @@ x_Dist_Zilla: allow_dirty_match: [] changelog: Changes Dist::Zilla::Role::Git::Repo: - git_version: 2.31.1 + git_version: 2.45.2 repo_root: . name: '@Author::ETHER/initial check' - version: '2.048' + version: '2.051' - class: Dist::Zilla::Plugin::Git::CheckFor::MergeConflicts config: Dist::Zilla::Role::Git::Repo: - git_version: 2.31.1 + git_version: 2.45.2 repo_root: . name: '@Author::ETHER/Git::CheckFor::MergeConflicts' version: '0.014' @@ -557,7 +552,7 @@ x_Dist_Zilla: class: Dist::Zilla::Plugin::Git::CheckFor::CorrectBranch config: Dist::Zilla::Role::Git::Repo: - git_version: 2.31.1 + git_version: 2.45.2 repo_root: . name: '@Author::ETHER/Git::CheckFor::CorrectBranch' version: '0.014' @@ -568,11 +563,11 @@ x_Dist_Zilla: - class: Dist::Zilla::Plugin::CheckPrereqsIndexed name: '@Author::ETHER/CheckPrereqsIndexed' - version: '0.021' + version: '0.022' - class: Dist::Zilla::Plugin::TestRelease name: '@Author::ETHER/TestRelease' - version: '6.024' + version: '6.032' - class: Dist::Zilla::Plugin::Git::Check config: @@ -583,10 +578,10 @@ x_Dist_Zilla: allow_dirty_match: [] changelog: Changes Dist::Zilla::Role::Git::Repo: - git_version: 2.31.1 + git_version: 2.45.2 repo_root: . name: '@Author::ETHER/after tests' - version: '2.048' + version: '2.051' - class: Dist::Zilla::Plugin::CheckIssues name: '@Author::ETHER/CheckIssues' @@ -594,7 +589,7 @@ x_Dist_Zilla: - class: Dist::Zilla::Plugin::UploadToCPAN name: '@Author::ETHER/UploadToCPAN' - version: '6.024' + version: '6.032' - class: Dist::Zilla::Plugin::CopyFilesFromRelease config: @@ -622,7 +617,7 @@ x_Dist_Zilla: phase: develop type: recommends name: '@Author::ETHER/@Git::VersionManager/pluginbundle version' - version: '6.024' + version: '6.032' - class: Dist::Zilla::Plugin::RewriteVersion::Transitional config: @@ -667,12 +662,12 @@ x_Dist_Zilla: allow_dirty_match: [] changelog: Changes Dist::Zilla::Role::Git::Repo: - git_version: 2.31.1 + git_version: 2.45.2 repo_root: . Dist::Zilla::Role::Git::StringFormatter: time_zone: local name: '@Author::ETHER/@Git::VersionManager/release snapshot' - version: '2.048' + version: '2.051' - class: Dist::Zilla::Plugin::Git::Tag config: @@ -680,16 +675,16 @@ x_Dist_Zilla: branch: ~ changelog: Changes signed: 0 - tag: v0.31 + tag: v0.32 tag_format: v%V tag_message: v%v%t Dist::Zilla::Role::Git::Repo: - git_version: 2.31.1 + git_version: 2.45.2 repo_root: . Dist::Zilla::Role::Git::StringFormatter: time_zone: local name: '@Author::ETHER/@Git::VersionManager/Git::Tag' - version: '2.048' + version: '2.051' - class: Dist::Zilla::Plugin::BumpVersionAfterRelease::Transitional config: @@ -704,7 +699,7 @@ x_Dist_Zilla: - class: Dist::Zilla::Plugin::NextRelease name: '@Author::ETHER/@Git::VersionManager/NextRelease' - version: '6.024' + version: '6.032' - class: Dist::Zilla::Plugin::Git::Commit config: @@ -721,12 +716,12 @@ x_Dist_Zilla: - (?^:^lib/.*\.pm$) changelog: Changes Dist::Zilla::Role::Git::Repo: - git_version: 2.31.1 + git_version: 2.45.2 repo_root: . Dist::Zilla::Role::Git::StringFormatter: time_zone: local name: '@Author::ETHER/@Git::VersionManager/post-release commit' - version: '2.048' + version: '2.051' - class: Dist::Zilla::Plugin::Prereqs config: @@ -734,7 +729,7 @@ x_Dist_Zilla: phase: x_Dist_Zilla type: requires name: '@Author::ETHER/@Git::VersionManager/prereqs for @Git::VersionManager' - version: '6.024' + version: '6.032' - class: Dist::Zilla::Plugin::Git::Push config: @@ -743,17 +738,17 @@ x_Dist_Zilla: - origin remotes_must_exist: 1 Dist::Zilla::Role::Git::Repo: - git_version: 2.31.1 + git_version: 2.45.2 repo_root: . name: '@Author::ETHER/Git::Push' - version: '2.048' + version: '2.051' - class: Dist::Zilla::Plugin::GitHub::Update config: Dist::Zilla::Plugin::GitHub::Update: metacpan: 1 name: '@Author::ETHER/GitHub::Update' - version: '0.48' + version: '0.49' - class: Dist::Zilla::Plugin::Run::AfterRelease config: @@ -762,9 +757,9 @@ x_Dist_Zilla: quiet: 0 run: - REDACTED - version: '0.048' + version: '0.050' name: '@Author::ETHER/install release' - version: '0.048' + version: '0.050' - class: Dist::Zilla::Plugin::Run::AfterRelease config: @@ -773,13 +768,13 @@ x_Dist_Zilla: - 'print "release complete!\xa"' fatal_errors: 1 quiet: 1 - version: '0.048' + version: '0.050' name: '@Author::ETHER/release complete' - version: '0.048' + version: '0.050' - class: Dist::Zilla::Plugin::ConfirmRelease name: '@Author::ETHER/ConfirmRelease' - version: '6.024' + version: '6.032' - class: Dist::Zilla::Plugin::Prereqs config: @@ -787,11 +782,11 @@ x_Dist_Zilla: phase: x_Dist_Zilla type: requires name: '@Author::ETHER/prereqs for @Author::ETHER' - version: '6.024' + version: '6.032' - class: Dist::Zilla::Plugin::Substitute name: Substitute - version: '0.006' + version: '0.007' - class: Dist::Zilla::Plugin::Prereqs::Soften config: @@ -811,17 +806,17 @@ x_Dist_Zilla: config: Dist::Zilla::Plugin::OnlyCorePrereqs: also_disallow: [] - check_dual_life_versions: '0' - deprecated_ok: '0' + check_dual_life_versions: 0 + deprecated_ok: 0 phases: - - configure - build + - configure - runtime - test skips: [] starting_version: 'to be determined from perl prereq' name: OnlyCorePrereqs - version: '0.024' + version: '0.025' - class: Dist::Zilla::Plugin::Breaks name: Breaks @@ -833,50 +828,50 @@ x_Dist_Zilla: conflicts_module: [] no_forced_deps: 1 Dist::Zilla::Role::ModuleMetadata: - Module::Metadata: '1.000037' + Module::Metadata: '1.000038' version: '0.006' name: Test::CheckBreaks version: '0.019' - class: Dist::Zilla::Plugin::FinderCode name: ':InstallModules' - version: '6.024' + version: '6.032' - class: Dist::Zilla::Plugin::FinderCode name: ':IncModules' - version: '6.024' + version: '6.032' - class: Dist::Zilla::Plugin::FinderCode name: ':TestFiles' - version: '6.024' + version: '6.032' - class: Dist::Zilla::Plugin::FinderCode name: ':ExtraTestFiles' - version: '6.024' + version: '6.032' - class: Dist::Zilla::Plugin::FinderCode name: ':ExecFiles' - version: '6.024' + version: '6.032' - class: Dist::Zilla::Plugin::FinderCode name: ':PerlExecFiles' - version: '6.024' + version: '6.032' - class: Dist::Zilla::Plugin::FinderCode name: ':ShareFiles' - version: '6.024' + version: '6.032' - class: Dist::Zilla::Plugin::FinderCode name: ':MainModule' - version: '6.024' + version: '6.032' - class: Dist::Zilla::Plugin::FinderCode name: ':AllFiles' - version: '6.024' + version: '6.032' - class: Dist::Zilla::Plugin::FinderCode name: ':NoFiles' - version: '6.024' + version: '6.032' - class: Dist::Zilla::Plugin::VerifyPhases name: '@Author::ETHER/PHASE VERIFICATION' @@ -884,8 +879,8 @@ x_Dist_Zilla: zilla: class: Dist::Zilla::Dist::Builder config: - is_trial: '0' - version: '6.024' + is_trial: 0 + version: '6.032' x_authority: cpan:NUFFIN x_breaks: Try::Tiny::Except: '<= 0.01' @@ -914,7 +909,7 @@ x_contributors: - 'Pali ' - 'Paul Howarth ' - 'Rudolf Leermakers ' -x_generated_by_perl: v5.35.6 -x_serialization_backend: 'YAML::Tiny version 1.73' +x_generated_by_perl: v5.41.2 +x_serialization_backend: 'YAML::Tiny version 1.74' x_spdx_expression: MIT x_use_unsafe_inc: 0 diff --git a/Makefile.PL b/Makefile.PL index df58c95..11e068d 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,4 +1,4 @@ -# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.024. +# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.032. use strict; use warnings; @@ -29,7 +29,7 @@ my %WriteMakefileArgs = ( "Test::More" => 0, "if" => 0 }, - "VERSION" => "0.31", + "VERSION" => "0.32", "test" => { "TESTS" => "t/*.t" } diff --git a/README b/README index 2b77579..160c196 100644 --- a/README +++ b/README @@ -1,5 +1,5 @@ This archive contains the distribution Try-Tiny, -version 0.31: +version 0.32: Minimal try/catch with proper preservation of $@ @@ -10,4 +10,4 @@ This is free software, licensed under: The MIT (X11) License -This README file was generated by Dist::Zilla::Plugin::Readme v6.024. +This README file was generated by Dist::Zilla::Plugin::Readme v6.032. diff --git a/lib/Try/Tiny.pm b/lib/Try/Tiny.pm index 6b5eb4e..6751183 100644 --- a/lib/Try/Tiny.pm +++ b/lib/Try/Tiny.pm @@ -1,8 +1,8 @@ -package Try::Tiny; # git description: v0.30-11-g1b81d0a +package Try::Tiny; # git description: v0.31-2-gc8e3a47 use 5.006; # ABSTRACT: Minimal try/catch with proper preservation of $@ -our $VERSION = '0.31'; +our $VERSION = '0.32'; use strict; use warnings; @@ -205,7 +205,7 @@ Try::Tiny - Minimal try/catch with proper preservation of $@ =head1 VERSION -version 0.31 +version 0.32 =head1 SYNOPSIS diff --git a/t/00-report-prereqs.dd b/t/00-report-prereqs.dd index 5f907eb..db23545 100644 --- a/t/00-report-prereqs.dd +++ b/t/00-report-prereqs.dd @@ -10,7 +10,7 @@ do { my $x = { }, 'develop' => { 'recommends' => { - 'Dist::Zilla::PluginBundle::Author::ETHER' => '0.161', + 'Dist::Zilla::PluginBundle::Author::ETHER' => '0.163', 'Dist::Zilla::PluginBundle::Git::VersionManager' => '0.007' }, 'requires' => { diff --git a/t/00-report-prereqs.t b/t/00-report-prereqs.t index 2024f66..8164ae6 100644 --- a/t/00-report-prereqs.t +++ b/t/00-report-prereqs.t @@ -3,7 +3,7 @@ use strict; use warnings; -# This test was generated by Dist::Zilla::Plugin::Test::ReportPrereqs 0.028 +# This test was generated by Dist::Zilla::Plugin::Test::ReportPrereqs 0.029 use Test::More tests => 1; @@ -116,20 +116,24 @@ for my $phase ( qw(configure build test runtime develop other) ) { 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; + if ($mod eq 'perl') { + push @reports, ['perl', $want, $]]; + next; + } + my $req_string = $want eq 'any' ? 'any version required' : "version '$want' required"; + my $file = $mod; + $file =~ s{::}{/}g; + $file .= ".pm"; + my ($prefix) = grep { -e File::Spec->catfile($_, $file) } @INC; + if ($prefix) { my $have = MM->parse_version( File::Spec->catfile($prefix, $file) ); $have = "undef" unless defined $have; diff --git a/t/given_when.t b/t/given_when.t index d12fa9c..dd4ae3f 100644 --- a/t/given_when.t +++ b/t/given_when.t @@ -6,6 +6,7 @@ use Test::More; BEGIN { plan skip_all => 'Perl 5.010 is required' unless "$]" >= '5.010'; plan skip_all => 'Tests skipped on perl 5.27.{7,8,9} when smartmatch behaviour changed' if "$]" >= '5.027007' and "$]" < '5.027010'; + plan skip_all => 'given/when have been removed in perl 5.42' if "$]" >= '5.041003'; plan tests => 2; } diff --git a/t/when.t b/t/when.t index 1a45db1..1c28978 100644 --- a/t/when.t +++ b/t/when.t @@ -6,6 +6,7 @@ use Test::More; BEGIN { plan skip_all => 'Perl 5.010 is required' unless "$]" >= '5.010'; plan skip_all => 'Tests skipped on perl 5.27.{7,8,9} when smartmatch behaviour changed' if "$]" >= '5.027007' and "$]" < '5.027010'; + plan skip_all => 'given/when have been removed in perl 5.42' if "$]" >= '5.041003'; plan tests => 5; } diff --git a/xt/author/distmeta.t b/xt/author/distmeta.t index c2280dc..d13978a 100644 --- a/xt/author/distmeta.t +++ b/xt/author/distmeta.t @@ -1,6 +1,7 @@ #!perl # This file was automatically generated by Dist::Zilla::Plugin::MetaTests. - +use strict; +use warnings; use Test::CPAN::Meta; meta_yaml_ok(); diff --git a/xt/author/pod-coverage.t b/xt/author/pod-coverage.t index 66b3b64..e6a9813 100644 --- a/xt/author/pod-coverage.t +++ b/xt/author/pod-coverage.t @@ -1,6 +1,7 @@ #!perl # This file was automatically generated by Dist::Zilla::Plugin::PodCoverageTests. - +use strict; +use warnings; use Test::Pod::Coverage 1.08; use Pod::Coverage::TrustPod; diff --git a/xt/author/portability.t b/xt/author/portability.t index c531252..6d1d92d 100644 --- a/xt/author/portability.t +++ b/xt/author/portability.t @@ -3,8 +3,6 @@ use warnings; use Test::More; -eval 'use Test::Portability::Files'; -plan skip_all => 'Test::Portability::Files required for testing portability' - if $@; +use Test::Portability::Files; run_tests(); diff --git a/xt/release/changes_has_content.t b/xt/release/changes_has_content.t index a4d43c4..325d189 100644 --- a/xt/release/changes_has_content.t +++ b/xt/release/changes_has_content.t @@ -2,7 +2,7 @@ use Test::More tests => 2; note 'Checking Changes'; my $changes_file = 'Changes'; -my $newver = '0.31'; +my $newver = '0.32'; my $trial_token = '-TRIAL'; my $encoding = 'UTF-8'; -- 2.34.1