Hello community, here is the log from the commit of package perl-Email-Simple for openSUSE:Factory checked in at 2017-09-12 19:57:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Email-Simple (Old) and /work/SRC/openSUSE:Factory/.perl-Email-Simple.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Email-Simple" Tue Sep 12 19:57:34 2017 rev:18 rq:523582 version:2.214 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Email-Simple/perl-Email-Simple.changes 2017-02-16 17:03:25.333674130 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Email-Simple.new/perl-Email-Simple.changes 2017-09-12 19:57:36.744369250 +0200 @@ -1,0 +2,9 @@ +Sat Sep 9 05:30:17 UTC 2017 - co...@suse.com + +- updated to 2.214 + see /usr/share/doc/packages/perl-Email-Simple/Changes + + 2.214 2017-09-08 14:21:20-04:00 America/New_York + - the method header_raw_prepend is now available on emails and headers + +------------------------------------------------------------------- Old: ---- Email-Simple-2.213.tar.gz New: ---- Email-Simple-2.214.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Email-Simple.spec ++++++ --- /var/tmp/diff_new_pack.AmhnNU/_old 2017-09-12 19:57:37.484265214 +0200 +++ /var/tmp/diff_new_pack.AmhnNU/_new 2017-09-12 19:57:37.488264652 +0200 @@ -17,7 +17,7 @@ Name: perl-Email-Simple -Version: 2.213 +Version: 2.214 Release: 0 %define cpan_name Email-Simple Summary: Simple Parsing of Rfc2822 Message Format and Headers ++++++ Email-Simple-2.213.tar.gz -> Email-Simple-2.214.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-Simple-2.213/Changes new/Email-Simple-2.214/Changes --- old/Email-Simple-2.213/Changes 2017-01-11 15:21:58.000000000 +0100 +++ new/Email-Simple-2.214/Changes 2017-09-08 20:21:25.000000000 +0200 @@ -1,5 +1,8 @@ Revision history for Perl extension Email::Simple +2.214 2017-09-08 14:21:20-04:00 America/New_York + - the method header_raw_prepend is now available on emails and headers + 2.213 2017-01-11 09:21:54-05:00 America/New_York - no changes since v2.212 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-Simple-2.213/MANIFEST new/Email-Simple-2.214/MANIFEST --- old/Email-Simple-2.213/MANIFEST 2017-01-11 15:21:58.000000000 +0100 +++ new/Email-Simple-2.214/MANIFEST 2017-09-08 20:21:25.000000000 +0200 @@ -1,4 +1,4 @@ -# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.008. +# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.010. Changes LICENSE MANIFEST diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-Simple-2.213/META.json new/Email-Simple-2.214/META.json --- old/Email-Simple-2.213/META.json 2017-01-11 15:21:58.000000000 +0100 +++ new/Email-Simple-2.214/META.json 2017-09-08 20:21:25.000000000 +0200 @@ -6,7 +6,7 @@ "Ricardo SIGNES" ], "dynamic_config" : 0, - "generated_by" : "Dist::Zilla version 6.008, CPAN::Meta::Converter version 2.150005", + "generated_by" : "Dist::Zilla version 6.010, CPAN::Meta::Converter version 2.150005", "license" : [ "perl_5" ], @@ -59,7 +59,7 @@ "web" : "https://github.com/rjbs/Email-Simple" } }, - "version" : "2.213", + "version" : "2.214", "x_Dist_Zilla" : { "perl" : { "version" : "5.024000" @@ -82,7 +82,7 @@ } }, "name" : "@RJBS/Git::GatherDir", - "version" : "2.041" + "version" : "2.042" }, { "class" : "Dist::Zilla::Plugin::CheckPrereqsIndexed", @@ -109,7 +109,7 @@ } }, "name" : "@RJBS/RJBS-Outdated", - "version" : "0.051" + "version" : "0.054" }, { "class" : "Dist::Zilla::Plugin::PromptIfStale", @@ -124,62 +124,62 @@ } }, "name" : "@RJBS/CPAN-Outdated", - "version" : "0.051" + "version" : "0.054" }, { "class" : "Dist::Zilla::Plugin::PruneCruft", "name" : "@RJBS/@Filter/PruneCruft", - "version" : "6.008" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::ManifestSkip", "name" : "@RJBS/@Filter/ManifestSkip", - "version" : "6.008" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::MetaYAML", "name" : "@RJBS/@Filter/MetaYAML", - "version" : "6.008" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::License", "name" : "@RJBS/@Filter/License", - "version" : "6.008" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::Readme", "name" : "@RJBS/@Filter/Readme", - "version" : "6.008" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::ExecDir", "name" : "@RJBS/@Filter/ExecDir", - "version" : "6.008" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::ShareDir", "name" : "@RJBS/@Filter/ShareDir", - "version" : "6.008" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::Manifest", "name" : "@RJBS/@Filter/Manifest", - "version" : "6.008" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::TestRelease", "name" : "@RJBS/@Filter/TestRelease", - "version" : "6.008" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::ConfirmRelease", "name" : "@RJBS/@Filter/ConfirmRelease", - "version" : "6.008" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::UploadToCPAN", "name" : "@RJBS/@Filter/UploadToCPAN", - "version" : "6.008" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::MakeMaker", @@ -189,12 +189,12 @@ } }, "name" : "@RJBS/MakeMaker", - "version" : "6.008" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::AutoPrereqs", "name" : "@RJBS/AutoPrereqs", - "version" : "6.008" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::Git::NextVersion", @@ -205,32 +205,32 @@ "version_regexp" : "(?^:^([0-9]+\\.[0-9]+)$)" }, "Dist::Zilla::Role::Git::Repo" : { - "git --version" : "2.11.0", + "git_version" : "2.13.0", "repo_root" : "." } }, "name" : "@RJBS/Git::NextVersion", - "version" : "2.041" + "version" : "2.042" }, { "class" : "Dist::Zilla::Plugin::PkgVersion", "name" : "@RJBS/PkgVersion", - "version" : "6.008" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::MetaConfig", "name" : "@RJBS/MetaConfig", - "version" : "6.008" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::MetaJSON", "name" : "@RJBS/MetaJSON", - "version" : "6.008" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::NextRelease", "name" : "@RJBS/NextRelease", - "version" : "6.008" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::Test::ChangesHasContent", @@ -240,12 +240,12 @@ { "class" : "Dist::Zilla::Plugin::PodSyntaxTests", "name" : "@RJBS/PodSyntaxTests", - "version" : "6.008" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::Test::ReportPrereqs", "name" : "@RJBS/Test::ReportPrereqs", - "version" : "0.025" + "version" : "0.027" }, { "class" : "Dist::Zilla::Plugin::Prereqs", @@ -256,7 +256,7 @@ } }, "name" : "@RJBS/TestMoreWithSubtests", - "version" : "6.008" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::PodWeaver", @@ -391,12 +391,12 @@ "changelog" : "Changes" }, "Dist::Zilla::Role::Git::Repo" : { - "git --version" : "2.11.0", + "git_version" : "2.13.0", "repo_root" : "." } }, "name" : "@RJBS/@Git/Check", - "version" : "2.041" + "version" : "2.042" }, { "class" : "Dist::Zilla::Plugin::Git::Commit", @@ -414,7 +414,7 @@ "changelog" : "Changes" }, "Dist::Zilla::Role::Git::Repo" : { - "git --version" : "2.11.0", + "git_version" : "2.13.0", "repo_root" : "." }, "Dist::Zilla::Role::Git::StringFormatter" : { @@ -422,7 +422,7 @@ } }, "name" : "@RJBS/@Git/Commit", - "version" : "2.041" + "version" : "2.042" }, { "class" : "Dist::Zilla::Plugin::Git::Tag", @@ -431,12 +431,12 @@ "branch" : null, "changelog" : "Changes", "signed" : 0, - "tag" : "2.213", + "tag" : "2.214", "tag_format" : "%v", "tag_message" : "v%v" }, "Dist::Zilla::Role::Git::Repo" : { - "git --version" : "2.11.0", + "git_version" : "2.13.0", "repo_root" : "." }, "Dist::Zilla::Role::Git::StringFormatter" : { @@ -444,7 +444,7 @@ } }, "name" : "@RJBS/@Git/Tag", - "version" : "2.041" + "version" : "2.042" }, { "class" : "Dist::Zilla::Plugin::Git::Push", @@ -457,18 +457,18 @@ "remotes_must_exist" : 0 }, "Dist::Zilla::Role::Git::Repo" : { - "git --version" : "2.11.0", + "git_version" : "2.13.0", "repo_root" : "." } }, "name" : "@RJBS/@Git/Push", - "version" : "2.041" + "version" : "2.042" }, { "class" : "Dist::Zilla::Plugin::Git::Contributors", "config" : { "Dist::Zilla::Plugin::Git::Contributors" : { - "git --version" : "2.11.0", + "git_version" : "2.13.0", "include_authors" : 0, "include_releaser" : 1, "order_by" : "name", @@ -476,57 +476,57 @@ } }, "name" : "@RJBS/Git::Contributors", - "version" : "0.029" + "version" : "0.030" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":InstallModules", - "version" : "6.008" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":IncModules", - "version" : "6.008" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":TestFiles", - "version" : "6.008" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ExtraTestFiles", - "version" : "6.008" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ExecFiles", - "version" : "6.008" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":PerlExecFiles", - "version" : "6.008" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ShareFiles", - "version" : "6.008" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":MainModule", - "version" : "6.008" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":AllFiles", - "version" : "6.008" + "version" : "6.010" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":NoFiles", - "version" : "6.008" + "version" : "6.010" } ], "zilla" : { @@ -534,7 +534,7 @@ "config" : { "is_trial" : "0" }, - "version" : "6.008" + "version" : "6.010" } }, "x_contributors" : [ @@ -546,6 +546,6 @@ "Ronald F. Guilmette <r...@tristatelogic.com>", "William Yardley <p...@veggiechinese.net>" ], - "x_serialization_backend" : "Cpanel::JSON::XS version 3.0225" + "x_serialization_backend" : "Cpanel::JSON::XS version 3.0237" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-Simple-2.213/META.yml new/Email-Simple-2.214/META.yml --- old/Email-Simple-2.213/META.yml 2017-01-11 15:21:58.000000000 +0100 +++ new/Email-Simple-2.214/META.yml 2017-09-08 20:21:25.000000000 +0200 @@ -11,7 +11,7 @@ configure_requires: ExtUtils::MakeMaker: '0' dynamic_config: 0 -generated_by: 'Dist::Zilla version 6.008, CPAN::Meta::Converter version 2.150005' +generated_by: 'Dist::Zilla version 6.010, CPAN::Meta::Converter version 2.150005' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -27,7 +27,7 @@ bugtracker: https://github.com/rjbs/Email-Simple/issues homepage: https://github.com/rjbs/Email-Simple repository: https://github.com/rjbs/Email-Simple.git -version: '2.213' +version: '2.214' x_Dist_Zilla: perl: version: '5.024000' @@ -46,7 +46,7 @@ Dist::Zilla::Plugin::Git::GatherDir: include_untracked: 0 name: '@RJBS/Git::GatherDir' - version: '2.041' + version: '2.042' - class: Dist::Zilla::Plugin::CheckPrereqsIndexed name: '@RJBS/CheckPrereqsIndexed' @@ -67,7 +67,7 @@ run_under_travis: 0 skip: [] name: '@RJBS/RJBS-Outdated' - version: '0.051' + version: '0.054' - class: Dist::Zilla::Plugin::PromptIfStale config: @@ -79,62 +79,62 @@ run_under_travis: 0 skip: [] name: '@RJBS/CPAN-Outdated' - version: '0.051' + version: '0.054' - class: Dist::Zilla::Plugin::PruneCruft name: '@RJBS/@Filter/PruneCruft' - version: '6.008' + version: '6.010' - class: Dist::Zilla::Plugin::ManifestSkip name: '@RJBS/@Filter/ManifestSkip' - version: '6.008' + version: '6.010' - class: Dist::Zilla::Plugin::MetaYAML name: '@RJBS/@Filter/MetaYAML' - version: '6.008' + version: '6.010' - class: Dist::Zilla::Plugin::License name: '@RJBS/@Filter/License' - version: '6.008' + version: '6.010' - class: Dist::Zilla::Plugin::Readme name: '@RJBS/@Filter/Readme' - version: '6.008' + version: '6.010' - class: Dist::Zilla::Plugin::ExecDir name: '@RJBS/@Filter/ExecDir' - version: '6.008' + version: '6.010' - class: Dist::Zilla::Plugin::ShareDir name: '@RJBS/@Filter/ShareDir' - version: '6.008' + version: '6.010' - class: Dist::Zilla::Plugin::Manifest name: '@RJBS/@Filter/Manifest' - version: '6.008' + version: '6.010' - class: Dist::Zilla::Plugin::TestRelease name: '@RJBS/@Filter/TestRelease' - version: '6.008' + version: '6.010' - class: Dist::Zilla::Plugin::ConfirmRelease name: '@RJBS/@Filter/ConfirmRelease' - version: '6.008' + version: '6.010' - class: Dist::Zilla::Plugin::UploadToCPAN name: '@RJBS/@Filter/UploadToCPAN' - version: '6.008' + version: '6.010' - class: Dist::Zilla::Plugin::MakeMaker config: Dist::Zilla::Role::TestRunner: default_jobs: 9 name: '@RJBS/MakeMaker' - version: '6.008' + version: '6.010' - class: Dist::Zilla::Plugin::AutoPrereqs name: '@RJBS/AutoPrereqs' - version: '6.008' + version: '6.010' - class: Dist::Zilla::Plugin::Git::NextVersion config: @@ -143,26 +143,26 @@ version_by_branch: 1 version_regexp: (?^:^([0-9]+\.[0-9]+)$) Dist::Zilla::Role::Git::Repo: - 'git --version': 2.11.0 + git_version: 2.13.0 repo_root: . name: '@RJBS/Git::NextVersion' - version: '2.041' + version: '2.042' - class: Dist::Zilla::Plugin::PkgVersion name: '@RJBS/PkgVersion' - version: '6.008' + version: '6.010' - class: Dist::Zilla::Plugin::MetaConfig name: '@RJBS/MetaConfig' - version: '6.008' + version: '6.010' - class: Dist::Zilla::Plugin::MetaJSON name: '@RJBS/MetaJSON' - version: '6.008' + version: '6.010' - class: Dist::Zilla::Plugin::NextRelease name: '@RJBS/NextRelease' - version: '6.008' + version: '6.010' - class: Dist::Zilla::Plugin::Test::ChangesHasContent name: '@RJBS/Test::ChangesHasContent' @@ -170,11 +170,11 @@ - class: Dist::Zilla::Plugin::PodSyntaxTests name: '@RJBS/PodSyntaxTests' - version: '6.008' + version: '6.010' - class: Dist::Zilla::Plugin::Test::ReportPrereqs name: '@RJBS/Test::ReportPrereqs' - version: '0.025' + version: '0.027' - class: Dist::Zilla::Plugin::Prereqs config: @@ -182,7 +182,7 @@ phase: test type: requires name: '@RJBS/TestMoreWithSubtests' - version: '6.008' + version: '6.010' - class: Dist::Zilla::Plugin::PodWeaver config: @@ -287,10 +287,10 @@ allow_dirty_match: [] changelog: Changes Dist::Zilla::Role::Git::Repo: - 'git --version': 2.11.0 + git_version: 2.13.0 repo_root: . name: '@RJBS/@Git/Check' - version: '2.041' + version: '2.042' - class: Dist::Zilla::Plugin::Git::Commit config: @@ -304,12 +304,12 @@ allow_dirty_match: [] changelog: Changes Dist::Zilla::Role::Git::Repo: - 'git --version': 2.11.0 + git_version: 2.13.0 repo_root: . Dist::Zilla::Role::Git::StringFormatter: time_zone: local name: '@RJBS/@Git/Commit' - version: '2.041' + version: '2.042' - class: Dist::Zilla::Plugin::Git::Tag config: @@ -317,16 +317,16 @@ branch: ~ changelog: Changes signed: 0 - tag: '2.213' + tag: '2.214' tag_format: '%v' tag_message: v%v Dist::Zilla::Role::Git::Repo: - 'git --version': 2.11.0 + git_version: 2.13.0 repo_root: . Dist::Zilla::Role::Git::StringFormatter: time_zone: local name: '@RJBS/@Git/Tag' - version: '2.041' + version: '2.042' - class: Dist::Zilla::Plugin::Git::Push config: @@ -336,66 +336,66 @@ - 'github :' remotes_must_exist: 0 Dist::Zilla::Role::Git::Repo: - 'git --version': 2.11.0 + git_version: 2.13.0 repo_root: . name: '@RJBS/@Git/Push' - version: '2.041' + version: '2.042' - class: Dist::Zilla::Plugin::Git::Contributors config: Dist::Zilla::Plugin::Git::Contributors: - 'git --version': 2.11.0 + git_version: 2.13.0 include_authors: 0 include_releaser: 1 order_by: name paths: [] name: '@RJBS/Git::Contributors' - version: '0.029' + version: '0.030' - class: Dist::Zilla::Plugin::FinderCode name: ':InstallModules' - version: '6.008' + version: '6.010' - class: Dist::Zilla::Plugin::FinderCode name: ':IncModules' - version: '6.008' + version: '6.010' - class: Dist::Zilla::Plugin::FinderCode name: ':TestFiles' - version: '6.008' + version: '6.010' - class: Dist::Zilla::Plugin::FinderCode name: ':ExtraTestFiles' - version: '6.008' + version: '6.010' - class: Dist::Zilla::Plugin::FinderCode name: ':ExecFiles' - version: '6.008' + version: '6.010' - class: Dist::Zilla::Plugin::FinderCode name: ':PerlExecFiles' - version: '6.008' + version: '6.010' - class: Dist::Zilla::Plugin::FinderCode name: ':ShareFiles' - version: '6.008' + version: '6.010' - class: Dist::Zilla::Plugin::FinderCode name: ':MainModule' - version: '6.008' + version: '6.010' - class: Dist::Zilla::Plugin::FinderCode name: ':AllFiles' - version: '6.008' + version: '6.010' - class: Dist::Zilla::Plugin::FinderCode name: ':NoFiles' - version: '6.008' + version: '6.010' zilla: class: Dist::Zilla::Dist::Builder config: is_trial: '0' - version: '6.008' + version: '6.010' x_contributors: - 'Brian Cassidy <bri...@cpan.org>' - 'Christian Walde <walde.christ...@googlemail.com>' @@ -404,4 +404,4 @@ - 'Ricardo SIGNES <r...@cpan.org>' - 'Ronald F. Guilmette <r...@tristatelogic.com>' - 'William Yardley <p...@veggiechinese.net>' -x_serialization_backend: 'YAML::Tiny version 1.69' +x_serialization_backend: 'YAML::Tiny version 1.70' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-Simple-2.213/Makefile.PL new/Email-Simple-2.214/Makefile.PL --- old/Email-Simple-2.213/Makefile.PL 2017-01-11 15:21:58.000000000 +0100 +++ new/Email-Simple-2.214/Makefile.PL 2017-09-08 20:21:25.000000000 +0200 @@ -1,4 +1,4 @@ -# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.008. +# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.010. use strict; use warnings; @@ -27,7 +27,7 @@ "File::Spec" => 0, "Test::More" => "0.96" }, - "VERSION" => "2.213", + "VERSION" => "2.214", "test" => { "TESTS" => "t/*.t" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-Simple-2.213/README new/Email-Simple-2.214/README --- old/Email-Simple-2.213/README 2017-01-11 15:21:58.000000000 +0100 +++ new/Email-Simple-2.214/README 2017-09-08 20:21:25.000000000 +0200 @@ -1,7 +1,7 @@ This archive contains the distribution Email-Simple, -version 2.213: +version 2.214: simple parsing of RFC2822 message format and headers @@ -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 v6.008. +This README file was generated by Dist::Zilla::Plugin::Readme v6.010. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-Simple-2.213/lib/Email/Simple/Creator.pm new/Email-Simple-2.214/lib/Email/Simple/Creator.pm --- old/Email-Simple-2.213/lib/Email/Simple/Creator.pm 2017-01-11 15:21:58.000000000 +0100 +++ new/Email-Simple-2.214/lib/Email/Simple/Creator.pm 2017-09-08 20:21:25.000000000 +0200 @@ -2,7 +2,7 @@ use warnings; package Email::Simple::Creator; # ABSTRACT: private helper for building Email::Simple objects -$Email::Simple::Creator::VERSION = '2.213'; +$Email::Simple::Creator::VERSION = '2.214'; sub _crlf { "\x0d\x0a"; } @@ -44,7 +44,7 @@ =head1 VERSION -version 2.213 +version 2.214 =head1 AUTHORS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-Simple-2.213/lib/Email/Simple/Header.pm new/Email-Simple-2.214/lib/Email/Simple/Header.pm --- old/Email-Simple-2.213/lib/Email/Simple/Header.pm 2017-01-11 15:21:58.000000000 +0100 +++ new/Email-Simple-2.214/lib/Email/Simple/Header.pm 2017-09-08 20:21:25.000000000 +0200 @@ -2,7 +2,7 @@ use warnings; package Email::Simple::Header; # ABSTRACT: the header of an Email::Simple message -$Email::Simple::Header::VERSION = '2.213'; +$Email::Simple::Header::VERSION = '2.214'; use Carp (); require Email::Simple; @@ -283,6 +283,29 @@ $self->header_raw_set($field, @data); } +#pod =method header_raw_prepend +#pod +#pod $header->header_raw_prepend($field => $value); +#pod +#pod This method adds a new instance of the name field as the first field in the +#pod header. +#pod +#pod =cut + +sub header_raw_prepend { + my ($self, $field, $value) = @_; + + Carp::confess("tried to prepend raw header with undefined field name") + unless defined $field; + + Carp::confess(qq{tried to prepend raw header "$field" with undefined value}) + unless defined $value; + + unshift @{ $self->{headers} }, $field => $value; + + return; +} + #pod =method crlf #pod #pod This method returns the newline string used in the header. @@ -376,7 +399,7 @@ =head1 VERSION -version 2.213 +version 2.214 =head1 SYNOPSIS @@ -463,6 +486,13 @@ L<header_str_set> exists for letting the library do the header encoding for you.) +=head2 header_raw_prepend + + $header->header_raw_prepend($field => $value); + +This method adds a new instance of the name field as the first field in the +header. + =head2 crlf This method returns the newline string used in the header. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-Simple-2.213/lib/Email/Simple.pm new/Email-Simple-2.214/lib/Email/Simple.pm --- old/Email-Simple-2.213/lib/Email/Simple.pm 2017-01-11 15:21:58.000000000 +0100 +++ new/Email-Simple-2.214/lib/Email/Simple.pm 2017-09-08 20:21:25.000000000 +0200 @@ -3,7 +3,7 @@ use warnings; package Email::Simple; # ABSTRACT: simple parsing of RFC2822 message format and headers -$Email::Simple::VERSION = '2.213'; +$Email::Simple::VERSION = '2.214'; use Carp (); use Email::Simple::Creator; @@ -237,6 +237,13 @@ #pod #pod This is another name (and the preferred one) for C<header_set>. #pod +#pod =method header_raw_prepend +#pod +#pod $email->header_raw_prepend($field => $value); +#pod +#pod This method adds a new instance of the name field as the first field in the +#pod header. +#pod #pod =method header_names #pod #pod my @header_names = $email->header_names; @@ -267,6 +274,7 @@ for my $method (qw( header_raw header header_raw_set header_set + header_raw_prepend header_raw_pairs header_pairs header_names )) { @@ -340,7 +348,7 @@ =head1 VERSION -version 2.213 +version 2.214 =head1 SYNOPSIS @@ -454,6 +462,13 @@ This is another name (and the preferred one) for C<header_set>. +=head2 header_raw_prepend + + $email->header_raw_prepend($field => $value); + +This method adds a new instance of the name field as the first field in the +header. + =head2 header_names my @header_names = $email->header_names; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-Simple-2.213/t/00-report-prereqs.t new/Email-Simple-2.214/t/00-report-prereqs.t --- old/Email-Simple-2.213/t/00-report-prereqs.t 2017-01-11 15:21:58.000000000 +0100 +++ new/Email-Simple-2.214/t/00-report-prereqs.t 2017-09-08 20:21:25.000000000 +0200 @@ -3,7 +3,7 @@ use strict; use warnings; -# This test was generated by Dist::Zilla::Plugin::Test::ReportPrereqs 0.025 +# This test was generated by Dist::Zilla::Plugin::Test::ReportPrereqs 0.027 use Test::More tests => 1; @@ -68,7 +68,7 @@ ); # Add static prereqs to the included modules list -my $static_prereqs = do 't/00-report-prereqs.dd'; +my $static_prereqs = do './t/00-report-prereqs.dd'; # Merge all prereqs (either with ::Prereqs or a hashref) my $full_prereqs = _merge_prereqs( @@ -78,12 +78,14 @@ # Add dynamic prereqs to the included modules list (if we can) my ($source) = grep { -f } 'MYMETA.json', 'MYMETA.yml'; +my $cpan_meta_error; if ( $source && $HAS_CPAN_META && (my $meta = eval { CPAN::Meta->load_file($source) } ) ) { $full_prereqs = _merge_prereqs($full_prereqs, $meta->prereqs); } else { + $cpan_meta_error = $@; # capture error from CPAN::Meta->load_file($source) $source = 'static metadata'; } @@ -169,10 +171,18 @@ diag "\nVersions for all modules listed in $source (including optional ones):\n\n", @full_reports; } +if ( $cpan_meta_error || @dep_errors ) { + diag "\n*** WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING ***\n"; +} + +if ( $cpan_meta_error ) { + my ($orig_source) = grep { -f } 'MYMETA.json', 'MYMETA.yml'; + diag "\nCPAN::Meta->load_file('$orig_source') failed with: $cpan_meta_error\n"; +} + if ( @dep_errors ) { diag join("\n", - "\n*** WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING ***\n", - "The following REQUIRED prerequisites were not satisfied:\n", + "\nThe following REQUIRED prerequisites were not satisfied:\n", @dep_errors, "\n" ); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-Simple-2.213/t/header-prepend.t new/Email-Simple-2.214/t/header-prepend.t --- old/Email-Simple-2.213/t/header-prepend.t 2017-01-11 15:21:58.000000000 +0100 +++ new/Email-Simple-2.214/t/header-prepend.t 2017-09-08 20:21:25.000000000 +0200 @@ -1,6 +1,7 @@ #!perl use strict; -use Test::More tests => 4; +use warnings; +use Test::More; # This test is not here to encourage you to muck about in the object guts, but # to provide a test for when Email::Simple has a way to provide optional @@ -19,15 +20,7 @@ my $email = Email::Simple->new($email_text); isa_ok($email, "Email::Simple"); -sub Email::Simple::header_prepend { - my ($self, $field, @values) = @_; - - for my $value (reverse @values) { - unshift @{ $self->header_obj->{headers} }, $field, $value; - } -} - -$email->header_prepend(Alpha => 'this header comes firstest'); +$email->header_raw_prepend(Alpha => 'this header comes firstest'); is_deeply( [ $email->header_pairs ], @@ -40,7 +33,8 @@ "we can prepend an existing header", ); -$email->header_prepend('Zero' => 'this header comes zeroeth', 'and 0+1th'); +$email->header_raw_prepend('Zero' => 'and 0+1th'); +$email->header_raw_prepend('Zero' => 'this header comes zeroeth'); is_deeply( [ $email->header_pairs ], @@ -54,3 +48,5 @@ ], "we can prepend mutiply, too, and to a new header", ); + +done_testing; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-Simple-2.213/xt/release/changes_has_content.t new/Email-Simple-2.214/xt/release/changes_has_content.t --- old/Email-Simple-2.213/xt/release/changes_has_content.t 2017-01-11 15:21:58.000000000 +0100 +++ new/Email-Simple-2.214/xt/release/changes_has_content.t 2017-09-08 20:21:25.000000000 +0200 @@ -4,7 +4,7 @@ note 'Checking Changes'; my $changes_file = 'Changes'; -my $newver = '2.213'; +my $newver = '2.214'; my $trial_token = '-TRIAL'; SKIP: {