r30542 - in /branches/upstream/libmime-types-perl/current: ChangeLog MANIFEST META.yml Makefile.PL lib/MIME/Type.pm lib/MIME/Type.pod lib/MIME/Types.pm lib/MIME/Types.pod t/30export.t t/99pod.t t/pod.t
ansgar-guest at users.alioth.debian.org
ansgar-guest at users.alioth.debian.org
Mon Feb 9 23:14:50 UTC 2009
Author: ansgar-guest
Date: Mon Feb 9 23:14:47 2009
New Revision: 30542
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=30542
Log:
[svn-upgrade] Integrating new upstream version, libmime-types-perl (1.27)
Added:
branches/upstream/libmime-types-perl/current/t/99pod.t
Removed:
branches/upstream/libmime-types-perl/current/t/pod.t
Modified:
branches/upstream/libmime-types-perl/current/ChangeLog
branches/upstream/libmime-types-perl/current/MANIFEST
branches/upstream/libmime-types-perl/current/META.yml
branches/upstream/libmime-types-perl/current/Makefile.PL
branches/upstream/libmime-types-perl/current/lib/MIME/Type.pm
branches/upstream/libmime-types-perl/current/lib/MIME/Type.pod
branches/upstream/libmime-types-perl/current/lib/MIME/Types.pm
branches/upstream/libmime-types-perl/current/lib/MIME/Types.pod
branches/upstream/libmime-types-perl/current/t/30export.t
Modified: branches/upstream/libmime-types-perl/current/ChangeLog
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmime-types-perl/current/ChangeLog?rev=30542&op=diff
==============================================================================
--- branches/upstream/libmime-types-perl/current/ChangeLog (original)
+++ branches/upstream/libmime-types-perl/current/ChangeLog Mon Feb 9 23:14:47 2009
@@ -2,6 +2,16 @@
Unless explicitly stated differently are all changes produced by
Mark Overmeer <perl at overmeer.net>
+
+version 1.27: Tue Feb 3 12:23:08 CET 2009
+
+ - fix application/ogg to .ogx. Add other oggs [John Drago]
+
+ - alternative for ogg in test scripts,
+
+ - test by_mediatype with regexp parameter.
+
+ - do not use /bin/pwd in t/pod.t
version 1.26: Wed Dec 17 09:01:27 CET 2008
Modified: branches/upstream/libmime-types-perl/current/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmime-types-perl/current/MANIFEST?rev=30542&op=diff
==============================================================================
--- branches/upstream/libmime-types-perl/current/MANIFEST (original)
+++ branches/upstream/libmime-types-perl/current/MANIFEST Mon Feb 9 23:14:47 2009
@@ -10,5 +10,5 @@
t/11typeol.t
t/20types.t
t/30export.t
-t/pod.t
+t/99pod.t
META.yml Module meta-data (added by MakeMaker)
Modified: branches/upstream/libmime-types-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmime-types-perl/current/META.yml?rev=30542&op=diff
==============================================================================
--- branches/upstream/libmime-types-perl/current/META.yml (original)
+++ branches/upstream/libmime-types-perl/current/META.yml Mon Feb 9 23:14:47 2009
@@ -1,6 +1,6 @@
--- #YAML:1.0
name: MIME-Types
-version: 1.26
+version: 1.27
abstract: Definition of MIME types
license: perl
author:
Modified: branches/upstream/libmime-types-perl/current/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmime-types-perl/current/Makefile.PL?rev=30542&op=diff
==============================================================================
--- branches/upstream/libmime-types-perl/current/Makefile.PL (original)
+++ branches/upstream/libmime-types-perl/current/Makefile.PL Mon Feb 9 23:14:47 2009
@@ -4,7 +4,7 @@
WriteMakefile
( NAME => 'MIME::Types'
- , VERSION => '1.26'
+ , VERSION => '1.27'
, PREREQ_PM =>
{ Test::More => 0.47
, Test::Pod => 1.00
Modified: branches/upstream/libmime-types-perl/current/lib/MIME/Type.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmime-types-perl/current/lib/MIME/Type.pm?rev=30542&op=diff
==============================================================================
--- branches/upstream/libmime-types-perl/current/lib/MIME/Type.pm (original)
+++ branches/upstream/libmime-types-perl/current/lib/MIME/Type.pm Mon Feb 9 23:14:47 2009
@@ -1,10 +1,10 @@
-# Copyrights 1999,2001-2008 by Mark Overmeer.
+# Copyrights 1999,2001-2009 by Mark Overmeer.
# For other contributors see ChangeLog.
# See the manual pages for details on the licensing terms.
-# Pod stripped from pm file by OODoc 1.05.
+# Pod stripped from pm file by OODoc 1.06.
package MIME::Type;
use vars '$VERSION';
-$VERSION = '1.26';
+$VERSION = '1.27';
use strict;
Modified: branches/upstream/libmime-types-perl/current/lib/MIME/Type.pod
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmime-types-perl/current/lib/MIME/Type.pod?rev=30542&op=diff
==============================================================================
--- branches/upstream/libmime-types-perl/current/lib/MIME/Type.pod (original)
+++ branches/upstream/libmime-types-perl/current/lib/MIME/Type.pod Mon Feb 9 23:14:47 2009
@@ -270,12 +270,12 @@
=head1 SEE ALSO
-This module is part of MIME-Types distribution version 1.26,
-built on December 17, 2008. Website: F<http://perl.overmeer.net/mimetypes/>
+This module is part of MIME-Types distribution version 1.27,
+built on February 03, 2009. Website: F<http://perl.overmeer.net/mimetypes/>
=head1 LICENSE
-Copyrights 1999,2001-2008 by Mark Overmeer. For other contributors see ChangeLog.
+Copyrights 1999,2001-2009 by Mark Overmeer. For other contributors see ChangeLog.
This program is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.
Modified: branches/upstream/libmime-types-perl/current/lib/MIME/Types.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmime-types-perl/current/lib/MIME/Types.pm?rev=30542&op=diff
==============================================================================
--- branches/upstream/libmime-types-perl/current/lib/MIME/Types.pm (original)
+++ branches/upstream/libmime-types-perl/current/lib/MIME/Types.pm Mon Feb 9 23:14:47 2009
@@ -1,11 +1,11 @@
-# Copyrights 1999,2001-2008 by Mark Overmeer.
+# Copyrights 1999,2001-2009 by Mark Overmeer.
# For other contributors see ChangeLog.
# See the manual pages for details on the licensing terms.
-# Pod stripped from pm file by OODoc 1.05.
+# Pod stripped from pm file by OODoc 1.06.
package MIME::Types;
use vars '$VERSION';
-$VERSION = '1.26';
+$VERSION = '1.27';
use strict;
@@ -255,7 +255,7 @@
application/ocsp-response ors
application/octet-stream bin,dms,lha,lzh,exe,class,ani,pgp,so,dll,dmg base64
application/oda oda
-application/ogg ogg
+application/ogg ogx
application/parityfec
application/pdf pdf base64
application/pgp-encrypted 7bit
@@ -743,6 +743,7 @@
audio/mpa-robust
audio/mpeg4-generic
audio/mpeg mpga,mp2,mp3 base64
+audio/ogg ogg,oga
audio/parityfec
audio/PCMA
audio/PCMU
@@ -938,6 +939,7 @@
video/mpeg mp2,mpe,mpeg,mpg base64
video/MPV
video/nv
+video/ogg ogv
video/parityfec
video/pointer
video/quicktime qt,mov base64
Modified: branches/upstream/libmime-types-perl/current/lib/MIME/Types.pod
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmime-types-perl/current/lib/MIME/Types.pod?rev=30542&op=diff
==============================================================================
--- branches/upstream/libmime-types-perl/current/lib/MIME/Types.pod (original)
+++ branches/upstream/libmime-types-perl/current/lib/MIME/Types.pod Mon Feb 9 23:14:47 2009
@@ -178,12 +178,12 @@
=head1 SEE ALSO
-This module is part of MIME-Types distribution version 1.26,
-built on December 17, 2008. Website: F<http://perl.overmeer.net/mimetypes/>
+This module is part of MIME-Types distribution version 1.27,
+built on February 03, 2009. Website: F<http://perl.overmeer.net/mimetypes/>
=head1 LICENSE
-Copyrights 1999,2001-2008 by Mark Overmeer. For other contributors see ChangeLog.
+Copyrights 1999,2001-2009 by Mark Overmeer. For other contributors see ChangeLog.
This program is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.
Modified: branches/upstream/libmime-types-perl/current/t/30export.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmime-types-perl/current/t/30export.t?rev=30542&op=diff
==============================================================================
--- branches/upstream/libmime-types-perl/current/t/30export.t (original)
+++ branches/upstream/libmime-types-perl/current/t/30export.t Mon Feb 9 23:14:47 2009
@@ -9,7 +9,7 @@
use lib qw(. t);
-BEGIN {plan tests => 36}
+BEGIN {plan tests => 40}
use MIME::Types;
@@ -29,12 +29,18 @@
is($mt, "");
is($cte, "");
-my @c = MIME::Types::by_mediatype("oGG");
-cmp_ok(scalar @c, '==', 1);
+#pkcs7-mime p7m,p7c
+
+my @c = MIME::Types::by_mediatype("pkcs7-mime");
+cmp_ok(scalar @c, '==', 2);
cmp_ok(scalar @{$c[0]}, '>', 2);
-is($c[0]->[0], "ogg");
-is($c[0]->[1], "application/ogg");
+is($c[0]->[0], "p7m");
+is($c[0]->[1], "application/pkcs7-mime");
is($c[0]->[2], "base64");
+cmp_ok(scalar @{$c[1]}, '>', 2);
+is($c[1]->[0], "p7c");
+is($c[1]->[1], "application/pkcs7-mime");
+is($c[1]->[2], "base64");
@c = MIME::Types::by_mediatype("Application/pDF");
cmp_ok(scalar @c, '<', 2);
@@ -65,10 +71,10 @@
is($aref->[0], "");
is($aref->[1], "");
-$aref = MIME::Types::by_mediatype("ogg");
+$aref = MIME::Types::by_mediatype(qr/\bzip/);
cmp_ok(scalar @$aref, '==', 1);
-is($aref->[0]->[0], "ogg");
-is($aref->[0]->[1], "application/ogg");
+is($aref->[0]->[0], "zip");
+is($aref->[0]->[1], "application/zip");
is($aref->[0]->[2], "base64");
$aref = MIME::Types::by_mediatype("Application/pDF");
Added: branches/upstream/libmime-types-perl/current/t/99pod.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmime-types-perl/current/t/99pod.t?rev=30542&op=file
==============================================================================
--- branches/upstream/libmime-types-perl/current/t/99pod.t (added)
+++ branches/upstream/libmime-types-perl/current/t/99pod.t Mon Feb 9 23:14:47 2009
@@ -1,0 +1,15 @@
+#!/usr/bin/perl
+use warnings;
+use strict;
+
+use Test::More;
+
+BEGIN
+{ eval "use Test::Pod 1.00";
+ plan skip_all => "Test::Pod 1.00 required for testing POD" if $@;
+
+ plan skip_all => "devel home uses OODoc"
+ if $ENV{MARKOV_DEVEL};
+}
+
+all_pod_files_ok();
More information about the Pkg-perl-cvs-commits
mailing list