Hello community, here is the log from the commit of package perl-Email-Simple for openSUSE:Factory checked in at 2016-03-16 10:34:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Email-Simple (Old) and /work/SRC/openSUSE:Factory/.perl-Email-Simple.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Email-Simple" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Email-Simple/perl-Email-Simple.changes 2015-07-22 09:19:48.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Email-Simple.new/perl-Email-Simple.changes 2016-03-16 10:34:16.000000000 +0100 @@ -1,0 +2,14 @@ +Tue Mar 8 10:13:26 UTC 2016 - [email protected] + +- updated to 2.210 + see /usr/share/doc/packages/perl-Email-Simple/Changes + + 2.210 2016-03-05 12:16:16-05:00 America/New_York + - fix a bug where folding treated the string "0" as an empty string + (thanks, Pali Rohár) + + 2.209 2015-10-11 22:57:04-04:00 America/New_York (TRIAL RELEASE) + - avoid opportunity for pathological backtracking behavior on + malformed messages + +------------------------------------------------------------------- Old: ---- Email-Simple-2.208.tar.gz New: ---- Email-Simple-2.210.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Email-Simple.spec ++++++ --- /var/tmp/diff_new_pack.yq27gM/_old 2016-03-16 10:34:17.000000000 +0100 +++ /var/tmp/diff_new_pack.yq27gM/_new 2016-03-16 10:34:17.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package perl-Email-Simple # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX 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-Simple -Version: 2.208 +Version: 2.210 Release: 0 %define cpan_name Email-Simple Summary: Simple Parsing of Rfc2822 Message Format and Headers ++++++ Email-Simple-2.208.tar.gz -> Email-Simple-2.210.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-Simple-2.208/Changes new/Email-Simple-2.210/Changes --- old/Email-Simple-2.208/Changes 2015-07-21 02:34:09.000000000 +0200 +++ new/Email-Simple-2.210/Changes 2016-03-05 18:16:20.000000000 +0100 @@ -1,5 +1,13 @@ Revision history for Perl extension Email::Simple +2.210 2016-03-05 12:16:16-05:00 America/New_York + - fix a bug where folding treated the string "0" as an empty string + (thanks, Pali Rohár) + +2.209 2015-10-11 22:57:04-04:00 America/New_York (TRIAL RELEASE) + - avoid opportunity for pathological backtracking behavior on + malformed messages + 2.208 2015-07-20 20:34:04-04:00 America/New_York - same as v2.207 - ...but bump perl required to v5.8 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-Simple-2.208/MANIFEST new/Email-Simple-2.210/MANIFEST --- old/Email-Simple-2.208/MANIFEST 2015-07-21 02:34:09.000000000 +0200 +++ new/Email-Simple-2.210/MANIFEST 2016-03-05 18:16:20.000000000 +0100 @@ -1,4 +1,4 @@ -# This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.037. +# This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.043. Changes LICENSE MANIFEST @@ -25,6 +25,7 @@ t/header-pairs.t t/header-prepend.t t/header-space.t +t/header-zero.t t/long-msgid.t t/many-repeats.t t/no-body.t @@ -40,5 +41,5 @@ t/test-mails/many-repeats t/undef-message.t t/unit.t +xt/author/pod-syntax.t xt/release/changes_has_content.t -xt/release/pod-syntax.t diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-Simple-2.208/META.json new/Email-Simple-2.210/META.json --- old/Email-Simple-2.208/META.json 2015-07-21 02:34:09.000000000 +0200 +++ new/Email-Simple-2.210/META.json 2016-03-05 18:16:20.000000000 +0100 @@ -6,7 +6,7 @@ "Ricardo SIGNES" ], "dynamic_config" : 0, - "generated_by" : "Dist::Zilla version 5.037, CPAN::Meta::Converter version 2.150005", + "generated_by" : "Dist::Zilla version 5.043, CPAN::Meta::Converter version 2.150005", "license" : [ "perl_5" ], @@ -23,6 +23,7 @@ }, "develop" : { "requires" : { + "Test::More" : "0", "Test::Pod" : "1.41" } }, @@ -58,10 +59,10 @@ "web" : "https://github.com/rjbs/Email-Simple" } }, - "version" : "2.208", + "version" : "2.210", "x_Dist_Zilla" : { "perl" : { - "version" : "5.023000" + "version" : "5.023008" }, "plugins" : [ { @@ -70,8 +71,8 @@ "Dist::Zilla::Plugin::GatherDir" : { "exclude_filename" : [], "exclude_match" : [], - "follow_symlinks" : "0", - "include_dotfiles" : "0", + "follow_symlinks" : 0, + "include_dotfiles" : 0, "prefix" : "", "prune_directory" : [], "root" : "." @@ -86,12 +87,12 @@ { "class" : "Dist::Zilla::Plugin::CheckPrereqsIndexed", "name" : "@RJBS/CheckPrereqsIndexed", - "version" : "0.016" + "version" : "0.017" }, { "class" : "Dist::Zilla::Plugin::CheckExtraTests", "name" : "@RJBS/CheckExtraTests", - "version" : "0.027" + "version" : "0.028" }, { "class" : "Dist::Zilla::Plugin::PromptIfStale", @@ -107,13 +108,13 @@ } }, "name" : "@RJBS/RJBS-Outdated", - "version" : "0.045" + "version" : "0.047" }, { "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", @@ -121,62 +122,62 @@ } }, "name" : "@RJBS/CPAN-Outdated", - "version" : "0.045" + "version" : "0.047" }, { "class" : "Dist::Zilla::Plugin::PruneCruft", "name" : "@RJBS/@Filter/PruneCruft", - "version" : "5.037" + "version" : "5.043" }, { "class" : "Dist::Zilla::Plugin::ManifestSkip", "name" : "@RJBS/@Filter/ManifestSkip", - "version" : "5.037" + "version" : "5.043" }, { "class" : "Dist::Zilla::Plugin::MetaYAML", "name" : "@RJBS/@Filter/MetaYAML", - "version" : "5.037" + "version" : "5.043" }, { "class" : "Dist::Zilla::Plugin::License", "name" : "@RJBS/@Filter/License", - "version" : "5.037" + "version" : "5.043" }, { "class" : "Dist::Zilla::Plugin::Readme", "name" : "@RJBS/@Filter/Readme", - "version" : "5.037" + "version" : "5.043" }, { "class" : "Dist::Zilla::Plugin::ExecDir", "name" : "@RJBS/@Filter/ExecDir", - "version" : "5.037" + "version" : "5.043" }, { "class" : "Dist::Zilla::Plugin::ShareDir", "name" : "@RJBS/@Filter/ShareDir", - "version" : "5.037" + "version" : "5.043" }, { "class" : "Dist::Zilla::Plugin::Manifest", "name" : "@RJBS/@Filter/Manifest", - "version" : "5.037" + "version" : "5.043" }, { "class" : "Dist::Zilla::Plugin::TestRelease", "name" : "@RJBS/@Filter/TestRelease", - "version" : "5.037" + "version" : "5.043" }, { "class" : "Dist::Zilla::Plugin::ConfirmRelease", "name" : "@RJBS/@Filter/ConfirmRelease", - "version" : "5.037" + "version" : "5.043" }, { "class" : "Dist::Zilla::Plugin::UploadToCPAN", "name" : "@RJBS/@Filter/UploadToCPAN", - "version" : "5.037" + "version" : "5.043" }, { "class" : "Dist::Zilla::Plugin::MakeMaker", @@ -186,12 +187,12 @@ } }, "name" : "@RJBS/MakeMaker", - "version" : "5.037" + "version" : "5.043" }, { "class" : "Dist::Zilla::Plugin::AutoPrereqs", "name" : "@RJBS/AutoPrereqs", - "version" : "5.037" + "version" : "5.043" }, { "class" : "Dist::Zilla::Plugin::Git::NextVersion", @@ -211,22 +212,22 @@ { "class" : "Dist::Zilla::Plugin::PkgVersion", "name" : "@RJBS/PkgVersion", - "version" : "5.037" + "version" : "5.043" }, { "class" : "Dist::Zilla::Plugin::MetaConfig", "name" : "@RJBS/MetaConfig", - "version" : "5.037" + "version" : "5.043" }, { "class" : "Dist::Zilla::Plugin::MetaJSON", "name" : "@RJBS/MetaJSON", - "version" : "5.037" + "version" : "5.043" }, { "class" : "Dist::Zilla::Plugin::NextRelease", "name" : "@RJBS/NextRelease", - "version" : "5.037" + "version" : "5.043" }, { "class" : "Dist::Zilla::Plugin::Test::ChangesHasContent", @@ -236,7 +237,7 @@ { "class" : "Dist::Zilla::Plugin::PodSyntaxTests", "name" : "@RJBS/PodSyntaxTests", - "version" : "5.037" + "version" : "5.043" }, { "class" : "Dist::Zilla::Plugin::Test::ReportPrereqs", @@ -252,7 +253,7 @@ } }, "name" : "@RJBS/TestMoreWithSubtests", - "version" : "5.037" + "version" : "5.043" }, { "class" : "Dist::Zilla::Plugin::PodWeaver", @@ -425,7 +426,7 @@ "branch" : null, "changelog" : "Changes", "signed" : 0, - "tag" : "2.208", + "tag" : "2.210", "tag_format" : "%v", "tag_message" : "v%v" }, @@ -469,47 +470,57 @@ } }, "name" : "@RJBS/Git::Contributors", - "version" : "0.012" + "version" : "0.020" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":InstallModules", - "version" : "5.037" + "version" : "5.043" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":IncModules", - "version" : "5.037" + "version" : "5.043" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":TestFiles", - "version" : "5.037" + "version" : "5.043" + }, + { + "class" : "Dist::Zilla::Plugin::FinderCode", + "name" : ":ExtraTestFiles", + "version" : "5.043" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ExecFiles", - "version" : "5.037" + "version" : "5.043" + }, + { + "class" : "Dist::Zilla::Plugin::FinderCode", + "name" : ":PerlExecFiles", + "version" : "5.043" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ShareFiles", - "version" : "5.037" + "version" : "5.043" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":MainModule", - "version" : "5.037" + "version" : "5.043" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":AllFiles", - "version" : "5.037" + "version" : "5.043" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":NoFiles", - "version" : "5.037" + "version" : "5.043" } ], "zilla" : { @@ -517,15 +528,15 @@ "config" : { "is_trial" : "0" }, - "version" : "5.037" + "version" : "5.043" } }, "x_contributors" : [ "Brian Cassidy <[email protected]>", "Christian Walde <[email protected]>", "Michael Stevens <[email protected]>", + "Pali <[email protected]>", "Ricardo SIGNES <[email protected]>", - "Ricardo Signes <[email protected]>", "Ronald F. Guilmette <[email protected]>", "William Yardley <[email protected]>" ] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-Simple-2.208/META.yml new/Email-Simple-2.210/META.yml --- old/Email-Simple-2.208/META.yml 2015-07-21 02:34:09.000000000 +0200 +++ new/Email-Simple-2.210/META.yml 2016-03-05 18:16:20.000000000 +0100 @@ -11,7 +11,7 @@ configure_requires: ExtUtils::MakeMaker: '0' dynamic_config: 0 -generated_by: 'Dist::Zilla version 5.037, CPAN::Meta::Converter version 2.150005' +generated_by: 'Dist::Zilla version 5.043, CPAN::Meta::Converter version 2.150005' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -27,10 +27,10 @@ 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.208' +version: '2.210' x_Dist_Zilla: perl: - version: '5.023000' + version: '5.023008' plugins: - class: Dist::Zilla::Plugin::Git::GatherDir @@ -38,8 +38,8 @@ Dist::Zilla::Plugin::GatherDir: exclude_filename: [] exclude_match: [] - follow_symlinks: '0' - include_dotfiles: '0' + follow_symlinks: 0 + include_dotfiles: 0 prefix: '' prune_directory: [] root: . @@ -50,11 +50,11 @@ - class: Dist::Zilla::Plugin::CheckPrereqsIndexed name: '@RJBS/CheckPrereqsIndexed' - version: '0.016' + version: '0.017' - class: Dist::Zilla::Plugin::CheckExtraTests name: '@RJBS/CheckExtraTests' - version: '0.027' + version: '0.028' - class: Dist::Zilla::Plugin::PromptIfStale config: @@ -66,73 +66,73 @@ phase: build skip: [] name: '@RJBS/RJBS-Outdated' - version: '0.045' + version: '0.047' - 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.045' + version: '0.047' - class: Dist::Zilla::Plugin::PruneCruft name: '@RJBS/@Filter/PruneCruft' - version: '5.037' + version: '5.043' - class: Dist::Zilla::Plugin::ManifestSkip name: '@RJBS/@Filter/ManifestSkip' - version: '5.037' + version: '5.043' - class: Dist::Zilla::Plugin::MetaYAML name: '@RJBS/@Filter/MetaYAML' - version: '5.037' + version: '5.043' - class: Dist::Zilla::Plugin::License name: '@RJBS/@Filter/License' - version: '5.037' + version: '5.043' - class: Dist::Zilla::Plugin::Readme name: '@RJBS/@Filter/Readme' - version: '5.037' + version: '5.043' - class: Dist::Zilla::Plugin::ExecDir name: '@RJBS/@Filter/ExecDir' - version: '5.037' + version: '5.043' - class: Dist::Zilla::Plugin::ShareDir name: '@RJBS/@Filter/ShareDir' - version: '5.037' + version: '5.043' - class: Dist::Zilla::Plugin::Manifest name: '@RJBS/@Filter/Manifest' - version: '5.037' + version: '5.043' - class: Dist::Zilla::Plugin::TestRelease name: '@RJBS/@Filter/TestRelease' - version: '5.037' + version: '5.043' - class: Dist::Zilla::Plugin::ConfirmRelease name: '@RJBS/@Filter/ConfirmRelease' - version: '5.037' + version: '5.043' - class: Dist::Zilla::Plugin::UploadToCPAN name: '@RJBS/@Filter/UploadToCPAN' - version: '5.037' + version: '5.043' - class: Dist::Zilla::Plugin::MakeMaker config: Dist::Zilla::Role::TestRunner: default_jobs: 9 name: '@RJBS/MakeMaker' - version: '5.037' + version: '5.043' - class: Dist::Zilla::Plugin::AutoPrereqs name: '@RJBS/AutoPrereqs' - version: '5.037' + version: '5.043' - class: Dist::Zilla::Plugin::Git::NextVersion config: @@ -147,19 +147,19 @@ - class: Dist::Zilla::Plugin::PkgVersion name: '@RJBS/PkgVersion' - version: '5.037' + version: '5.043' - class: Dist::Zilla::Plugin::MetaConfig name: '@RJBS/MetaConfig' - version: '5.037' + version: '5.043' - class: Dist::Zilla::Plugin::MetaJSON name: '@RJBS/MetaJSON' - version: '5.037' + version: '5.043' - class: Dist::Zilla::Plugin::NextRelease name: '@RJBS/NextRelease' - version: '5.037' + version: '5.043' - class: Dist::Zilla::Plugin::Test::ChangesHasContent name: '@RJBS/Test::ChangesHasContent' @@ -167,7 +167,7 @@ - class: Dist::Zilla::Plugin::PodSyntaxTests name: '@RJBS/PodSyntaxTests' - version: '5.037' + version: '5.043' - class: Dist::Zilla::Plugin::Test::ReportPrereqs name: '@RJBS/Test::ReportPrereqs' @@ -179,7 +179,7 @@ phase: test type: requires name: '@RJBS/TestMoreWithSubtests' - version: '5.037' + version: '5.043' - class: Dist::Zilla::Plugin::PodWeaver config: @@ -312,7 +312,7 @@ branch: ~ changelog: Changes signed: 0 - tag: '2.208' + tag: '2.210' tag_format: '%v' tag_message: v%v Dist::Zilla::Role::Git::Repo: @@ -343,49 +343,57 @@ paths: - . name: '@RJBS/Git::Contributors' - version: '0.012' + version: '0.020' - class: Dist::Zilla::Plugin::FinderCode name: ':InstallModules' - version: '5.037' + version: '5.043' - class: Dist::Zilla::Plugin::FinderCode name: ':IncModules' - version: '5.037' + version: '5.043' - class: Dist::Zilla::Plugin::FinderCode name: ':TestFiles' - version: '5.037' + version: '5.043' + - + class: Dist::Zilla::Plugin::FinderCode + name: ':ExtraTestFiles' + version: '5.043' - class: Dist::Zilla::Plugin::FinderCode name: ':ExecFiles' - version: '5.037' + version: '5.043' + - + class: Dist::Zilla::Plugin::FinderCode + name: ':PerlExecFiles' + version: '5.043' - class: Dist::Zilla::Plugin::FinderCode name: ':ShareFiles' - version: '5.037' + version: '5.043' - class: Dist::Zilla::Plugin::FinderCode name: ':MainModule' - version: '5.037' + version: '5.043' - class: Dist::Zilla::Plugin::FinderCode name: ':AllFiles' - version: '5.037' + version: '5.043' - class: Dist::Zilla::Plugin::FinderCode name: ':NoFiles' - version: '5.037' + version: '5.043' zilla: class: Dist::Zilla::Dist::Builder config: is_trial: '0' - version: '5.037' + version: '5.043' x_contributors: - 'Brian Cassidy <[email protected]>' - 'Christian Walde <[email protected]>' - 'Michael Stevens <[email protected]>' + - 'Pali <[email protected]>' - 'Ricardo SIGNES <[email protected]>' - - 'Ricardo Signes <[email protected]>' - 'Ronald F. Guilmette <[email protected]>' - 'William Yardley <[email protected]>' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-Simple-2.208/Makefile.PL new/Email-Simple-2.210/Makefile.PL --- old/Email-Simple-2.208/Makefile.PL 2015-07-21 02:34:09.000000000 +0200 +++ new/Email-Simple-2.210/Makefile.PL 2016-03-05 18:16:20.000000000 +0100 @@ -1,4 +1,4 @@ -# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v5.037. +# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v5.043. use strict; use warnings; @@ -13,7 +13,6 @@ "ExtUtils::MakeMaker" => 0 }, "DISTNAME" => "Email-Simple", - "EXE_FILES" => [], "LICENSE" => "perl", "MIN_PERL_VERSION" => "5.008", "NAME" => "Email::Simple", @@ -28,7 +27,7 @@ "File::Spec" => 0, "Test::More" => "0.96" }, - "VERSION" => "2.208", + "VERSION" => "2.210", "test" => { "TESTS" => "t/*.t" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-Simple-2.208/README new/Email-Simple-2.210/README --- old/Email-Simple-2.208/README 2015-07-21 02:34:09.000000000 +0200 +++ new/Email-Simple-2.210/README 2016-03-05 18:16:20.000000000 +0100 @@ -1,7 +1,7 @@ This archive contains the distribution Email-Simple, -version 2.208: +version 2.210: 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 v5.037. +This README file was generated by Dist::Zilla::Plugin::Readme v5.043. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-Simple-2.208/lib/Email/Simple/Creator.pm new/Email-Simple-2.210/lib/Email/Simple/Creator.pm --- old/Email-Simple-2.208/lib/Email/Simple/Creator.pm 2015-07-21 02:34:09.000000000 +0200 +++ new/Email-Simple-2.210/lib/Email/Simple/Creator.pm 2016-03-05 18:16:20.000000000 +0100 @@ -2,7 +2,7 @@ use warnings; package Email::Simple::Creator; # ABSTRACT: private helper for building Email::Simple objects -$Email::Simple::Creator::VERSION = '2.208'; +$Email::Simple::Creator::VERSION = '2.210'; sub _crlf { "\x0d\x0a"; } @@ -44,7 +44,7 @@ =head1 VERSION -version 2.208 +version 2.210 =head1 AUTHORS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-Simple-2.208/lib/Email/Simple/Header.pm new/Email-Simple-2.210/lib/Email/Simple/Header.pm --- old/Email-Simple-2.208/lib/Email/Simple/Header.pm 2015-07-21 02:34:09.000000000 +0200 +++ new/Email-Simple-2.210/lib/Email/Simple/Header.pm 2016-03-05 18:16:20.000000000 +0100 @@ -2,7 +2,7 @@ use warnings; package Email::Simple::Header; # ABSTRACT: the header of an Email::Simple message -$Email::Simple::Header::VERSION = '2.208'; +$Email::Simple::Header::VERSION = '2.210'; use Carp (); require Email::Simple; @@ -324,10 +324,10 @@ # We know it will not contain any new lines at present my $folded = ""; - while ($line) { + while (length $line) { if ($line =~ s/^(.{0,$limit})(\s|\z)//) { $folded .= $1 . $crlf; - $folded .= $indent if $line; + $folded .= $indent if length $line; } else { # Basically nothing we can do. :( $folded .= $line . $crlf; @@ -370,7 +370,7 @@ =head1 VERSION -version 2.208 +version 2.210 =head1 SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-Simple-2.208/lib/Email/Simple.pm new/Email-Simple-2.210/lib/Email/Simple.pm --- old/Email-Simple-2.208/lib/Email/Simple.pm 2015-07-21 02:34:09.000000000 +0200 +++ new/Email-Simple-2.210/lib/Email/Simple.pm 2016-03-05 18:16:20.000000000 +0100 @@ -3,7 +3,7 @@ use warnings; package Email::Simple; # ABSTRACT: simple parsing of RFC2822 message format and headers -$Email::Simple::VERSION = '2.208'; +$Email::Simple::VERSION = '2.210'; use Carp (); use Email::Simple::Creator; @@ -109,14 +109,18 @@ my ($self, $text_ref) = @_; # For body/header division, see RFC 2822, section 2.1 - my $crlf = $self->__crlf_re; - - if ($$text_ref =~ /(?:.*?($crlf))\1/gsm) { - return (pos($$text_ref), $1); + # + # Honestly, are we *ever* going to have LFCR messages?? -- rjbs, 2015-10-11 + my $re = qr{\x0a\x0d\x0a\x0d|\x0d\x0a\x0d\x0a|\x0d\x0d|\x0a\x0a}; + + if ($$text_ref =~ /($re)/gsm) { + my $crlf = substr $1, 0, length($1)/2; + return (pos($$text_ref), $crlf); } else { # The body is, of course, optional. - $$text_ref =~ /($crlf)/gsm; + my $re = $self->__crlf_re; + $$text_ref =~ /($re)/gsm; return (undef, ($1 || "\n")); } } @@ -333,7 +337,7 @@ =head1 VERSION -version 2.208 +version 2.210 =head1 SYNOPSIS @@ -494,9 +498,7 @@ Email::Simple handles only RFC2822 formatted messages. This means you cannot expect it to cope well as the only parser between you and the outside world, say for example when writing a mail filter for invocation from a .forward file -(for this we recommend you use L<Email::Filter> anyway). For more information -on this issue please consult RT issue 2478, -L<http://rt.cpan.org/NoAuth/Bug.html?id=2478>. +(for this we recommend you use L<Email::Filter> anyway). =head1 AUTHORS @@ -518,7 +520,7 @@ =head1 CONTRIBUTORS -=for stopwords Brian Cassidy Christian Walde Michael Stevens Ricardo SIGNES Signes Ronald F. Guilmette William Yardley +=for stopwords Brian Cassidy Christian Walde Michael Stevens Pali Ricardo SIGNES Ronald F. Guilmette William Yardley =over 4 @@ -536,11 +538,11 @@ =item * -Ricardo SIGNES <[email protected]> +Pali <[email protected]> =item * -Ricardo Signes <[email protected]> +Ricardo SIGNES <[email protected]> =item * @@ -568,8 +570,6 @@ #pod Email::Simple handles only RFC2822 formatted messages. This means you cannot #pod expect it to cope well as the only parser between you and the outside world, #pod say for example when writing a mail filter for invocation from a .forward file -#pod (for this we recommend you use L<Email::Filter> anyway). For more information -#pod on this issue please consult RT issue 2478, -#pod L<http://rt.cpan.org/NoAuth/Bug.html?id=2478>. +#pod (for this we recommend you use L<Email::Filter> anyway). #pod #pod =cut diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-Simple-2.208/t/00-report-prereqs.dd new/Email-Simple-2.210/t/00-report-prereqs.dd --- old/Email-Simple-2.208/t/00-report-prereqs.dd 2015-07-21 02:34:09.000000000 +0200 +++ new/Email-Simple-2.210/t/00-report-prereqs.dd 2016-03-05 18:16:20.000000000 +0100 @@ -6,6 +6,7 @@ }, 'develop' => { 'requires' => { + 'Test::More' => '0', 'Test::Pod' => '1.41' } }, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-Simple-2.208/t/header-zero.t new/Email-Simple-2.210/t/header-zero.t --- old/Email-Simple-2.208/t/header-zero.t 1970-01-01 01:00:00.000000000 +0100 +++ new/Email-Simple-2.210/t/header-zero.t 2016-03-05 18:16:20.000000000 +0100 @@ -0,0 +1,6 @@ +use Test::More tests => 1; +use Email::Simple; + +my $m = Email::Simple->new("Foo-bar: foo\n"); +$m->header_set("Foo-bar", "0000000000000000000000000000000000000000000000000000000000000000000 0"); +is($m->as_string, "Foo-bar: 0000000000000000000000000000000000000000000000000000000000000000000\n 0\n\n", "Number zero in header"); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-Simple-2.208/xt/author/pod-syntax.t new/Email-Simple-2.210/xt/author/pod-syntax.t --- old/Email-Simple-2.208/xt/author/pod-syntax.t 1970-01-01 01:00:00.000000000 +0100 +++ new/Email-Simple-2.210/xt/author/pod-syntax.t 2016-03-05 18:16:20.000000000 +0100 @@ -0,0 +1,7 @@ +#!perl +# This file was automatically generated by Dist::Zilla::Plugin::PodSyntaxTests. +use strict; use warnings; +use Test::More; +use Test::Pod 1.41; + +all_pod_files_ok(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-Simple-2.208/xt/release/changes_has_content.t new/Email-Simple-2.210/xt/release/changes_has_content.t --- old/Email-Simple-2.208/xt/release/changes_has_content.t 2015-07-21 02:34:09.000000000 +0200 +++ new/Email-Simple-2.210/xt/release/changes_has_content.t 2016-03-05 18:16:20.000000000 +0100 @@ -4,7 +4,7 @@ note 'Checking Changes'; my $changes_file = 'Changes'; -my $newver = '2.208'; +my $newver = '2.210'; my $trial_token = '-TRIAL'; SKIP: { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-Simple-2.208/xt/release/pod-syntax.t new/Email-Simple-2.210/xt/release/pod-syntax.t --- old/Email-Simple-2.208/xt/release/pod-syntax.t 2015-07-21 02:34:09.000000000 +0200 +++ new/Email-Simple-2.210/xt/release/pod-syntax.t 1970-01-01 01:00:00.000000000 +0100 @@ -1,6 +0,0 @@ -#!perl -# This file was automatically generated by Dist::Zilla::Plugin::PodSyntaxTests. -use Test::More; -use Test::Pod 1.41; - -all_pod_files_ok();
