Hello community, here is the log from the commit of package perl-Test-Warnings for openSUSE:Factory checked in at 2020-03-19 19:46:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Test-Warnings (Old) and /work/SRC/openSUSE:Factory/.perl-Test-Warnings.new.3160 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Test-Warnings" Thu Mar 19 19:46:05 2020 rev:13 rq:785531 version:0.029 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Test-Warnings/perl-Test-Warnings.changes 2019-12-25 10:55:11.585636668 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Test-Warnings.new.3160/perl-Test-Warnings.changes 2020-03-19 19:49:42.652163730 +0100 @@ -1,0 +2,10 @@ +Sun Mar 15 03:15:09 UTC 2020 - <[email protected]> + +- updated to 0.029 + see /usr/share/doc/packages/perl-Test-Warnings/Changes + + 0.029 2020-03-14 05:27:59Z + - new :report_warnings feature, for printing all of the (unexpected) + warning content when had_no_warnings() is called (Tina Mueller, PR#10) + +------------------------------------------------------------------- Old: ---- Test-Warnings-0.028.tar.gz New: ---- Test-Warnings-0.029.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Test-Warnings.spec ++++++ --- /var/tmp/diff_new_pack.GFWqjN/_old 2020-03-19 19:49:43.488164213 +0100 +++ /var/tmp/diff_new_pack.GFWqjN/_new 2020-03-19 19:49:43.488164213 +0100 @@ -1,7 +1,7 @@ # # spec file for package perl-Test-Warnings # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: perl-Test-Warnings -Version: 0.028 +Version: 0.029 Release: 0 %define cpan_name Test-Warnings Summary: Test for warnings and the lack of them ++++++ Test-Warnings-0.028.tar.gz -> Test-Warnings-0.029.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Warnings-0.028/CONTRIBUTING new/Test-Warnings-0.029/CONTRIBUTING --- old/Test-Warnings-0.028/CONTRIBUTING 2019-12-21 21:16:07.000000000 +0100 +++ new/Test-Warnings-0.029/CONTRIBUTING 2020-03-14 06:28:05.000000000 +0100 @@ -107,4 +107,4 @@ This file was generated via Dist::Zilla::Plugin::GenerateFile::FromShareDir 0.014 -from a template file originating in Dist-Zilla-PluginBundle-Author-ETHER-0.150. +from a template file originating in Dist-Zilla-PluginBundle-Author-ETHER-0.151. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Warnings-0.028/Changes new/Test-Warnings-0.029/Changes --- old/Test-Warnings-0.028/Changes 2019-12-21 21:16:07.000000000 +0100 +++ new/Test-Warnings-0.029/Changes 2020-03-14 06:28:05.000000000 +0100 @@ -1,5 +1,9 @@ Revision history for Test-Warnings +0.029 2020-03-14 05:27:59Z + - new :report_warnings feature, for printing all of the (unexpected) + warning content when had_no_warnings() is called (Tina Mueller, PR#10) + 0.028 2019-12-21 20:16:01Z - allow for calling warnings->import being called after importing the "warnings" sub diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Warnings-0.028/MANIFEST new/Test-Warnings-0.029/MANIFEST --- old/Test-Warnings-0.028/MANIFEST 2019-12-21 21:16:07.000000000 +0100 +++ new/Test-Warnings-0.029/MANIFEST 2020-03-14 06:28:05.000000000 +0100 @@ -1,4 +1,4 @@ -# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.013. +# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.014. CONTRIBUTING Changes INSTALL @@ -43,6 +43,7 @@ t/20-propagate-stub.t t/21-fail-on-warning.t t/22-warnings-bareword.t +t/23-report-warnings.t t/lib/SilenceStderr.pm t/zzz-check-breaks.t xt/author/00-compile.t diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Warnings-0.028/META.json new/Test-Warnings-0.029/META.json --- old/Test-Warnings-0.028/META.json 2019-12-21 21:16:07.000000000 +0100 +++ new/Test-Warnings-0.029/META.json 2020-03-14 06:28:05.000000000 +0100 @@ -4,7 +4,7 @@ "Karen Etheridge <[email protected]>" ], "dynamic_config" : 0, - "generated_by" : "Dist::Zilla version 6.013, CPAN::Meta::Converter version 2.150010", + "generated_by" : "Dist::Zilla version 6.014, CPAN::Meta::Converter version 2.150010", "keywords" : [ "testing", "tests", @@ -34,7 +34,7 @@ }, "develop" : { "recommends" : { - "Dist::Zilla::PluginBundle::Author::ETHER" : "0.150", + "Dist::Zilla::PluginBundle::Author::ETHER" : "0.151", "Dist::Zilla::PluginBundle::Git::VersionManager" : "0.007" }, "requires" : { @@ -181,7 +181,7 @@ "provides" : { "Test::Warnings" : { "file" : "lib/Test/Warnings.pm", - "version" : "0.028" + "version" : "0.029" } }, "release_status" : "stable", @@ -199,16 +199,16 @@ "x_IRC" : "irc://irc.perl.org/#perl-qa", "x_MailingList" : "http://lists.perl.org/list/perl-qa.html" }, - "version" : "0.028", + "version" : "0.029", "x_Dist_Zilla" : { "perl" : { - "version" : "5.031006" + "version" : "5.031009" }, "plugins" : [ { "class" : "Dist::Zilla::Plugin::FileFinder::Filter", "name" : "all_files_but_SilenceStderr", - "version" : "6.013" + "version" : "6.014" }, { "class" : "Dist::Zilla::Plugin::Prereqs", @@ -219,7 +219,7 @@ } }, "name" : "@Author::ETHER/pluginbundle version", - "version" : "6.013" + "version" : "6.014" }, { "class" : "Dist::Zilla::Plugin::PromptIfStale", @@ -241,7 +241,7 @@ { "class" : "Dist::Zilla::Plugin::FileFinder::ByName", "name" : "@Author::ETHER/Examples", - "version" : "6.013" + "version" : "6.014" }, { "class" : "Dist::Zilla::Plugin::Git::GatherDir", @@ -272,27 +272,27 @@ { "class" : "Dist::Zilla::Plugin::MetaYAML", "name" : "@Author::ETHER/MetaYAML", - "version" : "6.013" + "version" : "6.014" }, { "class" : "Dist::Zilla::Plugin::MetaJSON", "name" : "@Author::ETHER/MetaJSON", - "version" : "6.013" + "version" : "6.014" }, { "class" : "Dist::Zilla::Plugin::Readme", "name" : "@Author::ETHER/Readme", - "version" : "6.013" + "version" : "6.014" }, { "class" : "Dist::Zilla::Plugin::Manifest", "name" : "@Author::ETHER/Manifest", - "version" : "6.013" + "version" : "6.014" }, { "class" : "Dist::Zilla::Plugin::License", "name" : "@Author::ETHER/License", - "version" : "6.013" + "version" : "6.014" }, { "class" : "Dist::Zilla::Plugin::GenerateFile::FromShareDir", @@ -387,7 +387,7 @@ { "class" : "Dist::Zilla::Plugin::MetaTests", "name" : "@Author::ETHER/MetaTests", - "version" : "6.013" + "version" : "6.014" }, { "class" : "Dist::Zilla::Plugin::Test::CPAN::Changes", @@ -436,7 +436,7 @@ { "class" : "Dist::Zilla::Plugin::PodSyntaxTests", "name" : "@Author::ETHER/PodSyntaxTests", - "version" : "6.013" + "version" : "6.014" }, { "class" : "Dist::Zilla::Plugin::Test::PodSpelling", @@ -672,7 +672,7 @@ { "class" : "Dist::Zilla::Plugin::MetaNoIndex", "name" : "@Author::ETHER/MetaNoIndex", - "version" : "6.013" + "version" : "6.014" }, { "class" : "Dist::Zilla::Plugin::MetaProvides::Package", @@ -685,7 +685,7 @@ { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":InstallModules", - "version" : "6.013" + "version" : "6.014" } ], "include_underscores" : 0 @@ -707,7 +707,7 @@ { "class" : "Dist::Zilla::Plugin::MetaConfig", "name" : "@Author::ETHER/MetaConfig", - "version" : "6.013" + "version" : "6.014" }, { "class" : "Dist::Zilla::Plugin::Keywords", @@ -736,7 +736,7 @@ { "class" : "Dist::Zilla::Plugin::AutoPrereqs", "name" : "@Author::ETHER/AutoPrereqs", - "version" : "6.013" + "version" : "6.014" }, { "class" : "Dist::Zilla::Plugin::Prereqs::AuthorDeps", @@ -756,13 +756,13 @@ } }, "name" : "@Author::ETHER/MakeMaker", - "version" : "6.013" + "version" : "6.014" }, { "class" : "Dist::Zilla::Plugin::Git::Contributors", "config" : { "Dist::Zilla::Plugin::Git::Contributors" : { - "git_version" : "2.23.0", + "git_version" : "2.25.0", "include_authors" : 0, "include_releaser" : 1, "order_by" : "commits", @@ -853,7 +853,7 @@ "class" : "Dist::Zilla::Plugin::EnsureLatestPerl", "config" : { "Dist::Zilla::Plugin::EnsureLatestPerl" : { - "Module::CoreList" : "5.20191120" + "Module::CoreList" : "5.20200220" } }, "name" : "@Author::ETHER/EnsureLatestPerl", @@ -886,7 +886,7 @@ "changelog" : "Changes" }, "Dist::Zilla::Role::Git::Repo" : { - "git_version" : "2.23.0", + "git_version" : "2.25.0", "repo_root" : "." } }, @@ -897,7 +897,7 @@ "class" : "Dist::Zilla::Plugin::Git::CheckFor::MergeConflicts", "config" : { "Dist::Zilla::Role::Git::Repo" : { - "git_version" : "2.23.0", + "git_version" : "2.25.0", "repo_root" : "." } }, @@ -908,7 +908,7 @@ "class" : "Dist::Zilla::Plugin::Git::CheckFor::CorrectBranch", "config" : { "Dist::Zilla::Role::Git::Repo" : { - "git_version" : "2.23.0", + "git_version" : "2.25.0", "repo_root" : "." } }, @@ -928,7 +928,7 @@ { "class" : "Dist::Zilla::Plugin::TestRelease", "name" : "@Author::ETHER/TestRelease", - "version" : "6.013" + "version" : "6.014" }, { "class" : "Dist::Zilla::Plugin::Git::Check", @@ -942,7 +942,7 @@ "changelog" : "Changes" }, "Dist::Zilla::Role::Git::Repo" : { - "git_version" : "2.23.0", + "git_version" : "2.25.0", "repo_root" : "." } }, @@ -957,7 +957,7 @@ { "class" : "Dist::Zilla::Plugin::UploadToCPAN", "name" : "@Author::ETHER/UploadToCPAN", - "version" : "6.013" + "version" : "6.014" }, { "class" : "Dist::Zilla::Plugin::CopyFilesFromRelease", @@ -995,7 +995,7 @@ } }, "name" : "@Author::ETHER/@Git::VersionManager/pluginbundle version", - "version" : "6.013" + "version" : "6.014" }, { "class" : "Dist::Zilla::Plugin::RewriteVersion::Transitional", @@ -1053,7 +1053,7 @@ "changelog" : "Changes" }, "Dist::Zilla::Role::Git::Repo" : { - "git_version" : "2.23.0", + "git_version" : "2.25.0", "repo_root" : "." }, "Dist::Zilla::Role::Git::StringFormatter" : { @@ -1070,12 +1070,12 @@ "branch" : null, "changelog" : "Changes", "signed" : 0, - "tag" : "v0.028", + "tag" : "v0.029", "tag_format" : "v%V", "tag_message" : "v%v%t" }, "Dist::Zilla::Role::Git::Repo" : { - "git_version" : "2.23.0", + "git_version" : "2.25.0", "repo_root" : "." }, "Dist::Zilla::Role::Git::StringFormatter" : { @@ -1104,7 +1104,7 @@ { "class" : "Dist::Zilla::Plugin::NextRelease", "name" : "@Author::ETHER/@Git::VersionManager/NextRelease", - "version" : "6.013" + "version" : "6.014" }, { "class" : "Dist::Zilla::Plugin::Git::Commit", @@ -1125,7 +1125,7 @@ "changelog" : "Changes" }, "Dist::Zilla::Role::Git::Repo" : { - "git_version" : "2.23.0", + "git_version" : "2.25.0", "repo_root" : "." }, "Dist::Zilla::Role::Git::StringFormatter" : { @@ -1144,7 +1144,7 @@ } }, "name" : "@Author::ETHER/@Git::VersionManager/prereqs for @Git::VersionManager", - "version" : "6.013" + "version" : "6.014" }, { "class" : "Dist::Zilla::Plugin::Git::Push", @@ -1156,7 +1156,7 @@ "remotes_must_exist" : 1 }, "Dist::Zilla::Role::Git::Repo" : { - "git_version" : "2.23.0", + "git_version" : "2.25.0", "repo_root" : "." } }, @@ -1206,7 +1206,7 @@ { "class" : "Dist::Zilla::Plugin::ConfirmRelease", "name" : "@Author::ETHER/ConfirmRelease", - "version" : "6.013" + "version" : "6.014" }, { "class" : "Dist::Zilla::Plugin::Prereqs", @@ -1217,7 +1217,7 @@ } }, "name" : "@Author::ETHER/prereqs for @Author::ETHER", - "version" : "6.013" + "version" : "6.014" }, { "class" : "Dist::Zilla::Plugin::OnlyCorePrereqs", @@ -1260,7 +1260,7 @@ { "class" : "Dist::Zilla::Plugin::MetaResources", "name" : "MetaResources", - "version" : "6.013" + "version" : "6.014" }, { "class" : "Dist::Zilla::Plugin::Prereqs", @@ -1271,7 +1271,7 @@ } }, "name" : "DevelopRequires", - "version" : "6.013" + "version" : "6.014" }, { "class" : "Dist::Zilla::Plugin::Breaks", @@ -1296,17 +1296,17 @@ { "class" : "Dist::Zilla::Plugin::GenerateFile", "name" : "synopsis_1", - "version" : "6.013" + "version" : "6.014" }, { "class" : "Dist::Zilla::Plugin::GenerateFile", "name" : "synopsis_2", - "version" : "6.013" + "version" : "6.014" }, { "class" : "Dist::Zilla::Plugin::GenerateFile", "name" : "test_warning_contents", - "version" : "6.013" + "version" : "6.014" }, { "class" : "Dist::Zilla::Plugin::Substitute", @@ -1316,52 +1316,52 @@ { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":InstallModules", - "version" : "6.013" + "version" : "6.014" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":IncModules", - "version" : "6.013" + "version" : "6.014" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":TestFiles", - "version" : "6.013" + "version" : "6.014" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ExtraTestFiles", - "version" : "6.013" + "version" : "6.014" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ExecFiles", - "version" : "6.013" + "version" : "6.014" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":PerlExecFiles", - "version" : "6.013" + "version" : "6.014" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ShareFiles", - "version" : "6.013" + "version" : "6.014" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":MainModule", - "version" : "6.013" + "version" : "6.014" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":AllFiles", - "version" : "6.013" + "version" : "6.014" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":NoFiles", - "version" : "6.013" + "version" : "6.014" }, { "class" : "Dist::Zilla::Plugin::VerifyPhases", @@ -1374,7 +1374,7 @@ "config" : { "is_trial" : 0 }, - "version" : "6.013" + "version" : "6.014" } }, "x_authority" : "cpan:ETHER", @@ -1384,10 +1384,11 @@ "x_contributors" : [ "Graham Knop <[email protected]>", "A. Sinan Unur <[email protected]>", - "Leon Timmermans <[email protected]>" + "Leon Timmermans <[email protected]>", + "Tina Mueller <[email protected]>" ], - "x_generated_by_perl" : "v5.31.6", - "x_serialization_backend" : "Cpanel::JSON::XS version 4.17", + "x_generated_by_perl" : "v5.31.9", + "x_serialization_backend" : "Cpanel::JSON::XS version 4.19", "x_spdx_expression" : "Artistic-1.0-Perl OR GPL-1.0-or-later", "x_static_install" : 1, "x_use_unsafe_inc" : 0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Warnings-0.028/META.yml new/Test-Warnings-0.029/META.yml --- old/Test-Warnings-0.028/META.yml 2019-12-21 21:16:07.000000000 +0100 +++ new/Test-Warnings-0.029/META.yml 2020-03-14 06:28:05.000000000 +0100 @@ -12,7 +12,7 @@ ExtUtils::MakeMaker: '0' perl: '5.006' dynamic_config: 0 -generated_by: 'Dist::Zilla version 6.013, CPAN::Meta::Converter version 2.150010' +generated_by: 'Dist::Zilla version 6.014, CPAN::Meta::Converter version 2.150010' keywords: - testing - tests @@ -30,7 +30,7 @@ provides: Test::Warnings: file: lib/Test/Warnings.pm - version: '0.028' + version: '0.029' requires: Carp: '0' Exporter: '0' @@ -45,15 +45,15 @@ 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.028' +version: '0.029' x_Dist_Zilla: perl: - version: '5.031006' + version: '5.031009' plugins: - class: Dist::Zilla::Plugin::FileFinder::Filter name: all_files_but_SilenceStderr - version: '6.013' + version: '6.014' - class: Dist::Zilla::Plugin::Prereqs config: @@ -61,7 +61,7 @@ phase: develop type: recommends name: '@Author::ETHER/pluginbundle version' - version: '6.013' + version: '6.014' - class: Dist::Zilla::Plugin::PromptIfStale config: @@ -78,7 +78,7 @@ - class: Dist::Zilla::Plugin::FileFinder::ByName name: '@Author::ETHER/Examples' - version: '6.013' + version: '6.014' - class: Dist::Zilla::Plugin::Git::GatherDir config: @@ -103,23 +103,23 @@ - class: Dist::Zilla::Plugin::MetaYAML name: '@Author::ETHER/MetaYAML' - version: '6.013' + version: '6.014' - class: Dist::Zilla::Plugin::MetaJSON name: '@Author::ETHER/MetaJSON' - version: '6.013' + version: '6.014' - class: Dist::Zilla::Plugin::Readme name: '@Author::ETHER/Readme' - version: '6.013' + version: '6.014' - class: Dist::Zilla::Plugin::Manifest name: '@Author::ETHER/Manifest' - version: '6.013' + version: '6.014' - class: Dist::Zilla::Plugin::License name: '@Author::ETHER/License' - version: '6.013' + version: '6.014' - class: Dist::Zilla::Plugin::GenerateFile::FromShareDir config: @@ -193,7 +193,7 @@ - class: Dist::Zilla::Plugin::MetaTests name: '@Author::ETHER/MetaTests' - version: '6.013' + version: '6.014' - class: Dist::Zilla::Plugin::Test::CPAN::Changes config: @@ -230,7 +230,7 @@ - class: Dist::Zilla::Plugin::PodSyntaxTests name: '@Author::ETHER/PodSyntaxTests' - version: '6.013' + version: '6.014' - class: Dist::Zilla::Plugin::Test::PodSpelling config: @@ -413,7 +413,7 @@ - class: Dist::Zilla::Plugin::MetaNoIndex name: '@Author::ETHER/MetaNoIndex' - version: '6.013' + version: '6.014' - class: Dist::Zilla::Plugin::MetaProvides::Package config: @@ -424,7 +424,7 @@ - class: Dist::Zilla::Plugin::FinderCode name: ':InstallModules' - version: '6.013' + version: '6.014' include_underscores: 0 Dist::Zilla::Role::MetaProvider::Provider: $Dist::Zilla::Role::MetaProvider::Provider::VERSION: '2.002004' @@ -439,7 +439,7 @@ - class: Dist::Zilla::Plugin::MetaConfig name: '@Author::ETHER/MetaConfig' - version: '6.013' + version: '6.014' - class: Dist::Zilla::Plugin::Keywords config: @@ -460,7 +460,7 @@ - class: Dist::Zilla::Plugin::AutoPrereqs name: '@Author::ETHER/AutoPrereqs' - version: '6.013' + version: '6.014' - class: Dist::Zilla::Plugin::Prereqs::AuthorDeps name: '@Author::ETHER/Prereqs::AuthorDeps' @@ -475,12 +475,12 @@ Dist::Zilla::Role::TestRunner: default_jobs: 9 name: '@Author::ETHER/MakeMaker' - version: '6.013' + version: '6.014' - class: Dist::Zilla::Plugin::Git::Contributors config: Dist::Zilla::Plugin::Git::Contributors: - git_version: 2.23.0 + git_version: 2.25.0 include_authors: 0 include_releaser: 1 order_by: commits @@ -547,7 +547,7 @@ class: Dist::Zilla::Plugin::EnsureLatestPerl config: Dist::Zilla::Plugin::EnsureLatestPerl: - Module::CoreList: '5.20191120' + Module::CoreList: '5.20200220' name: '@Author::ETHER/EnsureLatestPerl' version: '0.008' - @@ -572,7 +572,7 @@ allow_dirty_match: [] changelog: Changes Dist::Zilla::Role::Git::Repo: - git_version: 2.23.0 + git_version: 2.25.0 repo_root: . name: '@Author::ETHER/initial check' version: '2.046' @@ -580,7 +580,7 @@ class: Dist::Zilla::Plugin::Git::CheckFor::MergeConflicts config: Dist::Zilla::Role::Git::Repo: - git_version: 2.23.0 + git_version: 2.25.0 repo_root: . name: '@Author::ETHER/Git::CheckFor::MergeConflicts' version: '0.014' @@ -588,7 +588,7 @@ class: Dist::Zilla::Plugin::Git::CheckFor::CorrectBranch config: Dist::Zilla::Role::Git::Repo: - git_version: 2.23.0 + git_version: 2.25.0 repo_root: . name: '@Author::ETHER/Git::CheckFor::CorrectBranch' version: '0.014' @@ -603,7 +603,7 @@ - class: Dist::Zilla::Plugin::TestRelease name: '@Author::ETHER/TestRelease' - version: '6.013' + version: '6.014' - class: Dist::Zilla::Plugin::Git::Check config: @@ -614,7 +614,7 @@ allow_dirty_match: [] changelog: Changes Dist::Zilla::Role::Git::Repo: - git_version: 2.23.0 + git_version: 2.25.0 repo_root: . name: '@Author::ETHER/after tests' version: '2.046' @@ -625,7 +625,7 @@ - class: Dist::Zilla::Plugin::UploadToCPAN name: '@Author::ETHER/UploadToCPAN' - version: '6.013' + version: '6.014' - class: Dist::Zilla::Plugin::CopyFilesFromRelease config: @@ -653,7 +653,7 @@ phase: develop type: recommends name: '@Author::ETHER/@Git::VersionManager/pluginbundle version' - version: '6.013' + version: '6.014' - class: Dist::Zilla::Plugin::RewriteVersion::Transitional config: @@ -697,7 +697,7 @@ allow_dirty_match: [] changelog: Changes Dist::Zilla::Role::Git::Repo: - git_version: 2.23.0 + git_version: 2.25.0 repo_root: . Dist::Zilla::Role::Git::StringFormatter: time_zone: local @@ -710,11 +710,11 @@ branch: ~ changelog: Changes signed: 0 - tag: v0.028 + tag: v0.029 tag_format: v%V tag_message: v%v%t Dist::Zilla::Role::Git::Repo: - git_version: 2.23.0 + git_version: 2.25.0 repo_root: . Dist::Zilla::Role::Git::StringFormatter: time_zone: local @@ -735,7 +735,7 @@ - class: Dist::Zilla::Plugin::NextRelease name: '@Author::ETHER/@Git::VersionManager/NextRelease' - version: '6.013' + version: '6.014' - class: Dist::Zilla::Plugin::Git::Commit config: @@ -751,7 +751,7 @@ - (?^:^lib/.*\.pm$) changelog: Changes Dist::Zilla::Role::Git::Repo: - git_version: 2.23.0 + git_version: 2.25.0 repo_root: . Dist::Zilla::Role::Git::StringFormatter: time_zone: local @@ -764,7 +764,7 @@ phase: x_Dist_Zilla type: requires name: '@Author::ETHER/@Git::VersionManager/prereqs for @Git::VersionManager' - version: '6.013' + version: '6.014' - class: Dist::Zilla::Plugin::Git::Push config: @@ -773,7 +773,7 @@ - origin remotes_must_exist: 1 Dist::Zilla::Role::Git::Repo: - git_version: 2.23.0 + git_version: 2.25.0 repo_root: . name: '@Author::ETHER/Git::Push' version: '2.046' @@ -809,7 +809,7 @@ - class: Dist::Zilla::Plugin::ConfirmRelease name: '@Author::ETHER/ConfirmRelease' - version: '6.013' + version: '6.014' - class: Dist::Zilla::Plugin::Prereqs config: @@ -817,7 +817,7 @@ phase: x_Dist_Zilla type: requires name: '@Author::ETHER/prereqs for @Author::ETHER' - version: '6.013' + version: '6.014' - class: Dist::Zilla::Plugin::OnlyCorePrereqs config: @@ -850,7 +850,7 @@ - class: Dist::Zilla::Plugin::MetaResources name: MetaResources - version: '6.013' + version: '6.014' - class: Dist::Zilla::Plugin::Prereqs config: @@ -858,7 +858,7 @@ phase: develop type: requires name: DevelopRequires - version: '6.013' + version: '6.014' - class: Dist::Zilla::Plugin::Breaks name: Breaks @@ -877,15 +877,15 @@ - class: Dist::Zilla::Plugin::GenerateFile name: synopsis_1 - version: '6.013' + version: '6.014' - class: Dist::Zilla::Plugin::GenerateFile name: synopsis_2 - version: '6.013' + version: '6.014' - class: Dist::Zilla::Plugin::GenerateFile name: test_warning_contents - version: '6.013' + version: '6.014' - class: Dist::Zilla::Plugin::Substitute name: Substitute @@ -893,43 +893,43 @@ - class: Dist::Zilla::Plugin::FinderCode name: ':InstallModules' - version: '6.013' + version: '6.014' - class: Dist::Zilla::Plugin::FinderCode name: ':IncModules' - version: '6.013' + version: '6.014' - class: Dist::Zilla::Plugin::FinderCode name: ':TestFiles' - version: '6.013' + version: '6.014' - class: Dist::Zilla::Plugin::FinderCode name: ':ExtraTestFiles' - version: '6.013' + version: '6.014' - class: Dist::Zilla::Plugin::FinderCode name: ':ExecFiles' - version: '6.013' + version: '6.014' - class: Dist::Zilla::Plugin::FinderCode name: ':PerlExecFiles' - version: '6.013' + version: '6.014' - class: Dist::Zilla::Plugin::FinderCode name: ':ShareFiles' - version: '6.013' + version: '6.014' - class: Dist::Zilla::Plugin::FinderCode name: ':MainModule' - version: '6.013' + version: '6.014' - class: Dist::Zilla::Plugin::FinderCode name: ':AllFiles' - version: '6.013' + version: '6.014' - class: Dist::Zilla::Plugin::FinderCode name: ':NoFiles' - version: '6.013' + version: '6.014' - class: Dist::Zilla::Plugin::VerifyPhases name: '@Author::ETHER/PHASE VERIFICATION' @@ -938,7 +938,7 @@ class: Dist::Zilla::Dist::Builder config: is_trial: '0' - version: '6.013' + version: '6.014' x_authority: cpan:ETHER x_breaks: File::pushd: '< 1.004' @@ -946,7 +946,8 @@ - 'Graham Knop <[email protected]>' - 'A. Sinan Unur <[email protected]>' - 'Leon Timmermans <[email protected]>' -x_generated_by_perl: v5.31.6 + - 'Tina Mueller <[email protected]>' +x_generated_by_perl: v5.31.9 x_serialization_backend: 'YAML::Tiny version 1.73' x_spdx_expression: 'Artistic-1.0-Perl OR GPL-1.0-or-later' x_static_install: 1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Warnings-0.028/Makefile.PL new/Test-Warnings-0.029/Makefile.PL --- old/Test-Warnings-0.028/Makefile.PL 2019-12-21 21:16:07.000000000 +0100 +++ new/Test-Warnings-0.029/Makefile.PL 2020-03-14 06:28:05.000000000 +0100 @@ -1,4 +1,4 @@ -# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.013. +# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.014. use strict; use warnings; @@ -30,7 +30,7 @@ "Test::More" => "0.94", "if" => 0 }, - "VERSION" => "0.028", + "VERSION" => "0.029", "test" => { "TESTS" => "t/*.t" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Warnings-0.028/README new/Test-Warnings-0.029/README --- old/Test-Warnings-0.028/README 2019-12-21 21:16:07.000000000 +0100 +++ new/Test-Warnings-0.029/README 2020-03-14 06:28:05.000000000 +0100 @@ -1,5 +1,5 @@ This archive contains the distribution Test-Warnings, -version 0.028: +version 0.029: Test for warnings and the lack of them @@ -9,4 +9,4 @@ the same terms as the Perl 5 programming language system itself. -This README file was generated by Dist::Zilla::Plugin::Readme v6.013. +This README file was generated by Dist::Zilla::Plugin::Readme v6.014. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Warnings-0.028/lib/Test/Warnings.pm new/Test-Warnings-0.029/lib/Test/Warnings.pm --- old/Test-Warnings-0.028/lib/Test/Warnings.pm 2019-12-21 21:16:07.000000000 +0100 +++ new/Test-Warnings-0.029/lib/Test/Warnings.pm 2020-03-14 06:28:05.000000000 +0100 @@ -1,11 +1,11 @@ use strict; use warnings; -package Test::Warnings; # git description: v0.027-4-g76bf83a +package Test::Warnings; # git description: v0.028-5-ged07d93 # vim: set ts=8 sts=4 sw=4 tw=115 et : # ABSTRACT: Test for warnings and the lack of them # KEYWORDS: testing tests warnings -our $VERSION = '0.028'; +our $VERSION = '0.029'; use parent 'Exporter'; use Test::Builder; @@ -22,6 +22,8 @@ my $done_testing_called; my $no_end_test; my $fail_on_warning; +my $report_warnings; +my @collected_warnings; sub import { @@ -32,8 +34,10 @@ $no_end_test = exists $names{':no_end_test'}; # __WARN__ handler will check for this status $fail_on_warning = exists $names{':fail_on_warning'}; + # Collect and report warnings at the end + $report_warnings = exists $names{':report_warnings'}; - delete @names{qw(:no_end_test :fail_on_warning)}; + delete @names{qw(:no_end_test :fail_on_warning :report_warnings)}; __PACKAGE__->export_to_level(1, $class, keys %names); } @@ -59,6 +63,7 @@ else { $forbidden_warnings_found++; + push @collected_warnings, $_[0] if $report_warnings; # TODO: this doesn't handle blessed coderefs... does anyone care? goto &$_orig_warn_handler if $_orig_warn_handler @@ -151,6 +156,12 @@ sub had_no_warnings(;$) { _builder->ok(!$forbidden_warnings_found, shift || 'no (unexpected) warnings'); + if ($report_warnings and $forbidden_warnings_found) { + _builder->diag("Got the following unexpected warnings:"); + for my $i (1 .. @collected_warnings) { + _builder->diag(" $i: $collected_warnings[ $i - 1 ]"); + } + } } 1; @@ -167,7 +178,7 @@ =head1 VERSION -version 0.028 +version 0.029 =head1 SYNOPSIS @@ -352,6 +363,11 @@ I recommend you only turn this option on when debugging a test, to see where a surprise warning is coming from, and rely on the end-of-tests check otherwise. +=head2 C<:report_warnings> + +When used, C<had_no_warnings()> will print all the unexempted warning content, in case it had been suppressed +earlier by other captures (such as L<Test::Output/stderr_like> or L<Capture::Tiny/capture>). + =head1 CAVEATS =for stopwords smartmatch TODO irc @@ -459,7 +475,7 @@ =head1 CONTRIBUTORS -=for stopwords Graham Knop A. Sinan Unur Leon Timmermans +=for stopwords Graham Knop A. Sinan Unur Leon Timmermans Tina Mueller =over 4 @@ -475,6 +491,10 @@ Leon Timmermans <[email protected]> +=item * + +Tina Mueller <[email protected]> + =back =head1 COPYRIGHT AND LICENCE diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Warnings-0.028/t/00-report-prereqs.dd new/Test-Warnings-0.029/t/00-report-prereqs.dd --- old/Test-Warnings-0.028/t/00-report-prereqs.dd 2019-12-21 21:16:07.000000000 +0100 +++ new/Test-Warnings-0.029/t/00-report-prereqs.dd 2020-03-14 06:28:05.000000000 +0100 @@ -7,7 +7,7 @@ }, 'develop' => { 'recommends' => { - 'Dist::Zilla::PluginBundle::Author::ETHER' => '0.150', + 'Dist::Zilla::PluginBundle::Author::ETHER' => '0.151', 'Dist::Zilla::PluginBundle::Git::VersionManager' => '0.007' }, 'requires' => { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Warnings-0.028/t/23-report-warnings.t new/Test-Warnings-0.029/t/23-report-warnings.t --- old/Test-Warnings-0.028/t/23-report-warnings.t 1970-01-01 01:00:00.000000000 +0100 +++ new/Test-Warnings-0.029/t/23-report-warnings.t 2020-03-14 06:28:05.000000000 +0100 @@ -0,0 +1,33 @@ +use strict; +use warnings; + +my $has_test_tester; +BEGIN { $has_test_tester = eval { require Test::Tester; Test::Tester->VERSION(0.108); 1 } } + +use Test::More 0.88; +plan skip_all => 'These tests require Test::Tester 0.108' if not $has_test_tester; +plan tests => 6; + +use if "$]" >= '5.008', lib => 't/lib'; +use if "$]" >= '5.008', 'SilenceStderr'; + +use Test::Warnings qw(had_no_warnings :report_warnings :no_end_test); +Test::Warnings::_builder(my $capture = Test::Tester::capture()); + +warn 'this is a warning 1 2 3'; my $line = __LINE__; + +my (undef, @results) = Test::Tester::run_tests(sub { had_no_warnings; }); + +Test::Tester::cmp_results( + [ $capture->details ], + [ + { + actual_ok => 0, + ok => 0, + name => 'no (unexpected) warnings', + diag => "Got the following unexpected warnings:\n 1: this is a warning 1 2 3 at ".__FILE__." line $line.", + depth => 1, + }, + ], + 'with :report_warnings enabled, had_no_warnings() tells about warnings that we may not have seen before', +); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Warnings-0.028/xt/author/changes_has_content.t new/Test-Warnings-0.029/xt/author/changes_has_content.t --- old/Test-Warnings-0.028/xt/author/changes_has_content.t 2019-12-21 21:16:07.000000000 +0100 +++ new/Test-Warnings-0.029/xt/author/changes_has_content.t 2020-03-14 06:28:05.000000000 +0100 @@ -7,8 +7,8 @@ # skip for master branch, only for travis if (($ENV{TRAVIS_PULL_REQUEST} || '') eq 'false') { chomp(my $branch_name = ($ENV{TRAVIS_BRANCH} || `git rev-parse --abbrev-ref HEAD`)); - $TODO = 'Changes need not have content for this release yet if this is only the master branch' - if ($branch_name || '') eq 'master'; + $TODO = 'Changes need not have content for this release yet if this is only the '.$1.' branch' + if ($branch_name || '') =~ /^(master|devel)$/; } do './xt/release/changes_has_content.t'; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Warnings-0.028/xt/author/eol.t new/Test-Warnings-0.029/xt/author/eol.t --- old/Test-Warnings-0.028/xt/author/eol.t 2019-12-21 21:16:07.000000000 +0100 +++ new/Test-Warnings-0.029/xt/author/eol.t 2020-03-14 06:28:05.000000000 +0100 @@ -41,6 +41,7 @@ 't/20-propagate-stub.t', 't/21-fail-on-warning.t', 't/22-warnings-bareword.t', + 't/23-report-warnings.t', 't/lib/SilenceStderr.pm', 't/zzz-check-breaks.t', 'xt/author/00-compile.t', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Warnings-0.028/xt/author/no-tabs.t new/Test-Warnings-0.029/xt/author/no-tabs.t --- old/Test-Warnings-0.028/xt/author/no-tabs.t 2019-12-21 21:16:07.000000000 +0100 +++ new/Test-Warnings-0.029/xt/author/no-tabs.t 2020-03-14 06:28:05.000000000 +0100 @@ -41,6 +41,7 @@ 't/20-propagate-stub.t', 't/21-fail-on-warning.t', 't/22-warnings-bareword.t', + 't/23-report-warnings.t', 't/lib/SilenceStderr.pm', 't/zzz-check-breaks.t', 'xt/author/00-compile.t', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Warnings-0.028/xt/author/pod-spell.t new/Test-Warnings-0.029/xt/author/pod-spell.t --- old/Test-Warnings-0.028/xt/author/pod-spell.t 2019-12-21 21:16:07.000000000 +0100 +++ new/Test-Warnings-0.029/xt/author/pod-spell.t 2020-03-14 06:28:05.000000000 +0100 @@ -15,11 +15,14 @@ Karen Knop Leon +Mueller Sinan Test Timmermans +Tina Unur Warnings +cpan2 ether fawaka haarg diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Warnings-0.028/xt/release/changes_has_content.t new/Test-Warnings-0.029/xt/release/changes_has_content.t --- old/Test-Warnings-0.028/xt/release/changes_has_content.t 2019-12-21 21:16:07.000000000 +0100 +++ new/Test-Warnings-0.029/xt/release/changes_has_content.t 2020-03-14 06:28:05.000000000 +0100 @@ -2,7 +2,7 @@ note 'Checking Changes'; my $changes_file = 'Changes'; -my $newver = '0.028'; +my $newver = '0.029'; my $trial_token = '-TRIAL'; my $encoding = 'UTF-8';
