Hello community,
here is the log from the commit of package perl-Test-Synopsis for
openSUSE:Factory checked in at 2015-04-15 16:22:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Test-Synopsis (Old)
and /work/SRC/openSUSE:Factory/.perl-Test-Synopsis.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Test-Synopsis"
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Test-Synopsis/perl-Test-Synopsis.changes
2014-02-12 11:09:42.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.perl-Test-Synopsis.new/perl-Test-Synopsis.changes
2015-04-15 16:22:48.000000000 +0200
@@ -1,0 +2,11 @@
+Mon Apr 13 19:30:49 UTC 2015 - [email protected]
+
+- updated to 0.11
+ see /usr/share/doc/packages/perl-Test-Synopsis/Changes
+
+ 0.11 2014-10-04
+ [Changes by ZOFFIX]
+ - Added #10 to CAVEATS (redefined warnings)
+ - Fixed #11 (failing tests on newer perls)
+
+-------------------------------------------------------------------
Old:
----
Test-Synopsis-0.10.tar.gz
New:
----
Test-Synopsis-0.11.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Test-Synopsis.spec ++++++
--- /var/tmp/diff_new_pack.2C56eG/_old 2015-04-15 16:22:48.000000000 +0200
+++ /var/tmp/diff_new_pack.2C56eG/_new 2015-04-15 16:22:48.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-Test-Synopsis
#
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 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-Synopsis
-Version: 0.10
+Version: 0.11
Release: 0
%define cpan_name Test-Synopsis
Summary: Test your SYNOPSIS code
@@ -30,7 +30,6 @@
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Test::Builder) >= 0.34
-
%{perl_requires}
%description
++++++ Test-Synopsis-0.10.tar.gz -> Test-Synopsis-0.11.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Synopsis-0.10/Changes
new/Test-Synopsis-0.11/Changes
--- old/Test-Synopsis-0.10/Changes 2014-02-07 13:21:27.000000000 +0100
+++ new/Test-Synopsis-0.11/Changes 2014-10-05 17:47:06.000000000 +0200
@@ -1,5 +1,10 @@
Revision history for Perl extension Test::Synopsis
+0.11 2014-10-04
+ [Changes by ZOFFIX]
+ - Added #10 to CAVEATS (redefined warnings)
+ - Fixed #11 (failing tests on newer perls)
+
0.10 2014-02-07
[Changes by ZOFFIX]
- Reverted the change of renaming extract_synopsis() to
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Synopsis-0.10/MANIFEST
new/Test-Synopsis-0.11/MANIFEST
--- old/Test-Synopsis-0.10/MANIFEST 2014-02-07 13:21:27.000000000 +0100
+++ new/Test-Synopsis-0.11/MANIFEST 2014-10-05 17:47:06.000000000 +0200
@@ -1,4 +1,4 @@
-# This file was automatically generated by Dist::Zilla::Plugin::Manifest
v5.012.
+# This file was automatically generated by Dist::Zilla::Plugin::Manifest
v5.020.
Changes
INSTALL
LICENSE
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Synopsis-0.10/META.yml
new/Test-Synopsis-0.11/META.yml
--- old/Test-Synopsis-0.10/META.yml 2014-02-07 13:21:27.000000000 +0100
+++ new/Test-Synopsis-0.11/META.yml 2014-10-05 17:47:06.000000000 +0200
@@ -10,9 +10,9 @@
Test::Builder::Tester: 0
Test::More: 0
configure_requires:
- ExtUtils::MakeMaker: 6.30
+ ExtUtils::MakeMaker: 0
dynamic_config: 0
-generated_by: 'Dist::Zilla version 5.012, CPAN::Meta::Converter version
2.132830'
+generated_by: 'Dist::Zilla version 5.020, CPAN::Meta::Converter version
2.132830'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -21,7 +21,7 @@
provides:
Test::Synopsis:
file: lib/Test/Synopsis.pm
- version: 0.10
+ version: 0.11
requires:
ExtUtils::Manifest: 0
Pod::Parser: 0
@@ -34,7 +34,7 @@
bugtracker: https://github.com/miyagawa/test-synopsis/issues
homepage: http://metacpan.org/release/Test-Synopsis
repository: git://github.com/miyagawa/test-synopsis.git
-version: 0.10
+version: 0.11
x_Dist_Zilla:
perl:
version: 5.014002
@@ -44,6 +44,10 @@
name: '@Author::ZOFFIX/OurPkgVersion'
version: 0.005001
-
+ class: Dist::Zilla::Plugin::Pod::Spiffy
+ name: '@Author::ZOFFIX/Pod::Spiffy'
+ version: 1.001007
+ -
class: Dist::Zilla::Plugin::PromptIfStale
config:
Dist::Zilla::Plugin::PromptIfStale:
@@ -59,59 +63,62 @@
- IPC::Open3
- File::Copy
name: '@Author::ZOFFIX/PromptIfStale'
- version: 0.016
+ version: 0.024
-
class: Dist::Zilla::Plugin::GatherDir
name: '@Author::ZOFFIX/GatherDir'
- version: 5.012
+ version: 5.020
-
class: Dist::Zilla::Plugin::PruneCruft
name: '@Author::ZOFFIX/PruneCruft'
- version: 5.012
+ version: 5.020
-
class: Dist::Zilla::Plugin::ManifestSkip
name: '@Author::ZOFFIX/ManifestSkip'
- version: 5.012
+ version: 5.020
-
class: Dist::Zilla::Plugin::MetaYAML
name: '@Author::ZOFFIX/MetaYAML'
- version: 5.012
+ version: 5.020
-
class: Dist::Zilla::Plugin::License
name: '@Author::ZOFFIX/License'
- version: 5.012
+ version: 5.020
-
class: Dist::Zilla::Plugin::Readme
name: '@Author::ZOFFIX/Readme'
- version: 5.012
+ version: 5.020
-
class: Dist::Zilla::Plugin::ExecDir
name: '@Author::ZOFFIX/ExecDir'
- version: 5.012
+ version: 5.020
-
class: Dist::Zilla::Plugin::ShareDir
name: '@Author::ZOFFIX/ShareDir'
- version: 5.012
+ version: 5.020
-
class: Dist::Zilla::Plugin::MakeMaker
+ config:
+ Dist::Zilla::Role::TestRunner:
+ default_jobs: 1
name: '@Author::ZOFFIX/MakeMaker'
- version: 5.012
+ version: 5.020
-
class: Dist::Zilla::Plugin::Manifest
name: '@Author::ZOFFIX/Manifest'
- version: 5.012
+ version: 5.020
-
class: Dist::Zilla::Plugin::AutoPrereqs
name: '@Author::ZOFFIX/AutoPrereqs'
- version: 5.012
+ version: 5.020
-
class: Dist::Zilla::Plugin::MetaConfig
name: '@Author::ZOFFIX/MetaConfig'
- version: 5.012
+ version: 5.020
-
class: Dist::Zilla::Plugin::Prereqs::AuthorDeps
name: '@Author::ZOFFIX/Prereqs::AuthorDeps'
- version: 0.002
+ version: 0.003
-
class: Dist::Zilla::Plugin::MinimumPerl
name: '@Author::ZOFFIX/MinimumPerl'
@@ -124,36 +131,42 @@
-
class: Dist::Zilla::Plugin::FinderCode
name:
'@Author::ZOFFIX/MetaProvides::Package/AUTOVIV/:InstallModulesPM'
- version: 5.012
+ version: 5.020
Dist::Zilla::Role::MetaProvider::Provider:
inherit_missing: 1
inherit_version: 1
meta_noindex: 1
name: '@Author::ZOFFIX/MetaProvides::Package'
- version: 2.000000
+ version: 2.001001
-
class: Dist::Zilla::Plugin::GithubMeta
name: '@Author::ZOFFIX/GithubMeta'
- version: 0.42
+ version: 0.46
-
class: Dist::Zilla::Plugin::InstallGuide
name: '@Author::ZOFFIX/InstallGuide'
- version: 1.200002
+ version: 1.200003
-
class: Dist::Zilla::Plugin::ReadmeAnyFromPod
name: '@Author::ZOFFIX/ReadmeAnyFromPod'
- version: 0.133360
+ version: 0.142250
-
class: Dist::Zilla::Plugin::Test::Compile
config:
Dist::Zilla::Plugin::Test::Compile:
+ bail_out_on_fail: 0
+ fail_on_warning: author
+ fake_home: 0
filename: t/00-compile.t
module_finder:
- ':InstallModules'
+ needs_display: 0
+ phase: test
script_finder:
- ':ExecFiles'
+ skips: []
name: '@Author::ZOFFIX/Test::Compile'
- version: 2.039
+ version: 2.046
-
class: Dist::Zilla::Plugin::Test::DistManifest
name: '@Author::ZOFFIX/Test::DistManifest'
@@ -161,19 +174,23 @@
-
class: Dist::Zilla::Plugin::Test::EOL
name: '@Author::ZOFFIX/Test::EOL'
- version: 0.10
+ version: 0.12
-
class: Dist::Zilla::Plugin::Test::Version
name: '@Author::ZOFFIX/Test::Version'
version: 0.002004
-
- class: Dist::Zilla::Plugin::Test::Kwalitee::Extra
- name: '@Author::ZOFFIX/Test::Kwalitee::Extra'
- version: v0.2.0
+ class: Dist::Zilla::Plugin::Test::Kwalitee
+ config:
+ Dist::Zilla::Plugin::Test::Kwalitee:
+ filename: xt/release/kwalitee.t
+ skiptest: []
+ name: '@Author::ZOFFIX/Test::Kwalitee'
+ version: 2.11
-
class: Dist::Zilla::Plugin::MetaTests
name: '@Author::ZOFFIX/MetaTests'
- version: 5.012
+ version: 5.020
-
class: Dist::Zilla::Plugin::Test::CPAN::Meta::JSON
name: '@Author::ZOFFIX/Test::CPAN::Meta::JSON'
@@ -181,25 +198,26 @@
-
class: Dist::Zilla::Plugin::MojibakeTests
name: '@Author::ZOFFIX/MojibakeTests'
- version: 0.5
+ version: 0.7
-
class: Dist::Zilla::Plugin::NoTabsTests
config:
Dist::Zilla::Plugin::Test::NoTabs:
- module_finder:
+ filename: xt/release/no-tabs.t
+ finder:
- ':InstallModules'
- script_finder:
- ':ExecFiles'
+ - ':TestFiles'
name: '@Author::ZOFFIX/NoTabsTests'
- version: 0.06
+ version: 0.09
-
class: Dist::Zilla::Plugin::PodCoverageTests
name: '@Author::ZOFFIX/PodCoverageTests'
- version: 5.012
+ version: 5.020
-
class: Dist::Zilla::Plugin::PodSyntaxTests
name: '@Author::ZOFFIX/PodSyntaxTests'
- version: 5.012
+ version: 5.020
-
class: Dist::Zilla::Plugin::Test::Portability
name: '@Author::ZOFFIX/Test::Portability'
@@ -207,11 +225,11 @@
-
class: Dist::Zilla::Plugin::Test::Synopsis
name: '@Author::ZOFFIX/Test::Synopsis'
- version: 2.000004
+ version: 2.000005
-
class: Dist::Zilla::Plugin::Test::UnusedVars
name: '@Author::ZOFFIX/Test::UnusedVars'
- version: 2.000005
+ version: 2.000006
-
class: Dist::Zilla::Plugin::Test::CPAN::Changes
name: '@Author::ZOFFIX/Test::CPAN::Changes'
@@ -219,7 +237,7 @@
-
class: Dist::Zilla::Plugin::Test::PodSpelling
name: '@Author::ZOFFIX/Test::PodSpelling'
- version: 2.006002
+ version: 2.006008
-
class: Dist::Zilla::Plugin::CheckSelfDependency
config:
@@ -231,7 +249,7 @@
-
class: Dist::Zilla::Plugin::CheckPrereqsIndexed
name: '@Author::ZOFFIX/CheckPrereqsIndexed'
- version: 0.010
+ version: 0.012
-
class: Dist::Zilla::Plugin::Test::MinimumVersion
name: '@Author::ZOFFIX/Test::MinimumVersion'
@@ -239,11 +257,11 @@
-
class: Dist::Zilla::Plugin::CopyFilesFromRelease
name: '@Author::ZOFFIX/CopyFilesFromRelease'
- version: 0.001
+ version: 0.002
-
class: Dist::Zilla::Plugin::TestRelease
name: '@Author::ZOFFIX/TestRelease'
- version: 5.012
+ version: 5.020
-
class: Dist::Zilla::Plugin::InstallRelease
name: '@Author::ZOFFIX/InstallRelease'
@@ -251,11 +269,11 @@
-
class: Dist::Zilla::Plugin::ConfirmRelease
name: '@Author::ZOFFIX/ConfirmRelease'
- version: 5.012
+ version: 5.020
-
class: Dist::Zilla::Plugin::UploadToCPAN
name: '@Author::ZOFFIX/UploadToCPAN'
- version: 5.012
+ version: 5.020
-
class: Dist::Zilla::Plugin::Prereqs
config:
@@ -263,7 +281,7 @@
phase: test
type: requires
name: TestRequires
- version: 5.012
+ version: 5.020
-
class: Dist::Zilla::Plugin::Prereqs
config:
@@ -271,7 +289,7 @@
phase: develop
type: requires
name: DevelopRequires
- version: 5.012
+ version: 5.020
-
class: Dist::Zilla::Plugin::AutoMetaResources
name: AutoMetaResources
@@ -282,65 +300,113 @@
version: 0.001
-
class: Dist::Zilla::Plugin::Git::NextVersion
+ config:
+ Dist::Zilla::Plugin::Git::NextVersion:
+ first_version: 0.07
+ version_by_branch: 0
+ version_regexp: '(?^u:^(.+)$)'
+ Dist::Zilla::Role::Git::Repo:
+ repo_root: '.'
name: Git::NextVersion
- version: 2.020
+ version: 2.023
-
class: Dist::Zilla::Plugin::Git::Tag
+ config:
+ Dist::Zilla::Plugin::Git::Tag:
+ branch: ~
+ signed: 0
+ tag: 0.11
+ tag_format: '%v'
+ tag_message: '%v'
+ time_zone: local
+ Dist::Zilla::Role::Git::Repo:
+ repo_root: '.'
name: Git::Tag
- version: 2.020
+ version: 2.023
-
class: Dist::Zilla::Plugin::Git::Check
+ config:
+ Dist::Zilla::Plugin::Git::Check:
+ untracked_files: die
+ Dist::Zilla::Role::Git::DirtyFiles:
+ allow_dirty:
+ - dist.ini
+ - Changes
+ allow_dirty_match: []
+ changelog: Changes
+ Dist::Zilla::Role::Git::Repo:
+ repo_root: '.'
name: Git::Check
- version: 2.020
+ version: 2.023
-
class: Dist::Zilla::Plugin::Git::Commit
+ config:
+ Dist::Zilla::Plugin::Git::Commit:
+ add_files_in: []
+ commit_msg: v%v%n%n%c
+ time_zone: local
+ Dist::Zilla::Role::Git::DirtyFiles:
+ allow_dirty:
+ - dist.ini
+ - Changes
+ allow_dirty_match: []
+ changelog: Changes
+ Dist::Zilla::Role::Git::Repo:
+ repo_root: '.'
name: Git::Commit
- version: 2.020
+ version: 2.023
-
class: Dist::Zilla::Plugin::Git::Push
+ config:
+ Dist::Zilla::Plugin::Git::Push:
+ push_to:
+ - origin
+ remotes_must_exist: 1
+ Dist::Zilla::Role::Git::Repo:
+ repo_root: '.'
name: Git::Push
- version: 2.020
+ version: 2.023
-
class: Dist::Zilla::Plugin::FinderCode
name: ':InstallModules'
- version: 5.012
+ version: 5.020
-
class: Dist::Zilla::Plugin::FinderCode
name: ':IncModules'
- version: 5.012
+ version: 5.020
-
class: Dist::Zilla::Plugin::FinderCode
name: ':TestFiles'
- version: 5.012
+ version: 5.020
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ExecFiles'
- version: 5.012
+ version: 5.020
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ShareFiles'
- version: 5.012
+ version: 5.020
-
class: Dist::Zilla::Plugin::FinderCode
name: ':MainModule'
- version: 5.012
+ version: 5.020
-
class: Dist::Zilla::Plugin::FinderCode
name: ':AllFiles'
- version: 5.012
+ version: 5.020
-
class: Dist::Zilla::Plugin::FinderCode
name: ':NoFiles'
- version: 5.012
+ version: 5.020
-
class: Dist::Zilla::Plugin::FinderCode
name: '@Author::ZOFFIX/MetaProvides::Package/AUTOVIV/:InstallModulesPM'
- version: 5.012
+ version: 5.020
zilla:
class: Dist::Zilla::Dist::Builder
config:
is_trial: 0
- version: 5.012
+ version: 5.020
x_contributors:
- 'Kevin Ryde <[email protected]>'
- 'Marcel GrĂ¼nauer <[email protected]>'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Synopsis-0.10/Makefile.PL
new/Test-Synopsis-0.11/Makefile.PL
--- old/Test-Synopsis-0.10/Makefile.PL 2014-02-07 13:21:27.000000000 +0100
+++ new/Test-Synopsis-0.11/Makefile.PL 2014-10-05 17:47:06.000000000 +0200
@@ -1,20 +1,19 @@
-# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker
v5.012.
+# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker
v5.020.
use strict;
use warnings;
use 5.008_001;
-use ExtUtils::MakeMaker 6.30;
+use ExtUtils::MakeMaker ;
my %WriteMakefileArgs = (
"ABSTRACT" => "Test your SYNOPSIS code",
"AUTHOR" => "Tatsuhiko Miyagawa <miyagawa\@bulknews.net>",
- "BUILD_REQUIRES" => {},
"CONFIGURE_REQUIRES" => {
- "ExtUtils::MakeMaker" => "6.30"
+ "ExtUtils::MakeMaker" => 0
},
"DISTNAME" => "Test-Synopsis",
"EXE_FILES" => [],
@@ -36,7 +35,7 @@
"Test::Builder::Tester" => 0,
"Test::More" => 0
},
- "VERSION" => "0.10",
+ "VERSION" => "0.11",
"test" => {
"TESTS" => "t/*.t"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Synopsis-0.10/README
new/Test-Synopsis-0.11/README
--- old/Test-Synopsis-0.10/README 2014-02-07 13:21:27.000000000 +0100
+++ new/Test-Synopsis-0.11/README 2014-10-05 17:47:06.000000000 +0200
@@ -1,7 +1,7 @@
This archive contains the distribution Test-Synopsis,
-version 0.10:
+version 0.11:
Test your SYNOPSIS code
@@ -11,5 +11,5 @@
the same terms as the Perl 5 programming language system itself.
-This README file was generated by Dist::Zilla::Plugin::Readme v5.012.
+This README file was generated by Dist::Zilla::Plugin::Readme v5.020.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Synopsis-0.10/README.md
new/Test-Synopsis-0.11/README.md
--- old/Test-Synopsis-0.10/README.md 2014-02-07 13:21:27.000000000 +0100
+++ new/Test-Synopsis-0.11/README.md 2014-10-05 17:47:06.000000000 +0200
@@ -32,10 +32,10 @@
=head1 SYNOPSIS
- use Awesome::Template;
+ use Awesome::Template;
- my $template = Awesome::Template->new;
- $tempalte->render("template.at");
+ my $template = Awesome::Template->new;
+ $tempalte->render("template.at");
=head1 DESCRIPTION
@@ -51,8 +51,8 @@
=head1 SYNOPSIS
- use Data::Dumper::Names;
- print Dumper($scalar, \@array, \%hash);
+ use Data::Dumper::Names;
+ print Dumper($scalar, \@array, \%hash);
This assumes these variables like _$scalar_ are defined elsewhere in
module user's code, but Test::Synopsis, by default, will complain that
@@ -89,7 +89,7 @@
=for test_synopsis BEGIN { die "SKIP: skip this pod, it's horrible!\n"; }
- $x; # undeclared variable, but we skipped the test!
+ $x; # undeclared variable, but we skipped the test!
=end
@@ -145,6 +145,14 @@
the ending of the HEREDOC at the same indent as the
first line of the code of your SYNOPSIS.
+The code from multiple files will be executed under the same perl process,
+so it's possible to run into issues such as, say, sub redefinition
+warnings. Currently, there's no plan to fix this, but patches are welcome.
+Redefinition warnings can be turned off with
+
+ =for test_synopsis
+ no warnings 'redefine';
+
# REPOSITORY
Fork this module on GitHub:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Synopsis-0.10/lib/Test/Synopsis.pm
new/Test-Synopsis-0.11/lib/Test/Synopsis.pm
--- old/Test-Synopsis-0.10/lib/Test/Synopsis.pm 2014-02-07 13:21:27.000000000
+0100
+++ new/Test-Synopsis-0.11/lib/Test/Synopsis.pm 2014-10-05 17:47:06.000000000
+0200
@@ -4,7 +4,7 @@
use warnings;
use 5.008_001;
-our $VERSION = '0.10'; # VERSION
+our $VERSION = '0.11'; # VERSION
use base qw( Test::Builder::Module );
our @EXPORT = qw( synopsis_ok all_synopsis_ok );
@@ -319,6 +319,14 @@
the ending of the HEREDOC at the same indent as the
first line of the code of your SYNOPSIS.
+The code from multiple files will be executed under the same perl process,
+so it's possible to run into issues such as, say, sub redefinition
+warnings. Currently, there's no plan to fix this, but patches are welcome.
+Redefinition warnings can be turned off with
+
+ =for test_synopsis
+ no warnings 'redefine';
+
=head1 REPOSITORY
Fork this module on GitHub:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Synopsis-0.10/t/00-compile.t
new/Test-Synopsis-0.11/t/00-compile.t
--- old/Test-Synopsis-0.10/t/00-compile.t 2014-02-07 13:21:27.000000000
+0100
+++ new/Test-Synopsis-0.11/t/00-compile.t 2014-10-05 17:47:06.000000000
+0200
@@ -2,7 +2,7 @@
use strict;
use warnings;
-# this test was generated with Dist::Zilla::Plugin::Test::Compile 2.039
+# this test was generated with Dist::Zilla::Plugin::Test::Compile 2.046
use Test::More tests => 1 + ($ENV{AUTHOR_TESTING} ? 1 : 0);
@@ -45,6 +45,6 @@
-is(scalar(@warnings), 0, 'no warnings found') if $ENV{AUTHOR_TESTING};
+is(scalar(@warnings), 0, 'no warnings found') or diag 'got warnings: ',
explain \@warnings if $ENV{AUTHOR_TESTING};
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Test-Synopsis-0.10/t/01-fail-if-SYNOPSIS-has-errors.t
new/Test-Synopsis-0.11/t/01-fail-if-SYNOPSIS-has-errors.t
--- old/Test-Synopsis-0.10/t/01-fail-if-SYNOPSIS-has-errors.t 2014-02-07
13:21:27.000000000 +0100
+++ new/Test-Synopsis-0.11/t/01-fail-if-SYNOPSIS-has-errors.t 2014-10-05
17:47:06.000000000 +0200
@@ -6,8 +6,13 @@
test_out('not ok 1 - t/lib/BrokenSYNOPSIS01.pm');
test_diag(q{ Failed test 't/lib/BrokenSYNOPSIS01.pm'},
- q{ at t/01-fail-if-SYNOPSIS-has-errors.t line } . line_num(+4) . q{.},
- q{Global symbol "$x" requires explicit package name at
t/lib/BrokenSYNOPSIS01.pm line 20.},
+ q{ at t/01-fail-if-SYNOPSIS-has-errors.t line } . line_num(+9) . q{.},
+ q{Global symbol "$x" requires explicit package name}
+ . ( ($^V and $^V gt 5.21.3)
+ ? ' (did you forget to declare "my $x"?)'
+ : ''
+ )
+ . q{ at t/lib/BrokenSYNOPSIS01.pm line 20.},
);
synopsis_ok("t/lib/BrokenSYNOPSIS01.pm");
test_test("synopsis fail works");
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Synopsis-0.10/t/02-END-token-errors.t
new/Test-Synopsis-0.11/t/02-END-token-errors.t
--- old/Test-Synopsis-0.10/t/02-END-token-errors.t 2014-02-07
13:21:27.000000000 +0100
+++ new/Test-Synopsis-0.11/t/02-END-token-errors.t 2014-10-05
17:47:06.000000000 +0200
@@ -6,8 +6,13 @@
test_out('not ok 1 - t/lib/ENDInPodWithError.pm');
test_diag(q{ Failed test 't/lib/ENDInPodWithError.pm'},
- q{ at t/02-END-token-errors.t line } . line_num(+4) . q{.},
- q{Global symbol "$x" requires explicit package name at
t/lib/ENDInPodWithError.pm line 30.},
+ q{ at t/02-END-token-errors.t line } . line_num(+9) . q{.},
+ q{Global symbol "$x" requires explicit package name}
+ . ( ($^V and $^V gt 5.21.3)
+ ? ' (did you forget to declare "my $x"?)'
+ : ''
+ )
+ . q{ at t/lib/ENDInPodWithError.pm line 30.},
);
synopsis_ok("t/lib/ENDInPodWithError.pm");
test_test("synopsis fail works");
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Synopsis-0.10/t/12-DATA-token-errors.t
new/Test-Synopsis-0.11/t/12-DATA-token-errors.t
--- old/Test-Synopsis-0.10/t/12-DATA-token-errors.t 2014-02-07
13:21:27.000000000 +0100
+++ new/Test-Synopsis-0.11/t/12-DATA-token-errors.t 2014-10-05
17:47:06.000000000 +0200
@@ -6,8 +6,13 @@
test_out('not ok 1 - t/lib/Test12DATAInPodWithError.pm');
test_diag(q{ Failed test 't/lib/Test12DATAInPodWithError.pm'},
- q{ at t/12-DATA-token-errors.t line } . line_num(+4) . q{.},
- q{Global symbol "$x" requires explicit package name at
t/lib/Test12DATAInPodWithError.pm line 28.},
+ q{ at t/12-DATA-token-errors.t line } . line_num(+9) . q{.},
+ q{Global symbol "$x" requires explicit package name}
+ . ( ($^V and $^V gt 5.21.3)
+ ? ' (did you forget to declare "my $x"?)'
+ : ''
+ )
+ . q{ at t/lib/Test12DATAInPodWithError.pm line 28.},
);
synopsis_ok("t/lib/Test12DATAInPodWithError.pm");
test_test("synopsis fail works");
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Synopsis-0.10/xt/author/pod-spell.t
new/Test-Synopsis-0.11/xt/author/pod-spell.t
--- old/Test-Synopsis-0.10/xt/author/pod-spell.t 2014-02-07
13:21:27.000000000 +0100
+++ new/Test-Synopsis-0.11/xt/author/pod-spell.t 2014-10-05
17:47:06.000000000 +0200
@@ -2,7 +2,7 @@
use warnings;
use Test::More;
-# generated by Dist::Zilla::Plugin::Test::PodSpelling 2.006002
+# generated by Dist::Zilla::Plugin::Test::PodSpelling 2.006008
use Test::Spelling 0.12;
use Pod::Wordlist;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Synopsis-0.10/xt/author/test-eol.t
new/Test-Synopsis-0.11/xt/author/test-eol.t
--- old/Test-Synopsis-0.10/xt/author/test-eol.t 2014-02-07 13:21:27.000000000
+0100
+++ new/Test-Synopsis-0.11/xt/author/test-eol.t 2014-10-05 17:47:06.000000000
+0200
@@ -2,7 +2,7 @@
use warnings;
use Test::More;
-# generated by Dist::Zilla::Plugin::Test::EOL 0.10
+# generated by Dist::Zilla::Plugin::Test::EOL 0.12
use Test::EOL;
all_perl_files_ok({ trailing_whitespace => 1 });
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Synopsis-0.10/xt/release/distmeta.t
new/Test-Synopsis-0.11/xt/release/distmeta.t
--- old/Test-Synopsis-0.10/xt/release/distmeta.t 2014-02-07
13:21:27.000000000 +0100
+++ new/Test-Synopsis-0.11/xt/release/distmeta.t 2014-10-05
17:47:06.000000000 +0200
@@ -1,8 +1,6 @@
#!perl
# This file was automatically generated by Dist::Zilla::Plugin::MetaTests.
-use Test::More;
+use Test::CPAN::Meta;
-eval "use Test::CPAN::Meta";
-plan skip_all => "Test::CPAN::Meta required for testing META.yml" if $@;
meta_yaml_ok();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Synopsis-0.10/xt/release/kwalitee.t
new/Test-Synopsis-0.11/xt/release/kwalitee.t
--- old/Test-Synopsis-0.10/xt/release/kwalitee.t 2014-02-07
13:21:27.000000000 +0100
+++ new/Test-Synopsis-0.11/xt/release/kwalitee.t 2014-10-05
17:47:06.000000000 +0200
@@ -1,11 +1,9 @@
-#!perl
-
-# This test is generated by Dist::Zilla::Plugin::Test::Kwalitee::Extra
+# this test was generated with Dist::Zilla::Plugin::Test::Kwalitee 2.11
use strict;
use warnings;
-use Test::More; # needed to provide plan.
+use Test::More 0.88;
+use Test::Kwalitee 1.21 'kwalitee_ok';
-eval { require Test::Kwalitee::Extra };
-plan skip_all => "Test::Kwalitee::Extra required for testing kwalitee: $@" if
$@;
+kwalitee_ok();
-eval "use Test::Kwalitee::Extra";
+done_testing;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Synopsis-0.10/xt/release/no-tabs.t
new/Test-Synopsis-0.11/xt/release/no-tabs.t
--- old/Test-Synopsis-0.10/xt/release/no-tabs.t 2014-02-07 13:21:27.000000000
+0100
+++ new/Test-Synopsis-0.11/xt/release/no-tabs.t 2014-10-05 17:47:06.000000000
+0200
@@ -1,13 +1,38 @@
use strict;
use warnings;
-# this test was generated with Dist::Zilla::Plugin::NoTabsTests 0.06
+# this test was generated with Dist::Zilla::Plugin::NoTabsTests 0.09
use Test::More 0.88;
use Test::NoTabs;
my @files = (
- 'lib/Test/Synopsis.pm'
+ 'lib/Test/Synopsis.pm',
+ 't/00-compile.t',
+ 't/01-fail-if-SYNOPSIS-has-errors.t',
+ 't/02-END-token-errors.t',
+ 't/03-end-in-pod.t',
+ 't/04-HEREDOC.t',
+ 't/05-multi-files-clash.t',
+ 't/06-for.t',
+ 't/07-nopod.t',
+ 't/08-plain-text-in-pod.t',
+ 't/09-synopsis.t',
+ 't/10-in-pod-skip.t',
+ 't/11-DATA-in-pod.t',
+ 't/12-DATA-token-errors.t',
+ 't/lib/BrokenSYNOPSIS01.pm',
+ 't/lib/ENDInPod.pm',
+ 't/lib/ENDInPodWithError.pm',
+ 't/lib/NoPod.pm',
+ 't/lib/PlainTextInPod.pm',
+ 't/lib/Test03.pm',
+ 't/lib/Test03Other.pm',
+ 't/lib/Test04HEREDOC.pm',
+ 't/lib/Test10HEREDOC.pm',
+ 't/lib/Test10InPodSkipWithBegin.pm',
+ 't/lib/Test11DATAInPod.pm',
+ 't/lib/Test12DATAInPodWithError.pm'
);
notabs_ok($_) foreach @files;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Synopsis-0.10/xt/release/pod-coverage.t
new/Test-Synopsis-0.11/xt/release/pod-coverage.t
--- old/Test-Synopsis-0.10/xt/release/pod-coverage.t 2014-02-07
13:21:27.000000000 +0100
+++ new/Test-Synopsis-0.11/xt/release/pod-coverage.t 2014-10-05
17:47:06.000000000 +0200
@@ -1,14 +1,7 @@
#!perl
# This file was automatically generated by
Dist::Zilla::Plugin::PodCoverageTests.
-use Test::More;
-
-eval "use Test::Pod::Coverage 1.08";
-plan skip_all => "Test::Pod::Coverage 1.08 required for testing POD coverage"
- if $@;
-
-eval "use Pod::Coverage::TrustPod";
-plan skip_all => "Pod::Coverage::TrustPod required for testing POD coverage"
- if $@;
+use Test::Pod::Coverage 1.08;
+use Pod::Coverage::TrustPod;
all_pod_coverage_ok({ coverage_class => 'Pod::Coverage::TrustPod' });
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Synopsis-0.10/xt/release/pod-syntax.t
new/Test-Synopsis-0.11/xt/release/pod-syntax.t
--- old/Test-Synopsis-0.10/xt/release/pod-syntax.t 2014-02-07
13:21:27.000000000 +0100
+++ new/Test-Synopsis-0.11/xt/release/pod-syntax.t 2014-10-05
17:47:06.000000000 +0200
@@ -1,8 +1,6 @@
#!perl
# This file was automatically generated by Dist::Zilla::Plugin::PodSyntaxTests.
use Test::More;
-
-eval "use Test::Pod 1.41";
-plan skip_all => "Test::Pod 1.41 required for testing POD" if $@;
+use Test::Pod 1.41;
all_pod_files_ok();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Synopsis-0.10/xt/release/synopsis.t
new/Test-Synopsis-0.11/xt/release/synopsis.t
--- old/Test-Synopsis-0.10/xt/release/synopsis.t 2014-02-07
13:21:27.000000000 +0100
+++ new/Test-Synopsis-0.11/xt/release/synopsis.t 2014-10-05
17:47:06.000000000 +0200
@@ -1,8 +1,5 @@
#!perl
-use Test::More;
+use Test::Synopsis;
-eval "use Test::Synopsis";
-plan skip_all => "Test::Synopsis required for testing synopses"
- if $@;
all_synopsis_ok();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Synopsis-0.10/xt/release/unused-vars.t
new/Test-Synopsis-0.11/xt/release/unused-vars.t
--- old/Test-Synopsis-0.10/xt/release/unused-vars.t 2014-02-07
13:21:27.000000000 +0100
+++ new/Test-Synopsis-0.11/xt/release/unused-vars.t 2014-10-05
17:47:06.000000000 +0200
@@ -1,8 +1,14 @@
#!perl
-use Test::More;
+use Test::More 0.96 tests => 1;
+eval { require Test::Vars };
-eval "use Test::Vars";
-plan skip_all => "Test::Vars required for testing unused vars"
- if $@;
+SKIP: {
+ skip 1 => 'Test::Vars required for testing for unused vars'
+ if $@;
+ Test::Vars->import;
+
+ subtest 'unused vars' => sub {
all_vars_ok();
+ };
+};