r40770 - in /trunk/libdata-dump-perl: Changes META.yml debian/changelog debian/control debian/copyright debian/rules lib/Data/Dump.pm t/dump.t
jawnsy-guest at users.alioth.debian.org
jawnsy-guest at users.alioth.debian.org
Sun Jul 26 19:33:37 UTC 2009
Author: jawnsy-guest
Date: Sun Jul 26 19:33:24 2009
New Revision: 40770
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=40770
Log:
* New upstream release
+ Fixed regexp that determines if hash keys are numeric (RT#48003)
* New short rules format
* Standards-Version 3.8.2 (no changes)
* Added myself to Uploaders and Copyright
* Rewrote control file description
Modified:
trunk/libdata-dump-perl/Changes
trunk/libdata-dump-perl/META.yml
trunk/libdata-dump-perl/debian/changelog
trunk/libdata-dump-perl/debian/control
trunk/libdata-dump-perl/debian/copyright
trunk/libdata-dump-perl/debian/rules
trunk/libdata-dump-perl/lib/Data/Dump.pm
trunk/libdata-dump-perl/t/dump.t
Modified: trunk/libdata-dump-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdata-dump-perl/Changes?rev=40770&op=diff
==============================================================================
--- trunk/libdata-dump-perl/Changes (original)
+++ trunk/libdata-dump-perl/Changes Sun Jul 26 19:33:24 2009
@@ -1,3 +1,11 @@
+2009-07-26 Gisle Aas <gisle at ActiveState.com>
+
+ Release 1.15
+
+ Fixed regexp that determines if hash keys are numeric [RT#48003]
+
+
+
2009-01-12 Gisle Aas <gisle at ActiveState.com>
Release 1.14
Modified: trunk/libdata-dump-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdata-dump-perl/META.yml?rev=40770&op=diff
==============================================================================
--- trunk/libdata-dump-perl/META.yml (original)
+++ trunk/libdata-dump-perl/META.yml Sun Jul 26 19:33:24 2009
@@ -1,18 +1,20 @@
--- #YAML:1.0
name: Data-Dump
-version: 1.14
+version: 1.15
abstract: ~
author: []
license: unknown
distribution_type: module
configure_requires:
ExtUtils::MakeMaker: 0
+build_requires:
+ ExtUtils::MakeMaker: 0
requires: {}
no_index:
directory:
- t
- inc
-generated_by: ExtUtils::MakeMaker version 6.4801
+generated_by: ExtUtils::MakeMaker version 6.55_02
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
version: 1.4
Modified: trunk/libdata-dump-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdata-dump-perl/debian/changelog?rev=40770&op=diff
==============================================================================
--- trunk/libdata-dump-perl/debian/changelog (original)
+++ trunk/libdata-dump-perl/debian/changelog Sun Jul 26 19:33:24 2009
@@ -1,8 +1,17 @@
-libdata-dump-perl (1.14-2) UNRELEASED; urgency=low
+libdata-dump-perl (1.15-1) UNRELEASED; urgency=low
+ [ Jonathan Yu ]
+ * New upstream release
+ + Fixed regexp that determines if hash keys are numeric (RT#48003)
+ * New short rules format
+ * Standards-Version 3.8.2 (no changes)
+ * Added myself to Uploaders and Copyright
+ * Rewrote control file description
+
+ [ Nathan Handler ]
* debian/watch: Update to ignore development releases.
- -- Nathan Handler <nhandler at ubuntu.com> Sat, 06 Jun 2009 01:33:30 +0000
+ -- Jonathan Yu <frequency at cpan.org> Sun, 26 Jul 2009 11:25:10 -0400
libdata-dump-perl (1.14-1) unstable; urgency=low
Modified: trunk/libdata-dump-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdata-dump-perl/debian/control?rev=40770&op=diff
==============================================================================
--- trunk/libdata-dump-perl/debian/control (original)
+++ trunk/libdata-dump-perl/debian/control Sun Jul 26 19:33:24 2009
@@ -5,8 +5,9 @@
Build-Depends: debhelper (>= 7)
Build-Depends-Indep: perl (>= 5.8.0-7)
Uploaders: Krzysztof Krzyzaniak (eloy) <eloy at debian.org>,
- Rene Mayorga <rmayorga at debian.org.sv>, Ansgar Burchardt <ansgar at 43-1.org>
-Standards-Version: 3.8.0
+ Rene Mayorga <rmayorga at debian.org.sv>, Ansgar Burchardt <ansgar at 43-1.org>,
+ Jonathan Yu <frequency at cpan.org>
+Standards-Version: 3.8.2
Homepage: http://search.cpan.org/dist/Data-Dump/
Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libdata-dump-perl/
Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libdata-dump-perl/
@@ -14,15 +15,13 @@
Package: libdata-dump-perl
Architecture: all
Depends: ${perl:Depends}, ${misc:Depends}
-Description: pretty printing of data structures
- Data::Dump provides a single function called dump() that takes a list
- of values as its argument and produces a string as its result. The string
- contains Perl code that, when evaled, produces a deep copy of the
- original arguments. The string is formatted for easy reading.
+Description: Perl module to help dump data structures
+ Data::Dump provides a single function called dump that takes a list of values
+ as its argument and produces a string as its result. The string contains Perl
+ code that, when evaled, produces a deep copy of the original arguments. The
+ string is formatted for easy reading.
.
- If dump() is called in a void context, then the dump is printed on
- STDERR instead of being returned.
- .
- If you don't like importing a function that overrides Perl's
- not-so-useful builtin, then you can also import the same function as
- pp(), mnemonic for "pretty-print".
+ If called in void context, the dump is printed on standard error instead of
+ being returned. If you don't like importing a function that overrides Perl's
+ not-so-useful builtin, then you can also import the same function as "pp"
+ (the mnemonic for "pretty-print").
Modified: trunk/libdata-dump-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdata-dump-perl/debian/copyright?rev=40770&op=diff
==============================================================================
--- trunk/libdata-dump-perl/debian/copyright (original)
+++ trunk/libdata-dump-perl/debian/copyright Sun Jul 26 19:33:24 2009
@@ -1,32 +1,38 @@
-Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=226
-Upstream-Name: Data-Dump
+Format-Specification:
+ http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=196
Upstream-Maintainer: Gisle Aas <gisle at aas.no>
Upstream-Source: http://search.cpan.org/dist/Data-Dump/
+Upstream-Name: Data-Dump
Files: *
-Copyright: © 1998-2000,2003-2004,2008, Gisle Aas
- © 1996-1998, Gurusamy Sarathy
+Copyright: 1998-2000, 2003-2004, 2008, Gisle Aas <gisle at aas.no>
+ 1996-1998, Gurusamy Sarathy <gsar at cpan.org>
+License-Alias: Perl
License: GPL-1+ | Artistic
- This library is free software; you can redistribute it and/or modify it
- under the same terms as Perl itself.
- .
- Perl is distributed under the GNU General Public License, either version 1 or
- (at your option) any later version, and the Artistic License.
- .
- On Debian systems, the complete text of the GNU General Public License can be
- found in /usr/share/common-licenses/GPL and the Artistic license in
- /usr/share/common-licenses/Artistic.
Files: lib/Data/Dump/Trace.pm
-Copyright: © 2009, Gisle Aas
+Copyright: 2009, Gisle Aas <gisle at aas.no>
License: GPL-1+ | Artistic
Files: debian/*
-Copyright: © 2006, Krzysztof Krzyzaniak (eloy) <eloy at debian.org>
- © 2008, Rene Mayorga <rmayorga at debian.org.sv>
- © 2008, gregor herrmann <gregoa at debian.org>
- © 2008, Ansgar Burchardt <ansgar at 43-1.org>
+Copyright: 2009, Jonathan Yu <frequency at cpan.org>
+ 2008, Rene Mayorga <rmayorga at debian.org.sv>
+ 2008, gregor herrmann <gregoa at debian.org>
+ 2008, Ansgar Burchardt <ansgar at 43-1.org>
+ 2006, Krzysztof Krzyzaniak (eloy) <eloy at debian.org>
License: GPL-1+ | Artistic
- It is assumed that all contributors put their work under the same license
- as the module itself.
+License: Artistic
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the Artistic License, which comes with Perl.
+ On Debian GNU/Linux systems, the complete text of the Artistic License
+ can be found in `/usr/share/common-licenses/Artistic'
+
+License: GPL-1+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 1, or (at your option)
+ any later version.
+ On Debian GNU/Linux systems, the complete text of the GNU General
+ Public License can be found in `/usr/share/common-licenses/GPL'
+
Modified: trunk/libdata-dump-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdata-dump-perl/debian/rules?rev=40770&op=diff
==============================================================================
--- trunk/libdata-dump-perl/debian/rules (original)
+++ trunk/libdata-dump-perl/debian/rules Sun Jul 26 19:33:24 2009
@@ -1,23 +1,4 @@
#!/usr/bin/make -f
-build: build-stamp
-build-stamp:
- dh build
- touch $@
-
-clean:
+%:
dh $@
-
-install: install-stamp
-install-stamp: build-stamp
- dh install
- touch $@
-
-binary-arch:
-
-binary-indep: install
- dh $@
-
-binary: binary-arch binary-indep
-
-.PHONY: binary binary-arch binary-indep install clean build
Modified: trunk/libdata-dump-perl/lib/Data/Dump.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdata-dump-perl/lib/Data/Dump.pm?rev=40770&op=diff
==============================================================================
--- trunk/libdata-dump-perl/lib/Data/Dump.pm (original)
+++ trunk/libdata-dump-perl/lib/Data/Dump.pm Sun Jul 26 19:33:24 2009
@@ -9,7 +9,7 @@
@EXPORT = qw(dd ddx);
@EXPORT_OK = qw(dump pp quote);
-$VERSION = "1.14";
+$VERSION = "1.15";
$DEBUG = 0;
use overload ();
@@ -258,7 +258,7 @@
my @orig_keys = keys %$rval;
my $text_keys = 0;
for (@orig_keys) {
- $text_keys++, last unless $_ eq "0" || /^[-+]?[1-9]\d*(?:.\d+)?\z/;
+ $text_keys++, last unless /^[-+]?(?:0|[1-9]\d*)(?:\.\d+)?\z/;
}
if ($text_keys) {
Modified: trunk/libdata-dump-perl/t/dump.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdata-dump-perl/t/dump.t?rev=40770&op=diff
==============================================================================
--- trunk/libdata-dump-perl/t/dump.t (original)
+++ trunk/libdata-dump-perl/t/dump.t Sun Jul 26 19:33:24 2009
@@ -2,7 +2,7 @@
use strict;
use Test qw(plan ok);
-plan tests => 21;
+plan tests => 23;
use Data::Dump qw(dump);
@@ -20,6 +20,8 @@
ok(dump([1..5]), "[1, 2, 3, 4, 5]");
ok(dump({ a => 1, b => 2 }), "{ a => 1, b => 2 }");
ok(dump({ 1 => 1, 2 => 1, 10 => 1 }), "{ 1 => 1, 2 => 1, 10 => 1 }");
+ok(dump({ 0.14 => 1, 1.8 => 1, -0.5 => 1 }), qq({ "-0.5" => 1, "0.14" => 1, "1.8" => 1 }));
+ok(dump({ "1,1" => 1, "1,2" => 1 }), qq({ "1,1" => 1, "1,2" => 1 }));
ok(dump({ a => 1, aa => 2, aaa => join("", "a" .. "z", "a" .. "z")}) . "\n", <<EOT);
{
a => 1,
More information about the Pkg-perl-cvs-commits
mailing list