r22801 - in /trunk/libhash-case-perl: ./ debian/ lib/Hash/ lib/Hash/Case/ t/

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Sat Jul 5 15:16:52 UTC 2008


Author: gregoa
Date: Sat Jul  5 15:16:51 2008
New Revision: 22801

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=22801
Log:
New upstream release.

Modified:
    trunk/libhash-case-perl/ChangeLog
    trunk/libhash-case-perl/MANIFEST
    trunk/libhash-case-perl/META.yml
    trunk/libhash-case-perl/Makefile.PL
    trunk/libhash-case-perl/README
    trunk/libhash-case-perl/debian/changelog
    trunk/libhash-case-perl/lib/Hash/Case.pm
    trunk/libhash-case-perl/lib/Hash/Case.pod
    trunk/libhash-case-perl/lib/Hash/Case/Lower.pm
    trunk/libhash-case-perl/lib/Hash/Case/Lower.pod
    trunk/libhash-case-perl/lib/Hash/Case/Preserve.pm
    trunk/libhash-case-perl/lib/Hash/Case/Preserve.pod
    trunk/libhash-case-perl/lib/Hash/Case/Upper.pm
    trunk/libhash-case-perl/lib/Hash/Case/Upper.pod
    trunk/libhash-case-perl/t/20upper.t
    trunk/libhash-case-perl/t/pod.t

Modified: trunk/libhash-case-perl/ChangeLog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhash-case-perl/ChangeLog?rev=22801&op=diff
==============================================================================
--- trunk/libhash-case-perl/ChangeLog (original)
+++ trunk/libhash-case-perl/ChangeLog Sat Jul  5 15:16:51 2008
@@ -1,5 +1,18 @@
+==== version history of Hash::Case
+All change made by Mark Overmeer.
 
-version 1.004:
+version 1.006: Thu Jun 19 08:40:46 CEST 2008
+
+	- perl5.005 does not understand "use 5.6.0" and tie bug in 5.6.2.
+	  So require 5.008 [cpantesters]
+
+version 1.005: Wed Jun 18 09:02:28 CEST 2008
+
+	- require perl 5.6.0 [cpantesters]
+
+	- minor distribution clean-ups
+
+version 1.004: Fri Jun  8 15:37:31 CEST 2007
 
 	- fixed 2 typo's in POD (Thanks to CPANTS)
 

Modified: trunk/libhash-case-perl/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhash-case-perl/MANIFEST?rev=22801&op=diff
==============================================================================
--- trunk/libhash-case-perl/MANIFEST (original)
+++ trunk/libhash-case-perl/MANIFEST Sat Jul  5 15:16:51 2008
@@ -1,6 +1,5 @@
 ChangeLog
 MANIFEST
-META.yml                                 Module meta-data (added by MakeMaker)
 Makefile.PL
 README
 lib/Hash/Case.pm
@@ -17,3 +16,4 @@
 t/30pres1.t
 t/31pres2.t
 t/pod.t
+META.yml                                 Module meta-data (added by MakeMaker)

Modified: trunk/libhash-case-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhash-case-perl/META.yml?rev=22801&op=diff
==============================================================================
--- trunk/libhash-case-perl/META.yml (original)
+++ trunk/libhash-case-perl/META.yml Sat Jul  5 15:16:51 2008
@@ -1,11 +1,14 @@
-# http://module-build.sourceforge.net/META-spec.html
-#XXXXXXX This is a prototype!!!  It will change in the future!!! XXXXX#
-name:         Hash-Case
-version:      1.004
-version_from: 
-installdirs:  site
-requires:
+--- #YAML:1.0
+name:                Hash-Case
+version:             1.006
+abstract:            Play trics with hash keys
+license:             perl
+author:              
+    - Mark Overmeer
+generated_by:        ExtUtils::MakeMaker version 6.42
+distribution_type:   module
+requires:     
     Test::More:                    0.47
-
-distribution_type: module
-generated_by: ExtUtils::MakeMaker version 6.17
+meta-spec:
+    url:     http://module-build.sourceforge.net/META-spec-v1.3.html
+    version: 1.3

