r65892 - in /trunk/libnet-imap-simple-perl: Changes MANIFEST META.yml Simple.pm Simple.pod debian/changelog debian/control debian/copyright debian/rules t/16_exotic_flags.t t/CanFlag.pm t/test_server.pm

ansgar at users.alioth.debian.org ansgar at users.alioth.debian.org
Thu Dec 16 12:52:41 UTC 2010


Author: ansgar
Date: Thu Dec 16 12:52:26 2010
New Revision: 65892

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=65892
Log:
* Team upload.
* New upstream release.
* No longer run author tests. Also remove build-dependencies on
  libtest-pod-perl, libtest-pod-coverage-perl and libtest-perl-critic-perl.

Added:
    trunk/libnet-imap-simple-perl/t/16_exotic_flags.t
      - copied unchanged from r65891, branches/upstream/libnet-imap-simple-perl/current/t/16_exotic_flags.t
    trunk/libnet-imap-simple-perl/t/CanFlag.pm
      - copied unchanged from r65891, branches/upstream/libnet-imap-simple-perl/current/t/CanFlag.pm
Modified:
    trunk/libnet-imap-simple-perl/Changes
    trunk/libnet-imap-simple-perl/MANIFEST
    trunk/libnet-imap-simple-perl/META.yml
    trunk/libnet-imap-simple-perl/Simple.pm
    trunk/libnet-imap-simple-perl/Simple.pod
    trunk/libnet-imap-simple-perl/debian/changelog
    trunk/libnet-imap-simple-perl/debian/control
    trunk/libnet-imap-simple-perl/debian/copyright
    trunk/libnet-imap-simple-perl/debian/rules
    trunk/libnet-imap-simple-perl/t/test_server.pm

Modified: trunk/libnet-imap-simple-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-imap-simple-perl/Changes?rev=65892&op=diff
==============================================================================
--- trunk/libnet-imap-simple-perl/Changes (original)
+++ trunk/libnet-imap-simple-perl/Changes Thu Dec 16 12:52:26 2010
@@ -1,3 +1,9 @@
+1.2019: Wed Dec 01 2010
+   - _process_flags() was a little too aggressive about what's a
+     valid flag and what isn't.  Really, it needs to be up to the
+     server.  https://rt.cpan.org/Ticket/Display.html?id=63282
+   - many doc bugs fixed thanks to HM 2k
+
 1.2018: Thu Oct 28 2010
    - minor bug with the sloppy CRLF code
      Thanks go to: http://github.com/marado

Modified: trunk/libnet-imap-simple-perl/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-imap-simple-perl/MANIFEST?rev=65892&op=diff
==============================================================================
--- trunk/libnet-imap-simple-perl/MANIFEST (original)
+++ trunk/libnet-imap-simple-perl/MANIFEST Thu Dec 16 12:52:26 2010
@@ -66,6 +66,7 @@
 t/10_list.t
 t/11_mailboxes.t
 t/15_flags.t
+t/16_exotic_flags.t
 t/17_status_and_select.t
 t/19_readline_callback.t
 t/22_copy_multiple.t
@@ -79,6 +80,7 @@
 t/60_fetch_with_grammar.t
 t/70_list2range.t
 t/Auth.pm
+t/CanFlag.pm
 t/Connection.pm
 t/Model.pm
 t/Shutdown.pm

Modified: trunk/libnet-imap-simple-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-imap-simple-perl/META.yml?rev=65892&op=diff
==============================================================================
--- trunk/libnet-imap-simple-perl/META.yml (original)
+++ trunk/libnet-imap-simple-perl/META.yml Thu Dec 16 12:52:26 2010
@@ -1,6 +1,6 @@
 --- #YAML:1.0
 name:               Net-IMAP-Simple
-version:            1.2018
+version:            1.2019
 abstract:           ~
 author:
     - Paul Miller <jettero at cpan.org>

Modified: trunk/libnet-imap-simple-perl/Simple.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-imap-simple-perl/Simple.pm?rev=65892&op=diff
==============================================================================
--- trunk/libnet-imap-simple-perl/Simple.pm (original)
+++ trunk/libnet-imap-simple-perl/Simple.pm Thu Dec 16 12:52:26 2010
@@ -9,7 +9,7 @@
 use IO::Select;
 use Net::IMAP::Simple::PipeSocket;
 
