r3276 - in /packages/libemail-simple-perl/trunk: Changes MANIFEST META.yml Simple.pm debian/changelog debian/control t/badly-folded.t t/no-body.t t/pod-coverage.t t/pod.t t/test-mails/badly-folded t/test-mails/josey-nobody

gregoa-guest at users.alioth.debian.org gregoa-guest at users.alioth.debian.org
Fri Jul 14 20:09:42 UTC 2006


Author: gregoa-guest
Date: Fri Jul 14 20:09:41 2006
New Revision: 3276

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=3276
Log:
* New upstream release.
* Add libtest-pod-perl and libtest-pod-coverage-perl to Build-Depends-Indep.

Added:
    packages/libemail-simple-perl/trunk/t/badly-folded.t
      - copied unchanged from r3275, packages/libemail-simple-perl/branches/upstream/current/t/badly-folded.t
    packages/libemail-simple-perl/trunk/t/no-body.t
      - copied unchanged from r3275, packages/libemail-simple-perl/branches/upstream/current/t/no-body.t
    packages/libemail-simple-perl/trunk/t/pod-coverage.t
      - copied unchanged from r3275, packages/libemail-simple-perl/branches/upstream/current/t/pod-coverage.t
    packages/libemail-simple-perl/trunk/t/pod.t
      - copied unchanged from r3275, packages/libemail-simple-perl/branches/upstream/current/t/pod.t
    packages/libemail-simple-perl/trunk/t/test-mails/badly-folded
      - copied unchanged from r3275, packages/libemail-simple-perl/branches/upstream/current/t/test-mails/badly-folded
    packages/libemail-simple-perl/trunk/t/test-mails/josey-nobody
      - copied unchanged from r3275, packages/libemail-simple-perl/branches/upstream/current/t/test-mails/josey-nobody
Modified:
    packages/libemail-simple-perl/trunk/Changes
    packages/libemail-simple-perl/trunk/MANIFEST
    packages/libemail-simple-perl/trunk/META.yml
    packages/libemail-simple-perl/trunk/Simple.pm
    packages/libemail-simple-perl/trunk/debian/changelog
    packages/libemail-simple-perl/trunk/debian/control

Modified: packages/libemail-simple-perl/trunk/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libemail-simple-perl/trunk/Changes?rev=3276&op=diff
==============================================================================
--- packages/libemail-simple-perl/trunk/Changes (original)
+++ packages/libemail-simple-perl/trunk/Changes Fri Jul 14 20:09:41 2006
@@ -1,4 +1,9 @@
 Revision history for Perl extension Email::Simple.
+
+1.94    2006-07-03
+
+  - Fix folding of long headers with \r as line ending (thanks Adam Worrall)
+  - add tests for message with no body
 
 1.92    2004-11-11
 

Modified: packages/libemail-simple-perl/trunk/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libemail-simple-perl/trunk/MANIFEST?rev=3276&op=diff
==============================================================================
--- packages/libemail-simple-perl/trunk/MANIFEST (original)
+++ packages/libemail-simple-perl/trunk/MANIFEST Fri Jul 14 20:09:41 2006
@@ -7,7 +7,13 @@
 t/2.t
 t/3.t
 t/4.t
+t/badly-folded.t
+t/no-body.t
+t/pod.t
+t/pod-coverage.t
+t/test-mails/badly-folded
 t/test-mails/josey-fold
+t/test-mails/josey-nobody
 t/test-mails/josey-nofold
 t/test-mails/long-msgid
 t/unit.t

Modified: packages/libemail-simple-perl/trunk/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libemail-simple-perl/trunk/META.yml?rev=3276&op=diff
==============================================================================
--- packages/libemail-simple-perl/trunk/META.yml (original)
+++ packages/libemail-simple-perl/trunk/META.yml Fri Jul 14 20:09:41 2006
@@ -1,11 +1,11 @@
 # http://module-build.sourceforge.net/META-spec.html
 #XXXXXXX This is a prototype!!!  It will change in the future!!! XXXXX#
 name:         Email-Simple
-version:      1.92
+version:      1.94
 version_from: Simple.pm
 installdirs:  site
 requires:
     Test::More:                    0.47
 
 distribution_type: module
-generated_by: ExtUtils::MakeMaker version 6.17
+generated_by: ExtUtils::MakeMaker version 6.30

Modified: packages/libemail-simple-perl/trunk/Simple.pm
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libemail-simple-perl/trunk/Simple.pm?rev=3276&op=diff
==============================================================================
--- packages/libemail-simple-perl/trunk/Simple.pm (original)
+++ packages/libemail-simple-perl/trunk/Simple.pm Fri Jul 14 20:09:41 2006
@@ -5,7 +5,7 @@
 use Carp;
 
 use vars qw($VERSION $GROUCHY);
-$VERSION = '1.92';
+$VERSION = '1.94';
 
 my $crlf = qr/\x0a\x0d|\x0d\x0a|\x0a|\x0d/; # We are liberal in what we accept.
                                             # But then, so is a six dollar whore.
@@ -225,8 +225,8 @@
     my @stuff = @$data;
     # Ignore "empty" headers
     return '' unless @stuff = grep { defined $_ } @stuff;
-    return join "", map { $_ = "$field: $_$self->{mycrlf}";
-                          length > 78 ? $self->_fold($_) : $_ }
+    return join "", map { length > 78 ? $self->_fold($_) : "$_$self->{mycrlf}" }
+                    map { "$field: $_" } 
                     @stuff;
 }
 

Modified: packages/libemail-simple-perl/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libemail-simple-perl/trunk/debian/changelog?rev=3276&op=diff
==============================================================================
--- packages/libemail-simple-perl/trunk/debian/changelog (original)
+++ packages/libemail-simple-perl/trunk/debian/changelog Fri Jul 14 20:09:41 2006
@@ -1,3 +1,10 @@
+libemail-simple-perl (1.94-1) unstable; urgency=low
+
+  * New upstream release.
+  * Add libtest-pod-perl and libtest-pod-coverage-perl to Build-Depends-Indep.
+
+ -- gregor herrmann <gregor+debian at comodo.priv.at>  Fri, 14 Jul 2006 22:08:12 +0200
+
 libemail-simple-perl (1.92-2) unstable; urgency=low
 
   * Moved debhelper to Build-Depends.

Modified: packages/libemail-simple-perl/trunk/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libemail-simple-perl/trunk/debian/control?rev=3276&op=diff
==============================================================================
--- packages/libemail-simple-perl/trunk/debian/control (original)
+++ packages/libemail-simple-perl/trunk/debian/control Fri Jul 14 20:09:41 2006
@@ -4,7 +4,7 @@
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Krzysztof Krzyzaniak (eloy) <eloy at debian.org>, gregor herrmann <gregor+debian at comodo.priv.at>, Carlo Segre <segre at debian.org>
 Build-Depends: debhelper (>= 5.0.0)
-Build-Depends-Indep: perl (>= 5.6.0-16), perl-modules
+Build-Depends-Indep: perl (>= 5.6.0-16), perl-modules, libtest-pod-perl, libtest-pod-coverage-perl
 Standards-Version: 3.7.2
 
 Package: libemail-simple-perl




More information about the Pkg-perl-cvs-commits mailing list