diff options
author | abs <abs@pkgsrc.org> | 2014-02-06 12:34:51 +0000 |
---|---|---|
committer | abs <abs@pkgsrc.org> | 2014-02-06 12:34:51 +0000 |
commit | 1ffa8c9fb703d79871b7af2c8f67ba692633eb2e (patch) | |
tree | 90e4c6c1c990df183a0ee8fb09d767691be84394 /databases/ruby-dm-rails | |
parent | 1f5017f35f1a8facb9842e06d3459b1aee678c72 (diff) | |
download | pkgsrc-1ffa8c9fb703d79871b7af2c8f67ba692633eb2e.tar.gz |
Updated converters/p5-JSON to 2.90
## JSON version 2.9 #####################################################
CAUTION!!!
INCOMPATIBLE CHANGE
JSON.pm had patched JSON::XS::Boolean and JSON::PP::Boolean internally
on loading time for making these modules inherit JSON::Boolean.
But since JSON::XS v3.0 it use Types::Serialiser as boolean class.
Then now JSON.pm breaks boolean classe overload features and
-support_by_pp if JSON::XS v3.0 or later is installed.
JSON::true and JSON::false returned JSON::Boolean objects.
For workaround, they return JSON::PP::Boolean objects in this version.
isa_ok(JSON::true, 'JSON::PP::Boolean');
And it discards a feature:
ok(JSON::true eq 'true');
In other word, JSON::PP::Boolean overload numeric only.
ok( JSON::true == 1 );
##########################################################################
2.90 Wed Oct 30 19:48:43 2013
**** Please see to the headline in this file. ****
- workaround for JSON::XS version 3.0 or later installed case.
* the objects returned by JSON::true/false are JSON::PP::Boolean.
* they do not overload 'eq'.
- changed test cases for this patch.
t/e02_bool.t
t/e03_bool2.t
t/x17_strange_overload.t
t/xe02_bool.t
t/xe03_bool2.t
t/xe12_boolean.t
**** Please see to the headline in this file. ****
2.61 Thu Oct 17 19:38:55 2013
- fixed return/or in _incr_parse
reported and patched by MAUKE, sprout and rjbs
https://rt.cpan.org/Public/Bug/Display.html?id=86948
2.60
- $json->is_xs, $json->is_pp was completely broken.
pointed by rt#75867 and emceelam
Diffstat (limited to 'databases/ruby-dm-rails')
0 files changed, 0 insertions, 0 deletions