-our $VERSION = "1.2018";
+our $VERSION = "1.2019";
 
 BEGIN {
     # I'd really rather the pause/cpan indexers miss this "package"
@@ -619,10 +619,9 @@
 
 sub _process_flags {
     my $self = shift;
-
-    return grep { m/^\\\w+\z/ }
-            map { split m/\s+/, $_ }
-            @_;
+    my @ret = map { split m/\s+/, $_ } grep { $_ } @_;
+
+    return @ret;
 }
 
 sub put {

Modified: trunk/libnet-imap-simple-perl/Simple.pod
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-imap-simple-perl/Simple.pod?rev=65892&op=diff
==============================================================================
--- trunk/libnet-imap-simple-perl/Simple.pod (original)
+++ trunk/libnet-imap-simple-perl/Simple.pod Thu Dec 16 12:52:26 2010
@@ -256,7 +256,7 @@
 
 =item flags
 
-    print "Avaliable server flags: " . join(", ", $imap->flags) . "\n";
+    print "Available server flags: " . join(", ", $imap->flags) . "\n";
 
 This method accepts an optional folder name and returns the current available
 server flags as a list, for the selected folder. If no folder name is provided
@@ -390,7 +390,7 @@
 optionally specify flags for the mail (e.g. C<\Seen>, C<\Answered>), but they
 must start with a slash.
 
-If C<$msg> is an arrayref, the lines will be printed correctly.
+If C<$message> is an arrayref, the lines will be printed correctly.
 
 =item msg_flags
 
@@ -596,7 +596,7 @@
   print "copied" if $imap->copy( $message_number, $mailbox );
 
 This method copies the message number (or L<sequence set>) in the currently
-selected mailbox to the fold specified in the second argument.  Both arguments
+selected mailbox to the folder specified in the second argument.  Both arguments
 are required.  On success this method returns true. Returns false on failure and
 the C<errstr()> error handler is set with the error message.
 
@@ -797,8 +797,8 @@
 This function takes a single argument we'll call C<< <x> >> and returns numbers
 of messages that were received before C<< <x> >>.  If you have L<Date::Manip>
 installed (optional), this function will attempt to force the date into the
-format C<%d-%m-%Y> (date-month-year) as RFC3501 requires.  If you do not have
-that module, no attempt will be made to coerce your date into the correct
+format C<%d-%b-%Y> (date-monthName-year) as RFC3501 requires.  If you do not
+have that module, no attempt will be made to coerce your date into the correct
 format.
 
 =item search_since

Modified: trunk/libnet-imap-simple-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-imap-simple-perl/debian/changelog?rev=65892&op=diff
==============================================================================
--- trunk/libnet-imap-simple-perl/debian/changelog (original)
+++ trunk/libnet-imap-simple-perl/debian/changelog Thu Dec 16 12:52:26 2010
@@ -1,3 +1,12 @@
+libnet-imap-simple-perl (1.2019-1) unstable; urgency=low
+
+  * Team upload.
+  * New upstream release.
+  * No longer run author tests. Also remove build-dependencies on
+    libtest-pod-perl, libtest-pod-coverage-perl and libtest-perl-critic-perl.
+
+ -- Ansgar Burchardt <ansgar at debian.org>  Thu, 16 Dec 2010 13:52:03 +0100
+
 libnet-imap-simple-perl (1.2018-1) unstable; urgency=low
 
   [ Jonathan Yu ]

Modified: trunk/libnet-imap-simple-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-imap-simple-perl/debian/control?rev=65892&op=diff
==============================================================================
--- trunk/libnet-imap-simple-perl/debian/control (original)
+++ trunk/libnet-imap-simple-perl/debian/control Thu Dec 16 12:52:26 2010
@@ -2,8 +2,7 @@
 Section: perl
 Priority: optional
 Build-Depends: debhelper (>= 7.0.50~)
-Build-Depends-Indep: perl, libtest-pod-perl,
- libtest-pod-coverage-perl, libtest-perl-critic-perl,
+Build-Depends-Indep: perl,
  libparse-recdescent-perl, libclass-accessor-perl, libregexp-common-perl
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Allard Hoeve <allard at byte.nl>, Gunnar Wolf <gwolf at debian.org>,

Modified: trunk/libnet-imap-simple-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-imap-simple-perl/debian/copyright?rev=65892&op=diff
==============================================================================
--- trunk/libnet-imap-simple-perl/debian/copyright (original)
+++ trunk/libnet-imap-simple-perl/debian/copyright Thu Dec 16 12:52:26 2010
@@ -22,7 +22,6 @@
  2006, Frank Lichtenheld <djpig at debian.org>
  2005, 2007, Gunnar Wolf <gwolf at debian.org>
  2004, Joost van Baal <joostvb at uvt.nl>
-License-Alias: Perl
 License: Artistic or GPL-1+
 
 Files: inc/Net/IMAP/*

Modified: trunk/libnet-imap-simple-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-imap-simple-perl/debian/rules?rev=65892&op=diff
==============================================================================
--- trunk/libnet-imap-simple-perl/debian/rules (original)
+++ trunk/libnet-imap-simple-perl/debian/rules Thu Dec 16 12:52:26 2010
@@ -5,6 +5,3 @@
 
 override_dh_auto_configure:
 	OVERRIDE_DEFAULT_SX=y dh_auto_configure
-
-override_dh_auto_test:
-	TEST_AUTHOR=1 dh_auto_test

Modified: trunk/libnet-imap-simple-perl/t/test_server.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-imap-simple-perl/t/test_server.pm?rev=65892&op=diff
==============================================================================
--- trunk/libnet-imap-simple-perl/t/test_server.pm (original)
+++ trunk/libnet-imap-simple-perl/t/test_server.pm Thu Dec 16 12:52:26 2010
@@ -115,6 +115,7 @@
     # (we don't really care if the above fails...)
 
     use t::Shutdown;
+    use t::CanFlag;
     Net::IMAP::Server->new(
         port             => 19794,
         ssl_port         => 19795,




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