r55100 - in /trunk/libjson-xs-perl/debian: changelog control patches/ patches/series patches/true-false-decode-pod-fix rules
jozef-guest at users.alioth.debian.org
jozef-guest at users.alioth.debian.org
Tue Mar 30 09:40:29 UTC 2010
Author: jozef-guest
Date: Tue Mar 30 09:40:21 2010
New Revision: 55100
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=55100
Log:
#566822 added details to Pod about decoding of JSON "true" and "false"
Added:
trunk/libjson-xs-perl/debian/patches/
trunk/libjson-xs-perl/debian/patches/series
trunk/libjson-xs-perl/debian/patches/true-false-decode-pod-fix
Modified:
trunk/libjson-xs-perl/debian/changelog
trunk/libjson-xs-perl/debian/control
trunk/libjson-xs-perl/debian/rules
Modified: trunk/libjson-xs-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libjson-xs-perl/debian/changelog?rev=55100&op=diff
==============================================================================
--- trunk/libjson-xs-perl/debian/changelog (original)
+++ trunk/libjson-xs-perl/debian/changelog Tue Mar 30 09:40:21 2010
@@ -2,6 +2,8 @@
[ Jonathan Yu ]
* New upstream release
+ * Added details to Pod about decoding of JSON "true" and "false"
+ values. Closes #566822 (Thanks to Florian Weimer)
[ gregor herrmann ]
* Convert to source format 3.0 (quilt).
Modified: trunk/libjson-xs-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libjson-xs-perl/debian/control?rev=55100&op=diff
==============================================================================
--- trunk/libjson-xs-perl/debian/control (original)
+++ trunk/libjson-xs-perl/debian/control Tue Mar 30 09:40:21 2010
@@ -1,7 +1,7 @@
Source: libjson-xs-perl
Section: perl
Priority: optional
-Build-Depends: debhelper (>= 7.0.50), perl, libcommon-sense-perl
+Build-Depends: debhelper (>= 7.4.15), perl, libcommon-sense-perl, quilt
Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
Uploaders: Angel Abad <angelabad at gmail.com>, Jonathan Yu <jawnsy at cpan.org>,
Ivan Kohler <ivan-debian at 420.am>, Niko Tyni <ntyni at debian.org>,
Added: trunk/libjson-xs-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libjson-xs-perl/debian/patches/series?rev=55100&op=file
==============================================================================
--- trunk/libjson-xs-perl/debian/patches/series (added)
+++ trunk/libjson-xs-perl/debian/patches/series Tue Mar 30 09:40:21 2010
@@ -1,0 +1,1 @@
+true-false-decode-pod-fix
Added: trunk/libjson-xs-perl/debian/patches/true-false-decode-pod-fix
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libjson-xs-perl/debian/patches/true-false-decode-pod-fix?rev=55100&op=file
==============================================================================
--- trunk/libjson-xs-perl/debian/patches/true-false-decode-pod-fix (added)
+++ trunk/libjson-xs-perl/debian/patches/true-false-decode-pod-fix Tue Mar 30 09:40:21 2010
@@ -1,0 +1,16 @@
+diff --git a/XS.pm b/XS.pm
+index c44c9a3..a6507f7 100644
+--- a/XS.pm
++++ b/XS.pm
+@@ -681,8 +681,9 @@ The opposite of C<encode>: expects a JSON text and tries to parse it,
+ returning the resulting simple scalar or reference. Croaks on error.
+
+ JSON numbers and strings become simple Perl scalars. JSON arrays become
+-Perl arrayrefs and JSON objects become Perl hashrefs. C<true> becomes
+-C<1>, C<false> becomes C<0> and C<null> becomes C<undef>.
++Perl arrayrefs and JSON objects become Perl hashrefs.
++C<true> becomes JSON::XS::true (equals 1 numerically and as a string),
++C<false> becomes JSON::XS::false (equals 0) and C<null> becomes C<undef>.
+
+ =item ($perl_scalar, $characters) = $json->decode_prefix ($json_text)
+
Modified: trunk/libjson-xs-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libjson-xs-perl/debian/rules?rev=55100&op=diff
==============================================================================
--- trunk/libjson-xs-perl/debian/rules (original)
+++ trunk/libjson-xs-perl/debian/rules Tue Mar 30 09:40:21 2010
@@ -17,7 +17,7 @@
endif
%:
- dh $@
+ dh --with quilt $@
override_dh_auto_configure:
dh_auto_configure -- OPTIMIZE="$(CFLAGS)"
More information about the Pkg-perl-cvs-commits
mailing list