Hello community, here is the log from the commit of package perl-MooseX-OneArgNew for openSUSE:Factory checked in at 2013-10-06 14:36:46 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-MooseX-OneArgNew (Old) and /work/SRC/openSUSE:Factory/.perl-MooseX-OneArgNew.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-MooseX-OneArgNew" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-MooseX-OneArgNew/perl-MooseX-OneArgNew.changes 2013-06-07 07:05:44.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.perl-MooseX-OneArgNew.new/perl-MooseX-OneArgNew.changes 2013-10-06 14:36:47.000000000 +0200 @@ -1,0 +2,6 @@ +Sun Oct 6 12:16:28 UTC 2013 - co...@suse.com + +- updated to 0.004 + update repo and bugtracker metadata + +------------------------------------------------------------------- Old: ---- MooseX-OneArgNew-0.003.tar.gz New: ---- MooseX-OneArgNew-0.004.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-MooseX-OneArgNew.spec ++++++ --- /var/tmp/diff_new_pack.YTU3Ea/_old 2013-10-06 14:36:48.000000000 +0200 +++ /var/tmp/diff_new_pack.YTU3Ea/_new 2013-10-06 14:36:48.000000000 +0200 @@ -17,7 +17,7 @@ Name: perl-MooseX-OneArgNew -Version: 0.003 +Version: 0.004 Release: 0 %define cpan_name MooseX-OneArgNew Summary: teach ->new to accept single, non-hashref arguments @@ -43,7 +43,8 @@ %description MooseX::OneArgNew lets your constructor take a single argument, which will be translated into the value for a one-entry hashref. It is a the -parameterized role|MooseX::Role::Parameterized manpage with two parameters: +parameterized role|MooseX::Role::Parameterized manpage with three +parameters: * type ++++++ MooseX-OneArgNew-0.003.tar.gz -> MooseX-OneArgNew-0.004.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MooseX-OneArgNew-0.003/Changes new/MooseX-OneArgNew-0.004/Changes --- old/MooseX-OneArgNew-0.003/Changes 2013-04-16 22:36:29.000000000 +0200 +++ new/MooseX-OneArgNew-0.004/Changes 2013-10-05 15:05:41.000000000 +0200 @@ -1,7 +1,10 @@ Revision history for MooseX-OneArgNew +0.004 2013-10-05 09:05:39 America/New_York + update repo and bugtracker metadata + 0.003 2013-04-16 16:36:26 America/New_York - add a "coerce" parameter to the role; now ->new can accept one arg + - add a "coerce" parameter to the role; now ->new can accept one arg that can be coerced to the expected type; suggested by Mark Jason Dominus diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MooseX-OneArgNew-0.003/META.json new/MooseX-OneArgNew-0.004/META.json --- old/MooseX-OneArgNew-0.003/META.json 2013-04-16 22:36:29.000000000 +0200 +++ new/MooseX-OneArgNew-0.004/META.json 2013-10-05 15:05:41.000000000 +0200 @@ -4,7 +4,7 @@ "Ricardo Signes <r...@cpan.org>" ], "dynamic_config" : 0, - "generated_by" : "Dist::Zilla version 4.300034, CPAN::Meta::Converter version 2.130880", + "generated_by" : "Dist::Zilla version 4.300039, CPAN::Meta::Converter version 2.132661", "license" : [ "perl_5" ], @@ -34,8 +34,9 @@ }, "test" : { "requires" : { - "File::Find" : "0", - "File::Temp" : "0", + "File::Spec" : "0", + "IO::Handle" : "0", + "IPC::Open3" : "0", "Moose" : "0", "Test::More" : "0.96", "strict" : "0", @@ -45,28 +46,31 @@ }, "release_status" : "stable", "resources" : { - "homepage" : "https://github.com/rjbs/moosex-oneargnew", + "bugtracker" : { + "web" : "https://github.com/rjbs/MooseX-OneArgNew/issues" + }, + "homepage" : "https://github.com/rjbs/MooseX-OneArgNew", "repository" : { "type" : "git", - "url" : "https://github.com/rjbs/moosex-oneargnew.git", - "web" : "https://github.com/rjbs/moosex-oneargnew" + "url" : "https://github.com/rjbs/MooseX-OneArgNew.git", + "web" : "https://github.com/rjbs/MooseX-OneArgNew" } }, - "version" : "0.003", + "version" : "0.004", "x_Dist_Zilla" : { "perl" : { - "version" : "5.017010" + "version" : "5.019004" }, "plugins" : [ { "class" : "Dist::Zilla::Plugin::Git::GatherDir", "name" : "@RJBS/Git::GatherDir", - "version" : "2.013" + "version" : "2.014" }, { "class" : "Dist::Zilla::Plugin::CheckPrereqsIndexed", "name" : "@RJBS/CheckPrereqsIndexed", - "version" : "0.008" + "version" : "0.009" }, { "class" : "Dist::Zilla::Plugin::CheckExtraTests", @@ -74,94 +78,104 @@ "version" : "0.011" }, { + "class" : "Dist::Zilla::Plugin::PromptIfStale", + "name" : "@RJBS/RJBS-Outdated", + "version" : "0.007" + }, + { + "class" : "Dist::Zilla::Plugin::PromptIfStale", + "name" : "@RJBS/CPAN-Outdated", + "version" : "0.007" + }, + { "class" : "Dist::Zilla::Plugin::PruneCruft", "name" : "@RJBS/@Filter/PruneCruft", - "version" : "4.300034" + "version" : "4.300039" }, { "class" : "Dist::Zilla::Plugin::ManifestSkip", "name" : "@RJBS/@Filter/ManifestSkip", - "version" : "4.300034" + "version" : "4.300039" }, { "class" : "Dist::Zilla::Plugin::MetaYAML", "name" : "@RJBS/@Filter/MetaYAML", - "version" : "4.300034" + "version" : "4.300039" }, { "class" : "Dist::Zilla::Plugin::License", "name" : "@RJBS/@Filter/License", - "version" : "4.300034" + "version" : "4.300039" }, { "class" : "Dist::Zilla::Plugin::Readme", "name" : "@RJBS/@Filter/Readme", - "version" : "4.300034" + "version" : "4.300039" }, { "class" : "Dist::Zilla::Plugin::ExecDir", "name" : "@RJBS/@Filter/ExecDir", - "version" : "4.300034" + "version" : "4.300039" }, { "class" : "Dist::Zilla::Plugin::ShareDir", "name" : "@RJBS/@Filter/ShareDir", - "version" : "4.300034" + "version" : "4.300039" }, { "class" : "Dist::Zilla::Plugin::MakeMaker", "name" : "@RJBS/@Filter/MakeMaker", - "version" : "4.300034" + "version" : "4.300039" }, { "class" : "Dist::Zilla::Plugin::Manifest", "name" : "@RJBS/@Filter/Manifest", - "version" : "4.300034" + "version" : "4.300039" }, { "class" : "Dist::Zilla::Plugin::TestRelease", "name" : "@RJBS/@Filter/TestRelease", - "version" : "4.300034" + "version" : "4.300039" }, { "class" : "Dist::Zilla::Plugin::ConfirmRelease", "name" : "@RJBS/@Filter/ConfirmRelease", - "version" : "4.300034" + "version" : "4.300039" }, { "class" : "Dist::Zilla::Plugin::UploadToCPAN", "name" : "@RJBS/@Filter/UploadToCPAN", - "version" : "4.300034" + "version" : "4.300039" }, { "class" : "Dist::Zilla::Plugin::AutoPrereqs", "name" : "@RJBS/AutoPrereqs", - "version" : "4.300034" + "version" : "4.300039" }, { "class" : "Dist::Zilla::Plugin::Git::NextVersion", "name" : "@RJBS/Git::NextVersion", - "version" : "2.013" + "version" : "2.014" }, { "class" : "Dist::Zilla::Plugin::PkgVersion", "name" : "@RJBS/PkgVersion", - "version" : "4.300034" + "version" : "4.300039" }, { "class" : "Dist::Zilla::Plugin::MetaConfig", "name" : "@RJBS/MetaConfig", - "version" : "4.300034" + "version" : "4.300039" }, { "class" : "Dist::Zilla::Plugin::MetaJSON", "name" : "@RJBS/MetaJSON", - "version" : "4.300034" + "version" : "4.300039" }, { "class" : "Dist::Zilla::Plugin::NextRelease", "name" : "@RJBS/NextRelease", - "version" : "4.300034" + "version" : "4.300039" }, { "class" : "Dist::Zilla::Plugin::Test::ChangesHasContent", @@ -171,17 +185,27 @@ { "class" : "Dist::Zilla::Plugin::PodSyntaxTests", "name" : "@RJBS/PodSyntaxTests", - "version" : "4.300034" - }, - { - "class" : "Dist::Zilla::Plugin::Test::Compile", - "name" : "@RJBS/Test::Compile", - "version" : "2.001" + "version" : "4.300039" }, { "class" : "Dist::Zilla::Plugin::ReportVersions::Tiny", "name" : "@RJBS/ReportVersions::Tiny", - "version" : "1.08" + "version" : "1.10" + }, + { + "class" : "Dist::Zilla::Plugin::Test::Compile", + "config" : { + "Dist::Zilla::Plugin::Test::Compile" : { + "module_finder" : [ + ":InstallModules" + ], + "script_finder" : [ + ":ExecFiles" + ] + } + }, + "name" : "@RJBS/Test::Compile", + "version" : "2.033" }, { "class" : "Dist::Zilla::Plugin::Prereqs", @@ -192,67 +216,76 @@ } }, "name" : "@RJBS/TestMoreWithSubtests", - "version" : "4.300034" + "version" : "4.300039" }, { "class" : "Dist::Zilla::Plugin::PodWeaver", + "config" : { + "Dist::Zilla::Plugin::PodWeaver" : { + "config_plugin" : "@RJBS", + "finder" : [ + ":InstallModules", + ":ExecFiles" + ] + } + }, "name" : "@RJBS/PodWeaver", - "version" : "3.101641" + "version" : "3.102000" }, { "class" : "Dist::Zilla::Plugin::GithubMeta", "name" : "@RJBS/GithubMeta", - "version" : "0.28" + "version" : "0.42" }, { "class" : "Dist::Zilla::Plugin::Git::Check", "name" : "@RJBS/@Git/Check", - "version" : "2.013" + "version" : "2.014" }, { "class" : "Dist::Zilla::Plugin::Git::Commit", "name" : "@RJBS/@Git/Commit", - "version" : "2.013" + "version" : "2.014" }, { "class" : "Dist::Zilla::Plugin::Git::Tag", "name" : "@RJBS/@Git/Tag", - "version" : "2.013" + "version" : "2.014" }, { "class" : "Dist::Zilla::Plugin::Git::Push", "name" : "@RJBS/@Git/Push", - "version" : "2.013" + "version" : "2.014" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":InstallModules", - "version" : "4.300034" + "version" : "4.300039" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":IncModules", - "version" : "4.300034" + "version" : "4.300039" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":TestFiles", - "version" : "4.300034" + "version" : "4.300039" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ExecFiles", - "version" : "4.300034" + "version" : "4.300039" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ShareFiles", - "version" : "4.300034" + "version" : "4.300039" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":MainModule", - "version" : "4.300034" + "version" : "4.300039" } ], "zilla" : { @@ -260,7 +293,7 @@ "config" : { "is_trial" : "0" }, - "version" : "4.300034" + "version" : "4.300039" } } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MooseX-OneArgNew-0.003/META.yml new/MooseX-OneArgNew-0.004/META.yml --- old/MooseX-OneArgNew-0.003/META.yml 2013-04-16 22:36:29.000000000 +0200 +++ new/MooseX-OneArgNew-0.004/META.yml 2013-10-05 15:05:41.000000000 +0200 @@ -3,8 +3,9 @@ author: - 'Ricardo Signes <r...@cpan.org>' build_requires: - File::Find: 0 - File::Temp: 0 + File::Spec: 0 + IO::Handle: 0 + IPC::Open3: 0 Moose: 0 Test::More: 0.96 strict: 0 @@ -12,7 +13,7 @@ configure_requires: ExtUtils::MakeMaker: 6.30 dynamic_config: 0 -generated_by: 'Dist::Zilla version 4.300034, CPAN::Meta::Converter version 2.130880' +generated_by: 'Dist::Zilla version 4.300039, CPAN::Meta::Converter version 2.132661' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -23,97 +24,106 @@ MooseX::Role::Parameterized: 0 namespace::autoclean: 0 resources: - homepage: https://github.com/rjbs/moosex-oneargnew - repository: https://github.com/rjbs/moosex-oneargnew.git -version: 0.003 + bugtracker: https://github.com/rjbs/MooseX-OneArgNew/issues + homepage: https://github.com/rjbs/MooseX-OneArgNew + repository: https://github.com/rjbs/MooseX-OneArgNew.git +version: 0.004 x_Dist_Zilla: perl: - version: 5.017010 + version: 5.019004 plugins: - class: Dist::Zilla::Plugin::Git::GatherDir name: '@RJBS/Git::GatherDir' - version: 2.013 + version: 2.014 - class: Dist::Zilla::Plugin::CheckPrereqsIndexed name: '@RJBS/CheckPrereqsIndexed' - version: 0.008 + version: 0.009 - class: Dist::Zilla::Plugin::CheckExtraTests name: '@RJBS/CheckExtraTests' version: 0.011 - + class: Dist::Zilla::Plugin::PromptIfStale + name: '@RJBS/RJBS-Outdated' + version: 0.007 + - + class: Dist::Zilla::Plugin::PromptIfStale + name: '@RJBS/CPAN-Outdated' + version: 0.007 + - class: Dist::Zilla::Plugin::PruneCruft name: '@RJBS/@Filter/PruneCruft' - version: 4.300034 + version: 4.300039 - class: Dist::Zilla::Plugin::ManifestSkip name: '@RJBS/@Filter/ManifestSkip' - version: 4.300034 + version: 4.300039 - class: Dist::Zilla::Plugin::MetaYAML name: '@RJBS/@Filter/MetaYAML' - version: 4.300034 + version: 4.300039 - class: Dist::Zilla::Plugin::License name: '@RJBS/@Filter/License' - version: 4.300034 + version: 4.300039 - class: Dist::Zilla::Plugin::Readme name: '@RJBS/@Filter/Readme' - version: 4.300034 + version: 4.300039 - class: Dist::Zilla::Plugin::ExecDir name: '@RJBS/@Filter/ExecDir' - version: 4.300034 + version: 4.300039 - class: Dist::Zilla::Plugin::ShareDir name: '@RJBS/@Filter/ShareDir' - version: 4.300034 + version: 4.300039 - class: Dist::Zilla::Plugin::MakeMaker name: '@RJBS/@Filter/MakeMaker' - version: 4.300034 + version: 4.300039 - class: Dist::Zilla::Plugin::Manifest name: '@RJBS/@Filter/Manifest' - version: 4.300034 + version: 4.300039 - class: Dist::Zilla::Plugin::TestRelease name: '@RJBS/@Filter/TestRelease' - version: 4.300034 + version: 4.300039 - class: Dist::Zilla::Plugin::ConfirmRelease name: '@RJBS/@Filter/ConfirmRelease' - version: 4.300034 + version: 4.300039 - class: Dist::Zilla::Plugin::UploadToCPAN name: '@RJBS/@Filter/UploadToCPAN' - version: 4.300034 + version: 4.300039 - class: Dist::Zilla::Plugin::AutoPrereqs name: '@RJBS/AutoPrereqs' - version: 4.300034 + version: 4.300039 - class: Dist::Zilla::Plugin::Git::NextVersion name: '@RJBS/Git::NextVersion' - version: 2.013 + version: 2.014 - class: Dist::Zilla::Plugin::PkgVersion name: '@RJBS/PkgVersion' - version: 4.300034 + version: 4.300039 - class: Dist::Zilla::Plugin::MetaConfig name: '@RJBS/MetaConfig' - version: 4.300034 + version: 4.300039 - class: Dist::Zilla::Plugin::MetaJSON name: '@RJBS/MetaJSON' - version: 4.300034 + version: 4.300039 - class: Dist::Zilla::Plugin::NextRelease name: '@RJBS/NextRelease' - version: 4.300034 + version: 4.300039 - class: Dist::Zilla::Plugin::Test::ChangesHasContent name: '@RJBS/Test::ChangesHasContent' @@ -121,15 +131,21 @@ - class: Dist::Zilla::Plugin::PodSyntaxTests name: '@RJBS/PodSyntaxTests' - version: 4.300034 - - - class: Dist::Zilla::Plugin::Test::Compile - name: '@RJBS/Test::Compile' - version: 2.001 + version: 4.300039 - class: Dist::Zilla::Plugin::ReportVersions::Tiny name: '@RJBS/ReportVersions::Tiny' - version: 1.08 + version: 1.10 + - + class: Dist::Zilla::Plugin::Test::Compile + config: + Dist::Zilla::Plugin::Test::Compile: + module_finder: + - ':InstallModules' + script_finder: + - ':ExecFiles' + name: '@RJBS/Test::Compile' + version: 2.033 - class: Dist::Zilla::Plugin::Prereqs config: @@ -137,57 +153,63 @@ phase: test type: requires name: '@RJBS/TestMoreWithSubtests' - version: 4.300034 + version: 4.300039 - class: Dist::Zilla::Plugin::PodWeaver + config: + Dist::Zilla::Plugin::PodWeaver: + config_plugin: '@RJBS' + finder: + - ':InstallModules' + - ':ExecFiles' name: '@RJBS/PodWeaver' - version: 3.101641 + version: 3.102000 - class: Dist::Zilla::Plugin::GithubMeta name: '@RJBS/GithubMeta' - version: 0.28 + version: 0.42 - class: Dist::Zilla::Plugin::Git::Check name: '@RJBS/@Git/Check' - version: 2.013 + version: 2.014 - class: Dist::Zilla::Plugin::Git::Commit name: '@RJBS/@Git/Commit' - version: 2.013 + version: 2.014 - class: Dist::Zilla::Plugin::Git::Tag name: '@RJBS/@Git/Tag' - version: 2.013 + version: 2.014 - class: Dist::Zilla::Plugin::Git::Push name: '@RJBS/@Git/Push' - version: 2.013 + version: 2.014 - class: Dist::Zilla::Plugin::FinderCode name: ':InstallModules' - version: 4.300034 + version: 4.300039 - class: Dist::Zilla::Plugin::FinderCode name: ':IncModules' - version: 4.300034 + version: 4.300039 - class: Dist::Zilla::Plugin::FinderCode name: ':TestFiles' - version: 4.300034 + version: 4.300039 - class: Dist::Zilla::Plugin::FinderCode name: ':ExecFiles' - version: 4.300034 + version: 4.300039 - class: Dist::Zilla::Plugin::FinderCode name: ':ShareFiles' - version: 4.300034 + version: 4.300039 - class: Dist::Zilla::Plugin::FinderCode name: ':MainModule' - version: 4.300034 + version: 4.300039 zilla: class: Dist::Zilla::Dist::Builder config: is_trial: 0 - version: 4.300034 + version: 4.300039 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MooseX-OneArgNew-0.003/Makefile.PL new/MooseX-OneArgNew-0.004/Makefile.PL --- old/MooseX-OneArgNew-0.003/Makefile.PL 2013-04-16 22:36:29.000000000 +0200 +++ new/MooseX-OneArgNew-0.004/Makefile.PL 2013-10-05 15:05:41.000000000 +0200 @@ -25,14 +25,15 @@ "namespace::autoclean" => 0 }, "TEST_REQUIRES" => { - "File::Find" => 0, - "File::Temp" => 0, + "File::Spec" => 0, + "IO::Handle" => 0, + "IPC::Open3" => 0, "Moose" => 0, "Test::More" => "0.96", "strict" => 0, "warnings" => 0 }, - "VERSION" => "0.003", + "VERSION" => "0.004", "test" => { "TESTS" => "t/*.t" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MooseX-OneArgNew-0.003/README new/MooseX-OneArgNew-0.004/README --- old/MooseX-OneArgNew-0.003/README 2013-04-16 22:36:29.000000000 +0200 +++ new/MooseX-OneArgNew-0.004/README 2013-10-05 15:05:41.000000000 +0200 @@ -1,7 +1,7 @@ This archive contains the distribution MooseX-OneArgNew, -version 0.003: +version 0.004: teach ->new to accept single, non-hashref arguments diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MooseX-OneArgNew-0.003/lib/MooseX/OneArgNew.pm new/MooseX-OneArgNew-0.004/lib/MooseX/OneArgNew.pm --- old/MooseX-OneArgNew-0.003/lib/MooseX/OneArgNew.pm 2013-04-16 22:36:29.000000000 +0200 +++ new/MooseX-OneArgNew-0.004/lib/MooseX/OneArgNew.pm 2013-10-05 15:05:41.000000000 +0200 @@ -1,6 +1,6 @@ package MooseX::OneArgNew; { - $MooseX::OneArgNew::VERSION = '0.003'; + $MooseX::OneArgNew::VERSION = '0.004'; } use MooseX::Role::Parameterized; # ABSTRACT: teach ->new to accept single, non-hashref arguments @@ -60,7 +60,7 @@ =head1 VERSION -version 0.003 +version 0.004 =head1 SYNOPSIS @@ -101,7 +101,7 @@ MooseX::OneArgNew lets your constructor take a single argument, which will be translated into the value for a one-entry hashref. It is a L<parameterized -role|MooseX::Role::Parameterized> with two parameters: +role|MooseX::Role::Parameterized> with three parameters: =over 4 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MooseX-OneArgNew-0.003/t/00-compile.t new/MooseX-OneArgNew-0.004/t/00-compile.t --- old/MooseX-OneArgNew-0.003/t/00-compile.t 2013-04-16 22:36:29.000000000 +0200 +++ new/MooseX-OneArgNew-0.004/t/00-compile.t 2013-10-05 15:05:41.000000000 +0200 @@ -1,74 +1,46 @@ -#!perl - use strict; use warnings; -use Test::More; +# this test was generated with Dist::Zilla::Plugin::Test::Compile 2.033 +use Test::More 0.94 tests => 1 + ($ENV{AUTHOR_TESTING} ? 1 : 0); -use File::Find; -use File::Temp qw{ tempdir }; -my @modules; -find( - sub { - return if $File::Find::name !~ /\.pm\z/; - my $found = $File::Find::name; - $found =~ s{^lib/}{}; - $found =~ s{[/\\]}{::}g; - $found =~ s/\.pm$//; - # nothing to skip - push @modules, $found; - }, - 'lib', +my @module_files = ( + 'MooseX/OneArgNew.pm' ); -sub _find_scripts { - my $dir = shift @_; - - my @found_scripts = (); - find( - sub { - return unless -f; - my $found = $File::Find::name; - # nothing to skip - open my $FH, '<', $_ or do { - note( "Unable to open $found in ( $! ), skipping" ); - return; - }; - my $shebang = <$FH>; - return unless $shebang =~ /^#!.*?\bperl\b\s*$/; - push @found_scripts, $found; - }, - $dir, - ); - return @found_scripts; -} -my @scripts; -do { push @scripts, _find_scripts($_) if -d $_ } - for qw{ bin script scripts }; +# no fake home requested -my $plan = scalar(@modules) + scalar(@scripts); -$plan ? (plan tests => $plan) : (plan skip_all => "no tests to run"); +use File::Spec; +use IPC::Open3; +use IO::Handle; +my @warnings; +for my $lib (@module_files) { - # fake home for cpan-testers - # no fake requested ## local $ENV{HOME} = tempdir( CLEANUP => 1 ); + # 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; + } +} - like( qx{ $^X -Ilib -e "require $_; print '$_ ok'" }, qr/^\s*$_ ok/s, "$_ loaded ok" ) - for sort @modules; - SKIP: { - eval "use Test::Script 1.05; 1;"; - skip "Test::Script needed to test script compilation", scalar(@scripts) if $@; - foreach my $file ( @scripts ) { - my $script = $file; - $script =~ s!.*/!!; - script_compiles( $file, "$script script compiles" ); - } - } -} +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/MooseX-OneArgNew-0.003/t/000-report-versions-tiny.t new/MooseX-OneArgNew-0.004/t/000-report-versions-tiny.t --- old/MooseX-OneArgNew-0.003/t/000-report-versions-tiny.t 2013-04-16 22:36:29.000000000 +0200 +++ new/MooseX-OneArgNew-0.004/t/000-report-versions-tiny.t 2013-10-05 15:05:41.000000000 +0200 @@ -9,7 +9,7 @@ END { $success && done_testing; } # List our own version used to generate this -my $v = "\nGenerated by Dist::Zilla::Plugin::ReportVersions::Tiny v1.08\n"; +my $v = "\nGenerated by Dist::Zilla::Plugin::ReportVersions::Tiny v1.10\n"; eval { # no excuses! # report our Perl details @@ -49,16 +49,15 @@ } eval { $v .= pmver('ExtUtils::MakeMaker','6.30') }; -eval { $v .= pmver('File::Find','any version') }; -eval { $v .= pmver('File::Temp','any version') }; +eval { $v .= pmver('File::Spec','any version') }; +eval { $v .= pmver('IO::Handle','any version') }; +eval { $v .= pmver('IPC::Open3','any version') }; eval { $v .= pmver('Moose','any version') }; eval { $v .= pmver('Moose::Util::TypeConstraints','any version') }; eval { $v .= pmver('MooseX::Role::Parameterized','any version') }; eval { $v .= pmver('Test::More','0.96') }; -eval { $v .= pmver('Test::Pod','1.41') }; eval { $v .= pmver('namespace::autoclean','any version') }; eval { $v .= pmver('strict','any version') }; -eval { $v .= pmver('version','0.9901') }; eval { $v .= pmver('warnings','any version') }; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MooseX-OneArgNew-0.003/xt/release/changes_has_content.t new/MooseX-OneArgNew-0.004/xt/release/changes_has_content.t --- old/MooseX-OneArgNew-0.003/xt/release/changes_has_content.t 2013-04-16 22:36:29.000000000 +0200 +++ new/MooseX-OneArgNew-0.004/xt/release/changes_has_content.t 2013-10-05 15:05:41.000000000 +0200 @@ -4,7 +4,7 @@ note 'Checking Changes'; my $changes_file = 'Changes'; -my $newver = '0.003'; +my $newver = '0.004'; my $trial_token = '-TRIAL'; SKIP: { -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org