Permalink
Browse files

Released version 0.30

  • Loading branch information...
ingydotnet committed Apr 3, 2013
1 parent 2b6bec7 commit d2e7347184dfdbd15204edd8091a5a719aeb123f
Showing with 17 additions and 1 deletion.
  1. +7 −0 Changes
  2. +9 −0 README
  3. +1 −1 lib/boolean.pm
View
@@ -1,4 +1,11 @@
---
+version: 0.30
+date: Wed Apr 3 15:24:44 PDT 2013
+changes:
+- Fix https://rt.cpan.org/Public/Bug/Display.html?id=84398
+- chip++
+- Documented JSON support.
+---
version: 0.29
date: Mon Apr 1 21:48:31 PDT 2013
changes:
View
9 README
@@ -117,6 +117,15 @@ USE OPTIONS
"-truth" can be used with the other import options.
+JSON SUPPORT
+ JSON.pm will encode Perl data with boolean.pm values correctly if you
+ use the "convert_blessed" option:
+
+ use JSON;
+ use boolean -truth;
+ my $json = JSON->new->convert_blessed;
+ say $json->encode({false => (0 == 1)}); # Says: '{"false":false}',
+
AUTHOR
Ingy döt Net <ingy@cpan.org>
View
@@ -2,7 +2,7 @@ use 5.005003;
package boolean;
use strict; use warnings;
-$boolean::VERSION = '0.29';
+$boolean::VERSION = '0.30';
my ($true, $false);

0 comments on commit d2e7347

Please sign in to comment.