Modified: trunk/libhash-case-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhash-case-perl/Makefile.PL?rev=22801&op=diff
==============================================================================
--- trunk/libhash-case-perl/Makefile.PL (original)
+++ trunk/libhash-case-perl/Makefile.PL Sat Jul  5 15:16:51 2008
@@ -1,13 +1,16 @@
 use ExtUtils::MakeMaker;
+
+use 5.008;
 
 WriteMakefile
   ( NAME	 => 'Hash::Case'
-  , VERSION      => '1.004'
+  , VERSION      => '1.006'
   , PREREQ_PM    =>
     { Test::More => 0.47
     }
   , AUTHOR       => 'Mark Overmeer'
   , ABSTRACT     => 'Play trics with hash keys'
+  , LICENSE      => 'perl'
   );
 
 sub MY::postamble { <<'__POSTAMBLE' }
@@ -18,7 +21,7 @@
 LICENSE         = artistic
 
 # for POD
-FIRST_YEAR      = 2002-2003,
+FIRST_YEAR      = 2002-2003,2007
 EMAIL           = perl at overmeer.net
 WEBSITE         = http://perl.overmeer.net/hash-case/
 

Modified: trunk/libhash-case-perl/README
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhash-case-perl/README?rev=22801&op=diff
==============================================================================
--- trunk/libhash-case-perl/README (original)
+++ trunk/libhash-case-perl/README Sat Jul  5 15:16:51 2008
@@ -1,5 +1,5 @@
-=== README for Hash-Case version 1.004
-=   Generated on Fri Jun  8 14:46:12 2007 by OODoc 1.00
+=== README for Hash-Case version 1.005
+=   Generated on Wed Jun 18 09:03:09 2008 by OODoc 1.05
 
 There are various ways to install this module:
 
@@ -9,15 +9,16 @@
  (2) if you use Windows, have a look at http://ppm.activestate.com/
 
  (3) if you have downloaded this module manually (as root/administrator)
-       gzip -d Hash-Case-1.004.tar.gz
-       tar -xf Hash-Case-1.004.tar
-       cd Hash-Case-1.004
+       gzip -d Hash-Case-1.005.tar.gz
+       tar -xf Hash-Case-1.005.tar
+       cd Hash-Case-1.005
        perl Makefile.PL
        make          # optional
        make test     # optional
        make install
 
-For usage, see the included manual-pages.
+For usage, see the included manual-pages or
+    http://search.cpan.org/dist/Hash-Case-1.005/
 
 Please report problems to
     http://rt.cpan.org/Dist/Display.html?Queue=Hash-Case

Modified: trunk/libhash-case-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhash-case-perl/debian/changelog?rev=22801&op=diff
==============================================================================
--- trunk/libhash-case-perl/debian/changelog (original)
+++ trunk/libhash-case-perl/debian/changelog Sat Jul  5 15:16:51 2008
@@ -1,4 +1,4 @@
-libhash-case-perl (1.004-2) UNRELEASED; urgency=low
+libhash-case-perl (1.006-1) UNRELEASED; urgency=low
 
   [ gregor herrmann ]
   * debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser
@@ -8,6 +8,9 @@
   [ David Paleino ]
   * debian/control: removed myself from Uploaders
 
+  [ gregor herrmann ]
+  * New upstream release.
+
  -- David Paleino <d.paleino at gmail.com>  Fri, 22 Feb 2008 12:51:26 +0100
 
 libhash-case-perl (1.004-1) unstable; urgency=low

Modified: trunk/libhash-case-perl/lib/Hash/Case.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhash-case-perl/lib/Hash/Case.pm?rev=22801&op=diff
==============================================================================
--- trunk/libhash-case-perl/lib/Hash/Case.pm (original)
+++ trunk/libhash-case-perl/lib/Hash/Case.pm Sat Jul  5 15:16:51 2008
@@ -1,17 +1,21 @@
-# Copyrights 2002-2003,-2007 by Mark Overmeer.
+# Copyrights 2002-2003,2007-2008 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.00.
+# Pod stripped from pm file by OODoc 1.05.
 
 package Hash::Case;
 use vars '$VERSION';
-$VERSION = '1.004';
+$VERSION = '1.006';
+
 
 use Tie::Hash;
- at ISA = 'Tie::StdHash';
+use base 'Tie::StdHash';
 
+use warnings;
 use strict;
