Hello community, here is the log from the commit of package perl-JSON-Any for openSUSE:Factory checked in at 2013-11-26 19:25:45 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-JSON-Any (Old) and /work/SRC/openSUSE:Factory/.perl-JSON-Any.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-JSON-Any" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-JSON-Any/perl-JSON-Any.changes 2013-07-30 12:05:50.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.perl-JSON-Any.new/perl-JSON-Any.changes 2013-11-26 19:25:45.000000000 +0100 @@ -1,0 +2,23 @@ +Tue Nov 26 07:34:04 UTC 2013 - [email protected] + +- updated to 1.32 + Include dep Test::Requires in dist.ini + bump minimum version requirement for JSON.pm + + fix the tests to properly exclude JSON::XS + + A bug came up where JSON::XS and JSON.pm had incompatible revisions + but installed just fine. This was a problem because JSON.pm will + silently load JSON::XS in the background and caused explosions. + + We now try to exclude JSON::XS except in the case we're actually + testing it directly. + + Also we've removed some of the tests for JSON::Syck as it's been + deprecated. We also add in tests for Cpanel::JSON::XS which got + missed when it was added as a choice. + + JSON::XS 3.x is incompatible with JSON.pm < 2.90 in the exact way + that JSON::Any uses things in the test suite. + +------------------------------------------------------------------- Old: ---- JSON-Any-1.30.tar.gz New: ---- JSON-Any-1.32.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-JSON-Any.spec ++++++ --- /var/tmp/diff_new_pack.NO9b4K/_old 2013-11-26 19:25:46.000000000 +0100 +++ /var/tmp/diff_new_pack.NO9b4K/_new 2013-11-26 19:25:46.000000000 +0100 @@ -17,7 +17,7 @@ Name: perl-JSON-Any -Version: 1.30 +Version: 1.32 Release: 0 %define cpan_name JSON-Any Summary: Wrapper Class for the various JSON classes. @@ -29,13 +29,14 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros -Requires: perl -Requires: perl-JSON -Requires: perl-YAML-Syck -BuildRequires: perl(JSON) -BuildRequires: perl(JSON::XS) -Requires: perl(JSON) -Requires: perl(JSON::XS) +BuildRequires: perl(Test::Requires) +BuildRequires: perl(Test::Without::Module) >= 0.17 +#BuildRequires: perl(Devel::StringInfo) +#BuildRequires: perl(Dist::Zilla::Plugin::MakeMaker::Awesome) +#BuildRequires: perl(JSON) +#BuildRequires: perl(JSON::XS) +#BuildRequires: perl(Moose) +#BuildRequires: perl(namespace::autoclean) %{perl_requires} %description @@ -59,6 +60,6 @@ %files -f %{name}.files %defattr(-,root,root,755) -%doc Changes LICENSE README weaver.ini +%doc CHANGES LICENSE README weaver.ini xt %changelog ++++++ JSON-Any-1.30.tar.gz -> JSON-Any-1.32.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Any-1.30/CHANGES new/JSON-Any-1.32/CHANGES --- old/JSON-Any-1.30/CHANGES 1970-01-01 01:00:00.000000000 +0100 +++ new/JSON-Any-1.32/CHANGES 2013-11-07 16:56:36.000000000 +0100 @@ -0,0 +1,811 @@ +================================================== +Changes from 2012-11-07 00:00:00 +0000 to present. +================================================== + +----------------------------------------- +version 1.32 at 2013-11-07 15:56:33 +0000 +----------------------------------------- + + Change: e1fbae5ccddc7becce7b1bcff1a8ac99075bc136 + Author: Chris Prather <[email protected]> + Date : 2013-11-07 07:52:41 +0000 + + Merge pull request #3 from wolfsage/t_fix_deps + + Include dep Test::Requires in dist.ini + + Change: 0880faaaf3c8194acc3a70a387d94ff69633b333 + Author: Matthew Horsfall <[email protected]> + Date : 2013-11-07 10:51:02 +0000 + + Include dep Test::Requires in dist.ini + +----------------------------------------- +version 1.31 at 2013-11-06 21:46:52 +0000 +----------------------------------------- + + Change: 87ce2b21a27c984d71ec9b2a94847ae99d48445b + Author: Chris Prather <[email protected]> + Date : 2013-11-06 21:46:52 +0000 + + ignore a few more directories + + Change: d585c4cdccb59c96d7a3ab78e1881edd7e4d4e59 + Author: Chris Prather <[email protected]> + Date : 2013-11-06 21:44:04 +0000 + + bump minimum version requirement for JSON.pm + + Change: f5200618645fc09d27856b921bc9be43cf35b039 + Author: Chris Prather <[email protected]> + Date : 2013-11-06 21:41:22 +0000 + + fix the tests to properly exclude JSON::XS + + A bug came up where JSON::XS and JSON.pm had incompatible revisions + but installed just fine. This was a problem because JSON.pm will + silently load JSON::XS in the background and caused explosions. + + We now try to exclude JSON::XS except in the case we're actually + testing it directly. + + Also we've removed some of the tests for JSON::Syck as it's been + deprecated. We also add in tests for Cpanel::JSON::XS which got + missed when it was added as a choice. + + Change: 14744d6d0cce26bc867638ec5aaea9594c292efe + Author: Chris Prather <[email protected]> + Date : 2013-10-31 22:45:19 +0000 + + add a todo note for ether (or whomever) to pick up before I get back + to it + + Change: 360853b664817a0ed0e4b473dfbf1dbf1e56dd77 + Author: Chris Prather <[email protected]> + Date : 2013-10-31 17:51:41 +0000 + + test without JSON::XS and add a compat note + + JSON::XS 3.x is incompatible with JSON.pm < 2.90 in the exact way + that JSON::Any uses things in the test suite. + + So we set the tests to ignore JSON::XS (using Test::Without::Module) + thanks to ether for suggesting it. + + And we add a note about the situation to the POD so that others can + figure out what is going on. + + Change: 756c6ac460c92d425d970e113465ce1e9a6b40a9 + Author: Chris Prather <[email protected]> + Date : 2013-10-31 15:29:16 +0000 + + test for more accpetable backends on install + + We have added more acceptable backends (Cpanel::JSON::XS and + JSON::PP) but we didn't update the tests during installation. + + Change: cc51c101a1aa0d45573d25cd6bad3c9eb07006f5 + Author: Chris Prather <[email protected]> + Date : 2013-10-31 14:59:45 +0000 + + Pull Changes from Git and prune local/ + + Migrating out Changes file to ChangesFromGit so I won't have to + remember to update it manually. If people desperately need the old + commit messages broken out by release I can go back and tag the + releases based on the old changes file. + + Additional to prevent myself from pulling a "perigrin" as rjbs put + it, I've added a directive to prune Carton stile local/ directories. + + Change: ed357ecabed9ede1cfffb021f5c922a4bcc5c828 + Author: Chris Prather <[email protected]> + Date : 2013-10-30 06:19:58 +0000 + + Merge pull request #2 from ilmari/json-xs-3 + + Add support for JSON::XS version 3 + + Change: 6bd1def2e2fddfd79aff4b36e2f05519bc89366e + Author: Dagfinn Ilmari Mannsåker <[email protected]> + Date : 2013-10-30 11:19:24 +0000 + + Add support for JSON::XS version 3 + + For added future robustness, skip modules we manage to load but don't + know how to handle. + + Change: 75a29b8203bc430481b5afed2a08a78e52edc037 + Author: Dagfinn Ilmari Mannsåker <[email protected]> + Date : 2013-10-30 11:15:55 +0000 + + Test string escaping with JSON:PP as well + + Change: f8fb91cf5911ea5022883a34d69f362bbf5f59a4 + Author: Dagfinn Ilmari Mannsåker <[email protected]> + Date : 2013-10-30 11:15:55 +0000 + + Fix no_plan usage + +----------------------------------------- +version 1.30 at 2013-06-15 20:42:55 +0000 +----------------------------------------- + + Change: 9855652fcb7cfcb6c66a846d0cb6b124004239d3 + Author: Chris Prather <[email protected]> + Date : 2013-06-15 16:42:55 +0000 + + clean up and modernize the dist for 1.30 release + + Change: d324166b5e6b38625bc13e5cba4116365305dad5 + Author: Chris Prather <[email protected]> + Date : 2013-06-15 16:17:02 +0000 + + tidy up the code + + Change: b20a5d160371ebec9c90f36a942b79fabd44aaf2 + Author: Chris Prather <[email protected]> + Date : 2013-06-15 16:16:11 +0000 + + add Cpanel::JSON::XS support + + Change: 84157525e8684ed812e7007484ad208da2630f48 + Author: Chris Prather <[email protected]> + Date : 2013-06-15 16:14:59 +0000 + + add support for JSON::PP + + Change: edbbf5fac3effd77e89908c37bd569f6760fc3f4 + Author: Chris Prather <[email protected]> + Date : 2011-09-17 20:29:55 +0000 + + have dzil manage our version numbers + + Change: 34965f9f6daecad7b57c4e2898cdc34a436d3674 + Author: Chris Prather <[email protected]> + Date : 2011-09-17 20:19:57 +0000 + + rework to use a similar process as Any::Moose so that the toolchain + bits work properly + + Change: 46df74c03caed6f8226ddf6953f476f88831b753 + Author: Chris Prather <[email protected]> + Date : 2011-09-17 20:18:49 +0000 + + update version and changes for release + + Change: 90acf0e8e34b949db9d0af1a3655e833efcc7e81 + Author: Chris Prather <[email protected]> + Date : 2011-06-07 19:58:30 +0000 + + fix for version number collision + + Change: c4fc946bf27599fd3c4312a93d6485df0ea4102d + Author: Chris Prather <[email protected]> + Date : 2011-06-07 19:54:26 +0000 + + fix for RT#68690 + + Change: 96b6d3478be74f64d23f7886aa553cb4aa9184fa + Author: Chris Prather <[email protected]> + Date : 2011-05-09 13:22:06 +0000 + + move podspell into xt/ + + Change: b3d26873cf5dd0b4930ecb7f14edea2edbeb10f6 + Author: Chris Prather <[email protected]> + Date : 2011-04-08 08:45:00 +0000 + + update README + + Change: 20ad0e27335ef6ee2d9507f0fa44c8c6f6149b01 + Author: Chris Prather <[email protected]> + Date : 2011-04-08 08:43:37 +0000 + + add changes and bump version for 1.27 release + + Change: b7d9ffbd322f077baeb08c71709acc33eba10687 + Author: Chris Prather <[email protected]> + Date : 2011-04-08 08:43:37 +0000 + + add back auto_install so feature works again + + Change: ebc0c4545b328b0efc15c43b6b8f235d7ea5373f + Author: Justin Hunter <[email protected]> + Date : 2011-03-30 23:48:26 +0000 + + fix typos and add a test to catch them + + Change: 182de415f9ffbdadf00dcb31fd668673f87170e9 + Author: Chris Prather <[email protected]> + Date : 2011-03-30 05:42:49 +0000 + + update README + + Change: bc139296bba835c7fba9aa517f47150cf5940ced + Author: Chris Prather <[email protected]> + Date : 2011-03-30 05:40:18 +0000 + + add Deprecation notice + + Change: a603c0f9ffc40a1a72b622b30f8deb44b5048e7a + Author: Chris Prather <[email protected]> + Date : 2010-11-16 16:08:41 +0000 + + get set for 1.25 release + + Change: 847b61fb00726a42e56528fbc44be3735f2c532f + Author: Todd Rinaldo <[email protected]> + Date : 2010-11-16 12:04:56 +0000 + + Fix for Perl 5.13 deprecation of 'for qw() {}' + http://search.cpan.org/~miyagawa/perl-5.13.6/pod/perl5135delta.pod#Us + e_of_qw(...)_as_parentheses + + Change: 1378475ca0ee3eb014c061a88348107e3cd9ac23 + Author: Chris Prather <[email protected]> + Date : 2010-10-08 11:53:12 +0000 + + update for 0.24, fixing the build from where MI changed underneath me + + Change: cd4804d400b0bb1bcfb0f5ebbf1a6e2594327f7c + Author: Chris Prather <[email protected]> + Date : 2010-10-07 16:21:07 +0000 + + update Changes and Version + + Change: dd4d6d2eacf04bb42507b6a3284cdd7f4e10e289 + Author: Justin Hunter <[email protected]> + Date : 2010-10-07 12:58:51 +0000 + + add support for JSON.pm v1 + + Change: 9b5aa0e1d5bdb5260304988bd6f9ed6530ba74df + Author: Chris Prather <[email protected]> + Date : 2009-10-12 22:33:12 +0000 + + README apparently updated + + Change: 469a038a7b6ab6872ce8cadf076b1fafbb3d047b + Author: Chris Prather <[email protected]> + Date : 2009-10-12 22:28:03 +0000 + + clean up for 1.22 release + + Change: 76e404897310a8adfe5bcd1ccb33c284ca201566 + Author: Tomas Doran <[email protected]> + Date : 2009-10-12 23:38:08 +0000 + + Tidy up to use a regex + + Change: b285ce5339f21648f0e46f57f56caee1b367b2c1 + Author: Tomas Doran <[email protected]> + Date : 2009-10-12 23:32:25 +0000 + + I guess just sucking this shit up is the best bet.. And should + probably be done in more places, <sigh>.. Better solutions welcome + + Change: 9c031c26f48615a255e233ac55960d9644574b12 + Author: Tomas Doran <[email protected]> + Date : 2009-10-12 23:29:50 +0000 + + Add .gitignore + + Change: 72c529809ddeb8eb2f131ea54a27deade09fb0fa + Author: Tomas Doran <[email protected]> + Date : 2009-10-12 23:29:11 +0000 + + Updated README + + Change: 2532659f2af87bb204c6682b5c904dc19572af28 + Author: Tomas Doran <[email protected]> + Date : 2009-10-12 23:29:00 +0000 + + Automagically regenerate README + + Change: 17ad676673fbdce58c6076bcf1170db8534c7e60 + Author: Chris Prather <[email protected]> + Date : 2009-07-03 13:59:17 +0000 + + clean up Changes + + Change: 9f7455d77089701c834a0acd1858243f2022a122 + Author: Chris Prather <[email protected]> + Date : 2009-07-03 13:51:54 +0000 + + version number bump get ready for release + + Change: 928d82e8b782351a73e96c67d19c18ae037131f4 + Author: Chris Prather <[email protected]> + Date : 2009-07-03 13:44:46 +0000 + + update the skip text a little + + Change: c122ca0bfd837455a2d3fe55710192aeceb8c94a + Author: Marc Mims <[email protected]> + Date : 2009-07-03 10:26:12 +0000 + + Fixed: skip tests when backend is unavailable + + Change: d8b3c007a5c2f12858561161a49a9dbe933d226a + Author: Marc Mims <[email protected]> + Date : 2009-07-03 09:39:07 +0000 + + Removed require/import of utf8 since that isn't necessary or advised + + The utf8:: methods used by JSON::Any are available without requiring + and importing utf8. See 'perldoc utf8' which advises against + using/requiring utf8. That should only be done if the source code in + the current scope includes unicode characters. That's no the case + here. + + Change: f68c3882ee03473d78e7f33ab19edde2f8550cdf + Author: Marc Mims <[email protected]> + Date : 2009-07-03 09:39:01 +0000 + + Added a workaround for handlers that don't parse bare true/false + values + + Change: de45f0a3de6746e6094bbf519326d6aa6b8e34cc + Author: Marc Mims <[email protected]> + Date : 2009-07-03 09:38:47 +0000 + + Updated get_true/get_false for JSON::XS + + The required version of XS has boolean support and provides + true/false methods. Using them instead of raw scalar refs, now. + + Change: ed17741620addd8100e7dcf09ec6da994074aa31 + Author: Marc Mims <[email protected]> + Date : 2009-07-03 09:23:55 +0000 + + Added tets for boolean support + + Change: 7bf4570ee53ed519b120b0d7b0fabce045aa0943 + Author: Chris Prather <[email protected]> + Date : 2009-07-02 17:19:28 +0000 + + clean up packaging for release + + Change: 4060539a57e44109f64208b6f69e7224b0e9df8f + Author: Chris Prather <[email protected]> + Date : 2009-07-02 17:05:12 +0000 + + add deprecation feature for JSON::Syck to close the Test::JSON bug + + Change: e9b163eb0b24ff65b0de83f118d0b52a1d2c111c + Author: Marc Mims <[email protected]> + Date : 2009-07-01 12:13:44 +0000 + + Better error message when a handler can't be found + + This should resolve the confusion that lead to: + http://rt.cpan.org/Public/Bug/Display.html?id=32957 + + Change: ddb8a55fde900e7b72a345030beccf3ed518678a + Author: Chris Prather <[email protected]> + Date : 2009-05-04 13:23:36 +0000 + + drop the dep down to 5.008 + + Change: 83da672496a5c594a662361799657c89fe4a2654 + Author: Chris Prather <[email protected]> + Date : 2009-05-04 11:29:10 +0000 + + update version numbers to be consistent + + Change: 2203ea50059989b00ae15ab63b242e337cbb47a9 + Author: perigrin <perigrin@daca5766-e62f-0410-9ddd-e5e43faa6270> + Date : 2009-01-15 17:17:00 +0000 + + make the Syck test a TODO test so we can release + + Change: 536a67f298a34f3d1824e10cbb4ab89841821ef6 + Author: perigrin <perigrin@daca5766-e62f-0410-9ddd-e5e43faa6270> + Date : 2009-01-15 17:16:55 +0000 + + remove JSON::PC from the tests + + Change: 1c89db3a017fb1543235186063c340aa062ad67f + Author: marc.mims <marc.mims@daca5766-e62f-0410-9ddd-e5e43faa6270> + Date : 2009-01-15 01:09:31 +0000 + + Added string escape tests. + + Change: 2fd0666304c829811f0a2e612ab68844ef0dfa05 + Author: perigrin <perigrin@daca5766-e62f-0410-9ddd-e5e43faa6270> + Date : 2009-01-14 20:22:43 +0000 + + Document changes, bump version number, and update Makefile + + Change: 880d76f5b6bb519efffd4bc3a5c8edb945770b33 + Author: perigrin <perigrin@daca5766-e62f-0410-9ddd-e5e43faa6270> + Date : 2009-01-14 20:08:03 +0000 + + make Syck deprecated and optional + + Change: bfa89d0cb10677f900e2f1427459e2d9f49b5cdd + Author: perigrin <perigrin@daca5766-e62f-0410-9ddd-e5e43faa6270> + Date : 2008-11-13 02:15:41 +0000 + + missed a ref to JSON::PC and add MANIFEST.SKIP + + Change: 030aa49d51752959548ac7fe46427956caa7846f + Author: perigrin <perigrin@daca5766-e62f-0410-9ddd-e5e43faa6270> + Date : 2008-11-13 02:08:30 +0000 + + Remove JSON::PC and bump version number + + Change: 1fc51f545228af50aedf35934370c2f878807197 + Author: perigrin <perigrin@daca5766-e62f-0410-9ddd-e5e43faa6270> + Date : 2008-07-09 04:26:20 +0000 + + remove +x on Changes + + Change: 12e2dbc25635eabcf43661527a88b1eba9f15ee4 + Author: [email protected] + <[email protected]@daca5766-e62f-0410-9ddd-e5e43faa6270> + Date : 2008-07-08 10:42:18 +0000 + + added skipping of some bits + + Change: 435e7fb7b719d0f18fc8cb90ac7bf4835e485eda + Author: [email protected] + <[email protected]@daca5766-e62f-0410-9ddd-e5e43faa6270> + Date : 2008-07-05 15:04:13 +0000 + + Added two simple methods to get to the values that the underlying + modules use for true/false + + Change: 644abfd97e0406c6df8440d7eca55497b781ca10 + Author: [email protected] + <[email protected]@daca5766-e62f-0410-9ddd-e5e43faa6270> + Date : 2008-07-05 14:36:27 +0000 + + Added two simple methods to get to the values that the underlying + modules use for true/false + + Change: 8bfd48c1afa8b4c8959b2d875be4550d1a0817eb + Author: [email protected] + <[email protected]@daca5766-e62f-0410-9ddd-e5e43faa6270> + Date : 2008-07-05 14:08:02 +0000 + + supporting allow_blessed, turned out to be a LOT easier than expected + + Change: e92b780b7a90f279426a9e014478f1f8d1877c0e + Author: perigrin <perigrin@daca5766-e62f-0410-9ddd-e5e43faa6270> + Date : 2008-02-14 00:16:22 +0000 + + * JSON::Any now compatible with both versions of JSON::XS (Simon + Wistow) * Document that calling 'use JSON::Any ();' is a bad idea * + Make JSON.pm required unless a supported JSON package is already + installed + + Change: 53d0a376f547c59ccfd5c84d5f6740be4a8f5bba + Author: perigrin <perigrin@daca5766-e62f-0410-9ddd-e5e43faa6270> + Date : 2008-01-28 16:19:56 +0000 + + version number bump + + Change: ffcda91aaea1038a40925073d9970543a4c95d94 + Author: perigrin <perigrin@daca5766-e62f-0410-9ddd-e5e43faa6270> + Date : 2008-01-14 19:41:35 +0000 + + fix erroneous test spotted by jrockway + + Change: a6ed3a8ecbe8c674927641b501368d461164e942 + Author: perigrin <perigrin@daca5766-e62f-0410-9ddd-e5e43faa6270> + Date : 2008-01-02 20:15:56 +0000 + + add a note about compatibility + + Change: f2102ff4f5bc65a57a52be077d9e6faaad56bf28 + Author: perigrin <perigrin@daca5766-e62f-0410-9ddd-e5e43faa6270> + Date : 2008-01-02 20:15:07 +0000 + + from the Changes: + + 1.15 2008-01-02 + + * Update the config params for JSON and JSON/XS configuration + + * Update JSON handler to always pass in the -support_by_pp option + + if you don't want support_by_pp then don't use JSON.pm ... + + Change: 4d495a6e6899fec001f826f09e6c2754e583e0e0 + Author: perigrin <perigrin@daca5766-e62f-0410-9ddd-e5e43faa6270> + Date : 2008-01-01 20:40:36 +0000 + + at mst's strong reccomendation (::grin::) test use_ok in the load + test if any package is installed then use_ok to make sure JSON::Any + loads okay ... this is ugly and verbose but does protect us better + and was the right idea + + Change: e08e2f933e3d3e5723529b7b44e0d33db349bc85 + Author: perigrin <perigrin@daca5766-e62f-0410-9ddd-e5e43faa6270> + Date : 2008-01-01 20:12:02 +0000 + + fix the tests so that they'll skip if you don't have a JSON package + installed (despite the reccomendations from Makefile.PL) ... I'M + LOOKING AT YOU DAVID CANTRELL'S SMOKER! + + Change: 38803b561a25733486bb49b07dc398347af605b1 + Author: perigrin <perigrin@daca5766-e62f-0410-9ddd-e5e43faa6270> + Date : 2007-12-20 17:25:20 +0000 + + version number bump and minor makefile changes + + Change: 161e16bc866bc4bf7e2601834c249e8599afed97 + Author: perigrin <perigrin@daca5766-e62f-0410-9ddd-e5e43faa6270> + Date : 2007-12-20 17:16:25 +0000 + + fix for latest JSON/JSON::XS + + Change: b7333f2ba759346ebcadd1478b9ad7ef9820812a + Author: perigrin <perigrin@daca5766-e62f-0410-9ddd-e5e43faa6270> + Date : 2007-11-07 00:27:58 +0000 + + fix bug #30509 + + Change: 6f5cb8923221ef888a4365ba39b1b8097296288c + Author: perigrin <perigrin@daca5766-e62f-0410-9ddd-e5e43faa6270> + Date : 2007-10-22 11:41:38 +0000 + + fix issues with tests and setup 1.12 release so we can fix our tests + + Change: cca1dd58b81327c5d740d17a612a71f3724a4c50 + Author: perigrin <perigrin@daca5766-e62f-0410-9ddd-e5e43faa6270> + Date : 2007-10-18 16:33:28 +0000 + + version number bump + + Change: 6c3b22d101020834fb0484d590c36be84157a4d6 + Author: perigrin <perigrin@daca5766-e62f-0410-9ddd-e5e43faa6270> + Date : 2007-10-18 16:30:41 +0000 + + require 5.8.3 die if trying to set uft8 on JSON::Syck until someone + tells me that it'll succeed + + Change: f2fa9944b4824035239bd9b4cfb3b6f9d47ceab0 + Author: perigrin <perigrin@daca5766-e62f-0410-9ddd-e5e43faa6270> + Date : 2007-10-17 23:34:23 +0000 + + fix perl -MJSON::Any=Syck -e 'JSON::Any->new->objToJson({ foo => 1 + })' No JSON::Syck Object created! at -e line 1 + + Change: 168f21285331d37c71324758ce1df89ee6ba9d76 + Author: [email protected] + <[email protected]@daca5766-e62f-0410-9ddd-e5e43faa6270> + Date : 2007-10-10 14:59:40 +0000 + + utf8 tests for JSON::XS + + Change: 98ea22eef02ee23f8ac4ec9fc984be3661e4a7f4 + Author: perigrin <perigrin@daca5766-e62f-0410-9ddd-e5e43faa6270> + Date : 2007-10-10 02:28:20 +0000 + + 0.09 release + + Change: 07a3099c9b029afea58a034e5d10955d1456afcd + Author: [email protected] + <[email protected]@daca5766-e62f-0410-9ddd-e5e43faa6270> + Date : 2007-10-09 23:40:01 +0000 + + Document the UTF8 change + + Change: e670c04c3e0229c00ebc7143c52b82bcd6dfd23f + Author: [email protected] + <[email protected]@daca5766-e62f-0410-9ddd-e5e43faa6270> + Date : 2007-10-09 23:33:50 +0000 + + consistently emit utf8 json if utf8 is enabled. introduce + $JSON::Any::UTF8 to control this behavior in non OO mode + + Change: 59bb09ff399b4e9daf958f0000ea5b356ff8d27b + Author: [email protected] + <[email protected]@daca5766-e62f-0410-9ddd-e5e43faa6270> + Date : 2007-10-09 23:32:35 +0000 + + no strict 'refs' is unnecessary + + Change: a3fcaf474d92a198d14e7657693dac7682f3663a + Author: perigrin <perigrin@daca5766-e62f-0410-9ddd-e5e43faa6270> + Date : 2007-10-09 23:28:17 +0000 + + remove MANIFEST since we can generate it + + Change: 87f18c14f884aefd2f4c7743b1308ce2b9436f98 + Author: perigrin <perigrin@daca5766-e62f-0410-9ddd-e5e43faa6270> + Date : 2007-10-09 23:25:52 +0000 + + remove inc + + Change: 9bb4f41d9f2ace8b374fb15201efc418b146b543 + Author: perigrin <perigrin@daca5766-e62f-0410-9ddd-e5e43faa6270> + Date : 2007-10-05 05:02:11 +0000 + + change things to try to get JSON::XS to play nice with UTF8 + + Change: fbf2fa89a765cce630d61114f8e250c054ec0169 + Author: perigrin <perigrin@daca5766-e62f-0410-9ddd-e5e43faa6270> + Date : 2007-10-05 03:21:52 +0000 + + fix the manifest + + Change: 9f49c1831abf463f998d99e801f68740931e137f + Author: [email protected] + <[email protected]@daca5766-e62f-0410-9ddd-e5e43faa6270> + Date : 2007-10-05 02:55:19 +0000 + + don't send utf8 json sources to JSON::XS + + Change: dacfb41d6f8fa149c852215db51f0f036b14d911 + Author: [email protected] + <[email protected]@daca5766-e62f-0410-9ddd-e5e43faa6270> + Date : 2007-10-05 02:54:39 +0000 + + expand tabs + + Change: 0899906b9cf1201d746ba7bfded62ff4969a197b + Author: perigrin <perigrin@daca5766-e62f-0410-9ddd-e5e43faa6270> + Date : 2007-10-05 02:36:24 +0000 + + add more history + + Change: 53174153531a5d6050fc71d3ed6fc7d3b5f93c81 + Author: perigrin <perigrin@daca5766-e62f-0410-9ddd-e5e43faa6270> + Date : 2007-10-05 02:31:22 +0000 + + add in changes + + Change: 2ce3b515e1bbf178bbaba02033ab22fc5c40c75b + Author: perigrin <perigrin@daca5766-e62f-0410-9ddd-e5e43faa6270> + Date : 2007-10-05 02:26:46 +0000 + + cleanup the repo + + Change: 7a8aef45dd3bd046a24208e6876cacb5f0f7bae8 + Author: [email protected] + <[email protected]@daca5766-e62f-0410-9ddd-e5e43faa6270> + Date : 2007-10-05 02:23:55 +0000 + + fix the exiting sub via next warning + + Change: cb0eb8ed30e218ef1272d6b9a0b1a80a67bc65aa + Author: [email protected] + <[email protected]@daca5766-e62f-0410-9ddd-e5e43faa6270> + Date : 2007-10-05 02:23:21 +0000 + + fix the exiting sub via next warning + + Change: 5d97a50e23aae459d2e15256a1d5f67b4c1af04d + Author: [email protected] + <[email protected]@daca5766-e62f-0410-9ddd-e5e43faa6270> + Date : 2007-10-05 02:12:09 +0000 + + also test for is_utf8() + + Change: d5d255b374864e21f0046fae43f66b2cd9f6a0db + Author: [email protected] + <[email protected]@daca5766-e62f-0410-9ddd-e5e43faa6270> + Date : 2007-10-05 02:08:46 +0000 + + improve unicode test + + Change: b73818ce9b2757b43f86ceca73b97a71eb82361e + Author: [email protected] + <[email protected]@daca5766-e62f-0410-9ddd-e5e43faa6270> + Date : 2007-10-05 01:54:40 +0000 + + add utf8 support for JSON::{Converter,Parser} + + Change: 58952c375d444ff567250d57d0c125e8fa53ba9d + Author: [email protected] + <[email protected]@daca5766-e62f-0410-9ddd-e5e43faa6270> + Date : 2007-10-05 01:52:17 +0000 + + Add a test for unicode strings + + Change: e087b9c5910f9a12d4e2080027a2167afb5b93f2 + Author: perigrin <perigrin@daca5766-e62f-0410-9ddd-e5e43faa6270> + Date : 2007-05-17 19:38:04 +0000 + + Fix JSON.pm backend tests + + Change: d719e73893014f4270e45f0b97c2d8703274fcbb + Author: perigrin <perigrin@daca5766-e62f-0410-9ddd-e5e43faa6270> + Date : 2007-05-10 17:35:59 +0000 + + fix issues with JSON::XS being pedantic about how it's + methods/functions are called + + Change: 3631b49f3f58f79d11a6059d888de597a481e0ed + Author: perigrin <perigrin@daca5766-e62f-0410-9ddd-e5e43faa6270> + Date : 2007-05-10 03:46:46 +0000 + + added a carp requirement version number bump + + Change: ccf7c0dfe2b74830893cb828a35020a4597abc13 + Author: perigrin <perigrin@daca5766-e62f-0410-9ddd-e5e43faa6270> + Date : 2007-05-10 03:42:19 +0000 + + changed Makefile.PL to Module::Install + + Change: dadcd944569673107b9c02d7a84e0f72cec24227 + Author: perigrin <perigrin@daca5766-e62f-0410-9ddd-e5e43faa6270> + Date : 2007-05-09 23:01:48 +0000 + + helps if I test 04-ENV.t against the code it was designed for + + Change: 2ecd3ba748a931566a438a338778e7b92d0d7508 + Author: perigrin <perigrin@daca5766-e62f-0410-9ddd-e5e43faa6270> + Date : 2007-05-09 22:27:39 +0000 + + skip all 04-ENV.t until I get it working + + Change: 3eaefa86b23f1ad1af09ead208439c49d4dc656b + Author: perigrin <perigrin@daca5766-e62f-0410-9ddd-e5e43faa6270> + Date : 2007-05-09 22:24:57 +0000 + + fixing tests + + Change: a3791eaec63f2d820c495276c14328fec80dfc4f + Author: perigrin <perigrin@daca5766-e62f-0410-9ddd-e5e43faa6270> + Date : 2007-05-09 22:13:39 +0000 + + change to skip_all based skippage + + Change: 51984d7b44d9a7e267b76afd47a44312fec27791 + Author: perigrin <perigrin@daca5766-e62f-0410-9ddd-e5e43faa6270> + Date : 2007-05-09 17:02:13 +0000 + + add example directory + + Change: 6883f354dbaa47d649451f234424b299ffcab5af + Author: perigrin <perigrin@daca5766-e62f-0410-9ddd-e5e43faa6270> + Date : 2007-05-09 17:00:26 +0000 + + update META.yaml + + Change: 5f51390798f1cbfa0f3cbabe5878b2099158e910 + Author: perigrin <perigrin@daca5766-e62f-0410-9ddd-e5e43faa6270> + Date : 2007-05-09 16:52:22 +0000 + + pod updates and version bump + + Change: dfea1778311fd9848398a88cdcddeaeed9d2acfd + Author: perigrin <perigrin@daca5766-e62f-0410-9ddd-e5e43faa6270> + Date : 2007-05-09 16:44:51 +0000 + + - cleaned up t/04-ENV.t to not require JSON::XS anymore - fixed split + on uninitalized value error - cleaned up JSON-XS tests a bit - added + 04-ENV.t to MANIFEST + + Change: 1e8e614af085df0f88780098316d76ddf6a64ed7 + Author: perigrin <perigrin@daca5766-e62f-0410-9ddd-e5e43faa6270> + Date : 2007-05-09 16:20:46 +0000 + + last files cleaned + + Change: 9fb8bb4bdd25d7f7f899a2da0aff92fb7055e349 + Author: perigrin <perigrin@daca5766-e62f-0410-9ddd-e5e43faa6270> + Date : 2007-05-09 16:19:57 +0000 + + removing blib (more cleaning) + + Change: ecd7f42b2fe3ba3ae6aed4fdddc1e59a89112881 + Author: perigrin <perigrin@daca5766-e62f-0410-9ddd-e5e43faa6270> + Date : 2007-05-09 16:18:40 +0000 + + cleaning the repo a bit + + Change: 11afda1509572878210a9a4ee81785712ea7d8c9 + Author: perigrin <perigrin@daca5766-e62f-0410-9ddd-e5e43faa6270> + Date : 2007-05-09 16:15:31 +0000 + + checking in JSON-Any + +================ +End of releases. +================ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Any-1.30/Changes new/JSON-Any-1.32/Changes --- old/JSON-Any-1.30/Changes 2013-06-15 22:43:03.000000000 +0200 +++ new/JSON-Any-1.32/Changes 1970-01-01 01:00:00.000000000 +0100 @@ -1,112 +0,0 @@ -Revision history for JSON-Any - -1.30 2013-06-15 - * Add support for Cpanel::JSON::XS and JSON::PP. Fixes RT#85424 & RT#67967. (perigrin) - * Fix documentation bug RT#86065. - -1.29 2011-06-07 - * Artificially bump our version number because an upstream author decided to not play nice. Fixes RT#68690 (perigrin) - -1.28 2011-05-09 - * Move podspell into xt/ (perigrin) - -1.27 2011-04-08 - * Add auto_install so feature works again, fixes RT#67169 (perigrin) - -1.26 2011-03-30 - * Add Deprecation notice (perigrin) - -1.25 2010-11-16 - * Fix the test suite to be 5.14 compatible (toddr) - -1.24 2010-10-08 - * Fix the Build from where MI changed underneath me (perigrin) - -1.23 2010-10-07 - * support JSON v1.15 as well as 2.x (arcanez) - -1.22 2009-10-12 - * Update JSON::XS tests to deal with inconsistent white space - generation between releases (t0m) - -1.21 2009-07-03 - * Update JSON::XS boolean support; it provides true/false methods (semifor) - * Added a workaround for handlers that fail to decode bare true/false values (semifor) - -1.20 2009-07-02 - * Re-work things so that deprecated modules just warn but aren't actually excluded (perigrin) - * Improve the warnings when things go awry (semifor) - -1.19 2009-01-15 - * Make JSON::Syck optional and deprecated. (perigrin) - * Added tests for string escapes. (semifor) - -1.18 2008-11-12 - * Removed JSON::PC support as it's been removed from CPAN (perigrin) - -1.17 2008-07-05 - * Added documentation indicating that allow_blessed works for most useful - cases (Robin Berjon) - * Added support for obtaining the underlying representations for - true/false in JSON. - -1.16 2008-02-13 - * JSON::Any now compatible with both versions of JSON::XS (Simon Wistow) - * Document that calling 'use JSON::Any ();' is a bad idea - * Make JSON.pm required unless a supported JSON package is already installed - -1.15 2008-01-02 - * Update the config params for JSON and JSON/XS configuration - * Update JSON handler to always pass in the -support_by_pp option - if you don't want support_by_pp then don't use JSON.pm ... - *** THIS VERSION WILL ONLY WORK ON 2.0+ VERSIONS OF THESE MODULES *** - -1.14 2007-12-20 - * Fix for the new JSON/JSON::XS 2.0 - *** THIS VERSION WILL ONLY WORK ON 2.0+ VERSIONS OF THESE MODULES *** - -1.13 2007-11-06 - * Fix 10_unicode.t to skip_all if no supported unicode backend is found - (reported by Andreas Kˆnig) - -1.12 2007-10-22 - * Fix issue with 05-JSON-Syck.t so we can pass our tests again - -1.11 17 Oct 2007 - * fix issue with JSON::Syck when using Object API as reported by Miyagawa - -1.10 12 Oct 2007 - * fix issues from http://rt.cpan.org/Public/Bug/Display.html?id=29917 - -1.09 10 Oct 2007 - * also test for is_utf8() - nothingmuch - * improve unicode test - nothingmuch - * add utf8 support for JSON::{Converter,Parser} - nothingmuch - * Add a test for unicode strings - nothingmuch - -1.08 18 May 2007 - * Fix Packaging - * Fix JSON.pm backend tests - * fix issues with JSON::XS being pedantic about how it's methods/functions are called - * added a carp requirement - -1.07 ??? - * changed Makefile.PL to Module::Install - * helps if I test 04-ENV.t against the code it was designed for - * skip all 04-ENV.t until I get it working - * fixing tests - * change to skip_all based skippage - * add example directory - * pod updates - -1.06 ??? - * cleaned up t/04-ENV.t to not require JSON::XS anymore - * fixed split on uninitalized value error - * cleaned up JSON-XS tests a bit - * added 04-ENV.t to MANIFEST - -... History is Elusive ... - -1.00 Fri Mar 23 10:24:50 EDT 2007 - * Initial Release - * Currently only supports objToJson and jsonToObj diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Any-1.30/MANIFEST new/JSON-Any-1.32/MANIFEST --- old/JSON-Any-1.30/MANIFEST 2013-06-15 22:43:03.000000000 +0200 +++ new/JSON-Any-1.32/MANIFEST 2013-11-07 16:56:36.000000000 +0100 @@ -1,4 +1,4 @@ -Changes +CHANGES LICENSE MANIFEST MANIFEST.SKIP diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Any-1.30/META.json new/JSON-Any-1.32/META.json --- old/JSON-Any-1.30/META.json 2013-06-15 22:43:03.000000000 +0200 +++ new/JSON-Any-1.32/META.json 2013-11-07 16:56:36.000000000 +0100 @@ -7,8 +7,8 @@ "Marc Mims <[email protected]>", "Tomas Doran <[email protected]>" ], - "dynamic_config" : "1", - "generated_by" : "Dist::Zilla version 4.300034, CPAN::Meta::Converter version 2.131560", + "dynamic_config" : 1, + "generated_by" : "Dist::Zilla version 4.300039, CPAN::Meta::Converter version 2.132830", "license" : [ "perl_5" ], @@ -34,6 +34,12 @@ "requires" : { "perl" : "5.008" } + }, + "test" : { + "requires" : { + "Test::Requires" : "0", + "Test::Without::Module" : "0.17" + } } }, "release_status" : "stable", @@ -45,10 +51,12 @@ "web" : "https://github.com/perigrin/json-any" } }, - "version" : "1.30", + "version" : "1.32", "x_contributors" : [ "Chris Prather <[email protected]>", + "Dagfinn Ilmari Manns\u00e5ker <[email protected]>", "Justin Hunter <[email protected]>", + "Matthew Horsfall <[email protected]>", "Todd Rinaldo <[email protected]>", "marc.mims <marc.mims@daca5766-e62f-0410-9ddd-e5e43faa6270>", "[email protected] <[email protected]@daca5766-e62f-0410-9ddd-e5e43faa6270>", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Any-1.30/META.yml new/JSON-Any-1.32/META.yml --- old/JSON-Any-1.30/META.yml 2013-06-15 22:43:03.000000000 +0200 +++ new/JSON-Any-1.32/META.yml 2013-11-07 16:56:36.000000000 +0100 @@ -6,11 +6,13 @@ - 'Robin Berjon <[email protected]>' - 'Marc Mims <[email protected]>' - 'Tomas Doran <[email protected]>' -build_requires: {} +build_requires: + Test::Requires: 0 + Test::Without::Module: 0.17 configure_requires: ExtUtils::MakeMaker: 6.30 dynamic_config: 1 -generated_by: 'Dist::Zilla version 4.300034, CPAN::Meta::Converter version 2.131560' +generated_by: 'Dist::Zilla version 4.300039, CPAN::Meta::Converter version 2.132830' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -21,10 +23,12 @@ resources: homepage: https://github.com/perigrin/json-any repository: https://github.com/perigrin/json-any.git -version: 1.30 +version: 1.32 x_contributors: - 'Chris Prather <[email protected]>' + - 'Dagfinn Ilmari Mannsåker <[email protected]>' - 'Justin Hunter <[email protected]>' + - 'Matthew Horsfall <[email protected]>' - 'Todd Rinaldo <[email protected]>' - 'marc.mims <marc.mims@daca5766-e62f-0410-9ddd-e5e43faa6270>' - '[email protected] <[email protected]@daca5766-e62f-0410-9ddd-e5e43faa6270>' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Any-1.30/Makefile.PL new/JSON-Any-1.32/Makefile.PL --- old/JSON-Any-1.30/Makefile.PL 2013-06-15 22:43:03.000000000 +0200 +++ new/JSON-Any-1.32/Makefile.PL 2013-11-07 16:56:36.000000000 +0100 @@ -1,4 +1,5 @@ -# This Makefile.PL for was generated by Dist::Zilla. +# This Makefile.PL for JSON-Any was generated by +# inc::MakeMaker <self>. # Don't edit it but the dist.ini used to construct it. use strict; @@ -20,11 +21,13 @@ "DISTNAME" => "JSON-Any", "EXE_FILES" => [], "LICENSE" => "perl", - "MIN_PERL_VERSION" => "5.008", "NAME" => "JSON::Any", "PREREQ_PM" => {}, - "TEST_REQUIRES" => {}, - "VERSION" => "1.30", + "TEST_REQUIRES" => { + "Test::Requires" => 0, + "Test::Without::Module" => "0.17" + }, + "VERSION" => "1.32", "test" => { "TESTS" => "t/*.t" } @@ -33,9 +36,10 @@ sub has_json () { - our @order = qw(XS JSON DWIW); + our @order = qw(CPANEL XS PP JSON DWIW); foreach my $testmod (@order) { $testmod = "JSON::$testmod" unless $testmod eq "JSON"; + $testmod = "Cpanel::JSON::XS" if $testmod eq "JSON::CPANEL"; eval "require $testmod"; return 1 unless $@; } @@ -48,7 +52,7 @@ else { # we need to have a version of JSON, go with JSON.pm as a sane default - $WriteMakefileArgs{PREREQ_PM}{JSON} = '2.02'; + $WriteMakefileArgs{PREREQ_PM}{JSON} = '2.90'; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Any-1.30/README new/JSON-Any-1.32/README --- old/JSON-Any-1.30/README 2013-06-15 22:43:03.000000000 +0200 +++ new/JSON-Any-1.32/README 2013-11-07 16:56:36.000000000 +0100 @@ -1,7 +1,7 @@ This archive contains the distribution JSON-Any, -version 1.30: +version 1.32: Wrapper Class for the various JSON classes. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Any-1.30/dist.ini new/JSON-Any-1.32/dist.ini --- old/JSON-Any-1.30/dist.ini 2013-06-15 22:43:03.000000000 +0200 +++ new/JSON-Any-1.32/dist.ini 2013-11-07 16:56:36.000000000 +0100 @@ -13,6 +13,7 @@ [@Git] [ContributorsFromGit] +[ChangelogFromGit] [GithubMeta] [Git::NextVersion] [PkgVersion] @@ -28,8 +29,12 @@ [Prereqs] perl = 5.008 +[Prereqs / TestRequires] +Test::Without::Module = 0.17 +Test::Requires = 0 + [PruneFiles] match = ^nytprof.* match = ^perl5 match = ^cpan.* - +match = ^local diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Any-1.30/inc/MakeMaker.pm new/JSON-Any-1.32/inc/MakeMaker.pm --- old/JSON-Any-1.30/inc/MakeMaker.pm 2013-06-15 22:43:03.000000000 +0200 +++ new/JSON-Any-1.32/inc/MakeMaker.pm 2013-11-07 16:56:36.000000000 +0100 @@ -14,9 +14,10 @@ $str .= <<'END_NONSENSE'; sub has_json () { - our @order = qw(XS JSON DWIW); + our @order = qw(CPANEL XS PP JSON DWIW); foreach my $testmod (@order) { $testmod = "JSON::$testmod" unless $testmod eq "JSON"; + $testmod = "Cpanel::JSON::XS" if $testmod eq "JSON::CPANEL"; eval "require $testmod"; return 1 unless $@; } @@ -29,7 +30,7 @@ else { # we need to have a version of JSON, go with JSON.pm as a sane default - $WriteMakefileArgs{PREREQ_PM}{JSON} = '2.02'; + $WriteMakefileArgs{PREREQ_PM}{JSON} = '2.90'; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Any-1.30/lib/JSON/Any.pm new/JSON-Any-1.32/lib/JSON/Any.pm --- old/JSON-Any-1.30/lib/JSON/Any.pm 2013-06-15 22:43:03.000000000 +0200 +++ new/JSON-Any-1.32/lib/JSON/Any.pm 2013-11-07 16:56:36.000000000 +0100 @@ -1,9 +1,9 @@ package JSON::Any; { - $JSON::Any::VERSION = '1.30'; + $JSON::Any::VERSION = '1.32'; } { - $JSON::Any::VERSION = '1.30'; + $JSON::Any::VERSION = '1.32'; } use warnings; @@ -217,6 +217,11 @@ $conf{cpanel_json_xs} = { %{ $conf{json_xs_2} } }; $conf{cpanel_json_xs}{get_true} = sub { return Cpanel::JSON::XS::true(); }; $conf{cpanel_json_xs}{get_false} = sub { return Cpanel::JSON::XS::false(); }; + + # JSON::XS 3 is almost the same as JSON::XS 2 + $conf{json_xs_3} = { %{ $conf{json_xs_2} } }; + $conf{json_xs_3}{get_true} = sub { return Types::Serialiser::true(); }; + $conf{json_xs_3}{get_false} = sub { return Types::Serialiser::false(); }; } sub _make_key { @@ -248,6 +253,7 @@ unless ($@) { $handler = $testmod; my $key = _make_key($handler); + next unless exists $conf{$key}; $encoder = $conf{$key}->{encoder}; $decoder = $conf{$key}->{decoder}; last; @@ -420,7 +426,7 @@ =head1 VERSION -version 1.30 +version 1.32 =head1 SYNOPSIS @@ -505,7 +511,20 @@ =head1 VERSION -version 1.30 +version 1.32 + +=head1 WARNING + +JSON::XS 3.0 or higher has a conflict with any version of JSON.pm less than 2.90 +when you use JSON.pm's C<-support_by_pp> option, which JSON::Any enables by +default. + +This situation should only come up with JSON::Any if you have JSON.pm 2.61 or +lower and JSON::XS 3.0 or higher installed and you for JSON::Any to use JSON.pm +via C<use JSON::Any qw(JSON);> or the C<JSON_ANY_ORDER> environment variable. + +If you run into an issue where you're getting recursive inheritance errors in a +Types::Serialiser package, please try upgrading JSON.pm to 2.90 or higher. =head1 DEPRECATION @@ -679,10 +698,18 @@ =item * +Dagfinn Ilmari Manns�ker <[email protected]> + +=item * + Justin Hunter <[email protected]> =item * +Matthew Horsfall <[email protected]> + +=item * + Todd Rinaldo <[email protected]> =item * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Any-1.30/t/01-JSON.t new/JSON-Any-1.32/t/01-JSON.t --- old/JSON-Any-1.30/t/01-JSON.t 2013-06-15 22:43:03.000000000 +0200 +++ new/JSON-Any-1.32/t/01-JSON.t 2013-11-07 16:56:36.000000000 +0100 @@ -2,6 +2,8 @@ $|++; use strict; use Test::More; +use Test::Without::Module qw(JSON::XS); + eval "use JSON::Any qw(JSON)"; if ($@) { plan skip_all => "JSON.pm not installed: $@"; @@ -71,6 +73,7 @@ is($js,'{"foo":" "}'); # testing the truth +warn JSON::Any->true; $obj = { foo => JSON::Any->true }; $js = JSON::Any->objToJson($obj); is($js,'{"foo":true}'); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Any-1.30/t/04-ENV.t new/JSON-Any-1.32/t/04-ENV.t --- old/JSON-Any-1.30/t/04-ENV.t 2013-06-15 22:43:03.000000000 +0200 +++ new/JSON-Any-1.32/t/04-ENV.t 2013-11-07 16:56:36.000000000 +0100 @@ -8,7 +8,7 @@ plan skip_all => "$@"; } else { - plan no_plan => 1; + plan 'no_plan'; } SKIP: { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Any-1.30/t/10_unicode.t new/JSON-Any-1.32/t/10_unicode.t --- old/JSON-Any-1.30/t/10_unicode.t 2013-06-15 22:43:03.000000000 +0200 +++ new/JSON-Any-1.32/t/10_unicode.t 2013-11-07 16:56:36.000000000 +0100 @@ -4,29 +4,23 @@ use utf8; use Test::More; -eval "use JSON::Any"; - -if ($@) { - plan skip_all => "$@"; - exit; -} +use Test::Requires 'JSON::Any'; $ENV{JSON_ANY_CONFIG} = "utf8=1"; -foreach my $backend (qw(XS JSON DWIW Syck)) { +sub run_tests_for { + my $backend = shift; + note "testing backend $backend"; my $j = eval { JSON::Any->import($backend); JSON::Any->new; }; - diag "$backend: " . $@ and next if $@; - - $j and $j->handler or next; + note "$backend: " . $@ and next if $@; - diag "handler is " . ( ref( $j->handler ) || $j->handlerType ); + $j and $j->handler or return; - plan 'no_plan' unless $ENV{JSON_ANY_RAN_TESTS}; - $ENV{JSON_ANY_RAN_TESTS} = 1; + note "handler is " . ( ref( $j->handler ) || $j->handlerType ); foreach my $text (qw(foo שלום)) { @@ -72,5 +66,16 @@ } } -plan skip_all => 'no JSON package with unicode support installed' - unless $ENV{JSON_ANY_RAN_TESTS}; + +{ + run_tests_for 'XS'; +} + +{ + require Test::Without::Module; + Test::Without::Module->import('JSON::XS'); + run_tests_for $_ for (qw(PP JSON CPANEL DWIW)); +} + + +done_testing; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Any-1.30/t/11-string-escape.t new/JSON-Any-1.32/t/11-string-escape.t --- old/JSON-Any-1.30/t/11-string-escape.t 2013-06-15 22:43:03.000000000 +0200 +++ new/JSON-Any-1.32/t/11-string-escape.t 2013-11-07 16:56:36.000000000 +0100 @@ -5,13 +5,7 @@ use Test::More; use Storable; - -eval "use JSON::Any"; - -if ($@) { - plan skip_all => "$@"; - exit; -} +use Test::Requires qw(JSON::Any); $Data::Dumper::Indent = 0; $Data::Dumper::Terse = 1; @@ -33,11 +27,14 @@ '"\/"' => '/', # escaped solidus ); -test ($_) for qw(XS JSON DWIW); +{ + test('XS'); +} -TODO: { - local $TODO = q[JSON::Syck doesn't escape things properly]; - test ($_) for qw(Syck); +{ + require Test::Without::Module; + Test::Without::Module->import('JSON::XS'); + test ($_) for qw(PP JSON CPANEL DWIW); } sub test { @@ -47,11 +44,11 @@ JSON::Any->new; }; - diag "$backend: " . $@ and next if $@; + note "$backend: " . $@ and next if $@; $j and $j->handler or next; - diag "handler is " . ( ref( $j->handler ) || $j->handlerType ); + note "handler is " . ( ref( $j->handler ) || $j->handlerType ); plan 'no_plan' unless $ENV{JSON_ANY_RAN_TESTS}; $ENV{JSON_ANY_RAN_TESTS} = 1; @@ -80,4 +77,4 @@ utf8::encode($desc); is $data->[0], $expected, $desc; } -} \ No newline at end of file +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Any-1.30/t/12-boolean.t new/JSON-Any-1.32/t/12-boolean.t --- old/JSON-Any-1.30/t/12-boolean.t 2013-06-15 22:43:03.000000000 +0200 +++ new/JSON-Any-1.32/t/12-boolean.t 2013-11-07 16:56:36.000000000 +0100 @@ -39,11 +39,11 @@ JSON::Any->new; }; - diag("$backend: " . $@), skip("Backend $backend failed to load", 8) if $@; + note("$backend: " . $@), skip("Backend $backend failed to load", 8) if $@; $j and $j->handler or next; - diag "handler is " . ( ref( $j->handler ) || $j->handlerType ); + note "handler is " . ( ref( $j->handler ) || $j->handlerType ); for my $bool ( qw/true false/ ) { my $data = eval { JSON::Any->jsonToObj($bool) }; -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
