Hello community,
here is the log from the commit of package perl-Test-Warnings for
openSUSE:Factory checked in at 2013-12-09 07:15:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Test-Warnings (Old)
and /work/SRC/openSUSE:Factory/.perl-Test-Warnings.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Test-Warnings"
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Test-Warnings/perl-Test-Warnings.changes
2013-10-06 14:32:13.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.perl-Test-Warnings.new/perl-Test-Warnings.changes
2013-12-09 07:15:51.000000000 +0100
@@ -1,0 +2,8 @@
+Mon Nov 25 07:38:08 UTC 2013 - [email protected]
+
+- updated to 0.012
+ - re-release to fix t/00-report-prereqs.t use of
+ CPAN::Meta::Requirements
+ - unnecessary tests removed; CONTRIBUTING file added
+
+-------------------------------------------------------------------
Old:
----
Test-Warnings-0.010.tar.gz
New:
----
Test-Warnings-0.012.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Test-Warnings.spec ++++++
--- /var/tmp/diff_new_pack.UeUbTA/_old 2013-12-09 07:15:52.000000000 +0100
+++ /var/tmp/diff_new_pack.UeUbTA/_new 2013-12-09 07:15:52.000000000 +0100
@@ -17,7 +17,7 @@
Name: perl-Test-Warnings
-Version: 0.010
+Version: 0.012
Release: 0
%define cpan_name Test-Warnings
Summary: Test for warnings and the lack of them
@@ -29,8 +29,7 @@
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
-BuildRequires: perl(Module::Build::Tiny) >= 0.027
-BuildRequires: perl(Test::CheckDeps) >= 0.007
+BuildRequires: perl(Module::Build::Tiny) >= 0.030
BuildRequires: perl(Test::Deep)
BuildRequires: perl(Test::More) >= 0.94
BuildRequires: perl(Test::Tester) >= 0.108
@@ -92,6 +91,6 @@
%files -f %{name}.files
%defattr(-,root,root,755)
-%doc Changes examples LICENSE README weaver.ini
+%doc Changes CONTRIBUTING examples LICENSE README weaver.ini
%changelog
++++++ Test-Warnings-0.010.tar.gz -> Test-Warnings-0.012.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Warnings-0.010/Build.PL
new/Test-Warnings-0.012/Build.PL
--- old/Test-Warnings-0.010/Build.PL 2013-09-25 05:30:03.000000000 +0200
+++ new/Test-Warnings-0.012/Build.PL 2013-10-14 18:54:54.000000000 +0200
@@ -1,3 +1,3 @@
use 5.006;
-use Module::Build::Tiny 0.027;
+use Module::Build::Tiny 0.030;
Build_PL();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Warnings-0.010/CONTRIBUTING
new/Test-Warnings-0.012/CONTRIBUTING
--- old/Test-Warnings-0.010/CONTRIBUTING 1970-01-01 01:00:00.000000000
+0100
+++ new/Test-Warnings-0.012/CONTRIBUTING 2013-10-14 18:54:54.000000000
+0200
@@ -0,0 +1,65 @@
+
+CONTRIBUTING
+
+Thank you for considering contributing to this distribution. This file
+contains instructions that will help you work with the source code.
+
+The distribution is managed with 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).
+
+However, you can run tests directly using the 'prove' tool:
+
+ $ prove -l
+ $ prove -lv t/some_test_file.t
+ $ prove -lvr t/
+
+In most cases, 'prove' is entirely sufficent for you to test any
+patches you have.
+
+You may need to satisfy some dependencies. The easiest way to satisfy
+dependencies is to install the last release -- this is available at
+http::/metacpan.org/release/Test-Warnings.
+
+If you use cpanminus, you can simply do this from the root of the extracted
+tarball directory:
+
+ $ cpanm --installdeps .
+
+Dist::Zilla is a very powerful authoring tool, but requires a number of
+author-specific plugins. If you would like to use it for contributing,
+install it from CPAN, then run one of the following commands, depending on
+your CPAN client:
+
+ $ cpan `dzil authordeps`
+ $ dzil authordeps | cpanm
+
+Once installed, here are some dzil commands you might try:
+
+ $ dzil build
+ $ dzil test
+ $ dzil test --release
+ $ dzil xtest
+ $ dzil listdeps --json
+ $ dzil build --not
+
+You can learn more about Dist::Zilla at http://dzil.org/.
+
+The code for this distribution is hosted at GitHub. The main repository is:
+https://github.com/karenetheridge/Test-Warnings.
+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
+can submit an issue report here:
+https://rt.cpan.org/Public/Dist/Display.html?Name=Test-Warnings
+or via [email protected].
+This is also a good place to send your questions about the usage of this
distribution.
+
+
+This file was generated via Dist::Zilla::Plugin::GenerateFile::ShareDir 0.001
from a
+template file originating in Dist-Zilla-PluginBundle-Author-ETHER-0.031.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Warnings-0.010/Changes
new/Test-Warnings-0.012/Changes
--- old/Test-Warnings-0.010/Changes 2013-09-25 05:30:03.000000000 +0200
+++ new/Test-Warnings-0.012/Changes 2013-10-14 18:54:54.000000000 +0200
@@ -1,5 +1,12 @@
Revision history for Test-Warnings
+0.012 2013-10-14 16:54:47Z (Karen Etheridge)
+ - re-release to fix t/00-report-prereqs.t use of
+ CPAN::Meta::Requirements
+
+0.011 2013-10-12 22:15:02Z (Karen Etheridge)
+ - unnecessary tests removed; CONTRIBUTING file added
+
0.010 2013-09-25 03:29:53Z (Karen Etheridge)
- re-release with fixed compile test
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Warnings-0.010/INSTALL
new/Test-Warnings-0.012/INSTALL
--- old/Test-Warnings-0.010/INSTALL 2013-09-25 05:30:03.000000000 +0200
+++ new/Test-Warnings-0.012/INSTALL 2013-10-14 18:54:54.000000000 +0200
@@ -25,20 +25,6 @@
As a last resort, you can manually install it. Download the tarball, untar it,
then build it:
- % perl Makefile.PL
- % make && make test
-
-Then install it:
-
- % make install
-
-If you are installing into a system-wide directory, you may need to run:
-
- % sudo make install
-
-As a last resort, you can manually install it. Download the tarball, untar it,
-then build it:
-
% perl Build.PL
% ./Build && ./Build test
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Warnings-0.010/MANIFEST
new/Test-Warnings-0.012/MANIFEST
--- old/Test-Warnings-0.010/MANIFEST 2013-09-25 05:30:03.000000000 +0200
+++ new/Test-Warnings-0.012/MANIFEST 2013-10-14 18:54:54.000000000 +0200
@@ -1,4 +1,5 @@
Build.PL
+CONTRIBUTING
Changes
INSTALL
LICENSE
@@ -18,8 +19,6 @@
examples/with_done_testing.t
examples/with_plan.t
lib/Test/Warnings.pm
-t/00-check-deps.t
-t/00-compile.t
t/00-report-prereqs.t
t/01-basic-tb0.9x.t
t/01-basic-tb2.t
@@ -37,6 +36,7 @@
t/50-examples-synopsis_2.t
t/50-examples-test_warning_contents.t
weaver.ini
+xt/author/00-compile.t
xt/author/pod-spell.t
xt/release/changes_has_content.t
xt/release/clean-namespaces.t
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Warnings-0.010/META.json
new/Test-Warnings-0.012/META.json
--- old/Test-Warnings-0.010/META.json 2013-09-25 05:30:03.000000000 +0200
+++ new/Test-Warnings-0.012/META.json 2013-10-14 18:54:54.000000000 +0200
@@ -4,7 +4,7 @@
"Karen Etheridge <[email protected]>"
],
"dynamic_config" : 0,
- "generated_by" : "Dist::Zilla version 4.300039, CPAN::Meta::Converter
version 2.132620",
+ "generated_by" : "Dist::Zilla version 4.300039, CPAN::Meta::Converter
version 2.132830",
"license" : [
"perl_5"
],
@@ -24,19 +24,25 @@
"configure" : {
"requires" : {
"ExtUtils::MakeMaker" : "6.30",
- "Module::Build::Tiny" : "0.027"
+ "Module::Build::Tiny" : "0.030"
}
},
"develop" : {
+ "recommends" : {
+ "Dist::Zilla::PluginBundle::Author::ETHER" : "0.031"
+ },
"requires" : {
"Dist::Zilla" : "4.300039",
"Dist::Zilla::Plugin::MakeMaker::Fallback" : "0",
"Dist::Zilla::Plugin::ModuleBuildTiny" : "0.004",
"Dist::Zilla::PluginBundle::Author::ETHER" : "0.019",
+ "File::Spec" : "0",
+ "IO::Handle" : "0",
+ "IPC::Open3" : "0",
"Test::CPAN::Changes" : "0.19",
"Test::CPAN::Meta" : "0",
"Test::Kwalitee" : "1.08",
- "Test::More" : "0",
+ "Test::More" : "0.94",
"Test::NoTabs" : "0",
"Test::Pod" : "1.41"
}
@@ -54,12 +60,8 @@
"test" : {
"requires" : {
"ExtUtils::MakeMaker" : "0",
- "File::Spec" : "0",
"File::Spec::Functions" : "0",
- "IO::Handle" : "0",
- "IPC::Open3" : "0",
"List::Util" : "0",
- "Test::CheckDeps" : "0.007",
"Test::Deep" : "0",
"Test::More" : "0.94",
"Test::Tester" : "0.108",
@@ -70,7 +72,7 @@
"provides" : {
"Test::Warnings" : {
"file" : "lib/Test/Warnings.pm",
- "version" : "0.010"
+ "version" : "0.012"
}
},
"release_status" : "stable",
@@ -86,7 +88,7 @@
"web" : "https://github.com/karenetheridge/Test-Warnings"
}
},
- "version" : "0.010",
+ "version" : "0.012",
"x_Dist_Zilla" : {
"perl" : {
"version" : "5.019004"
@@ -100,12 +102,12 @@
{
"class" : "Dist::Zilla::Plugin::PromptIfStale",
"name" : "@Author::ETHER/build",
- "version" : "0.006"
+ "version" : "0.008"
},
{
"class" : "Dist::Zilla::Plugin::PromptIfStale",
"name" : "@Author::ETHER/release",
- "version" : "0.006"
+ "version" : "0.008"
},
{
"class" : "Dist::Zilla::Plugin::ExecDir",
@@ -153,9 +155,22 @@
"version" : "4.300039"
},
{
+ "class" : "Dist::Zilla::Plugin::GenerateFile::ShareDir",
+ "config" : {
+ "Dist::Zilla::Plugin::GenerateFile::ShareDir" : {
+ "destination_filename" : "CONTRIBUTING",
+ "dist" : "Dist-Zilla-PluginBundle-Author-ETHER",
+ "source_filename" : "CONTRIBUTING"
+ }
+ },
+ "name" : "@Author::ETHER/GenerateFile::ShareDir",
+ "version" : "0.001"
+ },
+ {
"class" : "Dist::Zilla::Plugin::Test::Compile",
"config" : {
"Dist::Zilla::Plugin::Test::Compile" : {
+ "filename" : "xt/author/00-compile.t",
"module_finder" : [
":InstallModules"
],
@@ -166,12 +181,7 @@
}
},
"name" : "@Author::ETHER/Test::Compile",
- "version" : "2.033"
- },
- {
- "class" : "Dist::Zilla::Plugin::Test::CheckDeps",
- "name" : "@Author::ETHER/Test::CheckDeps",
- "version" : "0.008"
+ "version" : "2.036"
},
{
"class" : "Dist::Zilla::Plugin::Test::NoTabs",
@@ -187,7 +197,7 @@
}
},
"name" : "@Author::ETHER/Test::NoTabs",
- "version" : "0.02"
+ "version" : "0.05"
},
{
"class" : "Dist::Zilla::Plugin::EOLTests",
@@ -247,7 +257,7 @@
{
"class" : "Dist::Zilla::Plugin::Test::ReportPrereqs",
"name" : "@Author::ETHER/Test::ReportPrereqs",
- "version" : "0.006"
+ "version" : "0.008"
},
{
"class" : "Dist::Zilla::Plugin::PruneCruft",
@@ -271,8 +281,16 @@
},
{
"class" : "Dist::Zilla::Plugin::PodWeaver",
+ "config" : {
+ "Dist::Zilla::Plugin::PodWeaver" : {
+ "finder" : [
+ ":InstallModules",
+ ":ExecFiles"
+ ]
+ }
+ },
"name" : "@Author::ETHER/PodWeaver",
- "version" : "3.101642"
+ "version" : "3.102000"
},
{
"class" : "Dist::Zilla::Plugin::NextRelease",
@@ -282,7 +300,7 @@
{
"class" : "Dist::Zilla::Plugin::GithubMeta",
"name" : "@Author::ETHER/GithubMeta",
- "version" : "0.38"
+ "version" : "0.42"
},
{
"class" : "Dist::Zilla::Plugin::AutoMetaResources",
@@ -344,6 +362,22 @@
"version" : "4.300039"
},
{
+ "class" : "Dist::Zilla::Plugin::Prereqs",
+ "config" : {
+ "Dist::Zilla::Plugin::Prereqs" : {
+ "phase" : "develop",
+ "type" : "recommends"
+ }
+ },
+ "name" : "@Author::ETHER/pluginbundle_version",
+ "version" : "4.300039"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::RunExtraTests",
+ "name" : "@Author::ETHER/RunExtraTests",
+ "version" : "0.011"
+ },
+ {
"class" : "Dist::Zilla::Plugin::ReadmeAnyFromPod",
"name" : "@Author::ETHER/ReadmeAnyFromPod",
"version" : "0.131500"
@@ -361,7 +395,7 @@
{
"class" : "Dist::Zilla::Plugin::InstallGuide",
"name" : "@Author::ETHER/InstallGuide",
- "version" : "1.200000"
+ "version" : "1.200001"
},
{
"class" : "Dist::Zilla::Plugin::CopyFilesFromBuild",
@@ -374,11 +408,6 @@
"version" : "0.020"
},
{
- "class" : "Dist::Zilla::Plugin::RunExtraTests",
- "name" : "@Author::ETHER/RunExtraTests",
- "version" : "0.011"
- },
- {
"class" : "Dist::Zilla::Plugin::Git::Check",
"name" : "@Author::ETHER/Git::Check",
"version" : "2.014"
@@ -386,12 +415,12 @@
{
"class" : "Dist::Zilla::Plugin::Git::CheckFor::MergeConflicts",
"name" : "@Author::ETHER/Git::CheckFor::MergeConflicts",
- "version" : "0.006"
+ "version" : "0.007"
},
{
"class" : "Dist::Zilla::Plugin::Git::CheckFor::CorrectBranch",
"name" : "@Author::ETHER/Git::CheckFor::CorrectBranch",
- "version" : "0.006"
+ "version" : "0.007"
},
{
"class" : "Dist::Zilla::Plugin::Git::Remote::Check",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Warnings-0.010/META.yml
new/Test-Warnings-0.012/META.yml
--- old/Test-Warnings-0.010/META.yml 2013-09-25 05:30:03.000000000 +0200
+++ new/Test-Warnings-0.012/META.yml 2013-10-14 18:54:54.000000000 +0200
@@ -4,21 +4,17 @@
- 'Karen Etheridge <[email protected]>'
build_requires:
ExtUtils::MakeMaker: 0
- File::Spec: 0
File::Spec::Functions: 0
- IO::Handle: 0
- IPC::Open3: 0
List::Util: 0
- Test::CheckDeps: 0.007
Test::Deep: 0
Test::More: 0.94
Test::Tester: 0.108
if: 0
configure_requires:
ExtUtils::MakeMaker: 6.30
- Module::Build::Tiny: 0.027
+ Module::Build::Tiny: 0.030
dynamic_config: 0
-generated_by: 'Dist::Zilla version 4.300039, CPAN::Meta::Converter version
2.132620'
+generated_by: 'Dist::Zilla version 4.300039, CPAN::Meta::Converter version
2.132830'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -32,7 +28,7 @@
provides:
Test::Warnings:
file: lib/Test/Warnings.pm
- version: 0.010
+ version: 0.012
requires:
Exporter: 0
Test::Builder: 0
@@ -44,7 +40,7 @@
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.010
+version: 0.012
x_Dist_Zilla:
perl:
version: 5.019004
@@ -56,11 +52,11 @@
-
class: Dist::Zilla::Plugin::PromptIfStale
name: '@Author::ETHER/build'
- version: 0.006
+ version: 0.008
-
class: Dist::Zilla::Plugin::PromptIfStale
name: '@Author::ETHER/release'
- version: 0.006
+ version: 0.008
-
class: Dist::Zilla::Plugin::ExecDir
name: '@Author::ETHER/ExecDir'
@@ -98,20 +94,26 @@
name: '@Author::ETHER/Manifest'
version: 4.300039
-
+ class: Dist::Zilla::Plugin::GenerateFile::ShareDir
+ config:
+ Dist::Zilla::Plugin::GenerateFile::ShareDir:
+ destination_filename: CONTRIBUTING
+ dist: Dist-Zilla-PluginBundle-Author-ETHER
+ source_filename: CONTRIBUTING
+ name: '@Author::ETHER/GenerateFile::ShareDir'
+ version: 0.001
+ -
class: Dist::Zilla::Plugin::Test::Compile
config:
Dist::Zilla::Plugin::Test::Compile:
+ filename: xt/author/00-compile.t
module_finder:
- ':InstallModules'
script_finder:
- ':ExecFiles'
- '@Author::ETHER/Examples'
name: '@Author::ETHER/Test::Compile'
- version: 2.033
- -
- class: Dist::Zilla::Plugin::Test::CheckDeps
- name: '@Author::ETHER/Test::CheckDeps'
- version: 0.008
+ version: 2.036
-
class: Dist::Zilla::Plugin::Test::NoTabs
config:
@@ -122,7 +124,7 @@
- ':ExecFiles'
- '@Author::ETHER/Examples'
name: '@Author::ETHER/Test::NoTabs'
- version: 0.02
+ version: 0.05
-
class: Dist::Zilla::Plugin::EOLTests
name: '@Author::ETHER/EOLTests'
@@ -170,7 +172,7 @@
-
class: Dist::Zilla::Plugin::Test::ReportPrereqs
name: '@Author::ETHER/Test::ReportPrereqs'
- version: 0.006
+ version: 0.008
-
class: Dist::Zilla::Plugin::PruneCruft
name: '@Author::ETHER/PruneCruft'
@@ -189,8 +191,13 @@
version: 4.300039
-
class: Dist::Zilla::Plugin::PodWeaver
+ config:
+ Dist::Zilla::Plugin::PodWeaver:
+ finder:
+ - ':InstallModules'
+ - ':ExecFiles'
name: '@Author::ETHER/PodWeaver'
- version: 3.101642
+ version: 3.102000
-
class: Dist::Zilla::Plugin::NextRelease
name: '@Author::ETHER/NextRelease'
@@ -198,7 +205,7 @@
-
class: Dist::Zilla::Plugin::GithubMeta
name: '@Author::ETHER/GithubMeta'
- version: 0.38
+ version: 0.42
-
class: Dist::Zilla::Plugin::AutoMetaResources
name: '@Author::ETHER/AutoMetaResources'
@@ -246,6 +253,18 @@
name: '@Author::ETHER/installer_requirements'
version: 4.300039
-
+ class: Dist::Zilla::Plugin::Prereqs
+ config:
+ Dist::Zilla::Plugin::Prereqs:
+ phase: develop
+ type: recommends
+ name: '@Author::ETHER/pluginbundle_version'
+ version: 4.300039
+ -
+ class: Dist::Zilla::Plugin::RunExtraTests
+ name: '@Author::ETHER/RunExtraTests'
+ version: 0.011
+ -
class: Dist::Zilla::Plugin::ReadmeAnyFromPod
name: '@Author::ETHER/ReadmeAnyFromPod'
version: 0.131500
@@ -260,7 +279,7 @@
-
class: Dist::Zilla::Plugin::InstallGuide
name: '@Author::ETHER/InstallGuide'
- version: 1.200000
+ version: 1.200001
-
class: Dist::Zilla::Plugin::CopyFilesFromBuild
name: '@Author::ETHER/CopyFilesFromBuild'
@@ -270,21 +289,17 @@
name: '@Author::ETHER/Run::AfterBuild'
version: 0.020
-
- class: Dist::Zilla::Plugin::RunExtraTests
- name: '@Author::ETHER/RunExtraTests'
- version: 0.011
- -
class: Dist::Zilla::Plugin::Git::Check
name: '@Author::ETHER/Git::Check'
version: 2.014
-
class: Dist::Zilla::Plugin::Git::CheckFor::MergeConflicts
name: '@Author::ETHER/Git::CheckFor::MergeConflicts'
- version: 0.006
+ version: 0.007
-
class: Dist::Zilla::Plugin::Git::CheckFor::CorrectBranch
name: '@Author::ETHER/Git::CheckFor::CorrectBranch'
- version: 0.006
+ version: 0.007
-
class: Dist::Zilla::Plugin::Git::Remote::Check
name: '@Author::ETHER/Git::Remote::Check'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Warnings-0.010/Makefile.PL
new/Test-Warnings-0.012/Makefile.PL
--- old/Test-Warnings-0.010/Makefile.PL 2013-09-25 05:30:03.000000000 +0200
+++ new/Test-Warnings-0.012/Makefile.PL 2013-10-14 18:54:54.000000000 +0200
@@ -27,7 +27,8 @@
sleep 10 if -t STDIN;
-# This Makefile.PL for was generated by
Dist::Zilla::Plugin::MakeMaker::Fallback 0.002.
+# This Makefile.PL for Test-Warnings was generated by
+# Dist::Zilla::Plugin::MakeMaker::Fallback 0.002.
# Don't edit it but the dist.ini used to construct it.
use strict;
@@ -45,7 +46,7 @@
"BUILD_REQUIRES" => {},
"CONFIGURE_REQUIRES" => {
"ExtUtils::MakeMaker" => "6.30",
- "Module::Build::Tiny" => "0.027"
+ "Module::Build::Tiny" => "0.030"
},
"DISTNAME" => "Test-Warnings",
"EXE_FILES" => [],
@@ -60,18 +61,14 @@
},
"TEST_REQUIRES" => {
"ExtUtils::MakeMaker" => 0,
- "File::Spec" => 0,
"File::Spec::Functions" => 0,
- "IO::Handle" => 0,
- "IPC::Open3" => 0,
"List::Util" => 0,
- "Test::CheckDeps" => "0.007",
"Test::Deep" => 0,
"Test::More" => "0.94",
"Test::Tester" => "0.108",
"if" => 0
},
- "VERSION" => "0.010",
+ "VERSION" => "0.012",
"test" => {
"TESTS" => "t/*.t"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Warnings-0.010/README
new/Test-Warnings-0.012/README
--- old/Test-Warnings-0.010/README 2013-09-25 05:30:03.000000000 +0200
+++ new/Test-Warnings-0.012/README 2013-10-14 18:54:54.000000000 +0200
@@ -1,7 +1,7 @@
This archive contains the distribution Test-Warnings,
-version 0.010:
+version 0.012:
Test for warnings and the lack of them
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Warnings-0.010/lib/Test/Warnings.pm
new/Test-Warnings-0.012/lib/Test/Warnings.pm
--- old/Test-Warnings-0.010/lib/Test/Warnings.pm 2013-09-25
05:30:03.000000000 +0200
+++ new/Test-Warnings-0.012/lib/Test/Warnings.pm 2013-10-14
18:54:54.000000000 +0200
@@ -5,9 +5,9 @@
$Test::Warnings::AUTHORITY = 'cpan:ETHER';
}
{
- $Test::Warnings::VERSION = '0.010';
+ $Test::Warnings::VERSION = '0.012';
}
-# git description: v0.009-4-g9fec9c9
+# git description: v0.011-1-g15d5747
# ABSTRACT: Test for warnings and the lack of them
@@ -149,7 +149,7 @@
=head1 VERSION
-version 0.010
+version 0.012
=head1 SYNOPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Warnings-0.010/t/00-check-deps.t
new/Test-Warnings-0.012/t/00-check-deps.t
--- old/Test-Warnings-0.010/t/00-check-deps.t 2013-09-25 05:30:03.000000000
+0200
+++ new/Test-Warnings-0.012/t/00-check-deps.t 1970-01-01 01:00:00.000000000
+0100
@@ -1,16 +0,0 @@
-use strict;
-use warnings;
-
-# this test was generated with Dist::Zilla::Plugin::Test::CheckDeps 0.008
-
-use Test::More 0.94;
-use Test::CheckDeps 0.007;
-
-check_dependencies('suggests');
-
-if (1) {
- BAIL_OUT("Missing dependencies") if !Test::More->builder->is_passing;
-}
-
-done_testing;
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Warnings-0.010/t/00-compile.t
new/Test-Warnings-0.012/t/00-compile.t
--- old/Test-Warnings-0.010/t/00-compile.t 2013-09-25 05:30:03.000000000
+0200
+++ new/Test-Warnings-0.012/t/00-compile.t 1970-01-01 01:00:00.000000000
+0100
@@ -1,93 +0,0 @@
-use strict;
-use warnings;
-
-# this test was generated with Dist::Zilla::Plugin::Test::Compile 2.033
-
-use Test::More 0.94 tests => 10 + ($ENV{AUTHOR_TESTING} ? 1 : 0);
-
-
-
-my @module_files = (
- 'Test/Warnings.pm'
-);
-
-my @scripts = (
- 'examples/no_plan.t',
- 'examples/sub.t',
- 'examples/synopsis_1.t',
- 'examples/synopsis_2.t',
- 'examples/test_nowarnings.pl',
- 'examples/test_warning_contents.t',
- 'examples/warning_like.t',
- 'examples/with_done_testing.t',
- 'examples/with_plan.t'
-);
-
-# no fake home requested
-
-use File::Spec;
-use IPC::Open3;
-use IO::Handle;
-
-my @warnings;
-for my $lib (@module_files)
-{
- # see L<perlfaq8/How can I capture STDERR from an external command?>
- open my $stdin, '<', File::Spec->devnull or die "can't open devnull: $!";
- my $stderr = IO::Handle->new;
-
- my $pid = open3($stdin, '>&STDERR', $stderr, $^X, '-Mblib', '-e', "require
q[$lib]");
- binmode $stderr, ':crlf' if $^O eq 'MSWin32';
- my @_warnings = <$stderr>;
- waitpid($pid, 0);
- is($? >> 8, 0, "$lib loaded ok");
-
- if (@_warnings)
- {
- warn @_warnings;
- push @warnings, @_warnings;
- }
-}
-
-foreach my $file (@scripts)
-{ SKIP: {
- open my $fh, '<', $file or warn("Unable to open $file: $!"), next;
- my $line = <$fh>;
- close $fh and skip("$file isn't perl", 1) unless $line =~
/^#!.*?\bperl\b\s*(.*)$/;
-
- my @flags = $1 ? split(/\s+/, $1) : ();
-
- open my $stdin, '<', File::Spec->devnull or die "can't open devnull: $!";
- my $stderr = IO::Handle->new;
-
- my $pid = open3($stdin, '>&STDERR', $stderr, $^X, '-Mblib', @flags, '-c',
$file);
- binmode $stderr, ':crlf' if $^O eq 'MSWin32';
- my @_warnings = <$stderr>;
- waitpid($pid, 0);
- is($? >> 8, 0, "$file compiled ok");
-
- # in older perls, -c output is simply the file portion of the path being
tested
- if (@_warnings = grep { !/\bsyntax OK$/ }
- grep { chomp; $_ ne (File::Spec->splitpath($file))[2] } @_warnings)
- {
- # temporary measure - win32 newline issues?
- warn map { _show_whitespace($_) } @_warnings;
- push @warnings, @_warnings;
- }
-} }
-
-sub _show_whitespace
-{
- my $string = shift;
- $string =~ s/\012/[\\012]/g;
- $string =~ s/\015/[\\015]/g;
- $string =~ s/\t/[\\t]/g;
- $string =~ s/ /[\\s]/g;
- return $string;
-}
-
-
-
-is(scalar(@warnings), 0, 'no warnings found') if $ENV{AUTHOR_TESTING};
-
-BAIL_OUT("Compilation problems") if !Test::More->builder->is_passing;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Warnings-0.010/t/00-report-prereqs.t
new/Test-Warnings-0.012/t/00-report-prereqs.t
--- old/Test-Warnings-0.010/t/00-report-prereqs.t 2013-09-25
05:30:03.000000000 +0200
+++ new/Test-Warnings-0.012/t/00-report-prereqs.t 2013-10-14
18:54:54.000000000 +0200
@@ -3,6 +3,8 @@
use strict;
use warnings;
+# This test was generated by Dist::Zilla::Plugin::Test::ReportPrereqs 0.008
+
use Test::More tests => 1;
use ExtUtils::MakeMaker;
@@ -12,14 +14,10 @@
my @modules = qw(
Exporter
ExtUtils::MakeMaker
- File::Spec
File::Spec::Functions
- IO::Handle
- IPC::Open3
List::Util
Module::Build::Tiny
Test::Builder
- Test::CheckDeps
Test::Deep
Test::More
Test::Tester
@@ -30,20 +28,46 @@
warnings
);
+my %exclude = map {; $_ => 1 } qw(
+
+);
+
+my ($source) = grep { -f $_ } qw/MYMETA.json MYMETA.yml META.json/;
+$source = "META.yml" unless defined $source;
+
# replace modules with dynamic results from MYMETA.json if we can
# (hide CPAN::Meta from prereq scanner)
my $cpan_meta = "CPAN::Meta";
-if ( -f "MYMETA.json" && eval "require $cpan_meta" ) { ## no critic
- if ( my $meta = eval { CPAN::Meta->load_file("MYMETA.json") } ) {
+my $cpan_meta_req = "CPAN::Meta::Requirements";
+my $all_requires;
+if ( -f $source && eval "require $cpan_meta" ) { ## no critic
+ if ( my $meta = eval { CPAN::Meta->load_file($source) } ) {
+
+ # Get ALL modules mentioned in META (any phase/type)
my $prereqs = $meta->prereqs;
- delete $prereqs->{develop};
+ delete $prereqs->{develop} if not $ENV{AUTHOR_TESTING};
my %uniq = map {$_ => 1} map { keys %$_ } map { values %$_ } values
%$prereqs;
$uniq{$_} = 1 for @modules; # don't lose any static ones
- @modules = sort keys %uniq;
+ @modules = sort grep { ! $exclude{$_} } keys %uniq;
+
+ # If verifying, merge 'requires' only for major phases
+ if ( 1 ) {
+ $prereqs = $meta->effective_prereqs; # get the object, not the hash
+ if (eval "require $cpan_meta_req; 1") { ## no critic
+ $all_requires = $cpan_meta_req->new;
+ for my $phase ( qw/configure build test runtime/ ) {
+ $all_requires->add_requirements(
+ $prereqs->requirements_for($phase, 'requires')
+ );
+ }
+ }
+ }
}
}
my @reports = [qw/Version Module/];
+my @dep_errors;
+my $req_hash = defined($all_requires) ? $all_requires->as_string_hash : {};
for my $mod ( @modules ) {
next if $mod eq 'perl';
@@ -55,9 +79,29 @@
my $ver = MM->parse_version( catfile($prefix, $file) );
$ver = "undef" unless defined $ver; # Newer MM should do this anyway
push @reports, [$ver, $mod];
+
+ if ( 1 && $all_requires ) {
+ my $req = $req_hash->{$mod};
+ if ( defined $req && length $req ) {
+ if ( ! eval { version->parse($ver) } ) {
+ push @dep_errors, "$mod version '$ver' cannot be parsed (version
'$req' required)";
+ }
+ elsif ( ! $all_requires->accepts_module( $mod => $ver ) ) {
+ push @dep_errors, "$mod version '$ver' is not in required range
'$req'";
+ }
+ }
+ }
+
}
else {
push @reports, ["missing", $mod];
+
+ if ( 1 && $all_requires ) {
+ my $req = $req_hash->{$mod};
+ if ( defined $req && length $req ) {
+ push @dep_errors, "$mod is not installed (version '$req' required)";
+ }
+ }
}
}
@@ -65,7 +109,17 @@
my $vl = max map { length $_->[0] } @reports;
my $ml = max map { length $_->[1] } @reports;
splice @reports, 1, 0, ["-" x $vl, "-" x $ml];
- diag "Prerequisite Report:\n", map {sprintf(" %*s
%*s\n",$vl,$_->[0],-$ml,$_->[1])} @reports;
+ diag "Versions for all modules listed in $source (including optional
ones):\n",
+ map {sprintf(" %*s %*s\n",$vl,$_->[0],-$ml,$_->[1])} @reports;
+}
+
+if ( @dep_errors ) {
+ diag join("\n",
+ "\n*** WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
***\n",
+ "The following REQUIRED prerequisites were not satisfied:\n",
+ @dep_errors,
+ "\n"
+ );
}
pass;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Warnings-0.010/xt/author/00-compile.t
new/Test-Warnings-0.012/xt/author/00-compile.t
--- old/Test-Warnings-0.010/xt/author/00-compile.t 1970-01-01
01:00:00.000000000 +0100
+++ new/Test-Warnings-0.012/xt/author/00-compile.t 2013-10-14
18:54:54.000000000 +0200
@@ -0,0 +1,95 @@
+use strict;
+use warnings;
+
+# this test was generated with Dist::Zilla::Plugin::Test::Compile 2.036
+
+use Test::More 0.94 tests => 10 + ($ENV{AUTHOR_TESTING} ? 1 : 0);
+
+
+
+my @module_files = (
+ 'Test/Warnings.pm'
+);
+
+my @scripts = (
+ 'examples/no_plan.t',
+ 'examples/sub.t',
+ 'examples/synopsis_1.t',
+ 'examples/synopsis_2.t',
+ 'examples/test_nowarnings.pl',
+ 'examples/test_warning_contents.t',
+ 'examples/warning_like.t',
+ 'examples/with_done_testing.t',
+ 'examples/with_plan.t'
+);
+
+# no fake home requested
+
+my $inc_switch = q[-Ilib];
+
+use File::Spec;
+use IPC::Open3;
+use IO::Handle;
+
+my @warnings;
+for my $lib (@module_files)
+{
+ # see L<perlfaq8/How can I capture STDERR from an external command?>
+ open my $stdin, '<', File::Spec->devnull or die "can't open devnull: $!";
+ my $stderr = IO::Handle->new;
+
+ my $pid = open3($stdin, '>&STDERR', $stderr, $^X, $inc_switch, '-e',
"require q[$lib]");
+ binmode $stderr, ':crlf' if $^O eq 'MSWin32';
+ my @_warnings = <$stderr>;
+ waitpid($pid, 0);
+ is($?, 0, "$lib loaded ok");
+
+ if (@_warnings)
+ {
+ warn @_warnings;
+ push @warnings, @_warnings;
+ }
+}
+
+foreach my $file (@scripts)
+{ SKIP: {
+ open my $fh, '<', $file or warn("Unable to open $file: $!"), next;
+ my $line = <$fh>;
+ close $fh and skip("$file isn't perl", 1) unless $line =~
/^#!.*?\bperl\b\s*(.*)$/;
+
+ my @flags = $1 ? split(/\s+/, $1) : ();
+
+ open my $stdin, '<', File::Spec->devnull or die "can't open devnull: $!";
+ my $stderr = IO::Handle->new;
+
+ my $pid = open3($stdin, '>&STDERR', $stderr, $^X, '-Mblib', @flags, '-c',
$file);
+ binmode $stderr, ':crlf' if $^O eq 'MSWin32';
+ my @_warnings = <$stderr>;
+ waitpid($pid, 0);
+ is($?, 0, "$file compiled ok");
+
+ # in older perls, -c output is simply the file portion of the path being
tested
+ if (@_warnings = grep { !/\bsyntax OK$/ }
+ grep { chomp; $_ ne (File::Spec->splitpath($file))[2] } @_warnings)
+ {
+ # temporary measure - win32 newline issues?
+ warn map { _show_whitespace($_) } @_warnings;
+ push @warnings, @_warnings;
+ }
+} }
+
+sub _show_whitespace
+{
+ my $string = shift;
+ $string =~ s/\012/[\\012]/g;
+ $string =~ s/\015/[\\015]/g;
+ $string =~ s/\t/[\\t]/g;
+ $string =~ s/ /[\\s]/g;
+ return $string;
+}
+
+
+
+is(scalar(@warnings), 0, 'no warnings found') if $ENV{AUTHOR_TESTING};
+
+BAIL_OUT("Compilation problems") if !Test::More->builder->is_passing;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Warnings-0.010/xt/release/changes_has_content.t
new/Test-Warnings-0.012/xt/release/changes_has_content.t
--- old/Test-Warnings-0.010/xt/release/changes_has_content.t 2013-09-25
05:30:03.000000000 +0200
+++ new/Test-Warnings-0.012/xt/release/changes_has_content.t 2013-10-14
18:54:54.000000000 +0200
@@ -4,7 +4,7 @@
note 'Checking Changes';
my $changes_file = 'Changes';
-my $newver = '0.010';
+my $newver = '0.012';
my $trial_token = '-TRIAL';
SKIP: {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Warnings-0.010/xt/release/no-tabs.t
new/Test-Warnings-0.012/xt/release/no-tabs.t
--- old/Test-Warnings-0.010/xt/release/no-tabs.t 2013-09-25
05:30:03.000000000 +0200
+++ new/Test-Warnings-0.012/xt/release/no-tabs.t 2013-10-14
18:54:54.000000000 +0200
@@ -1,7 +1,7 @@
use strict;
use warnings;
-# this test was generated with Dist::Zilla::Plugin::Test::NoTabs 0.02
+# this test was generated with Dist::Zilla::Plugin::Test::NoTabs 0.05
use Test::More 0.88;
use Test::NoTabs;
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]