Hello community, here is the log from the commit of package perl-XML-SemanticDiff for openSUSE:Factory checked in at 2017-10-03 23:17:43 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-XML-SemanticDiff (Old) and /work/SRC/openSUSE:Factory/.perl-XML-SemanticDiff.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-XML-SemanticDiff" Tue Oct 3 23:17:43 2017 rev:9 rq:530068 version:1.0006 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-XML-SemanticDiff/perl-XML-SemanticDiff.changes 2017-03-28 15:20:45.777966218 +0200 +++ /work/SRC/openSUSE:Factory/.perl-XML-SemanticDiff.new/perl-XML-SemanticDiff.changes 2017-10-03 23:17:43.498703579 +0200 @@ -1,0 +2,11 @@ +Thu Sep 28 06:21:36 UTC 2017 - co...@suse.com + +- updated to 1.0006 + see /usr/share/doc/packages/perl-XML-SemanticDiff/Changes + + 1.0006 2017-09-27 + - Fixed bug: https://rt.cpan.org/Public/Bug/Display.html?id=84546 + where the code was failing to find the difference in this scenario + Before: <element>0</element> After: <element></element> + +------------------------------------------------------------------- Old: ---- XML-SemanticDiff-1.0005.tar.gz New: ---- XML-SemanticDiff-1.0006.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-XML-SemanticDiff.spec ++++++ --- /var/tmp/diff_new_pack.paT4Au/_old 2017-10-03 23:17:44.054625341 +0200 +++ /var/tmp/diff_new_pack.paT4Au/_new 2017-10-03 23:17:44.058624778 +0200 @@ -17,7 +17,7 @@ Name: perl-XML-SemanticDiff -Version: 1.0005 +Version: 1.0006 Release: 0 %define cpan_name XML-SemanticDiff Summary: Perl extension for comparing XML documents ++++++ XML-SemanticDiff-1.0005.tar.gz -> XML-SemanticDiff-1.0006.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-SemanticDiff-1.0005/Build.PL new/XML-SemanticDiff-1.0006/Build.PL --- old/XML-SemanticDiff-1.0005/Build.PL 2017-02-06 19:23:41.000000000 +0100 +++ new/XML-SemanticDiff-1.0006/Build.PL 2017-09-27 17:20:14.000000000 +0200 @@ -1,5 +1,5 @@ -# This file was automatically generated by Dist::Zilla::Plugin::ModuleBuild v5.047. +# This file was automatically generated by Dist::Zilla::Plugin::ModuleBuild v6.010. use strict; use warnings; @@ -18,7 +18,7 @@ "Shlomi Fish <shlomif\@cpan.org>" ], "dist_name" => "XML-SemanticDiff", - "dist_version" => "1.0005", + "dist_version" => "1.0006", "license" => "perl", "module_name" => "XML::SemanticDiff", "recursive_test_files" => 1, @@ -35,8 +35,7 @@ "IO::Handle" => 0, "IPC::Open3" => 0, "Test" => 0, - "Test::More" => "0.88", - "blib" => "1.01" + "Test::More" => "0.88" } ); @@ -47,8 +46,7 @@ "IPC::Open3" => 0, "Module::Build" => "0.28", "Test" => 0, - "Test::More" => "0.88", - "blib" => "1.01" + "Test::More" => "0.88" ); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-SemanticDiff-1.0005/Changes new/XML-SemanticDiff-1.0006/Changes --- old/XML-SemanticDiff-1.0005/Changes 2017-02-06 19:23:41.000000000 +0100 +++ new/XML-SemanticDiff-1.0006/Changes 2017-09-27 17:20:14.000000000 +0200 @@ -1,5 +1,10 @@ Revision history for Perl module XML::SemanticDiff +1.0006 2017-09-27 + - Fixed bug: https://rt.cpan.org/Public/Bug/Display.html?id=84546 + where the code was failing to find the difference in this scenario + Before: <element>0</element> After: <element></element> + 1.0005 2017-02-06 - Convert the distribution to use git, GitHub, and Dist-Zilla. - Correct some spelling errors and add more tests. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-SemanticDiff-1.0005/MANIFEST new/XML-SemanticDiff-1.0006/MANIFEST --- old/XML-SemanticDiff-1.0005/MANIFEST 2017-02-06 19:23:41.000000000 +0100 +++ new/XML-SemanticDiff-1.0006/MANIFEST 2017-09-27 17:20:14.000000000 +0200 @@ -1,4 +1,4 @@ -# This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.047. +# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.010. Build.PL Changes LICENSE @@ -30,6 +30,7 @@ t/13to-doc-read.t t/14ignore_xpath.t t/15ignore_multi.t +t/16zero_to_empty_str_cmp.t t/style-trailing-space.t weaver.ini xt/author/eol.t @@ -37,5 +38,4 @@ xt/author/pod-coverage.t xt/author/pod-syntax.t xt/release/cpan-changes.t -xt/release/kwalitee.t xt/release/trailing-space.t diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-SemanticDiff-1.0005/META.json new/XML-SemanticDiff-1.0006/META.json --- old/XML-SemanticDiff-1.0005/META.json 2017-02-06 19:23:41.000000000 +0100 +++ new/XML-SemanticDiff-1.0006/META.json 2017-09-27 17:20:14.000000000 +0200 @@ -4,7 +4,7 @@ "Shlomi Fish <shlo...@cpan.org>" ], "dynamic_config" : 0, - "generated_by" : "Dist::Zilla version 5.047, CPAN::Meta::Converter version 2.150001", + "generated_by" : "Dist::Zilla version 6.010, CPAN::Meta::Converter version 2.150010", "license" : [ "perl_5" ], @@ -29,7 +29,6 @@ "Pod::Coverage::TrustPod" : "0", "Test::CPAN::Changes" : "0.19", "Test::EOL" : "0", - "Test::Kwalitee::Extra" : "0", "Test::More" : "0.96", "Test::NoTabs" : "0", "Test::Pod" : "1.41", @@ -53,27 +52,26 @@ "IO::Handle" : "0", "IPC::Open3" : "0", "Test" : "0", - "Test::More" : "0.88", - "blib" : "1.01" + "Test::More" : "0.88" } } }, "provides" : { "XML::SemanticDiff" : { "file" : "lib/XML/SemanticDiff.pm", - "version" : "1.0005" + "version" : "1.0006" }, "XML::SemanticDiff::BasicHandler" : { "file" : "lib/XML/SemanticDiff/BasicHandler.pm", - "version" : "1.0005" + "version" : "1.0006" }, "XML::SemanticDiff::PathFinder" : { "file" : "lib/XML/SemanticDiff.pm", - "version" : "1.0005" + "version" : "1.0006" }, "XML::SemanticDiff::PathFinder::Obj" : { "file" : "lib/XML/SemanticDiff.pm", - "version" : "1.0005" + "version" : "1.0006" } }, "release_status" : "stable", @@ -89,10 +87,10 @@ "web" : "https://github.com/shlomif/perl-XML-SemanticDiff" } }, - "version" : "1.0005", + "version" : "1.0006", "x_Dist_Zilla" : { "perl" : { - "version" : "5.022003" + "version" : "5.026001" }, "plugins" : [ { @@ -104,17 +102,17 @@ } }, "name" : "@Filter/TestMoreDoneTesting", - "version" : "5.047" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::AutoPrereqs", "name" : "@Filter/AutoPrereqs", - "version" : "5.047" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::ExecDir", "name" : "@Filter/ExecDir", - "version" : "5.047" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::GatherDir", @@ -130,27 +128,27 @@ } }, "name" : "@Filter/GatherDir", - "version" : "5.047" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::ManifestSkip", "name" : "@Filter/ManifestSkip", - "version" : "5.047" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::MetaYAML", "name" : "@Filter/MetaYAML", - "version" : "5.047" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::PruneCruft", "name" : "@Filter/PruneCruft", - "version" : "5.047" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::Readme", "name" : "@Filter/Readme", - "version" : "5.047" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::RunExtraTests", @@ -160,12 +158,12 @@ } }, "name" : "@Filter/RunExtraTests", - "version" : "0.028" + "version" : "0.029" }, { "class" : "Dist::Zilla::Plugin::ShareDir", "name" : "@Filter/ShareDir", - "version" : "5.047" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::Authority", @@ -175,27 +173,27 @@ { "class" : "Dist::Zilla::Plugin::CheckChangesHasContent", "name" : "@Filter/CheckChangesHasContent", - "version" : "0.008" + "version" : "0.010" }, { "class" : "Dist::Zilla::Plugin::ConfirmRelease", "name" : "@Filter/ConfirmRelease", - "version" : "5.047" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::Manifest", "name" : "@Filter/Manifest", - "version" : "5.047" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::MetaConfig", "name" : "@Filter/MetaConfig", - "version" : "5.047" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::MetaJSON", "name" : "@Filter/MetaJSON", - "version" : "5.047" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::MetaProvides::Package", @@ -205,24 +203,29 @@ { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : "@Filter/MetaProvides::Package/AUTOVIV/:InstallModulesPM", - "version" : "5.047" + "version" : "6.010" } - ] + ], + "include_underscores" : 0 }, "Dist::Zilla::Role::MetaProvider::Provider" : { - "Dist::Zilla::Role::MetaProvider::Provider::VERSION" : "2.001011", - "inherit_missing" : "1", - "inherit_version" : "1", - "meta_noindex" : "1" + "$Dist::Zilla::Role::MetaProvider::Provider::VERSION" : "2.002004", + "inherit_missing" : 1, + "inherit_version" : 1, + "meta_noindex" : 1 + }, + "Dist::Zilla::Role::ModuleMetadata" : { + "Module::Metadata" : "1.000033", + "version" : "0.004" } }, "name" : "@Filter/MetaProvides::Package", - "version" : "2.003002" + "version" : "2.004003" }, { "class" : "Dist::Zilla::Plugin::MetaResources", "name" : "@Filter/MetaResources", - "version" : "5.047" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::ModuleBuild", @@ -232,33 +235,33 @@ } }, "name" : "@Filter/ModuleBuild", - "version" : "5.047" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::PkgVersion", "name" : "@Filter/PkgVersion", - "version" : "5.047" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::PodCoverageTests", "name" : "@Filter/PodCoverageTests", - "version" : "5.047" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::PodSyntaxTests", "name" : "@Filter/PodSyntaxTests", - "version" : "5.047" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::PodVersion", "name" : "@Filter/PodVersion", - "version" : "5.047" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::Test::Compile", "config" : { "Dist::Zilla::Plugin::Test::Compile" : { - "bail_out_on_fail" : "0", + "bail_out_on_fail" : 0, "fail_on_warning" : "author", "fake_home" : 0, "filename" : "t/00-compile.t", @@ -270,16 +273,22 @@ "script_finder" : [ ":PerlExecFiles" ], - "skips" : [] + "skips" : [], + "switch" : [] } }, "name" : "@Filter/Test::Compile", - "version" : "2.054" + "version" : "2.057" }, { "class" : "Dist::Zilla::Plugin::Test::CPAN::Changes", + "config" : { + "Dist::Zilla::Plugin::Test::CPAN::Changes" : { + "changelog" : "Changes" + } + }, "name" : "@Filter/Test::CPAN::Changes", - "version" : "0.009" + "version" : "0.012" }, { "class" : "Dist::Zilla::Plugin::Test::EOL", @@ -287,15 +296,15 @@ "Dist::Zilla::Plugin::Test::EOL" : { "filename" : "xt/author/eol.t", "finder" : [ - ":InstallModules", ":ExecFiles", + ":InstallModules", ":TestFiles" ], - "trailing_whitespace" : "1" + "trailing_whitespace" : 1 } }, "name" : "@Filter/Test::EOL", - "version" : "0.18" + "version" : "0.19" }, { "class" : "Dist::Zilla::Plugin::Test::NoTabs", @@ -313,11 +322,6 @@ "version" : "0.15" }, { - "class" : "Dist::Zilla::Plugin::Test::Kwalitee::Extra", - "name" : "@Filter/Test::Kwalitee::Extra", - "version" : "v0.2.1" - }, - { "class" : "Dist::Zilla::Plugin::Test::TrailingSpace", "name" : "@Filter/Test::TrailingSpace", "version" : "0.2.0" @@ -325,7 +329,7 @@ { "class" : "Dist::Zilla::Plugin::TestRelease", "name" : "@Filter/TestRelease", - "version" : "5.047" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::PodWeaver", @@ -339,77 +343,77 @@ { "class" : "Pod::Weaver::Plugin::EnsurePod5", "name" : "@CorePrep/EnsurePod5", - "version" : "4.013" + "version" : "4.015" }, { "class" : "Pod::Weaver::Plugin::H1Nester", "name" : "@CorePrep/H1Nester", - "version" : "4.013" + "version" : "4.015" }, { "class" : "Pod::Weaver::Section::Generic", "name" : "NAME", - "version" : "4.013" + "version" : "4.015" }, { "class" : "Pod::Weaver::Section::Version", "name" : "Version", - "version" : "4.013" + "version" : "4.015" }, { "class" : "Pod::Weaver::Section::Region", "name" : "prelude", - "version" : "4.013" + "version" : "4.015" }, { "class" : "Pod::Weaver::Section::Generic", "name" : "SYNOPSIS", - "version" : "4.013" + "version" : "4.015" }, { "class" : "Pod::Weaver::Section::Generic", "name" : "DESCRIPTION", - "version" : "4.013" + "version" : "4.015" }, { "class" : "Pod::Weaver::Section::Generic", "name" : "OVERVIEW", - "version" : "4.013" + "version" : "4.015" }, { "class" : "Pod::Weaver::Section::Collect", "name" : "ATTRIBUTES", - "version" : "4.013" + "version" : "4.015" }, { "class" : "Pod::Weaver::Section::Collect", "name" : "METHODS", - "version" : "4.013" + "version" : "4.015" }, { "class" : "Pod::Weaver::Section::Leftovers", "name" : "Leftovers", - "version" : "4.013" + "version" : "4.015" }, { "class" : "Pod::Weaver::Section::Region", "name" : "postlude", - "version" : "4.013" + "version" : "4.015" }, { "class" : "Pod::Weaver::Section::Authors", "name" : "Authors", - "version" : "4.013" + "version" : "4.015" }, { "class" : "Pod::Weaver::Section::Legal", "name" : "Legal", - "version" : "4.013" + "version" : "4.015" }, { "class" : "Pod::Weaver::Section::Bugs", "name" : "Bugs", - "version" : "4.013" + "version" : "4.015" }, { "class" : "Pod::Weaver::Section::Support", @@ -425,12 +429,12 @@ { "class" : "Dist::Zilla::Plugin::UploadToCPAN", "name" : "@Filter/UploadToCPAN", - "version" : "5.047" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::MetaResources", "name" : "MetaResources", - "version" : "5.047" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::Prereqs", @@ -441,72 +445,73 @@ } }, "name" : "Runtime", - "version" : "5.047" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":InstallModules", - "version" : "5.047" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":IncModules", - "version" : "5.047" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":TestFiles", - "version" : "5.047" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ExtraTestFiles", - "version" : "5.047" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ExecFiles", - "version" : "5.047" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":PerlExecFiles", - "version" : "5.047" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ShareFiles", - "version" : "5.047" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":MainModule", - "version" : "5.047" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":AllFiles", - "version" : "5.047" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":NoFiles", - "version" : "5.047" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : "@Filter/MetaProvides::Package/AUTOVIV/:InstallModulesPM", - "version" : "5.047" + "version" : "6.010" } ], "zilla" : { "class" : "Dist::Zilla::Dist::Builder", "config" : { - "is_trial" : "0" + "is_trial" : 0 }, - "version" : "5.047" + "version" : "6.010" } }, - "x_authority" : "cpan:SHLOMIF" + "x_authority" : "cpan:SHLOMIF", + "x_serialization_backend" : "Cpanel::JSON::XS version 3.0239" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-SemanticDiff-1.0005/META.yml new/XML-SemanticDiff-1.0006/META.yml --- old/XML-SemanticDiff-1.0005/META.yml 2017-02-06 19:23:41.000000000 +0100 +++ new/XML-SemanticDiff-1.0006/META.yml 2017-09-27 17:20:14.000000000 +0200 @@ -9,11 +9,10 @@ Module::Build: '0.28' Test: '0' Test::More: '0.88' - blib: '1.01' configure_requires: Module::Build: '0.28' dynamic_config: 0 -generated_by: 'Dist::Zilla version 5.047, CPAN::Meta::Converter version 2.150001' +generated_by: 'Dist::Zilla version 6.010, CPAN::Meta::Converter version 2.150010' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -22,16 +21,16 @@ provides: XML::SemanticDiff: file: lib/XML/SemanticDiff.pm - version: '1.0005' + version: '1.0006' XML::SemanticDiff::BasicHandler: file: lib/XML/SemanticDiff/BasicHandler.pm - version: '1.0005' + version: '1.0006' XML::SemanticDiff::PathFinder: file: lib/XML/SemanticDiff.pm - version: '1.0005' + version: '1.0006' XML::SemanticDiff::PathFinder::Obj: file: lib/XML/SemanticDiff.pm - version: '1.0005' + version: '1.0006' requires: Digest::MD5: '0' Encode: '0' @@ -43,10 +42,10 @@ bugtracker: http://rt.cpan.org/Public/Dist/Display.html?Name=XML-SemanticDiff homepage: http://metacpan.org/release/XML-SemanticDiff repository: https://github.com/shlomif/perl-XML-SemanticDiff.git -version: '1.0005' +version: '1.0006' x_Dist_Zilla: perl: - version: '5.022003' + version: '5.026001' plugins: - class: Dist::Zilla::Plugin::Prereqs @@ -55,15 +54,15 @@ phase: test type: requires name: '@Filter/TestMoreDoneTesting' - version: '5.047' + version: '6.010' - class: Dist::Zilla::Plugin::AutoPrereqs name: '@Filter/AutoPrereqs' - version: '5.047' + version: '6.010' - class: Dist::Zilla::Plugin::ExecDir name: '@Filter/ExecDir' - version: '5.047' + version: '6.010' - class: Dist::Zilla::Plugin::GatherDir config: @@ -76,34 +75,34 @@ prune_directory: [] root: . name: '@Filter/GatherDir' - version: '5.047' + version: '6.010' - class: Dist::Zilla::Plugin::ManifestSkip name: '@Filter/ManifestSkip' - version: '5.047' + version: '6.010' - class: Dist::Zilla::Plugin::MetaYAML name: '@Filter/MetaYAML' - version: '5.047' + version: '6.010' - class: Dist::Zilla::Plugin::PruneCruft name: '@Filter/PruneCruft' - version: '5.047' + version: '6.010' - class: Dist::Zilla::Plugin::Readme name: '@Filter/Readme' - version: '5.047' + version: '6.010' - class: Dist::Zilla::Plugin::RunExtraTests config: Dist::Zilla::Role::TestRunner: default_jobs: 1 name: '@Filter/RunExtraTests' - version: '0.028' + version: '0.029' - class: Dist::Zilla::Plugin::ShareDir name: '@Filter/ShareDir' - version: '5.047' + version: '6.010' - class: Dist::Zilla::Plugin::Authority name: '@Filter/Authority' @@ -111,23 +110,23 @@ - class: Dist::Zilla::Plugin::CheckChangesHasContent name: '@Filter/CheckChangesHasContent' - version: '0.008' + version: '0.010' - class: Dist::Zilla::Plugin::ConfirmRelease name: '@Filter/ConfirmRelease' - version: '5.047' + version: '6.010' - class: Dist::Zilla::Plugin::Manifest name: '@Filter/Manifest' - version: '5.047' + version: '6.010' - class: Dist::Zilla::Plugin::MetaConfig name: '@Filter/MetaConfig' - version: '5.047' + version: '6.010' - class: Dist::Zilla::Plugin::MetaJSON name: '@Filter/MetaJSON' - version: '5.047' + version: '6.010' - class: Dist::Zilla::Plugin::MetaProvides::Package config: @@ -136,41 +135,45 @@ - class: Dist::Zilla::Plugin::FinderCode name: '@Filter/MetaProvides::Package/AUTOVIV/:InstallModulesPM' - version: '5.047' + version: '6.010' + include_underscores: 0 Dist::Zilla::Role::MetaProvider::Provider: - Dist::Zilla::Role::MetaProvider::Provider::VERSION: '2.001011' + $Dist::Zilla::Role::MetaProvider::Provider::VERSION: '2.002004' inherit_missing: '1' inherit_version: '1' meta_noindex: '1' + Dist::Zilla::Role::ModuleMetadata: + Module::Metadata: '1.000033' + version: '0.004' name: '@Filter/MetaProvides::Package' - version: '2.003002' + version: '2.004003' - class: Dist::Zilla::Plugin::MetaResources name: '@Filter/MetaResources' - version: '5.047' + version: '6.010' - class: Dist::Zilla::Plugin::ModuleBuild config: Dist::Zilla::Role::TestRunner: default_jobs: 1 name: '@Filter/ModuleBuild' - version: '5.047' + version: '6.010' - class: Dist::Zilla::Plugin::PkgVersion name: '@Filter/PkgVersion' - version: '5.047' + version: '6.010' - class: Dist::Zilla::Plugin::PodCoverageTests name: '@Filter/PodCoverageTests' - version: '5.047' + version: '6.010' - class: Dist::Zilla::Plugin::PodSyntaxTests name: '@Filter/PodSyntaxTests' - version: '5.047' + version: '6.010' - class: Dist::Zilla::Plugin::PodVersion name: '@Filter/PodVersion' - version: '5.047' + version: '6.010' - class: Dist::Zilla::Plugin::Test::Compile config: @@ -186,24 +189,28 @@ script_finder: - ':PerlExecFiles' skips: [] + switch: [] name: '@Filter/Test::Compile' - version: '2.054' + version: '2.057' - class: Dist::Zilla::Plugin::Test::CPAN::Changes + config: + Dist::Zilla::Plugin::Test::CPAN::Changes: + changelog: Changes name: '@Filter/Test::CPAN::Changes' - version: '0.009' + version: '0.012' - class: Dist::Zilla::Plugin::Test::EOL config: Dist::Zilla::Plugin::Test::EOL: filename: xt/author/eol.t finder: - - ':InstallModules' - ':ExecFiles' + - ':InstallModules' - ':TestFiles' - trailing_whitespace: '1' + trailing_whitespace: 1 name: '@Filter/Test::EOL' - version: '0.18' + version: '0.19' - class: Dist::Zilla::Plugin::Test::NoTabs config: @@ -216,17 +223,13 @@ name: '@Filter/Test::NoTabs' version: '0.15' - - class: Dist::Zilla::Plugin::Test::Kwalitee::Extra - name: '@Filter/Test::Kwalitee::Extra' - version: v0.2.1 - - class: Dist::Zilla::Plugin::Test::TrailingSpace name: '@Filter/Test::TrailingSpace' version: 0.2.0 - class: Dist::Zilla::Plugin::TestRelease name: '@Filter/TestRelease' - version: '5.047' + version: '6.010' - class: Dist::Zilla::Plugin::PodWeaver config: @@ -238,63 +241,63 @@ - class: Pod::Weaver::Plugin::EnsurePod5 name: '@CorePrep/EnsurePod5' - version: '4.013' + version: '4.015' - class: Pod::Weaver::Plugin::H1Nester name: '@CorePrep/H1Nester' - version: '4.013' + version: '4.015' - class: Pod::Weaver::Section::Generic name: NAME - version: '4.013' + version: '4.015' - class: Pod::Weaver::Section::Version name: Version - version: '4.013' + version: '4.015' - class: Pod::Weaver::Section::Region name: prelude - version: '4.013' + version: '4.015' - class: Pod::Weaver::Section::Generic name: SYNOPSIS - version: '4.013' + version: '4.015' - class: Pod::Weaver::Section::Generic name: DESCRIPTION - version: '4.013' + version: '4.015' - class: Pod::Weaver::Section::Generic name: OVERVIEW - version: '4.013' + version: '4.015' - class: Pod::Weaver::Section::Collect name: ATTRIBUTES - version: '4.013' + version: '4.015' - class: Pod::Weaver::Section::Collect name: METHODS - version: '4.013' + version: '4.015' - class: Pod::Weaver::Section::Leftovers name: Leftovers - version: '4.013' + version: '4.015' - class: Pod::Weaver::Section::Region name: postlude - version: '4.013' + version: '4.015' - class: Pod::Weaver::Section::Authors name: Authors - version: '4.013' + version: '4.015' - class: Pod::Weaver::Section::Legal name: Legal - version: '4.013' + version: '4.015' - class: Pod::Weaver::Section::Bugs name: Bugs - version: '4.013' + version: '4.015' - class: Pod::Weaver::Section::Support name: Support @@ -304,11 +307,11 @@ - class: Dist::Zilla::Plugin::UploadToCPAN name: '@Filter/UploadToCPAN' - version: '5.047' + version: '6.010' - class: Dist::Zilla::Plugin::MetaResources name: MetaResources - version: '5.047' + version: '6.010' - class: Dist::Zilla::Plugin::Prereqs config: @@ -316,54 +319,55 @@ phase: runtime type: requires name: Runtime - version: '5.047' + version: '6.010' - class: Dist::Zilla::Plugin::FinderCode name: ':InstallModules' - version: '5.047' + version: '6.010' - class: Dist::Zilla::Plugin::FinderCode name: ':IncModules' - version: '5.047' + version: '6.010' - class: Dist::Zilla::Plugin::FinderCode name: ':TestFiles' - version: '5.047' + version: '6.010' - class: Dist::Zilla::Plugin::FinderCode name: ':ExtraTestFiles' - version: '5.047' + version: '6.010' - class: Dist::Zilla::Plugin::FinderCode name: ':ExecFiles' - version: '5.047' + version: '6.010' - class: Dist::Zilla::Plugin::FinderCode name: ':PerlExecFiles' - version: '5.047' + version: '6.010' - class: Dist::Zilla::Plugin::FinderCode name: ':ShareFiles' - version: '5.047' + version: '6.010' - class: Dist::Zilla::Plugin::FinderCode name: ':MainModule' - version: '5.047' + version: '6.010' - class: Dist::Zilla::Plugin::FinderCode name: ':AllFiles' - version: '5.047' + version: '6.010' - class: Dist::Zilla::Plugin::FinderCode name: ':NoFiles' - version: '5.047' + version: '6.010' - class: Dist::Zilla::Plugin::FinderCode name: '@Filter/MetaProvides::Package/AUTOVIV/:InstallModulesPM' - version: '5.047' + version: '6.010' zilla: class: Dist::Zilla::Dist::Builder config: is_trial: '0' - version: '5.047' + version: '6.010' x_authority: cpan:SHLOMIF +x_serialization_backend: 'YAML::Tiny version 1.70' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-SemanticDiff-1.0005/README new/XML-SemanticDiff-1.0006/README --- old/XML-SemanticDiff-1.0005/README 2017-02-06 19:23:41.000000000 +0100 +++ new/XML-SemanticDiff-1.0006/README 2017-09-27 17:20:14.000000000 +0200 @@ -1,7 +1,7 @@ This archive contains the distribution XML-SemanticDiff, -version 1.0005: +version 1.0006: Perl extension for comparing XML documents. @@ -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.047. +This README file was generated by Dist::Zilla::Plugin::Readme v6.010. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-SemanticDiff-1.0005/dist.ini new/XML-SemanticDiff-1.0006/dist.ini --- old/XML-SemanticDiff-1.0005/dist.ini 2017-02-06 19:23:41.000000000 +0100 +++ new/XML-SemanticDiff-1.0006/dist.ini 2017-09-27 17:20:14.000000000 +0200 @@ -3,12 +3,13 @@ license = Perl_5 copyright_holder = Kim Hampton copyright_year = 2001 -version = 1.0005 +version = 1.0006 [@Filter] -bundle = @SHLOMIF -remove = License -remove = MakeMaker +-remove = Test::Kwalitee::Extra dist = XML-SemanticDiff github_name = perl-XML-SemanticDiff [MetaResources] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-SemanticDiff-1.0005/lib/XML/SemanticDiff/BasicHandler.pm new/XML-SemanticDiff-1.0006/lib/XML/SemanticDiff/BasicHandler.pm --- old/XML-SemanticDiff-1.0005/lib/XML/SemanticDiff/BasicHandler.pm 2017-02-06 19:23:41.000000000 +0100 +++ new/XML-SemanticDiff-1.0006/lib/XML/SemanticDiff/BasicHandler.pm 2017-09-27 17:20:14.000000000 +0200 @@ -4,7 +4,7 @@ use strict; use warnings; -our $VERSION = '1.0005'; +our $VERSION = '1.0006'; sub new { my ($proto, %args) = @_; @@ -165,7 +165,7 @@ =head1 VERSION -version 1.0005 +version 1.0006 =head1 SYNOPSIS @@ -185,7 +185,7 @@ =head1 VERSION -version 1.0005 +version 1.0006 =head1 IMPLEMENTED METHODS (FOR INTERNAL USE) @@ -226,8 +226,9 @@ =head1 BUGS Please report any bugs or feature requests on the bugtracker website -http://rt.cpan.org/Public/Dist/Display.html?Name=XML-SemanticDiff or by -email to bug-xml-semanticd...@rt.cpan.org. +L<http://rt.cpan.org/Public/Dist/Display.html?Name=XML-SemanticDiff> or by +email to +L<bug-xml-semanticd...@rt.cpan.org|mailto:bug-xml-semanticd...@rt.cpan.org>. When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-SemanticDiff-1.0005/lib/XML/SemanticDiff.pm new/XML-SemanticDiff-1.0006/lib/XML/SemanticDiff.pm --- old/XML-SemanticDiff-1.0005/lib/XML/SemanticDiff.pm 2017-02-06 19:23:41.000000000 +0100 +++ new/XML-SemanticDiff-1.0006/lib/XML/SemanticDiff.pm 2017-09-27 17:20:14.000000000 +0200 @@ -6,7 +6,7 @@ use 5.012; -our $VERSION = '1.0005'; +our $VERSION = '1.0006'; use XML::Parser; @@ -347,14 +347,28 @@ $text = $self->char_accumulator()->{$element}; delete $self->char_accumulator()->{$element}; } - $text ||= 'o'; + # This isn't the correct thing to do. If the before or after element + # had and 'o' and the other was undef, we would fail to find any differences + # Instead, when a value is undef we should be setting the the checksum + # to the value for an empty string since undef and empty string for a + # element are the same (<element /> vs <element></element>) + #$text ||= 'o'; # warn "text is '$text' \n"; # my $ctx = Digest::MD5->new; # $ctx->add("$text"); # $self->doc()->{"$test_context"}->{TextChecksum} = $ctx->b64digest; - $self->doc()->{"$test_context"}->{TextChecksum} = md5_base64(encode_utf8("$text")); + # In XML, a null(undef) value and an empty string should be treaded the same. + # Therefore, when the element is undef, we should set the TextChecksum to the same + # as an empty string. + $self->doc()->{"$test_context"}->{TextChecksum} = + md5_base64( + encode_utf8( + (defined $text) ? "$text" : "" + ) + ); + if ($self->opts()->{keepdata}) { $self->doc()->{"$test_context"}->{CData} = $text; } @@ -383,7 +397,9 @@ $char =~ s/^\s*//; $char =~ s/\s*$//; $char =~ s/\s+/ /g; - $self->char_accumulator()->{$element} .= $char if $char; + # We should add any character that isn't undef, so check + # for defined here instead of checking if the value is true + $self->char_accumulator()->{$element} .= $char if defined($char); } @@ -443,7 +459,7 @@ =head1 VERSION -version 1.0005 +version 1.0006 =head1 SYNOPSIS @@ -469,7 +485,7 @@ =head1 VERSION -version 1.0005 +version 1.0006 =head1 METHODS @@ -639,8 +655,9 @@ =head1 BUGS Please report any bugs or feature requests on the bugtracker website -http://rt.cpan.org/Public/Dist/Display.html?Name=XML-SemanticDiff or by -email to bug-xml-semanticd...@rt.cpan.org. +L<http://rt.cpan.org/Public/Dist/Display.html?Name=XML-SemanticDiff> or by +email to +L<bug-xml-semanticd...@rt.cpan.org|mailto:bug-xml-semanticd...@rt.cpan.org>. When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-SemanticDiff-1.0005/t/00-compile.t new/XML-SemanticDiff-1.0006/t/00-compile.t --- old/XML-SemanticDiff-1.0005/t/00-compile.t 2017-02-06 19:23:41.000000000 +0100 +++ new/XML-SemanticDiff-1.0006/t/00-compile.t 2017-09-27 17:20:14.000000000 +0200 @@ -2,7 +2,7 @@ use strict; use warnings; -# this test was generated with Dist::Zilla::Plugin::Test::Compile 2.054 +# this test was generated with Dist::Zilla::Plugin::Test::Compile 2.057 use Test::More; @@ -17,7 +17,9 @@ # no fake home requested -my $inc_switch = -d 'blib' ? '-Mblib' : '-Ilib'; +my @switches = ( + -d 'blib' ? '-Mblib' : '-Ilib', +); use File::Spec; use IPC::Open3; @@ -31,14 +33,18 @@ # see L<perlfaq8/How can I capture STDERR from an external command?> my $stderr = IO::Handle->new; - my $pid = open3($stdin, '>&STDERR', $stderr, $^X, $inc_switch, '-e', "require q[$lib]"); + diag('Running: ', join(', ', map { my $str = $_; $str =~ s/'/\\'/g; q{'} . $str . q{'} } + $^X, @switches, '-e', "require q[$lib]")) + if $ENV{PERL_COMPILE_TEST_DEBUG}; + + my $pid = open3($stdin, '>&STDERR', $stderr, $^X, @switches, '-e', "require q[$lib]"); binmode $stderr, ':crlf' if $^O eq 'MSWin32'; my @_warnings = <$stderr>; waitpid($pid, 0); is($?, 0, "$lib loaded ok"); shift @_warnings if @_warnings and $_warnings[0] =~ /^Using .*\bblib/ - and not eval { require blib; blib->VERSION('1.01') }; + and not eval { +require blib; blib->VERSION('1.01') }; if (@_warnings) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-SemanticDiff-1.0005/t/16zero_to_empty_str_cmp.t new/XML-SemanticDiff-1.0006/t/16zero_to_empty_str_cmp.t --- old/XML-SemanticDiff-1.0005/t/16zero_to_empty_str_cmp.t 1970-01-01 01:00:00.000000000 +0100 +++ new/XML-SemanticDiff-1.0006/t/16zero_to_empty_str_cmp.t 2017-09-27 17:20:14.000000000 +0200 @@ -0,0 +1,125 @@ +#!/usr/bin/perl +use strict; +use warnings; + +use Test::More tests => 18; + +use XML::SemanticDiff; + +my $xml_attr_0 = <<'EOX'; +<?xml version="1.0"?> +<root> +<el1 el1attr="0"/> +</root> +EOX + +my $xml_attr_empty_string = <<'EOX'; +<?xml version="1.0"?> +<root> +<el1 el1attr=""/> +</root> +EOX + +my $xml_attr_missing = <<'EOX'; +<?xml version="1.0"?> +<root> +<el1 /> +</root> +EOX + +my $xml_elem_0 = <<'EOX'; +<?xml version="1.0"?> +<root> +<el2>0</el2> +</root> +EOX + +my $xml_elem_empty_string = <<'EOX'; +<?xml version="1.0"?> +<root> +<el2></el2> +</root> +EOX + +my $xml_elem_undef = <<'EOX'; +<?xml version="1.0"?> +<root> +<el2 /> +</root> +EOX + +my ($diff, @results); + +# TEST +$diff = XML::SemanticDiff->new(keepdata => 1, keeplinenums => 1); +@results = $diff->compare($xml_attr_0, $xml_attr_empty_string); +is (scalar(@results), 1, + "Difference found between 0 and empty string in attr" +); + +# TEST +is ($results[0]->{old_value}, 0, "check old value 0"); +# TEST +is ($results[0]->{new_value}, '', "check new value empty_string"); + +# TEST +$diff = XML::SemanticDiff->new(keepdata => 1, keeplinenums => 1); +@results = $diff->compare($xml_attr_0, $xml_attr_missing); +is (scalar(@results), 1, + "Difference found between 0 and missing attr" +); + +# TEST +is ($results[0]->{old_value}, 0, "check old value 0"); +# TEST +is ($results[0]->{new_value}, undef, "check new value undef"); + +# TEST +$diff = XML::SemanticDiff->new(keepdata => 1, keeplinenums => 1); +@results = $diff->compare($xml_elem_0, $xml_elem_empty_string); +is (scalar(@results), 1, + "Difference found between 0 and empty string in elem(<el></el>)" +); + +# TEST +is ($results[0]->{old_value}, 0, "check old value 0"); +# TEST +is ($results[0]->{new_value}, undef, "check new value undef"); + +# TEST +$diff = XML::SemanticDiff->new(keepdata => 1, keeplinenums => 1); +@results = $diff->compare($xml_elem_0, $xml_elem_undef); +is (scalar(@results), 1, + "Difference found between 0 and empty string in elem(<el />)" +); + +# TEST +is ($results[0]->{old_value}, 0, "check old value 0"); +# TEST +is ($results[0]->{new_value}, undef, "check new value undef"); + +# TEST +@results = $diff->compare($xml_attr_0, $xml_attr_0); +ok ((!@results), "Identical XMLs with attrs 0 generate identical results"); + +# TEST +@results = $diff->compare($xml_attr_empty_string, $xml_attr_empty_string); +ok ((!@results), "Identical XMLs with attrs empty_string generate identical results"); + +# TEST +@results = $diff->compare($xml_attr_missing, $xml_attr_missing); +ok ((!@results), "Identical XMLs with attrs missing generate identical results"); + +# TEST +@results = $diff->compare($xml_elem_0, $xml_elem_0); +ok ((!@results), "Identical XMLs with elem 0 generate identical results"); + +# TEST +@results = $diff->compare($xml_elem_empty_string, $xml_elem_empty_string); +ok ((!@results), "Identical XMLs with elem empty_string generate identical results"); + +# TEST +@results = $diff->compare($xml_elem_undef, $xml_elem_undef); +ok ((!@results), "Identical XMLs with elem undef generate identical results"); + + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-SemanticDiff-1.0005/xt/author/eol.t new/XML-SemanticDiff-1.0006/xt/author/eol.t --- old/XML-SemanticDiff-1.0005/xt/author/eol.t 2017-02-06 19:23:41.000000000 +0100 +++ new/XML-SemanticDiff-1.0006/xt/author/eol.t 2017-09-27 17:20:14.000000000 +0200 @@ -1,7 +1,7 @@ use strict; use warnings; -# this test was generated with Dist::Zilla::Plugin::Test::EOL 0.18 +# this test was generated with Dist::Zilla::Plugin::Test::EOL 0.19 use Test::More 0.88; use Test::EOL; @@ -25,6 +25,7 @@ 't/13to-doc-read.t', 't/14ignore_xpath.t', 't/15ignore_multi.t', + 't/16zero_to_empty_str_cmp.t', 't/style-trailing-space.t' ); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-SemanticDiff-1.0005/xt/author/no-tabs.t new/XML-SemanticDiff-1.0006/xt/author/no-tabs.t --- old/XML-SemanticDiff-1.0005/xt/author/no-tabs.t 2017-02-06 19:23:41.000000000 +0100 +++ new/XML-SemanticDiff-1.0006/xt/author/no-tabs.t 2017-09-27 17:20:14.000000000 +0200 @@ -25,6 +25,7 @@ 't/13to-doc-read.t', 't/14ignore_xpath.t', 't/15ignore_multi.t', + 't/16zero_to_empty_str_cmp.t', 't/style-trailing-space.t' ); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-SemanticDiff-1.0005/xt/release/cpan-changes.t new/XML-SemanticDiff-1.0006/xt/release/cpan-changes.t --- old/XML-SemanticDiff-1.0005/xt/release/cpan-changes.t 2017-02-06 19:23:41.000000000 +0100 +++ new/XML-SemanticDiff-1.0006/xt/release/cpan-changes.t 2017-09-27 17:20:14.000000000 +0200 @@ -1,11 +1,10 @@ -#!perl - use strict; use warnings; -use Test::More 0.96 tests => 2; -use_ok('Test::CPAN::Changes'); +# this test was generated with Dist::Zilla::Plugin::Test::CPAN::Changes 0.012 + +use Test::More 0.96 tests => 1; +use Test::CPAN::Changes; subtest 'changes_ok' => sub { changes_file_ok('Changes'); }; -done_testing(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-SemanticDiff-1.0005/xt/release/kwalitee.t new/XML-SemanticDiff-1.0006/xt/release/kwalitee.t --- old/XML-SemanticDiff-1.0005/xt/release/kwalitee.t 2017-02-06 19:23:41.000000000 +0100 +++ new/XML-SemanticDiff-1.0006/xt/release/kwalitee.t 1970-01-01 01:00:00.000000000 +0100 @@ -1,11 +0,0 @@ -#!perl - -# This test is generated by Dist::Zilla::Plugin::Test::Kwalitee::Extra -use strict; -use warnings; -use Test::More; # needed to provide plan. - -eval { require Test::Kwalitee::Extra }; -plan skip_all => "Test::Kwalitee::Extra required for testing kwalitee: $@" if $@; - -eval "use Test::Kwalitee::Extra";