Hello community, here is the log from the commit of package perl-Email-Address for openSUSE:Factory checked in at 2014-02-12 07:04:55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Email-Address (Old) and /work/SRC/openSUSE:Factory/.perl-Email-Address.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Email-Address" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Email-Address/perl-Email-Address.changes 2013-08-13 10:18:42.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Email-Address.new/perl-Email-Address.changes 2014-02-12 07:04:56.000000000 +0100 @@ -1,0 +2,14 @@ +Sun Feb 9 13:33:36 UTC 2014 - co...@suse.com + +- updated to 1.901 + further avoidance of stringifying to undef (thanks, this time, to + David Golden) + +------------------------------------------------------------------- +Fri Oct 4 09:11:43 UTC 2013 - co...@suse.com + +- updated to 1.900 + avoid trying to stringify undef, and so avoid a warning (thanks, Alex + Vandiver) + +------------------------------------------------------------------- Old: ---- Email-Address-1.899.tar.gz New: ---- Email-Address-1.901.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Email-Address.spec ++++++ --- /var/tmp/diff_new_pack.stPneA/_old 2014-02-12 07:04:57.000000000 +0100 +++ /var/tmp/diff_new_pack.stPneA/_new 2014-02-12 07:04:57.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package perl-Email-Address # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 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-Email-Address -Version: 1.899 +Version: 1.901 Release: 0 %define cpan_name Email-Address Summary: RFC 2822 Address Parsing and Creation @@ -29,10 +29,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros -BuildRequires: perl(Capture::Tiny) BuildRequires: perl(Test::More) >= 0.96 -#BuildRequires: perl(Email::Address) -#BuildRequires: perl(Mail::Address) %{perl_requires} %description ++++++ Email-Address-1.899.tar.gz -> Email-Address-1.901.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-Address-1.899/Changes new/Email-Address-1.901/Changes --- old/Email-Address-1.899/Changes 2013-08-02 16:53:21.000000000 +0200 +++ new/Email-Address-1.901/Changes 2014-01-29 04:41:57.000000000 +0100 @@ -1,5 +1,13 @@ Release history for Email-Address +1.901 2014-01-28 22:41:54-05:00 America/New_York + further avoidance of stringifying to undef (thanks, this time, to + David Golden) + +1.900 2013-08-08 14:44:43 America/New_York + avoid trying to stringify undef, and so avoid a warning (thanks, Alex + Vandiver) + 1.899 2013-08-02 10:53:19 America/New_York repackaged, pointed at new bugtracker diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-Address-1.899/MANIFEST new/Email-Address-1.901/MANIFEST --- old/Email-Address-1.899/MANIFEST 2013-08-02 16:53:21.000000000 +0200 +++ new/Email-Address-1.901/MANIFEST 2014-01-29 04:41:57.000000000 +0100 @@ -1,3 +1,4 @@ +# This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.012. Changes LICENSE MANIFEST @@ -10,7 +11,6 @@ bench/too_long.pl dist.ini lib/Email/Address.pm -t/00-compile.t t/000-report-versions-tiny.t t/ascii.t t/cache-cow.t diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-Address-1.899/META.json new/Email-Address-1.901/META.json --- old/Email-Address-1.899/META.json 2013-08-02 16:53:21.000000000 +0200 +++ new/Email-Address-1.901/META.json 2014-01-29 04:41:57.000000000 +0100 @@ -5,7 +5,7 @@ "Ricardo SIGNES <r...@cpan.org>" ], "dynamic_config" : 0, - "generated_by" : "Dist::Zilla version 4.300036, CPAN::Meta::Converter version 2.131560", + "generated_by" : "Dist::Zilla version 5.012, CPAN::Meta::Converter version 2.133380", "license" : [ "perl_5" ], @@ -35,11 +35,9 @@ }, "test" : { "requires" : { - "Capture::Tiny" : "0", "Encode" : "0", "Encode::MIME::Header" : "0", - "Test::More" : "0.96", - "blib" : "0" + "Test::More" : "0.96" } } }, @@ -55,116 +53,146 @@ "web" : "https://github.com/rjbs/Email-Address" } }, - "version" : "1.899", + "version" : "1.901", "x_Dist_Zilla" : { "perl" : { - "version" : "5.019002" + "version" : "5.018002" }, "plugins" : [ { "class" : "Dist::Zilla::Plugin::Git::GatherDir", "name" : "@RJBS/Git::GatherDir", - "version" : "2.014" + "version" : "2.019" }, { "class" : "Dist::Zilla::Plugin::CheckPrereqsIndexed", "name" : "@RJBS/CheckPrereqsIndexed", - "version" : "0.009" + "version" : "0.010" }, { "class" : "Dist::Zilla::Plugin::CheckExtraTests", "name" : "@RJBS/CheckExtraTests", - "version" : "0.011" + "version" : "0.016" + }, + { + "class" : "Dist::Zilla::Plugin::PromptIfStale", + "config" : { + "Dist::Zilla::Plugin::PromptIfStale" : { + "check_all_plugins" : 0, + "check_all_prereqs" : 0, + "modules" : [ + "Dist::Zilla::PluginBundle::RJBS" + ], + "phase" : "build", + "skip" : [] + } + }, + "name" : "@RJBS/RJBS-Outdated", + "version" : "0.015" + }, + { + "class" : "Dist::Zilla::Plugin::PromptIfStale", + "config" : { + "Dist::Zilla::Plugin::PromptIfStale" : { + "check_all_plugins" : "1", + "check_all_prereqs" : 0, + "modules" : [], + "phase" : "release", + "skip" : [] + } + }, + "name" : "@RJBS/CPAN-Outdated", + "version" : "0.015" }, { "class" : "Dist::Zilla::Plugin::PruneCruft", "name" : "@RJBS/@Filter/PruneCruft", - "version" : "4.300036" + "version" : "5.012" }, { "class" : "Dist::Zilla::Plugin::ManifestSkip", "name" : "@RJBS/@Filter/ManifestSkip", - "version" : "4.300036" + "version" : "5.012" }, { "class" : "Dist::Zilla::Plugin::MetaYAML", "name" : "@RJBS/@Filter/MetaYAML", - "version" : "4.300036" + "version" : "5.012" }, { "class" : "Dist::Zilla::Plugin::License", "name" : "@RJBS/@Filter/License", - "version" : "4.300036" + "version" : "5.012" }, { "class" : "Dist::Zilla::Plugin::Readme", "name" : "@RJBS/@Filter/Readme", - "version" : "4.300036" + "version" : "5.012" }, { "class" : "Dist::Zilla::Plugin::ExecDir", "name" : "@RJBS/@Filter/ExecDir", - "version" : "4.300036" + "version" : "5.012" }, { "class" : "Dist::Zilla::Plugin::ShareDir", "name" : "@RJBS/@Filter/ShareDir", - "version" : "4.300036" + "version" : "5.012" }, { "class" : "Dist::Zilla::Plugin::MakeMaker", "name" : "@RJBS/@Filter/MakeMaker", - "version" : "4.300036" + "version" : "5.012" }, { "class" : "Dist::Zilla::Plugin::Manifest", "name" : "@RJBS/@Filter/Manifest", - "version" : "4.300036" + "version" : "5.012" }, { "class" : "Dist::Zilla::Plugin::TestRelease", "name" : "@RJBS/@Filter/TestRelease", - "version" : "4.300036" + "version" : "5.012" }, { "class" : "Dist::Zilla::Plugin::ConfirmRelease", "name" : "@RJBS/@Filter/ConfirmRelease", - "version" : "4.300036" + "version" : "5.012" }, { "class" : "Dist::Zilla::Plugin::UploadToCPAN", "name" : "@RJBS/@Filter/UploadToCPAN", - "version" : "4.300036" + "version" : "5.012" }, { "class" : "Dist::Zilla::Plugin::AutoPrereqs", "name" : "@RJBS/AutoPrereqs", - "version" : "4.300036" + "version" : "5.012" }, { "class" : "Dist::Zilla::Plugin::Git::NextVersion", "name" : "@RJBS/Git::NextVersion", - "version" : "2.014" + "version" : "2.019" }, { "class" : "Dist::Zilla::Plugin::PkgVersion", "name" : "@RJBS/PkgVersion", - "version" : "4.300036" + "version" : "5.012" }, { "class" : "Dist::Zilla::Plugin::MetaConfig", "name" : "@RJBS/MetaConfig", - "version" : "4.300036" + "version" : "5.012" }, { "class" : "Dist::Zilla::Plugin::MetaJSON", "name" : "@RJBS/MetaJSON", - "version" : "4.300036" + "version" : "5.012" }, { "class" : "Dist::Zilla::Plugin::NextRelease", "name" : "@RJBS/NextRelease", - "version" : "4.300036" + "version" : "5.012" }, { "class" : "Dist::Zilla::Plugin::Test::ChangesHasContent", @@ -174,27 +202,12 @@ { "class" : "Dist::Zilla::Plugin::PodSyntaxTests", "name" : "@RJBS/PodSyntaxTests", - "version" : "4.300036" - }, - { - "class" : "Dist::Zilla::Plugin::Test::Compile", - "config" : { - "Dist::Zilla::Plugin::Test::Compile" : { - "module_finder" : [ - ":InstallModules" - ], - "script_finder" : [ - ":ExecFiles" - ] - } - }, - "name" : "@RJBS/Test::Compile", - "version" : "2.014" + "version" : "5.012" }, { "class" : "Dist::Zilla::Plugin::ReportVersions::Tiny", "name" : "@RJBS/ReportVersions::Tiny", - "version" : "1.09" + "version" : "1.10" }, { "class" : "Dist::Zilla::Plugin::Prereqs", @@ -205,67 +218,180 @@ } }, "name" : "@RJBS/TestMoreWithSubtests", - "version" : "4.300036" + "version" : "5.012" }, { "class" : "Dist::Zilla::Plugin::PodWeaver", + "config" : { + "Dist::Zilla::Plugin::PodWeaver" : { + "config_plugins" : [ + "@RJBS" + ], + "finder" : [ + ":InstallModules", + ":ExecFiles" + ], + "plugins" : [ + { + "class" : "Pod::Weaver::Plugin::EnsurePod5", + "name" : "@CorePrep/EnsurePod5", + "version" : "4.006" + }, + { + "class" : "Pod::Weaver::Plugin::H1Nester", + "name" : "@CorePrep/H1Nester", + "version" : "4.006" + }, + { + "class" : "Pod::Weaver::Plugin::SingleEncoding", + "name" : "@RJBS/SingleEncoding", + "version" : "4.006" + }, + { + "class" : "Pod::Weaver::Section::Name", + "name" : "@RJBS/Name", + "version" : "4.006" + }, + { + "class" : "Pod::Weaver::Section::Version", + "name" : "@RJBS/Version", + "version" : "4.006" + }, + { + "class" : "Pod::Weaver::Section::Region", + "name" : "@RJBS/Prelude", + "version" : "4.006" + }, + { + "class" : "Pod::Weaver::Section::Generic", + "name" : "@RJBS/Synopsis", + "version" : "4.006" + }, + { + "class" : "Pod::Weaver::Section::Generic", + "name" : "@RJBS/Description", + "version" : "4.006" + }, + { + "class" : "Pod::Weaver::Section::Generic", + "name" : "@RJBS/Overview", + "version" : "4.006" + }, + { + "class" : "Pod::Weaver::Section::Generic", + "name" : "@RJBS/Stability", + "version" : "4.006" + }, + { + "class" : "Pod::Weaver::Section::Collect", + "name" : "Attributes", + "version" : "4.006" + }, + { + "class" : "Pod::Weaver::Section::Collect", + "name" : "Methods", + "version" : "4.006" + }, + { + "class" : "Pod::Weaver::Section::Collect", + "name" : "Functions", + "version" : "4.006" + }, + { + "class" : "Pod::Weaver::Section::Leftovers", + "name" : "@RJBS/Leftovers", + "version" : "4.006" + }, + { + "class" : "Pod::Weaver::Section::Region", + "name" : "@RJBS/postlude", + "version" : "4.006" + }, + { + "class" : "Pod::Weaver::Section::Authors", + "name" : "@RJBS/Authors", + "version" : "4.006" + }, + { + "class" : "Pod::Weaver::Section::Legal", + "name" : "@RJBS/Legal", + "version" : "4.006" + }, + { + "class" : "Pod::Weaver::Plugin::Transformer", + "name" : "@RJBS/List", + "version" : "4.006" + } + ] + } + }, "name" : "@RJBS/PodWeaver", - "version" : "3.101642" + "version" : "4.005" }, { "class" : "Dist::Zilla::Plugin::GithubMeta", "name" : "@RJBS/GithubMeta", - "version" : "0.30" + "version" : "0.42" }, { "class" : "Dist::Zilla::Plugin::Git::Check", "name" : "@RJBS/@Git/Check", - "version" : "2.014" + "version" : "2.019" }, { "class" : "Dist::Zilla::Plugin::Git::Commit", "name" : "@RJBS/@Git/Commit", - "version" : "2.014" + "version" : "2.019" }, { "class" : "Dist::Zilla::Plugin::Git::Tag", "name" : "@RJBS/@Git/Tag", - "version" : "2.014" + "version" : "2.019" }, { "class" : "Dist::Zilla::Plugin::Git::Push", "name" : "@RJBS/@Git/Push", - "version" : "2.014" + "version" : "2.019" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":InstallModules", - "version" : "4.300036" + "version" : "5.012" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":IncModules", - "version" : "4.300036" + "version" : "5.012" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":TestFiles", - "version" : "4.300036" + "version" : "5.012" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ExecFiles", - "version" : "4.300036" + "version" : "5.012" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ShareFiles", - "version" : "4.300036" + "version" : "5.012" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":MainModule", - "version" : "4.300036" + "version" : "5.012" + }, + { + "class" : "Dist::Zilla::Plugin::FinderCode", + "name" : ":AllFiles", + "version" : "5.012" + }, + { + "class" : "Dist::Zilla::Plugin::FinderCode", + "name" : ":NoFiles", + "version" : "5.012" } ], "zilla" : { @@ -273,7 +399,7 @@ "config" : { "is_trial" : "0" }, - "version" : "4.300036" + "version" : "5.012" } } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-Address-1.899/META.yml new/Email-Address-1.901/META.yml --- old/Email-Address-1.899/META.yml 2013-08-02 16:53:21.000000000 +0200 +++ new/Email-Address-1.901/META.yml 2014-01-29 04:41:57.000000000 +0100 @@ -4,15 +4,13 @@ - 'Casey West' - 'Ricardo SIGNES <r...@cpan.org>' build_requires: - Capture::Tiny: 0 Encode: 0 Encode::MIME::Header: 0 Test::More: 0.96 - blib: 0 configure_requires: ExtUtils::MakeMaker: 6.30 dynamic_config: 0 -generated_by: 'Dist::Zilla version 4.300036, CPAN::Meta::Converter version 2.131560' +generated_by: 'Dist::Zilla version 5.012, CPAN::Meta::Converter version 2.133380' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -26,95 +24,118 @@ bugtracker: https://github.com/rjbs/Email-Address/issues homepage: https://github.com/rjbs/Email-Address repository: https://github.com/rjbs/Email-Address.git -version: 1.899 +version: 1.901 x_Dist_Zilla: perl: - version: 5.019002 + version: 5.018002 plugins: - class: Dist::Zilla::Plugin::Git::GatherDir name: '@RJBS/Git::GatherDir' - version: 2.014 + version: 2.019 - class: Dist::Zilla::Plugin::CheckPrereqsIndexed name: '@RJBS/CheckPrereqsIndexed' - version: 0.009 + version: 0.010 - class: Dist::Zilla::Plugin::CheckExtraTests name: '@RJBS/CheckExtraTests' - version: 0.011 + version: 0.016 + - + class: Dist::Zilla::Plugin::PromptIfStale + config: + Dist::Zilla::Plugin::PromptIfStale: + check_all_plugins: 0 + check_all_prereqs: 0 + modules: + - Dist::Zilla::PluginBundle::RJBS + phase: build + skip: [] + name: '@RJBS/RJBS-Outdated' + version: 0.015 + - + class: Dist::Zilla::Plugin::PromptIfStale + config: + Dist::Zilla::Plugin::PromptIfStale: + check_all_plugins: 1 + check_all_prereqs: 0 + modules: [] + phase: release + skip: [] + name: '@RJBS/CPAN-Outdated' + version: 0.015 - class: Dist::Zilla::Plugin::PruneCruft name: '@RJBS/@Filter/PruneCruft' - version: 4.300036 + version: 5.012 - class: Dist::Zilla::Plugin::ManifestSkip name: '@RJBS/@Filter/ManifestSkip' - version: 4.300036 + version: 5.012 - class: Dist::Zilla::Plugin::MetaYAML name: '@RJBS/@Filter/MetaYAML' - version: 4.300036 + version: 5.012 - class: Dist::Zilla::Plugin::License name: '@RJBS/@Filter/License' - version: 4.300036 + version: 5.012 - class: Dist::Zilla::Plugin::Readme name: '@RJBS/@Filter/Readme' - version: 4.300036 + version: 5.012 - class: Dist::Zilla::Plugin::ExecDir name: '@RJBS/@Filter/ExecDir' - version: 4.300036 + version: 5.012 - class: Dist::Zilla::Plugin::ShareDir name: '@RJBS/@Filter/ShareDir' - version: 4.300036 + version: 5.012 - class: Dist::Zilla::Plugin::MakeMaker name: '@RJBS/@Filter/MakeMaker' - version: 4.300036 + version: 5.012 - class: Dist::Zilla::Plugin::Manifest name: '@RJBS/@Filter/Manifest' - version: 4.300036 + version: 5.012 - class: Dist::Zilla::Plugin::TestRelease name: '@RJBS/@Filter/TestRelease' - version: 4.300036 + version: 5.012 - class: Dist::Zilla::Plugin::ConfirmRelease name: '@RJBS/@Filter/ConfirmRelease' - version: 4.300036 + version: 5.012 - class: Dist::Zilla::Plugin::UploadToCPAN name: '@RJBS/@Filter/UploadToCPAN' - version: 4.300036 + version: 5.012 - class: Dist::Zilla::Plugin::AutoPrereqs name: '@RJBS/AutoPrereqs' - version: 4.300036 + version: 5.012 - class: Dist::Zilla::Plugin::Git::NextVersion name: '@RJBS/Git::NextVersion' - version: 2.014 + version: 2.019 - class: Dist::Zilla::Plugin::PkgVersion name: '@RJBS/PkgVersion' - version: 4.300036 + version: 5.012 - class: Dist::Zilla::Plugin::MetaConfig name: '@RJBS/MetaConfig' - version: 4.300036 + version: 5.012 - class: Dist::Zilla::Plugin::MetaJSON name: '@RJBS/MetaJSON' - version: 4.300036 + version: 5.012 - class: Dist::Zilla::Plugin::NextRelease name: '@RJBS/NextRelease' - version: 4.300036 + version: 5.012 - class: Dist::Zilla::Plugin::Test::ChangesHasContent name: '@RJBS/Test::ChangesHasContent' @@ -122,21 +143,11 @@ - class: Dist::Zilla::Plugin::PodSyntaxTests name: '@RJBS/PodSyntaxTests' - version: 4.300036 - - - class: Dist::Zilla::Plugin::Test::Compile - config: - Dist::Zilla::Plugin::Test::Compile: - module_finder: - - ':InstallModules' - script_finder: - - ':ExecFiles' - name: '@RJBS/Test::Compile' - version: 2.014 + version: 5.012 - class: Dist::Zilla::Plugin::ReportVersions::Tiny name: '@RJBS/ReportVersions::Tiny' - version: 1.09 + version: 1.10 - class: Dist::Zilla::Plugin::Prereqs config: @@ -144,57 +155,145 @@ phase: test type: requires name: '@RJBS/TestMoreWithSubtests' - version: 4.300036 + version: 5.012 - class: Dist::Zilla::Plugin::PodWeaver + config: + Dist::Zilla::Plugin::PodWeaver: + config_plugins: + - '@RJBS' + finder: + - ':InstallModules' + - ':ExecFiles' + plugins: + - + class: Pod::Weaver::Plugin::EnsurePod5 + name: '@CorePrep/EnsurePod5' + version: 4.006 + - + class: Pod::Weaver::Plugin::H1Nester + name: '@CorePrep/H1Nester' + version: 4.006 + - + class: Pod::Weaver::Plugin::SingleEncoding + name: '@RJBS/SingleEncoding' + version: 4.006 + - + class: Pod::Weaver::Section::Name + name: '@RJBS/Name' + version: 4.006 + - + class: Pod::Weaver::Section::Version + name: '@RJBS/Version' + version: 4.006 + - + class: Pod::Weaver::Section::Region + name: '@RJBS/Prelude' + version: 4.006 + - + class: Pod::Weaver::Section::Generic + name: '@RJBS/Synopsis' + version: 4.006 + - + class: Pod::Weaver::Section::Generic + name: '@RJBS/Description' + version: 4.006 + - + class: Pod::Weaver::Section::Generic + name: '@RJBS/Overview' + version: 4.006 + - + class: Pod::Weaver::Section::Generic + name: '@RJBS/Stability' + version: 4.006 + - + class: Pod::Weaver::Section::Collect + name: Attributes + version: 4.006 + - + class: Pod::Weaver::Section::Collect + name: Methods + version: 4.006 + - + class: Pod::Weaver::Section::Collect + name: Functions + version: 4.006 + - + class: Pod::Weaver::Section::Leftovers + name: '@RJBS/Leftovers' + version: 4.006 + - + class: Pod::Weaver::Section::Region + name: '@RJBS/postlude' + version: 4.006 + - + class: Pod::Weaver::Section::Authors + name: '@RJBS/Authors' + version: 4.006 + - + class: Pod::Weaver::Section::Legal + name: '@RJBS/Legal' + version: 4.006 + - + class: Pod::Weaver::Plugin::Transformer + name: '@RJBS/List' + version: 4.006 name: '@RJBS/PodWeaver' - version: 3.101642 + version: 4.005 - class: Dist::Zilla::Plugin::GithubMeta name: '@RJBS/GithubMeta' - version: 0.30 + version: 0.42 - class: Dist::Zilla::Plugin::Git::Check name: '@RJBS/@Git/Check' - version: 2.014 + version: 2.019 - class: Dist::Zilla::Plugin::Git::Commit name: '@RJBS/@Git/Commit' - version: 2.014 + version: 2.019 - class: Dist::Zilla::Plugin::Git::Tag name: '@RJBS/@Git/Tag' - version: 2.014 + version: 2.019 - class: Dist::Zilla::Plugin::Git::Push name: '@RJBS/@Git/Push' - version: 2.014 + version: 2.019 - class: Dist::Zilla::Plugin::FinderCode name: ':InstallModules' - version: 4.300036 + version: 5.012 - class: Dist::Zilla::Plugin::FinderCode name: ':IncModules' - version: 4.300036 + version: 5.012 - class: Dist::Zilla::Plugin::FinderCode name: ':TestFiles' - version: 4.300036 + version: 5.012 - class: Dist::Zilla::Plugin::FinderCode name: ':ExecFiles' - version: 4.300036 + version: 5.012 - class: Dist::Zilla::Plugin::FinderCode name: ':ShareFiles' - version: 4.300036 + version: 5.012 - class: Dist::Zilla::Plugin::FinderCode name: ':MainModule' - version: 4.300036 + version: 5.012 + - + class: Dist::Zilla::Plugin::FinderCode + name: ':AllFiles' + version: 5.012 + - + class: Dist::Zilla::Plugin::FinderCode + name: ':NoFiles' + version: 5.012 zilla: class: Dist::Zilla::Dist::Builder config: is_trial: 0 - version: 4.300036 + version: 5.012 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-Address-1.899/Makefile.PL new/Email-Address-1.901/Makefile.PL --- old/Email-Address-1.899/Makefile.PL 2013-08-02 16:53:21.000000000 +0200 +++ new/Email-Address-1.901/Makefile.PL 2014-01-29 04:41:57.000000000 +0100 @@ -1,4 +1,5 @@ +# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v5.012. use strict; use warnings; @@ -20,48 +21,36 @@ "LICENSE" => "perl", "NAME" => "Email::Address", "PREREQ_PM" => { - "overload" => "0", - "strict" => "0", - "warnings" => "0" + "overload" => 0, + "strict" => 0, + "warnings" => 0 }, "TEST_REQUIRES" => { - "Capture::Tiny" => "0", - "Encode" => "0", - "Encode::MIME::Header" => "0", - "Test::More" => "0.96", - "blib" => "0" + "Encode" => 0, + "Encode::MIME::Header" => 0, + "Test::More" => "0.96" }, - "VERSION" => "1.899", + "VERSION" => "1.901", "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}; - } - } -} +my %FallbackPrereqs = ( + "Encode" => 0, + "Encode::MIME::Header" => 0, + "Test::More" => "0.96", + "overload" => 0, + "strict" => 0, + "warnings" => 0 +); -unless ( eval { ExtUtils::MakeMaker->VERSION(6.56) } ) { - my $br = delete $WriteMakefileArgs{BUILD_REQUIRES}; - my $pp = $WriteMakefileArgs{PREREQ_PM}; - for my $mod ( keys %$br ) { - if ( exists $pp->{$mod} ) { - $pp->{$mod} = $br->{$mod} if $br->{$mod} > $pp->{$mod}; - } - else { - $pp->{$mod} = $br->{$mod}; - } - } + +unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) { + delete $WriteMakefileArgs{TEST_REQUIRES}; + delete $WriteMakefileArgs{BUILD_REQUIRES}; + $WriteMakefileArgs{PREREQ_PM} = \%FallbackPrereqs; } delete $WriteMakefileArgs{CONFIGURE_REQUIRES} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-Address-1.899/README new/Email-Address-1.901/README --- old/Email-Address-1.899/README 2013-08-02 16:53:21.000000000 +0200 +++ new/Email-Address-1.901/README 2014-01-29 04:41:57.000000000 +0100 @@ -1,7 +1,7 @@ This archive contains the distribution Email-Address, -version 1.899: +version 1.901: RFC 2822 Address Parsing and Creation @@ -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.012. + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-Address-1.899/lib/Email/Address.pm new/Email-Address-1.901/lib/Email/Address.pm --- old/Email-Address-1.899/lib/Email/Address.pm 2013-08-02 16:53:21.000000000 +0200 +++ new/Email-Address-1.901/lib/Email/Address.pm 2014-01-29 04:41:57.000000000 +0100 @@ -1,15 +1,33 @@ use strict; use warnings; package Email::Address; -{ - $Email::Address::VERSION = '1.899'; -} # ABSTRACT: RFC 2822 Address Parsing and Creation - +$Email::Address::VERSION = '1.901'; our $COMMENT_NEST_LEVEL ||= 2; our $STRINGIFY ||= 'format'; our $COLLAPSE_SPACES = 1 unless defined $COLLAPSE_SPACES; # I miss //= +# =head1 SYNOPSIS +# +# use Email::Address; +# +# my @addresses = Email::Address->parse($line); +# my $address = Email::Address->new(Casey => 'casey@localhost'); +# +# print $address->format; +# +# =head1 VERSION +# +# version 1.898 +# +# =head1 DESCRIPTION +# +# This class implements a regex-based RFC 2822 parser that locates email +# addresses in strings and returns a list of C<Email::Address> objects found. +# Alternatively you may construct objects manually. The goal of this software is +# to be correct, and very very fast. +# +# =cut my $CTL = q{\x00-\x1F\x7F}; my $special = q{()<>\\[\\]:;@\\\\,."}; @@ -62,6 +80,52 @@ my $display_name = $phrase; +# =head2 Package Variables +# +# B<ACHTUNG!> Email isn't easy (if even possible) to parse with a regex, I<at +# least> if you're on a C<perl> prior to 5.10.0. Providing regular expressions +# for use by other programs isn't a great idea, because it makes it hard to +# improve the parser without breaking the "it's a regex" feature. Using these +# regular expressions is not encouraged, and methods like C<< +# Email::Address->is_addr_spec >> should be provided in the future. +# +# Several regular expressions used in this package are useful to others. +# For convenience, these variables are declared as package variables that +# you may access from your program. +# +# These regular expressions conform to the rules specified in RFC 2822. +# +# You can access these variables using the full namespace. If you want +# short names, define them yourself. +# +# my $addr_spec = $Email::Address::addr_spec; +# +# =over 4 +# +# =item $Email::Address::addr_spec +# +# This regular expression defined what an email address is allowed to +# look like. +# +# =item $Email::Address::angle_addr +# +# This regular expression defines an C<$addr_spec> wrapped in angle +# brackets. +# +# =item $Email::Address::name_addr +# +# This regular expression defines what an email address can look like +# with an optional preceding display name, also known as the C<phrase>. +# +# =item $Email::Address::mailbox +# +# This is the complete regular expression defining an RFC 2822 email +# address with an optional preceding display name and optional +# following comment. +# +# =back +# +# =cut our $addr_spec = qr/$local_part\@$domain/; our $angle_addr = qr/$cfws*<$addr_spec>$cfws*/; @@ -74,6 +138,40 @@ sub _ORIGINAL () { 3 } sub _IN_CACHE () { 4 } +# =head2 Class Methods +# +# =over +# +# =item parse +# +# my @addrs = Email::Address->parse( +# q[me@local, Casey <me@local>, "Casey" <me@local> (West)] +# ); +# +# This method returns a list of C<Email::Address> objects it finds in the input +# string. B<Please note> that it returns a list, and expects that it may find +# multiple addresses. The behavior in scalar context is undefined. +# +# The specification for an email address allows for infinitely nestable comments. +# That's nice in theory, but a little over done. By default this module allows +# for two (C<2>) levels of nested comments. If you think you need more, modify +# the C<$Email::Address::COMMENT_NEST_LEVEL> package variable to allow more. +# +# $Email::Address::COMMENT_NEST_LEVEL = 10; # I'm deep +# +# The reason for this hardly-limiting limitation is simple: efficiency. +# +# Long strings of whitespace can be problematic for this module to parse, a bug +# which has not yet been adequately addressed. The default behavior is now to +# collapse multiple spaces into a single space, which avoids this problem. To +# prevent this behavior, set C<$Email::Address::COLLAPSE_SPACES> to zero. This +# variable will go away when the bug is resolved properly. +# +# In accordance with RFC 822 and its descendants, this module demands that email +# addresses be ASCII only. Any non-ASCII content in the parsed addresses will +# cause the parser to return no results. +# +# =cut our (%PARSE_CACHE, %FORMAT_CACHE, %NAME_CACHE); my $NOCACHE; @@ -142,6 +240,18 @@ return @addrs; } +# =item new +# +# my $address = Email::Address->new(undef, 'casey@local'); +# my $address = Email::Address->new('Casey West', 'casey@local'); +# my $address = Email::Address->new(undef, 'casey@local', '(Casey)'); +# +# Constructs and returns a new C<Email::Address> object. Takes four +# positional arguments: phrase, email, and comment, and original string. +# +# The original string should only really be set using C<parse>. +# +# =cut sub new { my ($class, $phrase, $email, $comment, $orig) = @_; @@ -150,6 +260,18 @@ bless [ $phrase, $email, $comment, $orig ] => $class; } +# =item purge_cache +# +# Email::Address->purge_cache; +# +# One way this module stays fast is with internal caches. Caches live +# in memory and there is the remote possibility that you will have a +# memory problem. On the off chance that you think you're one of those +# people, this class method will empty those caches. +# +# I've loaded over 12000 objects and not encountered a memory problem. +# +# =cut sub purge_cache { %NAME_CACHE = (); @@ -157,6 +279,17 @@ %PARSE_CACHE = (); } +# =item disable_cache +# +# =item enable_cache +# +# Email::Address->disable_cache if memory_low(); +# +# If you'd rather not cache address parses at all, you can disable (and +# re-enable) the Email::Address cache with these methods. The cache is enabled +# by default. +# +# =cut sub disable_cache { my ($class) = @_; @@ -168,6 +301,53 @@ $NOCACHE = undef; } +# =back +# +# =head2 Instance Methods +# +# =over 4 +# +# =item phrase +# +# my $phrase = $address->phrase; +# $address->phrase( "Me oh my" ); +# +# Accessor and mutator for the phrase portion of an address. +# +# =item address +# +# my $addr = $address->address; +# $addr->address( "m...@protected.com" ); +# +# Accessor and mutator for the address portion of an address. +# +# =item comment +# +# my $comment = $address->comment; +# $address->comment( "(Work address)" ); +# +# Accessor and mutator for the comment portion of an address. +# +# =item original +# +# my $orig = $address->original; +# +# Accessor for the original address found when parsing, or passed +# to C<new>. +# +# =item host +# +# my $host = $address->host; +# +# Accessor for the host portion of an address's address. +# +# =item user +# +# my $user = $address->user; +# +# Accessor for the user portion of an address's address. +# +# =cut BEGIN { my %_INDEX = ( @@ -199,6 +379,16 @@ sub host { ($_[0]->[_ADDRESS] =~ /\@($domain)/o)[0] } sub user { ($_[0]->[_ADDRESS] =~ /($local_part)\@/o)[0] } +# =pod +# +# =item format +# +# my $printable = $address->format; +# +# Returns a properly formatted RFC 2822 address representing the +# object. +# +# =cut sub format { my $cache_str = do { no warnings 'uninitialized'; "@{$_[0]}" }; @@ -214,7 +404,7 @@ || defined $self->[_COMMENT] && length $self->[_COMMENT] ) { - return $self->[_ADDRESS]; + return defined $self->[_ADDRESS] ? $self->[_ADDRESS] : ''; } my $format = sprintf q{%s <%s> %s}, @@ -233,6 +423,8 @@ my $phrase = $self->[_PHRASE]; + return '' unless defined $phrase; + # if it's encoded -- rjbs, 2007-02-28 return $phrase if $phrase =~ /\A=\?.+\?=\z/; @@ -242,6 +434,20 @@ return qq{"$phrase"}; } +# =item name +# +# my $name = $address->name; +# +# This method tries very hard to determine the name belonging to the address. +# First the C<phrase> is checked. If that doesn't work out the C<comment> +# is looked into. If that still doesn't work out, the C<user> portion of +# the C<address> is returned. +# +# This method does B<not> try to massage any name it identifies and instead +# leaves that up to someone else. Who is it to decide if someone wants their +# name capitalized, or if they're Irish? +# +# =cut sub name { my $cache_str = do { no warnings 'uninitialized'; "@{$_[0]}" }; @@ -264,6 +470,34 @@ $NAME_CACHE{$cache_str} = $name; } +# =back +# +# =head2 Overloaded Operators +# +# =over 4 +# +# =item stringify +# +# print "I have your email address, $address."; +# +# Objects stringify to C<format> by default. It's possible that you don't +# like that idea. Okay, then, you can change it by modifying +# C<$Email:Address::STRINGIFY>. Please consider modifying this package +# variable using C<local>. You might step on someone else's toes if you +# don't. +# +# { +# local $Email::Address::STRINGIFY = 'host'; +# print "I have your address, $address."; +# # geeknest.com +# } +# print "I have your address, $address."; +# # "Casey West" <ca...@geeknest.com> +# +# Modifying this package variable is now deprecated. Subclassing is now the +# recommended approach. +# +# =cut sub as_string { warn 'altering $Email::Address::STRINGIFY is deprecated; subclass instead' @@ -274,20 +508,25 @@ use overload '""' => 'as_string', fallback => 1; +# =pod +# +# =back +# +# =cut 1; -__END__ - =pod +=encoding UTF-8 + =head1 NAME Email::Address - RFC 2822 Address Parsing and Creation =head1 VERSION -version 1.899 +version 1.901 =head1 SYNOPSIS @@ -564,3 +803,36 @@ the same terms as the Perl 5 programming language system itself. =cut + +__END__ + +# =head2 Did I Mention Fast? +# +# On his 1.8GHz Apple MacBook, rjbs gets these results: +# +# $ perl -Ilib bench/ea-vs-ma.pl bench/corpus.txt 5 +# Rate Mail::Address Email::Address +# Mail::Address 2.59/s -- -44% +# Email::Address 4.59/s 77% -- +# +# $ perl -Ilib bench/ea-vs-ma.pl bench/corpus.txt 25 +# Rate Mail::Address Email::Address +# Mail::Address 2.58/s -- -67% +# Email::Address 7.84/s 204% -- +# +# $ perl -Ilib bench/ea-vs-ma.pl bench/corpus.txt 50 +# Rate Mail::Address Email::Address +# Mail::Address 2.57/s -- -70% +# Email::Address 8.53/s 232% -- +# +# ...unfortunately, a known bug causes a loss of speed the string to parse has +# certain known characteristics, and disabling cache will also degrade +# performance. +# +# =head1 ACKNOWLEDGEMENTS +# +# Thanks to Kevin Riggle and Tatsuhiko Miyagawa for tests for annoying +# phrase-quoting bugs! +# +# =cut + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-Address-1.899/t/00-compile.t new/Email-Address-1.901/t/00-compile.t --- old/Email-Address-1.899/t/00-compile.t 2013-08-02 16:53:21.000000000 +0200 +++ new/Email-Address-1.901/t/00-compile.t 1970-01-01 01:00:00.000000000 +0100 @@ -1,39 +0,0 @@ -use strict; -use warnings; - -# This test was generated via Dist::Zilla::Plugin::Test::Compile 2.014 - -use Test::More 0.88; - - - -use Capture::Tiny qw{ capture }; - -my @module_files = qw( -Email/Address.pm -); - -my @scripts = qw( - -); - -# no fake home requested - -my @warnings; -for my $lib (@module_files) -{ - my ($stdout, $stderr, $exit) = capture { - system($^X, '-Mblib', '-e', qq{require qq[$lib]}); - }; - is($?, 0, "$lib loaded ok"); - warn $stderr if $stderr; - push @warnings, $stderr if $stderr; -} - -is(scalar(@warnings), 0, 'no warnings found') if $ENV{AUTHOR_TESTING}; - - - - - -done_testing; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-Address-1.899/t/000-report-versions-tiny.t new/Email-Address-1.901/t/000-report-versions-tiny.t --- old/Email-Address-1.899/t/000-report-versions-tiny.t 2013-08-02 16:53:21.000000000 +0200 +++ new/Email-Address-1.901/t/000-report-versions-tiny.t 2014-01-29 04:41:57.000000000 +0100 @@ -9,7 +9,7 @@ END { $success && done_testing; } # List our own version used to generate this -my $v = "\nGenerated by Dist::Zilla::Plugin::ReportVersions::Tiny v1.09\n"; +my $v = "\nGenerated by Dist::Zilla::Plugin::ReportVersions::Tiny v1.10\n"; eval { # no excuses! # report our Perl details @@ -48,16 +48,12 @@ return sprintf('%-45s => %-10s%-15s%s', $module, $pmver, $wanted, "\n"); } -eval { $v .= pmver('Capture::Tiny','any version') }; eval { $v .= pmver('Encode','any version') }; eval { $v .= pmver('Encode::MIME::Header','any version') }; eval { $v .= pmver('ExtUtils::MakeMaker','6.30') }; eval { $v .= pmver('Test::More','0.96') }; -eval { $v .= pmver('Test::Pod','1.41') }; -eval { $v .= pmver('blib','any version') }; eval { $v .= pmver('overload','any version') }; eval { $v .= pmver('strict','any version') }; -eval { $v .= pmver('version','0.9901') }; eval { $v .= pmver('warnings','any version') }; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-Address-1.899/t/format.t new/Email-Address-1.901/t/format.t --- old/Email-Address-1.899/t/format.t 2013-08-02 16:53:21.000000000 +0200 +++ new/Email-Address-1.901/t/format.t 2014-01-29 04:41:57.000000000 +0100 @@ -37,6 +37,14 @@ ], q{"Name Surrounded With Quotes" <foo...@example.com>}, ], + [ + [ + "", + undef, + undef, + ], + '', + ], ); plan tests => scalar @tests; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-Address-1.899/xt/release/changes_has_content.t new/Email-Address-1.901/xt/release/changes_has_content.t --- old/Email-Address-1.899/xt/release/changes_has_content.t 2013-08-02 16:53:21.000000000 +0200 +++ new/Email-Address-1.901/xt/release/changes_has_content.t 2014-01-29 04:41:57.000000000 +0100 @@ -4,7 +4,7 @@ note 'Checking Changes'; my $changes_file = 'Changes'; -my $newver = '1.899'; +my $newver = '1.901'; my $trial_token = '-TRIAL'; SKIP: { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-Address-1.899/xt/release/pod-syntax.t new/Email-Address-1.901/xt/release/pod-syntax.t --- old/Email-Address-1.899/xt/release/pod-syntax.t 2013-08-02 16:53:21.000000000 +0200 +++ new/Email-Address-1.901/xt/release/pod-syntax.t 2014-01-29 04:41:57.000000000 +0100 @@ -1,4 +1,5 @@ #!perl +# This file was automatically generated by Dist::Zilla::Plugin::PodSyntaxTests. use Test::More; eval "use Test::Pod 1.41"; -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org