+
 use Carp;
+use Tie::Hash;
 
 
 sub TIEHASH(@)

Modified: trunk/libhash-case-perl/lib/Hash/Case.pod
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhash-case-perl/lib/Hash/Case.pod?rev=22801&op=diff
==============================================================================
--- trunk/libhash-case-perl/lib/Hash/Case.pod (original)
+++ trunk/libhash-case-perl/lib/Hash/Case.pod Sat Jul  5 15:16:51 2008
@@ -91,7 +91,7 @@
 use.  The VALUES is a reference to an array containing key-value pairs,
 or a reference to a hash: they fill the initial hash.
 
-I<Example:> 
+example: 
 
  my %x;
  tie %x, 'Hash::Case::Lower';
@@ -109,12 +109,12 @@
 
 =head1 SEE ALSO
 
-This module is part of Hash-Case distribution version 1.004,
-built on June 08, 2007. Website: F<http://perl.overmeer.net/hash-case/>
+This module is part of Hash-Case distribution version 1.006,
+built on June 19, 2008. Website: F<http://perl.overmeer.net/hash-case/>
 
 =head1 LICENSE
 
-Copyrights 2002-2003,-2007 by Mark Overmeer. For other contributors see ChangeLog.
+Copyrights 2002-2003,2007-2008 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: trunk/libhash-case-perl/lib/Hash/Case/Lower.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhash-case-perl/lib/Hash/Case/Lower.pm?rev=22801&op=diff
==============================================================================
--- trunk/libhash-case-perl/lib/Hash/Case/Lower.pm (original)
+++ trunk/libhash-case-perl/lib/Hash/Case/Lower.pm Sat Jul  5 15:16:51 2008
@@ -1,10 +1,11 @@
-# Copyrights 2002-2003,-2007 by Mark Overmeer.
+# Copyrights 2002-2003,2007-2008 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.00.
+# Pod stripped from pm file by OODoc 1.05.
 package Hash::Case::Lower;
 use vars '$VERSION';
-$VERSION = '1.004';
+$VERSION = '1.006';
+
 use base 'Hash::Case';
 
 use strict;

Modified: trunk/libhash-case-perl/lib/Hash/Case/Lower.pod
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhash-case-perl/lib/Hash/Case/Lower.pod?rev=22801&op=diff
==============================================================================
--- trunk/libhash-case-perl/lib/Hash/Case/Lower.pod (original)
+++ trunk/libhash-case-perl/lib/Hash/Case/Lower.pod Sat Jul  5 15:16:51 2008
@@ -58,12 +58,12 @@
 
 =head1 SEE ALSO
 
-This module is part of Hash-Case distribution version 1.004,
-built on June 08, 2007. Website: F<http://perl.overmeer.net/hash-case/>
+This module is part of Hash-Case distribution version 1.006,
+built on June 19, 2008. Website: F<http://perl.overmeer.net/hash-case/>
 
 =head1 LICENSE
 
-Copyrights 2002-2003,-2007 by Mark Overmeer. For other contributors see ChangeLog.
+Copyrights 2002-2003,2007-2008 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: trunk/libhash-case-perl/lib/Hash/Case/Preserve.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhash-case-perl/lib/Hash/Case/Preserve.pm?rev=22801&op=diff
==============================================================================
--- trunk/libhash-case-perl/lib/Hash/Case/Preserve.pm (original)
+++ trunk/libhash-case-perl/lib/Hash/Case/Preserve.pm Sat Jul  5 15:16:51 2008
@@ -1,10 +1,11 @@
-# Copyrights 2002-2003,-2007 by Mark Overmeer.
+# Copyrights 2002-2003,2007-2008 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.00.
+# Pod stripped from pm file by OODoc 1.05.
 package Hash::Case::Preserve;
 use vars '$VERSION';
-$VERSION = '1.004';
+$VERSION = '1.006';
+
 use base 'Hash::Case';
 
 use strict;

Modified: trunk/libhash-case-perl/lib/Hash/Case/Preserve.pod
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhash-case-perl/lib/Hash/Case/Preserve.pod?rev=22801&op=diff
==============================================================================
--- trunk/libhash-case-perl/lib/Hash/Case/Preserve.pod (original)
+++ trunk/libhash-case-perl/lib/Hash/Case/Preserve.pod Sat Jul  5 15:16:51 2008
@@ -76,12 +76,12 @@
 
 =head1 SEE ALSO
 
