Hello community, here is the log from the commit of package perl-Data-Section for openSUSE:Factory checked in at 2014-03-18 14:15:59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Data-Section (Old) and /work/SRC/openSUSE:Factory/.perl-Data-Section.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Data-Section" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Data-Section/perl-Data-Section.changes 2014-02-10 10:17:22.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Data-Section.new/perl-Data-Section.changes 2014-03-18 14:16:00.000000000 +0100 @@ -1,0 +2,7 @@ +Mon Mar 17 13:12:39 UTC 2014 - [email protected] + +- updated to 0.200006 + - skip tests on Win32 pre-5.14 related to line endings; perl munges the + data before we're able to get at it (thanks, Christian Walde!) + +------------------------------------------------------------------- Old: ---- Data-Section-0.200005.tar.gz New: ---- Data-Section-0.200006.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Data-Section.spec ++++++ --- /var/tmp/diff_new_pack.YIB9v3/_old 2014-03-18 14:16:00.000000000 +0100 +++ /var/tmp/diff_new_pack.YIB9v3/_new 2014-03-18 14:16:00.000000000 +0100 @@ -17,7 +17,7 @@ Name: perl-Data-Section -Version: 0.200005 +Version: 0.200006 Release: 0 %define cpan_name Data-Section Summary: read multiple hunks of data out of your DATA section ++++++ Data-Section-0.200005.tar.gz -> Data-Section-0.200006.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Data-Section-0.200005/Changes new/Data-Section-0.200006/Changes --- old/Data-Section-0.200005/Changes 2013-12-11 14:03:12.000000000 +0100 +++ new/Data-Section-0.200006/Changes 2014-03-10 15:14:48.000000000 +0100 @@ -1,5 +1,9 @@ Revision history for Data-Section +0.200006 2014-03-10 10:14:45-04:00 America/New_York + - skip tests on Win32 pre-5.14 related to line endings; perl munges the + data before we're able to get at it (thanks, Christian Walde!) + 0.200005 2013-12-11 08:03:08 America/New_York - open DATA handles both :raw and :bytes to avoid content munging on Win32 (thanks, Kenichi Ishigaki!) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Data-Section-0.200005/LICENSE new/Data-Section-0.200006/LICENSE --- old/Data-Section-0.200005/LICENSE 2013-12-11 14:03:12.000000000 +0100 +++ new/Data-Section-0.200006/LICENSE 2014-03-10 15:14:48.000000000 +0100 @@ -22,7 +22,7 @@ Version 1, February 1989 Copyright (C) 1989 Free Software Foundation, Inc. - 51 Franklin St, Suite 500, Boston, MA 02110-1335 USA + 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Data-Section-0.200005/MANIFEST new/Data-Section-0.200006/MANIFEST --- old/Data-Section-0.200005/MANIFEST 2013-12-11 14:03:12.000000000 +0100 +++ new/Data-Section-0.200006/MANIFEST 2014-03-10 15:14:48.000000000 +0100 @@ -1,3 +1,4 @@ +# This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.014. Changes LICENSE MANIFEST diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Data-Section-0.200005/META.json new/Data-Section-0.200006/META.json --- old/Data-Section-0.200005/META.json 2013-12-11 14:03:12.000000000 +0100 +++ new/Data-Section-0.200006/META.json 2014-03-10 15:14:48.000000000 +0100 @@ -4,7 +4,7 @@ "Ricardo SIGNES <[email protected]>" ], "dynamic_config" : 0, - "generated_by" : "Dist::Zilla version 5.006, CPAN::Meta::Converter version 2.132830", + "generated_by" : "Dist::Zilla version 5.014, CPAN::Meta::Converter version 2.133380", "license" : [ "perl_5" ], @@ -56,26 +56,26 @@ "web" : "https://github.com/rjbs/Data-Section" } }, - "version" : "0.200005", + "version" : "0.200006", "x_Dist_Zilla" : { "perl" : { - "version" : "5.018001" + "version" : "5.019009" }, "plugins" : [ { "class" : "Dist::Zilla::Plugin::Git::GatherDir", "name" : "@RJBS/Git::GatherDir", - "version" : "2.019" + "version" : "2.020" }, { "class" : "Dist::Zilla::Plugin::CheckPrereqsIndexed", "name" : "@RJBS/CheckPrereqsIndexed", - "version" : "0.009" + "version" : "0.010" }, { "class" : "Dist::Zilla::Plugin::CheckExtraTests", "name" : "@RJBS/CheckExtraTests", - "version" : "0.016" + "version" : "0.018" }, { "class" : "Dist::Zilla::Plugin::PromptIfStale", @@ -91,7 +91,7 @@ } }, "name" : "@RJBS/RJBS-Outdated", - "version" : "0.015" + "version" : "0.020" }, { "class" : "Dist::Zilla::Plugin::PromptIfStale", @@ -105,97 +105,97 @@ } }, "name" : "@RJBS/CPAN-Outdated", - "version" : "0.015" + "version" : "0.020" }, { "class" : "Dist::Zilla::Plugin::PruneCruft", "name" : "@RJBS/@Filter/PruneCruft", - "version" : "5.006" + "version" : "5.014" }, { "class" : "Dist::Zilla::Plugin::ManifestSkip", "name" : "@RJBS/@Filter/ManifestSkip", - "version" : "5.006" + "version" : "5.014" }, { "class" : "Dist::Zilla::Plugin::MetaYAML", "name" : "@RJBS/@Filter/MetaYAML", - "version" : "5.006" + "version" : "5.014" }, { "class" : "Dist::Zilla::Plugin::License", "name" : "@RJBS/@Filter/License", - "version" : "5.006" + "version" : "5.014" }, { "class" : "Dist::Zilla::Plugin::Readme", "name" : "@RJBS/@Filter/Readme", - "version" : "5.006" + "version" : "5.014" }, { "class" : "Dist::Zilla::Plugin::ExecDir", "name" : "@RJBS/@Filter/ExecDir", - "version" : "5.006" + "version" : "5.014" }, { "class" : "Dist::Zilla::Plugin::ShareDir", "name" : "@RJBS/@Filter/ShareDir", - "version" : "5.006" + "version" : "5.014" }, { "class" : "Dist::Zilla::Plugin::MakeMaker", "name" : "@RJBS/@Filter/MakeMaker", - "version" : "5.006" + "version" : "5.014" }, { "class" : "Dist::Zilla::Plugin::Manifest", "name" : "@RJBS/@Filter/Manifest", - "version" : "5.006" + "version" : "5.014" }, { "class" : "Dist::Zilla::Plugin::TestRelease", "name" : "@RJBS/@Filter/TestRelease", - "version" : "5.006" + "version" : "5.014" }, { "class" : "Dist::Zilla::Plugin::ConfirmRelease", "name" : "@RJBS/@Filter/ConfirmRelease", - "version" : "5.006" + "version" : "5.014" }, { "class" : "Dist::Zilla::Plugin::UploadToCPAN", "name" : "@RJBS/@Filter/UploadToCPAN", - "version" : "5.006" + "version" : "5.014" }, { "class" : "Dist::Zilla::Plugin::AutoPrereqs", "name" : "@RJBS/AutoPrereqs", - "version" : "5.006" + "version" : "5.014" }, { "class" : "Dist::Zilla::Plugin::Git::NextVersion", "name" : "@RJBS/Git::NextVersion", - "version" : "2.019" + "version" : "2.020" }, { "class" : "Dist::Zilla::Plugin::PkgVersion", "name" : "@RJBS/PkgVersion", - "version" : "5.006" + "version" : "5.014" }, { "class" : "Dist::Zilla::Plugin::MetaConfig", "name" : "@RJBS/MetaConfig", - "version" : "5.006" + "version" : "5.014" }, { "class" : "Dist::Zilla::Plugin::MetaJSON", "name" : "@RJBS/MetaJSON", - "version" : "5.006" + "version" : "5.014" }, { "class" : "Dist::Zilla::Plugin::NextRelease", "name" : "@RJBS/NextRelease", - "version" : "5.006" + "version" : "5.014" }, { "class" : "Dist::Zilla::Plugin::Test::ChangesHasContent", @@ -205,7 +205,7 @@ { "class" : "Dist::Zilla::Plugin::PodSyntaxTests", "name" : "@RJBS/PodSyntaxTests", - "version" : "5.006" + "version" : "5.014" }, { "class" : "Dist::Zilla::Plugin::ReportVersions::Tiny", @@ -221,13 +221,15 @@ } }, "name" : "@RJBS/TestMoreWithSubtests", - "version" : "5.006" + "version" : "5.014" }, { "class" : "Dist::Zilla::Plugin::PodWeaver", "config" : { "Dist::Zilla::Plugin::PodWeaver" : { - "config_plugin" : "@RJBS", + "config_plugins" : [ + "@RJBS" + ], "finder" : [ ":InstallModules", ":ExecFiles" @@ -236,98 +238,98 @@ { "class" : "Pod::Weaver::Plugin::EnsurePod5", "name" : "@CorePrep/EnsurePod5", - "version" : "4.004" + "version" : "4.006" }, { "class" : "Pod::Weaver::Plugin::H1Nester", "name" : "@CorePrep/H1Nester", - "version" : "4.004" + "version" : "4.006" }, { "class" : "Pod::Weaver::Plugin::SingleEncoding", "name" : "@RJBS/SingleEncoding", - "version" : "4.004" + "version" : "4.006" }, { "class" : "Pod::Weaver::Section::Name", "name" : "@RJBS/Name", - "version" : "4.004" + "version" : "4.006" }, { "class" : "Pod::Weaver::Section::Version", "name" : "@RJBS/Version", - "version" : "4.004" + "version" : "4.006" }, { "class" : "Pod::Weaver::Section::Region", "name" : "@RJBS/Prelude", - "version" : "4.004" + "version" : "4.006" }, { "class" : "Pod::Weaver::Section::Generic", "name" : "@RJBS/Synopsis", - "version" : "4.004" + "version" : "4.006" }, { "class" : "Pod::Weaver::Section::Generic", "name" : "@RJBS/Description", - "version" : "4.004" + "version" : "4.006" }, { "class" : "Pod::Weaver::Section::Generic", "name" : "@RJBS/Overview", - "version" : "4.004" + "version" : "4.006" }, { "class" : "Pod::Weaver::Section::Generic", "name" : "@RJBS/Stability", - "version" : "4.004" + "version" : "4.006" }, { "class" : "Pod::Weaver::Section::Collect", "name" : "Attributes", - "version" : "4.004" + "version" : "4.006" }, { "class" : "Pod::Weaver::Section::Collect", "name" : "Methods", - "version" : "4.004" + "version" : "4.006" }, { "class" : "Pod::Weaver::Section::Collect", "name" : "Functions", - "version" : "4.004" + "version" : "4.006" }, { "class" : "Pod::Weaver::Section::Leftovers", "name" : "@RJBS/Leftovers", - "version" : "4.004" + "version" : "4.006" }, { "class" : "Pod::Weaver::Section::Region", "name" : "@RJBS/postlude", - "version" : "4.004" + "version" : "4.006" }, { "class" : "Pod::Weaver::Section::Authors", "name" : "@RJBS/Authors", - "version" : "4.004" + "version" : "4.006" }, { "class" : "Pod::Weaver::Section::Legal", "name" : "@RJBS/Legal", - "version" : "4.004" + "version" : "4.006" }, { "class" : "Pod::Weaver::Plugin::Transformer", "name" : "@RJBS/List", - "version" : "4.004" + "version" : "4.006" } ] } }, "name" : "@RJBS/PodWeaver", - "version" : "4.002" + "version" : "4.005" }, { "class" : "Dist::Zilla::Plugin::GithubMeta", @@ -337,57 +339,67 @@ { "class" : "Dist::Zilla::Plugin::Git::Check", "name" : "@RJBS/@Git/Check", - "version" : "2.019" + "version" : "2.020" }, { "class" : "Dist::Zilla::Plugin::Git::Commit", "name" : "@RJBS/@Git/Commit", - "version" : "2.019" + "version" : "2.020" }, { "class" : "Dist::Zilla::Plugin::Git::Tag", "name" : "@RJBS/@Git/Tag", - "version" : "2.019" + "version" : "2.020" }, { "class" : "Dist::Zilla::Plugin::Git::Push", "name" : "@RJBS/@Git/Push", - "version" : "2.019" + "version" : "2.020" }, { "class" : "Dist::Zilla::Plugin::Encoding", "name" : "Encoding", - "version" : "5.006" + "version" : "5.014" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":InstallModules", - "version" : "5.006" + "version" : "5.014" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":IncModules", - "version" : "5.006" + "version" : "5.014" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":TestFiles", - "version" : "5.006" + "version" : "5.014" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ExecFiles", - "version" : "5.006" + "version" : "5.014" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ShareFiles", - "version" : "5.006" + "version" : "5.014" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":MainModule", - "version" : "5.006" + "version" : "5.014" + }, + { + "class" : "Dist::Zilla::Plugin::FinderCode", + "name" : ":AllFiles", + "version" : "5.014" + }, + { + "class" : "Dist::Zilla::Plugin::FinderCode", + "name" : ":NoFiles", + "version" : "5.014" } ], "zilla" : { @@ -395,7 +407,7 @@ "config" : { "is_trial" : "0" }, - "version" : "5.006" + "version" : "5.014" } } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Data-Section-0.200005/META.yml new/Data-Section-0.200006/META.yml --- old/Data-Section-0.200005/META.yml 2013-12-11 14:03:12.000000000 +0100 +++ new/Data-Section-0.200006/META.yml 2014-03-10 15:14:48.000000000 +0100 @@ -3,47 +3,47 @@ author: - 'Ricardo SIGNES <[email protected]>' build_requires: - Test::FailWarnings: 0 - Test::More: 0.96 - base: 0 - lib: 0 - utf8: 0 + Test::FailWarnings: '0' + Test::More: '0.96' + base: '0' + lib: '0' + utf8: '0' configure_requires: - ExtUtils::MakeMaker: 6.30 + ExtUtils::MakeMaker: '6.30' dynamic_config: 0 -generated_by: 'Dist::Zilla version 5.006, CPAN::Meta::Converter version 2.132830' +generated_by: 'Dist::Zilla version 5.014, CPAN::Meta::Converter version 2.133380' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html - version: 1.4 + version: '1.4' name: Data-Section requires: - Encode: 0 - MRO::Compat: 0.09 - Sub::Exporter: 0.979 - strict: 0 - warnings: 0 + Encode: '0' + MRO::Compat: '0.09' + Sub::Exporter: '0.979' + strict: '0' + warnings: '0' resources: bugtracker: https://github.com/rjbs/Data-Section/issues homepage: https://github.com/rjbs/Data-Section repository: https://github.com/rjbs/Data-Section.git -version: 0.200005 +version: '0.200006' x_Dist_Zilla: perl: - version: 5.018001 + version: '5.019009' plugins: - class: Dist::Zilla::Plugin::Git::GatherDir name: '@RJBS/Git::GatherDir' - version: 2.019 + version: '2.020' - class: Dist::Zilla::Plugin::CheckPrereqsIndexed name: '@RJBS/CheckPrereqsIndexed' - version: 0.009 + version: '0.010' - class: Dist::Zilla::Plugin::CheckExtraTests name: '@RJBS/CheckExtraTests' - version: 0.016 + version: '0.018' - class: Dist::Zilla::Plugin::PromptIfStale config: @@ -55,102 +55,102 @@ phase: build skip: [] name: '@RJBS/RJBS-Outdated' - version: 0.015 + version: '0.020' - class: Dist::Zilla::Plugin::PromptIfStale config: Dist::Zilla::Plugin::PromptIfStale: - check_all_plugins: 1 + check_all_plugins: '1' check_all_prereqs: 0 modules: [] phase: release skip: [] name: '@RJBS/CPAN-Outdated' - version: 0.015 + version: '0.020' - class: Dist::Zilla::Plugin::PruneCruft name: '@RJBS/@Filter/PruneCruft' - version: 5.006 + version: '5.014' - class: Dist::Zilla::Plugin::ManifestSkip name: '@RJBS/@Filter/ManifestSkip' - version: 5.006 + version: '5.014' - class: Dist::Zilla::Plugin::MetaYAML name: '@RJBS/@Filter/MetaYAML' - version: 5.006 + version: '5.014' - class: Dist::Zilla::Plugin::License name: '@RJBS/@Filter/License' - version: 5.006 + version: '5.014' - class: Dist::Zilla::Plugin::Readme name: '@RJBS/@Filter/Readme' - version: 5.006 + version: '5.014' - class: Dist::Zilla::Plugin::ExecDir name: '@RJBS/@Filter/ExecDir' - version: 5.006 + version: '5.014' - class: Dist::Zilla::Plugin::ShareDir name: '@RJBS/@Filter/ShareDir' - version: 5.006 + version: '5.014' - class: Dist::Zilla::Plugin::MakeMaker name: '@RJBS/@Filter/MakeMaker' - version: 5.006 + version: '5.014' - class: Dist::Zilla::Plugin::Manifest name: '@RJBS/@Filter/Manifest' - version: 5.006 + version: '5.014' - class: Dist::Zilla::Plugin::TestRelease name: '@RJBS/@Filter/TestRelease' - version: 5.006 + version: '5.014' - class: Dist::Zilla::Plugin::ConfirmRelease name: '@RJBS/@Filter/ConfirmRelease' - version: 5.006 + version: '5.014' - class: Dist::Zilla::Plugin::UploadToCPAN name: '@RJBS/@Filter/UploadToCPAN' - version: 5.006 + version: '5.014' - class: Dist::Zilla::Plugin::AutoPrereqs name: '@RJBS/AutoPrereqs' - version: 5.006 + version: '5.014' - class: Dist::Zilla::Plugin::Git::NextVersion name: '@RJBS/Git::NextVersion' - version: 2.019 + version: '2.020' - class: Dist::Zilla::Plugin::PkgVersion name: '@RJBS/PkgVersion' - version: 5.006 + version: '5.014' - class: Dist::Zilla::Plugin::MetaConfig name: '@RJBS/MetaConfig' - version: 5.006 + version: '5.014' - class: Dist::Zilla::Plugin::MetaJSON name: '@RJBS/MetaJSON' - version: 5.006 + version: '5.014' - class: Dist::Zilla::Plugin::NextRelease name: '@RJBS/NextRelease' - version: 5.006 + version: '5.014' - class: Dist::Zilla::Plugin::Test::ChangesHasContent name: '@RJBS/Test::ChangesHasContent' - version: 0.006 + version: '0.006' - class: Dist::Zilla::Plugin::PodSyntaxTests name: '@RJBS/PodSyntaxTests' - version: 5.006 + version: '5.014' - class: Dist::Zilla::Plugin::ReportVersions::Tiny name: '@RJBS/ReportVersions::Tiny' - version: 1.10 + version: '1.10' - class: Dist::Zilla::Plugin::Prereqs config: @@ -158,12 +158,13 @@ phase: test type: requires name: '@RJBS/TestMoreWithSubtests' - version: 5.006 + version: '5.014' - class: Dist::Zilla::Plugin::PodWeaver config: Dist::Zilla::Plugin::PodWeaver: - config_plugin: '@RJBS' + config_plugins: + - '@RJBS' finder: - ':InstallModules' - ':ExecFiles' @@ -171,127 +172,135 @@ - class: Pod::Weaver::Plugin::EnsurePod5 name: '@CorePrep/EnsurePod5' - version: 4.004 + version: '4.006' - class: Pod::Weaver::Plugin::H1Nester name: '@CorePrep/H1Nester' - version: 4.004 + version: '4.006' - class: Pod::Weaver::Plugin::SingleEncoding name: '@RJBS/SingleEncoding' - version: 4.004 + version: '4.006' - class: Pod::Weaver::Section::Name name: '@RJBS/Name' - version: 4.004 + version: '4.006' - class: Pod::Weaver::Section::Version name: '@RJBS/Version' - version: 4.004 + version: '4.006' - class: Pod::Weaver::Section::Region name: '@RJBS/Prelude' - version: 4.004 + version: '4.006' - class: Pod::Weaver::Section::Generic name: '@RJBS/Synopsis' - version: 4.004 + version: '4.006' - class: Pod::Weaver::Section::Generic name: '@RJBS/Description' - version: 4.004 + version: '4.006' - class: Pod::Weaver::Section::Generic name: '@RJBS/Overview' - version: 4.004 + version: '4.006' - class: Pod::Weaver::Section::Generic name: '@RJBS/Stability' - version: 4.004 + version: '4.006' - class: Pod::Weaver::Section::Collect name: Attributes - version: 4.004 + version: '4.006' - class: Pod::Weaver::Section::Collect name: Methods - version: 4.004 + version: '4.006' - class: Pod::Weaver::Section::Collect name: Functions - version: 4.004 + version: '4.006' - class: Pod::Weaver::Section::Leftovers name: '@RJBS/Leftovers' - version: 4.004 + version: '4.006' - class: Pod::Weaver::Section::Region name: '@RJBS/postlude' - version: 4.004 + version: '4.006' - class: Pod::Weaver::Section::Authors name: '@RJBS/Authors' - version: 4.004 + version: '4.006' - class: Pod::Weaver::Section::Legal name: '@RJBS/Legal' - version: 4.004 + version: '4.006' - class: Pod::Weaver::Plugin::Transformer name: '@RJBS/List' - version: 4.004 + version: '4.006' name: '@RJBS/PodWeaver' - version: 4.002 + version: '4.005' - class: Dist::Zilla::Plugin::GithubMeta name: '@RJBS/GithubMeta' - version: 0.42 + version: '0.42' - class: Dist::Zilla::Plugin::Git::Check name: '@RJBS/@Git/Check' - version: 2.019 + version: '2.020' - class: Dist::Zilla::Plugin::Git::Commit name: '@RJBS/@Git/Commit' - version: 2.019 + version: '2.020' - class: Dist::Zilla::Plugin::Git::Tag name: '@RJBS/@Git/Tag' - version: 2.019 + version: '2.020' - class: Dist::Zilla::Plugin::Git::Push name: '@RJBS/@Git/Push' - version: 2.019 + version: '2.020' - class: Dist::Zilla::Plugin::Encoding name: Encoding - version: 5.006 + version: '5.014' - class: Dist::Zilla::Plugin::FinderCode name: ':InstallModules' - version: 5.006 + version: '5.014' - class: Dist::Zilla::Plugin::FinderCode name: ':IncModules' - version: 5.006 + version: '5.014' - class: Dist::Zilla::Plugin::FinderCode name: ':TestFiles' - version: 5.006 + version: '5.014' - class: Dist::Zilla::Plugin::FinderCode name: ':ExecFiles' - version: 5.006 + version: '5.014' - class: Dist::Zilla::Plugin::FinderCode name: ':ShareFiles' - version: 5.006 + version: '5.014' - class: Dist::Zilla::Plugin::FinderCode name: ':MainModule' - version: 5.006 + version: '5.014' + - + class: Dist::Zilla::Plugin::FinderCode + name: ':AllFiles' + version: '5.014' + - + class: Dist::Zilla::Plugin::FinderCode + name: ':NoFiles' + version: '5.014' zilla: class: Dist::Zilla::Dist::Builder config: - is_trial: 0 - version: 5.006 + is_trial: '0' + version: '5.014' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Data-Section-0.200005/Makefile.PL new/Data-Section-0.200006/Makefile.PL --- old/Data-Section-0.200005/Makefile.PL 2013-12-11 14:03:12.000000000 +0100 +++ new/Data-Section-0.200006/Makefile.PL 2014-03-10 15:14:48.000000000 +0100 @@ -1,4 +1,5 @@ +# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v5.014. use strict; use warnings; @@ -33,7 +34,7 @@ "lib" => 0, "utf8" => 0 }, - "VERSION" => "0.200005", + "VERSION" => "0.200006", "test" => { "TESTS" => "t/*.t" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Data-Section-0.200005/README new/Data-Section-0.200006/README --- old/Data-Section-0.200005/README 2013-12-11 14:03:12.000000000 +0100 +++ new/Data-Section-0.200006/README 2014-03-10 15:14:48.000000000 +0100 @@ -1,7 +1,7 @@ This archive contains the distribution Data-Section, -version 0.200005: +version 0.200006: read multiple hunks of data out of your DATA section @@ -11,3 +11,5 @@ the same terms as the Perl 5 programming language system itself. +This README file was generated by Dist::Zilla::Plugin::Readme v5.014. + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Data-Section-0.200005/lib/Data/Section.pm new/Data-Section-0.200006/lib/Data/Section.pm --- old/Data-Section-0.200005/lib/Data/Section.pm 2013-12-11 14:03:12.000000000 +0100 +++ new/Data-Section-0.200006/lib/Data/Section.pm 2014-03-10 15:14:48.000000000 +0100 @@ -1,11 +1,8 @@ use strict; use warnings; package Data::Section; -{ - $Data::Section::VERSION = '0.200005'; -} # ABSTRACT: read multiple hunks of data out of your DATA section - +$Data::Section::VERSION = '0.200006'; use Encode qw/decode/; use MRO::Compat 0.09; use Sub::Exporter 0.979 -setup => { @@ -13,6 +10,157 @@ collectors => { INIT => sub { $_[0] = { into => $_[1]->{into} } } }, }; +# =head1 SYNOPSIS +# +# package Letter::Resignation; +# use Data::Section -setup; +# +# sub quit { +# my ($class, $angry, %arg) = @_; +# +# my $template = $self->section_data( +# ($angry ? "angry_" : "professional_") . "letter" +# ); +# +# return fill_in($$template, \%arg); +# } +# +# __DATA__ +# __[ angry_letter ]__ +# Dear jerks, +# +# I quit! +# +# -- +# {{ $name }} +# __[ professional_letter ]__ +# Dear {{ $boss }}, +# +# I quit, jerks! +# +# +# -- +# {{ $name }} +# +# =head1 DESCRIPTION +# +# Data::Section provides an easy way to access multiple named chunks of +# line-oriented data in your module's DATA section. It was written to allow +# modules to store their own templates, but probably has other uses. +# +# =head1 WARNING +# +# You will need to use C<__DATA__> sections and not C<__END__> sections. Yes, it +# matters. Who knew! +# +# =head1 EXPORTS +# +# To get the methods exported by Data::Section, you must import like this: +# +# use Data::Section -setup; +# +# Optional arguments may be given to Data::Section like this: +# +# use Data::Section -setup => { ... }; +# +# Valid arguments are: +# +# encoding - if given, gives the encoding needed to decode bytes in +# data sections; default; UTF-8 +# +# the special value "bytes" will leave the bytes in the string +# verbatim +# +# inherit - if true, allow packages to inherit the data of the packages +# from which they inherit; default: true +# +# header_re - if given, changes the regex used to find section headers +# in the data section; it should leave the section name in $1 +# +# default_name - if given, allows the first section to has no header and set +# its name +# +# Three methods are exported by Data::Section: +# +# =head2 section_data +# +# my $string_ref = $pkg->section_data($name); +# +# This method returns a reference to a string containing the data from the name +# section, either in the invocant's C<DATA> section or in that of one of its +# ancestors. (The ancestor must also derive from the class that imported +# Data::Section.) +# +# By default, named sections are delimited by lines that look like this: +# +# __[ name ]__ +# +# You can use as many underscores as you want, and the space around the name is +# optional. This pattern can be configured with the C<header_re> option (see +# above). If present, a single leading C<\> is removed, so that sections can +# encode lines that look like section delimiters. +# +# When a line containing only C<__END__> is reached, all processing of sections +# ends. +# +# =head2 section_data_names +# +# my @names = $pkg->section_data_names; +# +# This returns a list of all the names that will be recognized by the +# C<section_data> method. +# +# =head2 merged_section_data +# +# my $data = $pkg->merged_section_data; +# +# This method returns a hashref containing all the data extracted from the +# package data for all the classes from which the invocant inherits -- as long as +# those classes also inherit from the package into which Data::Section was +# imported. +# +# In other words, given this inheritance tree: +# +# A +# \ +# B C +# \ / +# D +# +# ...if Data::Section was imported by A, then when D's C<merged_section_data> is +# invoked, C's data section will not be considered. (This prevents the read +# position of C's data handle from being altered unexpectedly.) +# +# The keys in the returned hashref are the section names, and the values are +# B<references to> the strings extracted from the data sections. +# +# =head2 merged_section_data_names +# +# my @names = $pkg->merged_section_data_names; +# +# This returns a list of all the names that will be recognized by the +# C<merged_section_data> method. +# +# =head2 local_section_data +# +# my $data = $pkg->local_section_data; +# +# This method returns a hashref containing all the data extracted from the +# package on which the method was invoked. If called on an object, it will +# operate on the package into which the object was blessed. +# +# This method needs to be used carefully, because it's weird. It returns only +# the data for the package on which it was invoked. If the package on which it +# was invoked has no data sections, it returns an empty hashref. +# +# =head2 local_section_data_names +# +# my @names = $pkg->local_section_data_names; +# +# This returns a list of all the names that will be recognized by the +# C<local_section_data> method. +# +# =cut sub _mk_reader_group { my ($mixin, $name, $arg, $col) = @_; @@ -140,6 +288,62 @@ return \%export; } +# =head1 TIPS AND TRICKS +# +# =head2 MooseX::Declare and namespace::autoclean +# +# The L<namespace::autoclean|namespace::autoclean> library automatically cleans +# foreign routines from a class, including those imported by Data::Section. +# +# L<MooseX::Declare|MooseX::Declare> does the same thing, and can also cause your +# C<__DATA__> section to appear outside your class's package. +# +# These are easy to address. The +# L<Sub::Exporter::ForMethods|Sub::Exporter::ForMethods> library provides an +# installer that will cause installed methods to appear to come from the class +# and avoid autocleaning. Using an explicit C<package> statement will keep the +# data section in the correct package. +# +# package Foo; +# +# use MooseX::Declare; +# class Foo { +# +# # Utility to tell Sub::Exporter modules to export methods. +# use Sub::Exporter::ForMethods qw( method_installer ); +# +# # method_installer returns a sub. +# use Data::Section { installer => method_installer }, -setup; +# +# method my_method { +# my $content_ref = $self->section_data('SectionA'); +# +# print $$content_ref; +# } +# } +# +# __DATA__ +# __[ SectionA ]__ +# Hello, world. +# +# =head1 SEE ALSO +# +# =begin :list +# +# * L<article for RJBS Advent 2009|http://advent.rjbs.manxome.org/2009/2009-12-09.html> +# +# * L<Inline::Files|Inline::Files> does something that is at first look similar, +# but it works with source filters, and contains the warning: +# +# It is possible that this module may overwrite the source code in files that +# use it. To protect yourself against this possibility, you are strongly +# advised to use the -backup option described in "Safety first". +# +# Enough said. +# +# =end :list +# +# =cut 1; @@ -155,7 +359,7 @@ =head1 VERSION -version 0.200005 +version 0.200006 =head1 SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Data-Section-0.200005/t/basic.t new/Data-Section-0.200006/t/basic.t --- old/Data-Section-0.200005/t/basic.t 2013-12-11 14:03:12.000000000 +0100 +++ new/Data-Section-0.200006/t/basic.t 2014-03-10 15:14:48.000000000 +0100 @@ -161,12 +161,17 @@ "ignore __END__", ); -my $crlf = "\015\012"; +SKIP: { + skip "perl below v5.14 on Win32 converts newlines before they reach DATA", 1 + if $^O eq 'MSWin32' and $] < 5.014; -is_deeply( - WindowsNewlines->local_section_data, - { n => \"foo$crlf" }, - "windows newlines work", -); + my $crlf = "\015\012"; + + is_deeply( + WindowsNewlines->local_section_data, + { n => \"foo$crlf" }, + "windows newlines work", + ); +} done_testing; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Data-Section-0.200005/xt/release/changes_has_content.t new/Data-Section-0.200006/xt/release/changes_has_content.t --- old/Data-Section-0.200005/xt/release/changes_has_content.t 2013-12-11 14:03:12.000000000 +0100 +++ new/Data-Section-0.200006/xt/release/changes_has_content.t 2014-03-10 15:14:48.000000000 +0100 @@ -4,7 +4,7 @@ note 'Checking Changes'; my $changes_file = 'Changes'; -my $newver = '0.200005'; +my $newver = '0.200006'; my $trial_token = '-TRIAL'; SKIP: { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Data-Section-0.200005/xt/release/pod-syntax.t new/Data-Section-0.200006/xt/release/pod-syntax.t --- old/Data-Section-0.200005/xt/release/pod-syntax.t 2013-12-11 14:03:12.000000000 +0100 +++ new/Data-Section-0.200006/xt/release/pod-syntax.t 2014-03-10 15:14:48.000000000 +0100 @@ -1,7 +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(); -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
