Hello community, here is the log from the commit of package perl-Data-Visitor for openSUSE:Factory checked in at 2013-07-21 08:11:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Data-Visitor (Old) and /work/SRC/openSUSE:Factory/.perl-Data-Visitor.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Data-Visitor" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Data-Visitor/perl-Data-Visitor.changes 2012-03-01 17:23:04.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Data-Visitor.new/perl-Data-Visitor.changes 2013-07-21 08:11:49.000000000 +0200 @@ -1,0 +2,14 @@ +Thu Jul 18 16:03:40 UTC 2013 - [email protected] + +- updated to 0.30 + - doy/data-visitor should probably be the canonical repository at this + point + + - The class callbacks to be run for an object are now chosen once, at the + start of visiting that object. Previously, it always looked through the + entire list of callbacks every time, in a loop in which the object in + question could be changed by the callback. Since the class callbacks are + only partially ordered, this lead to differences in whether a callback + would be called or not based on hash order. reported by Robin Smidsrød. + +------------------------------------------------------------------- Old: ---- Data-Visitor-0.28.tar.gz New: ---- Data-Visitor-0.30.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Data-Visitor.spec ++++++ --- /var/tmp/diff_new_pack.JPsF9U/_old 2013-07-21 08:11:50.000000000 +0200 +++ /var/tmp/diff_new_pack.JPsF9U/_new 2013-07-21 08:11:50.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-Data-Visitor # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products 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-Data-Visitor -Version: 0.28 +Version: 0.30 Release: 0 %define cpan_name Data-Visitor Summary: Visitor style traversal of Perl data structures ++++++ Data-Visitor-0.28.tar.gz -> Data-Visitor-0.30.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Data-Visitor-0.28/Changes new/Data-Visitor-0.30/Changes --- old/Data-Visitor-0.28/Changes 2012-02-13 00:47:30.000000000 +0100 +++ new/Data-Visitor-0.30/Changes 2013-06-24 23:44:07.000000000 +0200 @@ -1,3 +1,15 @@ +0.30 2013-06-24 + - doy/data-visitor should probably be the canonical repository at this + point + +0.29 2013-06-24 + - The class callbacks to be run for an object are now chosen once, at the + start of visiting that object. Previously, it always looked through the + entire list of callbacks every time, in a loop in which the object in + question could be changed by the callback. Since the class callbacks are + only partially ordered, this lead to differences in whether a callback + would be called or not based on hash order. reported by Robin Smidsrød. + 0.28 2012-02-12 - convert to dzil - bump namespace::clean dep diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Data-Visitor-0.28/LICENSE new/Data-Visitor-0.30/LICENSE --- old/Data-Visitor-0.28/LICENSE 2012-02-13 00:47:30.000000000 +0100 +++ new/Data-Visitor-0.30/LICENSE 2013-06-24 23:44:07.000000000 +0200 @@ -1,4 +1,4 @@ -This software is copyright (c) 2012 by Yuval Kogman. +This software is copyright (c) 2013 by Yuval Kogman. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. @@ -12,7 +12,7 @@ --- The GNU General Public License, Version 1, February 1989 --- -This software is Copyright (c) 2012 by Yuval Kogman. +This software is Copyright (c) 2013 by Yuval Kogman. This is free software, licensed under: @@ -22,7 +22,7 @@ Version 1, February 1989 Copyright (C) 1989 Free Software Foundation, Inc. - 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + 51 Franklin St, Suite 500, Boston, MA 02110-1335 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. @@ -272,7 +272,7 @@ --- The Artistic License 1.0 --- -This software is Copyright (c) 2012 by Yuval Kogman. +This software is Copyright (c) 2013 by Yuval Kogman. This is free software, licensed under: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Data-Visitor-0.28/MANIFEST new/Data-Visitor-0.30/MANIFEST --- old/Data-Visitor-0.28/MANIFEST 2012-02-13 00:47:30.000000000 +0100 +++ new/Data-Visitor-0.30/MANIFEST 2013-06-24 23:44:07.000000000 +0200 @@ -14,10 +14,11 @@ t/callback.t t/callback_aliasing.t t/callback_hash_entry.t +t/callback_moose_tc.t t/circular_refs.t t/globs.t t/magic.t -t/release-eol.t -t/release-pod-coverage.t -t/release-pod-syntax.t t/weak.t +xt/release/eol.t +xt/release/pod-coverage.t +xt/release/pod-syntax.t diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Data-Visitor-0.28/META.json new/Data-Visitor-0.30/META.json --- old/Data-Visitor-0.28/META.json 2012-02-13 00:47:30.000000000 +0100 +++ new/Data-Visitor-0.30/META.json 2013-06-24 23:44:07.000000000 +0200 @@ -5,7 +5,7 @@ "Marcel Gr\u00c3\u00bcnauer <[email protected]>" ], "dynamic_config" : 0, - "generated_by" : "Dist::Zilla version 4.300007, CPAN::Meta::Converter version 2.113640", + "generated_by" : "Dist::Zilla version 4.300034, CPAN::Meta::Converter version 2.120921", "license" : [ "perl_5" ], @@ -20,11 +20,18 @@ "ExtUtils::MakeMaker" : "6.30" } }, + "develop" : { + "requires" : { + "Pod::Coverage::TrustPod" : "0", + "Test::Pod" : "1.41", + "Test::Pod::Coverage" : "1.08" + } + }, "runtime" : { "requires" : { "Class::Load" : "0.06", "Moose" : "0.89", - "Task::Weaken" : 0, + "Task::Weaken" : "0", "Tie::ToObject" : "0.01", "namespace::clean" : "0.19" } @@ -32,7 +39,7 @@ "test" : { "requires" : { "Test::More" : "0.88", - "Test::Requires" : 0 + "Test::Requires" : "0" } } }, @@ -45,12 +52,15 @@ "homepage" : "http://metacpan.org/release/Data-Visitor", "repository" : { "type" : "git", - "url" : "git://github.com/nothingmuch/data-visitor.git", - "web" : "https://github.com/nothingmuch/data-visitor" + "url" : "git://github.com/doy/data-visitor.git", + "web" : "https://github.com/doy/data-visitor" } }, - "version" : "0.28", + "version" : "0.30", "x_Dist_Zilla" : { + "perl" : { + "version" : "5.018000" + }, "plugins" : [ { "class" : "Dist::Zilla::Plugin::Prereqs", @@ -61,97 +71,97 @@ } }, "name" : "@Filter/TestMoreDoneTesting", - "version" : "4.300007" + "version" : "4.300034" }, { "class" : "Dist::Zilla::Plugin::GatherDir", "name" : "@Filter/GatherDir", - "version" : "4.300007" + "version" : "4.300034" }, { "class" : "Dist::Zilla::Plugin::PruneCruft", "name" : "@Filter/PruneCruft", - "version" : "4.300007" + "version" : "4.300034" }, { "class" : "Dist::Zilla::Plugin::ManifestSkip", "name" : "@Filter/ManifestSkip", - "version" : "4.300007" + "version" : "4.300034" }, { "class" : "Dist::Zilla::Plugin::MetaYAML", "name" : "@Filter/MetaYAML", - "version" : "4.300007" + "version" : "4.300034" }, { "class" : "Dist::Zilla::Plugin::License", "name" : "@Filter/License", - "version" : "4.300007" + "version" : "4.300034" }, { "class" : "Dist::Zilla::Plugin::Readme", "name" : "@Filter/Readme", - "version" : "4.300007" + "version" : "4.300034" }, { - "class" : "Dist::Zilla::Plugin::ExtraTests", - "name" : "@Filter/ExtraTests", - "version" : "4.300007" + "class" : "Dist::Zilla::Plugin::RunExtraTests", + "name" : "@Filter/RunExtraTests", + "version" : "0.011" }, { "class" : "Dist::Zilla::Plugin::ExecDir", "name" : "@Filter/ExecDir", - "version" : "4.300007" + "version" : "4.300034" }, { "class" : "Dist::Zilla::Plugin::ShareDir", "name" : "@Filter/ShareDir", - "version" : "4.300007" + "version" : "4.300034" }, { "class" : "Dist::Zilla::Plugin::MakeMaker", "name" : "@Filter/MakeMaker", - "version" : "4.300007" + "version" : "4.300034" }, { "class" : "Dist::Zilla::Plugin::Manifest", "name" : "@Filter/Manifest", - "version" : "4.300007" + "version" : "4.300034" }, { "class" : "Dist::Zilla::Plugin::TestRelease", "name" : "@Filter/TestRelease", - "version" : "4.300007" + "version" : "4.300034" }, { "class" : "Dist::Zilla::Plugin::ConfirmRelease", "name" : "@Filter/ConfirmRelease", - "version" : "4.300007" + "version" : "4.300034" }, { "class" : "Dist::Zilla::Plugin::MetaConfig", "name" : "@Filter/MetaConfig", - "version" : "4.300007" + "version" : "4.300034" }, { "class" : "Dist::Zilla::Plugin::MetaJSON", "name" : "@Filter/MetaJSON", - "version" : "4.300007" + "version" : "4.300034" }, { "class" : "Dist::Zilla::Plugin::NextRelease", "name" : "@Filter/NextRelease", - "version" : "4.300007" + "version" : "4.300034" }, { "class" : "Dist::Zilla::Plugin::CheckChangesHasContent", "name" : "@Filter/CheckChangesHasContent", - "version" : "0.003" + "version" : "0.006" }, { "class" : "Dist::Zilla::Plugin::PkgVersion", "name" : "@Filter/PkgVersion", - "version" : "4.300007" + "version" : "4.300034" }, { "class" : "Dist::Zilla::Plugin::Authority", @@ -161,12 +171,12 @@ { "class" : "Dist::Zilla::Plugin::PodCoverageTests", "name" : "@Filter/PodCoverageTests", - "version" : "4.300007" + "version" : "4.300034" }, { "class" : "Dist::Zilla::Plugin::PodSyntaxTests", "name" : "@Filter/PodSyntaxTests", - "version" : "4.300007" + "version" : "4.300034" }, { "class" : "Dist::Zilla::Plugin::EOLTests", @@ -176,7 +186,7 @@ { "class" : "Dist::Zilla::Plugin::Test::Compile", "name" : "@Filter/Test::Compile", - "version" : "1.112400" + "version" : "2.002" }, { "class" : "Dist::Zilla::Plugin::Metadata", @@ -186,27 +196,27 @@ { "class" : "Dist::Zilla::Plugin::MetaResources", "name" : "@Filter/MetaResources", - "version" : "4.300007" + "version" : "4.300034" }, { "class" : "Dist::Zilla::Plugin::Git::Check", "name" : "@Filter/Git::Check", - "version" : "1.112440" + "version" : "2.013" }, { "class" : "Dist::Zilla::Plugin::Git::Commit", "name" : "@Filter/Git::Commit", - "version" : "1.112440" + "version" : "2.013" }, { "class" : "Dist::Zilla::Plugin::Git::Tag", "name" : "@Filter/Git::Tag", - "version" : "1.112440" + "version" : "2.013" }, { "class" : "Dist::Zilla::Plugin::Git::NextVersion", "name" : "@Filter/Git::NextVersion", - "version" : "1.112440" + "version" : "2.013" }, { "class" : "Dist::Zilla::Plugin::PodWeaver", @@ -216,7 +226,7 @@ { "class" : "Dist::Zilla::Plugin::UploadToCPAN", "name" : "@Filter/UploadToCPAN", - "version" : "4.300007" + "version" : "4.300034" }, { "class" : "Dist::Zilla::Plugin::Prereqs", @@ -227,7 +237,7 @@ } }, "name" : "Prereqs", - "version" : "4.300007" + "version" : "4.300034" }, { "class" : "Dist::Zilla::Plugin::Prereqs", @@ -238,37 +248,37 @@ } }, "name" : "TestRequires", - "version" : "4.300007" + "version" : "4.300034" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":InstallModules", - "version" : "4.300007" + "version" : "4.300034" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":IncModules", - "version" : "4.300007" + "version" : "4.300034" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":TestFiles", - "version" : "4.300007" + "version" : "4.300034" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ExecFiles", - "version" : "4.300007" + "version" : "4.300034" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ShareFiles", - "version" : "4.300007" + "version" : "4.300034" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":MainModule", - "version" : "4.300007" + "version" : "4.300034" } ], "zilla" : { @@ -276,7 +286,7 @@ "config" : { "is_trial" : "0" }, - "version" : "4.300007" + "version" : "4.300034" } }, "x_authority" : "cpan:NUFFIN" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Data-Visitor-0.28/META.yml new/Data-Visitor-0.30/META.yml --- old/Data-Visitor-0.28/META.yml 2012-02-13 00:47:30.000000000 +0100 +++ new/Data-Visitor-0.30/META.yml 2013-06-24 23:44:07.000000000 +0200 @@ -9,7 +9,7 @@ configure_requires: ExtUtils::MakeMaker: 6.30 dynamic_config: 0 -generated_by: 'Dist::Zilla version 4.300007, CPAN::Meta::Converter version 2.113640' +generated_by: 'Dist::Zilla version 4.300034, CPAN::Meta::Converter version 2.120921' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -24,9 +24,11 @@ resources: bugtracker: http://rt.cpan.org/Public/Dist/Display.html?Name=Data-Visitor homepage: http://metacpan.org/release/Data-Visitor - repository: git://github.com/nothingmuch/data-visitor.git -version: 0.28 + repository: git://github.com/doy/data-visitor.git +version: 0.30 x_Dist_Zilla: + perl: + version: 5.018000 plugins: - class: Dist::Zilla::Plugin::Prereqs @@ -35,79 +37,79 @@ phase: test type: requires name: '@Filter/TestMoreDoneTesting' - version: 4.300007 + version: 4.300034 - class: Dist::Zilla::Plugin::GatherDir name: '@Filter/GatherDir' - version: 4.300007 + version: 4.300034 - class: Dist::Zilla::Plugin::PruneCruft name: '@Filter/PruneCruft' - version: 4.300007 + version: 4.300034 - class: Dist::Zilla::Plugin::ManifestSkip name: '@Filter/ManifestSkip' - version: 4.300007 + version: 4.300034 - class: Dist::Zilla::Plugin::MetaYAML name: '@Filter/MetaYAML' - version: 4.300007 + version: 4.300034 - class: Dist::Zilla::Plugin::License name: '@Filter/License' - version: 4.300007 + version: 4.300034 - class: Dist::Zilla::Plugin::Readme name: '@Filter/Readme' - version: 4.300007 + version: 4.300034 - - class: Dist::Zilla::Plugin::ExtraTests - name: '@Filter/ExtraTests' - version: 4.300007 + class: Dist::Zilla::Plugin::RunExtraTests + name: '@Filter/RunExtraTests' + version: 0.011 - class: Dist::Zilla::Plugin::ExecDir name: '@Filter/ExecDir' - version: 4.300007 + version: 4.300034 - class: Dist::Zilla::Plugin::ShareDir name: '@Filter/ShareDir' - version: 4.300007 + version: 4.300034 - class: Dist::Zilla::Plugin::MakeMaker name: '@Filter/MakeMaker' - version: 4.300007 + version: 4.300034 - class: Dist::Zilla::Plugin::Manifest name: '@Filter/Manifest' - version: 4.300007 + version: 4.300034 - class: Dist::Zilla::Plugin::TestRelease name: '@Filter/TestRelease' - version: 4.300007 + version: 4.300034 - class: Dist::Zilla::Plugin::ConfirmRelease name: '@Filter/ConfirmRelease' - version: 4.300007 + version: 4.300034 - class: Dist::Zilla::Plugin::MetaConfig name: '@Filter/MetaConfig' - version: 4.300007 + version: 4.300034 - class: Dist::Zilla::Plugin::MetaJSON name: '@Filter/MetaJSON' - version: 4.300007 + version: 4.300034 - class: Dist::Zilla::Plugin::NextRelease name: '@Filter/NextRelease' - version: 4.300007 + version: 4.300034 - class: Dist::Zilla::Plugin::CheckChangesHasContent name: '@Filter/CheckChangesHasContent' - version: 0.003 + version: 0.006 - class: Dist::Zilla::Plugin::PkgVersion name: '@Filter/PkgVersion' - version: 4.300007 + version: 4.300034 - class: Dist::Zilla::Plugin::Authority name: '@Filter/Authority' @@ -115,11 +117,11 @@ - class: Dist::Zilla::Plugin::PodCoverageTests name: '@Filter/PodCoverageTests' - version: 4.300007 + version: 4.300034 - class: Dist::Zilla::Plugin::PodSyntaxTests name: '@Filter/PodSyntaxTests' - version: 4.300007 + version: 4.300034 - class: Dist::Zilla::Plugin::EOLTests name: '@Filter/EOLTests' @@ -127,7 +129,7 @@ - class: Dist::Zilla::Plugin::Test::Compile name: '@Filter/Test::Compile' - version: 1.112400 + version: 2.002 - class: Dist::Zilla::Plugin::Metadata name: '@Filter/Metadata' @@ -135,23 +137,23 @@ - class: Dist::Zilla::Plugin::MetaResources name: '@Filter/MetaResources' - version: 4.300007 + version: 4.300034 - class: Dist::Zilla::Plugin::Git::Check name: '@Filter/Git::Check' - version: 1.112440 + version: 2.013 - class: Dist::Zilla::Plugin::Git::Commit name: '@Filter/Git::Commit' - version: 1.112440 + version: 2.013 - class: Dist::Zilla::Plugin::Git::Tag name: '@Filter/Git::Tag' - version: 1.112440 + version: 2.013 - class: Dist::Zilla::Plugin::Git::NextVersion name: '@Filter/Git::NextVersion' - version: 1.112440 + version: 2.013 - class: Dist::Zilla::Plugin::PodWeaver name: '@Filter/PodWeaver' @@ -159,7 +161,7 @@ - class: Dist::Zilla::Plugin::UploadToCPAN name: '@Filter/UploadToCPAN' - version: 4.300007 + version: 4.300034 - class: Dist::Zilla::Plugin::Prereqs config: @@ -167,7 +169,7 @@ phase: runtime type: requires name: Prereqs - version: 4.300007 + version: 4.300034 - class: Dist::Zilla::Plugin::Prereqs config: @@ -175,34 +177,34 @@ phase: test type: requires name: TestRequires - version: 4.300007 + version: 4.300034 - class: Dist::Zilla::Plugin::FinderCode name: ':InstallModules' - version: 4.300007 + version: 4.300034 - class: Dist::Zilla::Plugin::FinderCode name: ':IncModules' - version: 4.300007 + version: 4.300034 - class: Dist::Zilla::Plugin::FinderCode name: ':TestFiles' - version: 4.300007 + version: 4.300034 - class: Dist::Zilla::Plugin::FinderCode name: ':ExecFiles' - version: 4.300007 + version: 4.300034 - class: Dist::Zilla::Plugin::FinderCode name: ':ShareFiles' - version: 4.300007 + version: 4.300034 - class: Dist::Zilla::Plugin::FinderCode name: ':MainModule' - version: 4.300007 + version: 4.300034 zilla: class: Dist::Zilla::Dist::Builder config: is_trial: 0 - version: 4.300007 + version: 4.300034 x_authority: cpan:NUFFIN diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Data-Visitor-0.28/Makefile.PL new/Data-Visitor-0.30/Makefile.PL --- old/Data-Visitor-0.28/Makefile.PL 2012-02-13 00:47:30.000000000 +0100 +++ new/Data-Visitor-0.30/Makefile.PL 2013-06-24 23:44:07.000000000 +0200 @@ -11,10 +11,7 @@ my %WriteMakefileArgs = ( "ABSTRACT" => "Visitor style traversal of Perl data structures", "AUTHOR" => "Yuval Kogman <nothingmuch\@woobling.org>, Marcel Gr\303\274nauer <marcel\@cpan.org>", - "BUILD_REQUIRES" => { - "Test::More" => "0.88", - "Test::Requires" => 0 - }, + "BUILD_REQUIRES" => {}, "CONFIGURE_REQUIRES" => { "ExtUtils::MakeMaker" => "6.30" }, @@ -29,13 +26,30 @@ "Tie::ToObject" => "0.01", "namespace::clean" => "0.19" }, - "VERSION" => "0.28", + "TEST_REQUIRES" => { + "Test::More" => "0.88", + "Test::Requires" => 0 + }, + "VERSION" => "0.30", "test" => { "TESTS" => "t/*.t" } ); +unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) { + my $tr = delete $WriteMakefileArgs{TEST_REQUIRES}; + my $br = $WriteMakefileArgs{BUILD_REQUIRES}; + for my $mod ( keys %$tr ) { + if ( exists $br->{$mod} ) { + $br->{$mod} = $tr->{$mod} if $tr->{$mod} > $br->{$mod}; + } + else { + $br->{$mod} = $tr->{$mod}; + } + } +} + unless ( eval { ExtUtils::MakeMaker->VERSION(6.56) } ) { my $br = delete $WriteMakefileArgs{BUILD_REQUIRES}; my $pp = $WriteMakefileArgs{PREREQ_PM}; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Data-Visitor-0.28/README new/Data-Visitor-0.30/README --- old/Data-Visitor-0.28/README 2012-02-13 00:47:30.000000000 +0100 +++ new/Data-Visitor-0.30/README 2013-06-24 23:44:07.000000000 +0200 @@ -1,11 +1,11 @@ This archive contains the distribution Data-Visitor, -version 0.28: +version 0.30: Visitor style traversal of Perl data structures -This software is copyright (c) 2012 by Yuval Kogman. +This software is copyright (c) 2013 by Yuval Kogman. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Data-Visitor-0.28/dist.ini new/Data-Visitor-0.30/dist.ini --- old/Data-Visitor-0.28/dist.ini 2012-02-13 00:47:30.000000000 +0100 +++ new/Data-Visitor-0.30/dist.ini 2013-06-24 23:44:07.000000000 +0200 @@ -9,7 +9,6 @@ -remove = NoTabsTests dist = Data-Visitor repository = github -github_user = nothingmuch authority = cpan:NUFFIN Git::Tag_tag_format = %N-%v Git::NextVersion_version_regexp = ^Data-Visitor-(.+)$ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Data-Visitor-0.28/lib/Data/Visitor/Callback.pm new/Data-Visitor-0.30/lib/Data/Visitor/Callback.pm --- old/Data-Visitor-0.28/lib/Data/Visitor/Callback.pm 2012-02-13 00:47:30.000000000 +0100 +++ new/Data-Visitor-0.30/lib/Data/Visitor/Callback.pm 2013-06-24 23:44:07.000000000 +0200 @@ -3,7 +3,7 @@ $Data::Visitor::Callback::AUTHORITY = 'cpan:NUFFIN'; } { - $Data::Visitor::Callback::VERSION = '0.28'; + $Data::Visitor::Callback::VERSION = '0.30'; } use Moose; # ABSTRACT: A Data::Visitor with callbacks. @@ -151,9 +151,10 @@ my $class_cb = 0; - foreach my $class ( @{ $self->class_callbacks } ) { + foreach my $class ( grep { $data->isa($_) } @{ $self->class_callbacks } ) { last unless blessed($data); - next unless $data->isa($class); + die "Unexpected object $data found" + unless $data->isa($class); $self->trace( flow => class_callback => $class, on => $data ) if DEBUG; $class_cb++; @@ -289,7 +290,7 @@ __PACKAGE__; - +__END__ =pod @@ -299,7 +300,7 @@ =head1 VERSION -version 0.28 +version 0.30 =head1 SYNOPSIS @@ -490,13 +491,9 @@ =head1 COPYRIGHT AND LICENSE -This software is copyright (c) 2012 by Yuval Kogman. +This software is copyright (c) 2013 by Yuval Kogman. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. =cut - - -__END__ - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Data-Visitor-0.28/lib/Data/Visitor.pm new/Data-Visitor-0.30/lib/Data/Visitor.pm --- old/Data-Visitor-0.28/lib/Data/Visitor.pm 2012-02-13 00:47:30.000000000 +0100 +++ new/Data-Visitor-0.30/lib/Data/Visitor.pm 2013-06-24 23:44:07.000000000 +0200 @@ -3,7 +3,7 @@ $Data::Visitor::AUTHORITY = 'cpan:NUFFIN'; } { - $Data::Visitor::VERSION = '0.28'; + $Data::Visitor::VERSION = '0.30'; } use Moose; # ABSTRACT: Visitor style traversal of Perl data structures @@ -453,7 +453,7 @@ __PACKAGE__; - +__END__ =pod @@ -463,7 +463,7 @@ =head1 VERSION -version 0.28 +version 0.30 =head1 SYNOPSIS @@ -694,15 +694,9 @@ =head1 COPYRIGHT AND LICENSE -This software is copyright (c) 2012 by Yuval Kogman. +This software is copyright (c) 2013 by Yuval Kogman. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. =cut - - -__END__ - - - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Data-Visitor-0.28/t/00-compile.t new/Data-Visitor-0.30/t/00-compile.t --- old/Data-Visitor-0.28/t/00-compile.t 2012-02-13 00:47:30.000000000 +0100 +++ new/Data-Visitor-0.30/t/00-compile.t 2013-06-24 23:44:07.000000000 +0200 @@ -24,8 +24,10 @@ 'lib', ); -my @scripts; -if ( -d 'bin' ) { +sub _find_scripts { + my $dir = shift @_; + + my @found_scripts = (); find( sub { return unless -f; @@ -37,12 +39,18 @@ }; my $shebang = <$FH>; return unless $shebang =~ /^#!.*?\bperl\b\s*$/; - push @scripts, $found; + push @found_scripts, $found; }, - 'bin', + $dir, ); + + return @found_scripts; } +my @scripts; +do { push @scripts, _find_scripts($_) if -d $_ } + for qw{ bin script scripts }; + my $plan = scalar(@modules) + scalar(@scripts); $plan ? (plan tests => $plan) : (plan skip_all => "no tests to run"); @@ -62,4 +70,5 @@ script_compiles( $file, "$script script compiles" ); } } + } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Data-Visitor-0.28/t/callback_moose_tc.t new/Data-Visitor-0.30/t/callback_moose_tc.t --- old/Data-Visitor-0.28/t/callback_moose_tc.t 1970-01-01 01:00:00.000000000 +0100 +++ new/Data-Visitor-0.30/t/callback_moose_tc.t 2013-06-24 23:44:07.000000000 +0200 @@ -0,0 +1,43 @@ +#!perl + +# Bug report that initiated this debugging: +# https://rt.cpan.org/Ticket/Display.html?id=81519 + +use strict; +use warnings; + +use Test::More tests => 1; + +use Data::Visitor::Callback; + +BEGIN { + package W3C::XHTML::Image; + use Moose; + + package W3C::XHTML::Body; + use Moose; + has 'images' => ( + is => 'ro', + isa => 'ArrayRef[W3C::XHTML::Image]', + ); +} + +my $body = W3C::XHTML::Body->new( images => [ W3C::XHTML::Image->new ] ); +my $tc = $body->meta->get_attribute('images')->type_constraint; + +note "TC contains only one instance of W3C::XHTML::Image - $tc"; + +# Figure out classes mentioned in type constraint (isa) +my @classes; +Data::Visitor::Callback->new({ + object => 'visit_ref', + 'Moose::Meta::TypeConstraint::Union' => sub { return $_[1]->type_constraints; }, + 'Moose::Meta::TypeConstraint::Class' => sub { push @classes, $_[1]->class; return $_[1]; }, + 'Moose::Meta::TypeConstraint::Parameterized' => sub { return $_[1]->type_parameter; }, +})->visit($tc); + +note "Classes found: " . join(", ", @classes); + +# On 5.16.2 it gives me only one item if mentioned once in TC, +# but on 5.17.6 it occasionally gives two items in @classes +is( scalar @classes, 1, "Only one case of W3C::XHTML::Image should be present"); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Data-Visitor-0.28/t/release-eol.t new/Data-Visitor-0.30/t/release-eol.t --- old/Data-Visitor-0.28/t/release-eol.t 2012-02-13 00:47:30.000000000 +0100 +++ new/Data-Visitor-0.30/t/release-eol.t 1970-01-01 01:00:00.000000000 +0100 @@ -1,16 +0,0 @@ - -BEGIN { - unless ($ENV{RELEASE_TESTING}) { - require Test::More; - Test::More::plan(skip_all => 'these tests are for release candidate testing'); - } -} - -use strict; -use warnings; -use Test::More; - -eval 'use Test::EOL'; -plan skip_all => 'Test::EOL required' if $@; - -all_perl_files_ok({ trailing_whitespace => 1 }); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Data-Visitor-0.28/t/release-pod-coverage.t new/Data-Visitor-0.30/t/release-pod-coverage.t --- old/Data-Visitor-0.28/t/release-pod-coverage.t 2012-02-13 00:47:30.000000000 +0100 +++ new/Data-Visitor-0.30/t/release-pod-coverage.t 1970-01-01 01:00:00.000000000 +0100 @@ -1,21 +0,0 @@ -#!perl - -BEGIN { - unless ($ENV{RELEASE_TESTING}) { - require Test::More; - Test::More::plan(skip_all => 'these tests are for release candidate testing'); - } -} - - -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 $@; - -all_pod_coverage_ok({ coverage_class => 'Pod::Coverage::TrustPod' }); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Data-Visitor-0.28/t/release-pod-syntax.t new/Data-Visitor-0.30/t/release-pod-syntax.t --- old/Data-Visitor-0.28/t/release-pod-syntax.t 2012-02-13 00:47:30.000000000 +0100 +++ new/Data-Visitor-0.30/t/release-pod-syntax.t 1970-01-01 01:00:00.000000000 +0100 @@ -1,15 +0,0 @@ -#!perl - -BEGIN { - unless ($ENV{RELEASE_TESTING}) { - require Test::More; - Test::More::plan(skip_all => 'these tests are for release candidate testing'); - } -} - -use Test::More; - -eval "use Test::Pod 1.41"; -plan skip_all => "Test::Pod 1.41 required for testing POD" if $@; - -all_pod_files_ok(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Data-Visitor-0.28/xt/release/eol.t new/Data-Visitor-0.30/xt/release/eol.t --- old/Data-Visitor-0.28/xt/release/eol.t 1970-01-01 01:00:00.000000000 +0100 +++ new/Data-Visitor-0.30/xt/release/eol.t 2013-06-24 23:44:07.000000000 +0200 @@ -0,0 +1,8 @@ +use strict; +use warnings; +use Test::More; + +eval 'use Test::EOL'; +plan skip_all => 'Test::EOL required' if $@; + +all_perl_files_ok({ trailing_whitespace => 1 }); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Data-Visitor-0.28/xt/release/pod-coverage.t new/Data-Visitor-0.30/xt/release/pod-coverage.t --- old/Data-Visitor-0.28/xt/release/pod-coverage.t 1970-01-01 01:00:00.000000000 +0100 +++ new/Data-Visitor-0.30/xt/release/pod-coverage.t 2013-06-24 23:44:07.000000000 +0200 @@ -0,0 +1,13 @@ +#!perl + +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 $@; + +all_pod_coverage_ok({ coverage_class => 'Pod::Coverage::TrustPod' }); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Data-Visitor-0.28/xt/release/pod-syntax.t new/Data-Visitor-0.30/xt/release/pod-syntax.t --- old/Data-Visitor-0.28/xt/release/pod-syntax.t 1970-01-01 01:00:00.000000000 +0100 +++ new/Data-Visitor-0.30/xt/release/pod-syntax.t 2013-06-24 23:44:07.000000000 +0200 @@ -0,0 +1,7 @@ +#!perl +use Test::More; + +eval "use Test::Pod 1.41"; +plan skip_all => "Test::Pod 1.41 required for testing POD" if $@; + +all_pod_files_ok(); -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