-This module is part of Hash-Case distribution version 1.004,
-built on June 08, 2007. Website: F<http://perl.overmeer.net/hash-case/>
+This module is part of Hash-Case distribution version 1.006,
+built on June 19, 2008. Website: F<http://perl.overmeer.net/hash-case/>
 
 =head1 LICENSE
 
-Copyrights 2002-2003,-2007 by Mark Overmeer. For other contributors see ChangeLog.
+Copyrights 2002-2003,2007-2008 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: trunk/libhash-case-perl/lib/Hash/Case/Upper.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhash-case-perl/lib/Hash/Case/Upper.pm?rev=22801&op=diff
==============================================================================
--- trunk/libhash-case-perl/lib/Hash/Case/Upper.pm (original)
+++ trunk/libhash-case-perl/lib/Hash/Case/Upper.pm Sat Jul  5 15:16:51 2008
@@ -1,11 +1,12 @@
-# Copyrights 2002-2003,-2007 by Mark Overmeer.
+# Copyrights 2002-2003,2007-2008 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.00.
+# Pod stripped from pm file by OODoc 1.05.
 
 package Hash::Case::Upper;
 use vars '$VERSION';
-$VERSION = '1.004';
+$VERSION = '1.006';
+
 use base 'Hash::Case';
 
 use Carp;

Modified: trunk/libhash-case-perl/lib/Hash/Case/Upper.pod
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhash-case-perl/lib/Hash/Case/Upper.pod?rev=22801&op=diff
==============================================================================
--- trunk/libhash-case-perl/lib/Hash/Case/Upper.pod (original)
+++ trunk/libhash-case-perl/lib/Hash/Case/Upper.pod Sat Jul  5 15:16:51 2008
@@ -58,12 +58,12 @@
 
 =head1 SEE ALSO
 
-This module is part of Hash-Case distribution version 1.004,
-built on June 08, 2007. Website: F<http://perl.overmeer.net/hash-case/>
+This module is part of Hash-Case distribution version 1.006,
+built on June 19, 2008. Website: F<http://perl.overmeer.net/hash-case/>
 
 =head1 LICENSE
 
-Copyrights 2002-2003,-2007 by Mark Overmeer. For other contributors see ChangeLog.
+Copyrights 2002-2003,2007-2008 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: trunk/libhash-case-perl/t/20upper.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhash-case-perl/t/20upper.t?rev=22801&op=diff
==============================================================================
--- trunk/libhash-case-perl/t/20upper.t (original)
+++ trunk/libhash-case-perl/t/20upper.t Sat Jul  5 15:16:51 2008
@@ -7,7 +7,7 @@
 
 use lib qw/. t/;
 
-BEGIN {plan tests => 31}
+BEGIN {plan tests => 35}
 
 use Hash::Case::Upper;
 
@@ -70,3 +70,12 @@
 ok(defined $b{abc});
 cmp_ok($b{ABC}, '==',  3);
 cmp_ok($b{DeF}, '==',  4);
+
+### test boolean context (bug reported by Dmitry Bolshakoff)
+
+tie my %c, 'Hash::Case::Upper';
+is((%c ? 'yes' : 'no'),  'no',  'empty');
+is((!%c ? 'yes' : 'no'), 'yes', 'empty');
+$c{111} = 222;
+is((%c ? 'yes' : 'no'),  'yes', 'not empty');
+is((!%c ? 'yes' : 'no'), 'no',  'not empty');

Modified: trunk/libhash-case-perl/t/pod.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhash-case-perl/t/pod.t?rev=22801&op=diff
==============================================================================
--- trunk/libhash-case-perl/t/pod.t (original)
+++ trunk/libhash-case-perl/t/pod.t Sat Jul  5 15:16:51 2008
@@ -3,7 +3,15 @@
 use strict;
 
 use Test::More;
-eval "use Test::Pod 1.00";
 
-plan skip_all => "Test::Pod 1.00 required for testing POD" if $@;
+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 qx(/bin/pwd) =~ m[^/home/markov/];
+}
+
 all_pod_files_ok();




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