3 years agoalso test on 5.32
Karen Etheridge [Fri, 13 Nov 2020 04:29:43 +0000]
also test on 5.32

3 years ago$JSON_Class is not JSON::XS if version < 3.0
Karen Etheridge [Fri, 13 Nov 2020 04:28:52 +0000]
$JSON_Class is not JSON::XS if version < 3.0

e.g. see http://www.cpantesters.org/cpan/report/68a147b0-6c06-1014-b73a-88553f3bac98

4 years agoRelease commit for 1.004002 v1.004002
Karen Etheridge [Sun, 17 May 2020 23:35:34 +0000]
Release commit for 1.004002

 - fix test that fails when JSON::XS is installed, but below version 3.0
   (RT#132578)

4 years agoBumping version to 1.004002
Karen Etheridge [Sun, 17 May 2020 23:35:06 +0000]
Bumping version to 1.004002

4 years agouse Test::Needs for backend tests
Karen Etheridge [Sun, 17 May 2020 23:19:27 +0000]
use Test::Needs for backend tests

This ensures that the releaser runs *all* tests.

4 years agofix test failure with JSON::XS 2.x (RT#132578)
Karen Etheridge [Sun, 17 May 2020 23:26:30 +0000]
fix test failure with JSON::XS 2.x (RT#132578)

4 years agoupdate documentation to reflect requirements change from 1.004001
Karen Etheridge [Sun, 17 May 2020 23:05:48 +0000]
update documentation to reflect requirements change from 1.004001

4 years agoRelease commit for 1.004001 v1.004001
Karen Etheridge [Fri, 1 May 2020 17:01:40 +0000]
Release commit for 1.004001

 - document when is_bool became available
 - now favouring Cpanel::JSON::XS over JSON::XS in more situations (the former
   is always added to prereqs when a compiler is available, although JSON::XS
   is still used at runtime if new enough and Cpanel::JSON::XS is not
   installed). This makes boolean handling more predictable and consistent.

4 years agoBumping version to 1.004001
Karen Etheridge [Fri, 1 May 2020 16:58:01 +0000]
Bumping version to 1.004001

4 years agoignore .ackrc
Karen Etheridge [Fri, 1 May 2020 16:57:25 +0000]
ignore .ackrc

4 years agoalso refuse to use old JSON::XS if it is already loaded
Graham Knop [Fri, 1 May 2020 16:12:59 +0000]
also refuse to use old JSON::XS if it is already loaded

4 years agoupdate Makefile.PL boilerplate
Graham Knop [Fri, 1 May 2020 15:52:05 +0000]
update Makefile.PL boilerplate

4 years agosimplify dynamic prereq setting to only add Cpanel::JSON::XS if possible
Graham Knop [Fri, 1 May 2020 15:48:32 +0000]
simplify dynamic prereq setting to only add Cpanel::JSON::XS if possible

Since we are always trying to add Cpanel::JSON::XS as a prereq, and the
module prefers it if it is installed, there's no purpose to trying to
upgrade JSON::XS.

We can simplify the dynamic prereq handling to just add Cpanel::JSON::XS
if XS compilation is available.

4 years agomark when dynamic prereqs begin
Karen Etheridge [Fri, 1 May 2020 15:42:15 +0000]
mark when dynamic prereqs begin

4 years agobetter trial version handling
Karen Etheridge [Fri, 1 May 2020 15:41:58 +0000]
better trial version handling

4 years agochangelog for backend heuristic changes
Karen Etheridge [Fri, 1 May 2020 15:40:10 +0000]
changelog for backend heuristic changes

4 years agonow always require Cpanel::JSON::XS, as long as a compiler is available
Karen Etheridge [Fri, 1 May 2020 15:37:37 +0000]
now always require Cpanel::JSON::XS, as long as a compiler is available

(..and not overridden by PUREPERL_ONLY)
We used to only require Cpanel::JSON::XS if JSON::XS wasn't already installed.

4 years agoonly use JSON::XS here if new enough, to be consistent with Makefile.PL
Karen Etheridge [Fri, 1 May 2020 15:29:31 +0000]
only use JSON::XS here if new enough, to be consistent with Makefile.PL

boolean handling changed enough in 3.0 that older versions are not very compatible.

4 years agoalso test on 5.30
Karen Etheridge [Fri, 1 May 2020 15:26:38 +0000]
also test on 5.30

4 years agodocument first version with is_bool
Karen Etheridge [Fri, 24 Apr 2020 03:44:52 +0000]
document first version with is_bool

5 years agotravis is deprecating container-based environments
Karen Etheridge [Sat, 22 Dec 2018 02:00:33 +0000]
travis is deprecating container-based environments

5 years agoalso test on 5.28
Karen Etheridge [Thu, 29 Nov 2018 18:23:12 +0000]
also test on 5.28

6 years agocope with no-dot-in-inc in xt tests
Graham Knop [Tue, 8 May 2018 11:40:15 +0000]
cope with no-dot-in-inc in xt tests

6 years agoadd travis config
Graham Knop [Tue, 8 May 2018 05:36:32 +0000]
add travis config

6 years agoRelease commit for 1.004000 v1.004000
Graham Knop [Thu, 19 Apr 2018 16:05:41 +0000]
Release commit for 1.004000

6 years agoBumping version to 1.004000
Graham Knop [Thu, 19 Apr 2018 16:05:14 +0000]
Bumping version to 1.004000

6 years agochangelog
Graham Knop [Tue, 17 Apr 2018 09:01:17 +0000]
changelog

6 years agomake true/false available as subs or methods on MaybeXS itself
Graham Knop [Sun, 28 Jan 2018 02:13:28 +0000]
make true/false available as subs or methods on MaybeXS itself

6 years agoRelease commit for 1.003010 v1.003010
Graham Knop [Sun, 28 Jan 2018 01:42:22 +0000]
Release commit for 1.003010

6 years agoBumping version to 1.003010
Graham Knop [Sun, 28 Jan 2018 01:41:54 +0000]
Bumping version to 1.003010

6 years agoupdate changelog
Graham Knop [Sun, 28 Jan 2018 01:41:48 +0000]
update changelog

7 years agoinclude bundled EU::HC in manifest
Graham Knop [Fri, 22 Sep 2017 13:19:22 +0000]
include bundled EU::HC in manifest

7 years agoconvert Makefile.PL boilerplate to my code, and use ExtUtils::HasCompiler for XS...
Graham Knop [Fri, 22 Sep 2017 10:40:01 +0000]
convert Makefile.PL boilerplate to my code, and use ExtUtils::HasCompiler for XS detection

7 years agoactually load JSON::MaybeXS in JSON.pm bool test
Graham Knop [Fri, 22 Sep 2017 10:38:54 +0000]
actually load JSON::MaybeXS in JSON.pm bool test

7 years agoclean up module hiding in tests
Graham Knop [Fri, 22 Sep 2017 10:38:16 +0000]
clean up module hiding in tests

7 years agoadd parentheses so as to not imply we are using JSON.pm
Karen Etheridge [Fri, 4 Aug 2017 20:12:15 +0000]
add parentheses so as to not imply we are using JSON.pm

7 years agoRelease commit for 1.003009 v1.003009
Karen Etheridge [Mon, 27 Feb 2017 07:27:21 +0000]
Release commit for 1.003009

7 years agoFix "Can't locate t/lib/is_bool.pm in @INC" when . is not in @INC
Karen Etheridge [Mon, 3 Oct 2016 02:13:19 +0000]
Fix "Can't locate t/lib/is_bool.pm in @INC" when . is not in @INC

7 years agoBumping version to 1.003009
Karen Etheridge [Mon, 27 Feb 2017 07:26:10 +0000]
Bumping version to 1.003009

8 years agoavoid needing . in @INC in dev mode
Graham Knop [Sun, 16 Oct 2016 12:08:31 +0000]
avoid needing . in @INC in dev mode

8 years agoadding a meta-spec to both META_* sections also fixes the EUMM bug
Karen Etheridge [Mon, 3 Oct 2016 02:13:19 +0000]
adding a meta-spec to both META_* sections also fixes the EUMM bug

8 years agoRelease commit for 1.003008 v1.003008
Karen Etheridge [Mon, 3 Oct 2016 02:09:46 +0000]
Release commit for 1.003008

8 years agoget Cpanel::JSON::XS out of META.json runtime-requires and back to runtime-recommends
Karen Etheridge [Mon, 3 Oct 2016 02:07:20 +0000]
get Cpanel::JSON::XS out of META.json runtime-requires and back to runtime-recommends

This is a byproduct of ExtUtils::MakeMaker commit 91b7ff8b56, which affects
how META_MERGE data is merged. For now, just use META_ADD for everything to
bypass the issue.

8 years agoclarify dynamic prereqs in docs
Karen Etheridge [Sun, 2 Oct 2016 23:44:48 +0000]
clarify dynamic prereqs in docs

8 years agoclarify Changes entry re JSON::PP bump
Karen Etheridge [Sun, 2 Oct 2016 23:38:19 +0000]
clarify Changes entry re JSON::PP bump

8 years agoBumping version to 1.003008
Karen Etheridge [Sun, 2 Oct 2016 23:50:11 +0000]
Bumping version to 1.003008

8 years agoRelease commit for 1.003007 v1.003007
Karen Etheridge [Sun, 11 Sep 2016 00:02:35 +0000]
Release commit for 1.003007

8 years agorelease commit for 1.003007
Karen Etheridge [Sat, 10 Sep 2016 23:22:37 +0000]
release commit for 1.003007

8 years agoBumping version to 1.003007
Karen Etheridge [Sat, 10 Sep 2016 23:21:36 +0000]
Bumping version to 1.003007

8 years agoRelease commit for 1.003006_001 v1.003006_001
Karen Etheridge [Tue, 28 Jun 2016 23:27:24 +0000]
Release commit for 1.003006_001

8 years agomake this release a trial release
Karen Etheridge [Tue, 28 Jun 2016 23:24:44 +0000]
make this release a trial release

8 years agoBumping version to 1.003006
Karen Etheridge [Tue, 28 Jun 2016 23:22:20 +0000]
Bumping version to 1.003006

8 years agoremove test dependency on Test::Without::Module (RT#115394)
David Golden [Tue, 28 Jun 2016 22:16:33 +0000]
remove test dependency on Test::Without::Module (RT#115394)

8 years agodocument the github repo so we can get pull requests
Karen Etheridge [Tue, 28 Jun 2016 22:00:07 +0000]
document the github repo so we can get pull requests

8 years agono need to check Cpanel::JSON::XS version - always add the prereq anyway
Karen Etheridge [Tue, 28 Jun 2016 21:53:36 +0000]
no need to check Cpanel::JSON::XS version - always add the prereq anyway

8 years agosimplify JSON::XS prereq
Karen Etheridge [Tue, 28 Jun 2016 21:49:59 +0000]
simplify JSON::XS prereq

We now always upgrade it if it is already present, which also wards off
incompatibilities if something else later installs Cpanel::JSON::XS.

8 years agofactor out the PUREPERL_ONLY check
Karen Etheridge [Tue, 28 Jun 2016 21:44:55 +0000]
factor out the PUREPERL_ONLY check

8 years agodocument the availability of encode, decode methods
Karen Etheridge [Mon, 2 May 2016 18:10:13 +0000]
document the availability of encode, decode methods

8 years agoadd some keywords to metadata
Karen Etheridge [Mon, 4 Apr 2016 22:09:47 +0000]
add some keywords to metadata

8 years agofix Test::More prereq for done_testing
Karen Etheridge [Tue, 5 Jan 2016 18:45:16 +0000]
fix Test::More prereq for done_testing

8 years agofix typo in comment
Karen Etheridge [Thu, 10 Dec 2015 21:05:53 +0000]
fix typo in comment

9 years agofix typo
Karen Etheridge [Sat, 25 Jul 2015 01:46:05 +0000]
fix typo

9 years agoadd a quick reference for converting from JSON::Any
Karen Etheridge [Sat, 25 Jul 2015 01:45:58 +0000]
add a quick reference for converting from JSON::Any

9 years agobump up prereq on JSON::PP
Karen Etheridge [Sat, 25 Jul 2015 01:42:30 +0000]
bump up prereq on JSON::PP

9 years agoonly parse the args once
Karen Etheridge [Sat, 25 Jul 2015 01:30:59 +0000]
only parse the args once

9 years agofix this command
Karen Etheridge [Sat, 25 Jul 2015 01:30:40 +0000]
fix this command

9 years agouse a more specific link
Karen Etheridge [Sat, 25 Jul 2015 01:30:26 +0000]
use a more specific link

9 years agoRelease commit for 1.003005 v1.003005
Karen Etheridge [Sun, 22 Mar 2015 22:03:56 +0000]
Release commit for 1.003005

9 years agoBumping version to 1.003005
Karen Etheridge [Sun, 22 Mar 2015 22:02:07 +0000]
Bumping version to 1.003005

9 years agodo not recomment importing everything from Moose::Util::TypeConstraints
Karen Etheridge [Sun, 22 Mar 2015 21:24:41 +0000]
do not recomment importing everything from Moose::Util::TypeConstraints

creating new stringy types is not recommended, so limit our importing to just
the sugar we need.

9 years agofix x_contributors metadata
Karen Etheridge [Sun, 22 Mar 2015 21:24:07 +0000]
fix x_contributors metadata

9 years agoRelease commit for 1.003004 v1.003004
Karen Etheridge [Sat, 14 Mar 2015 20:40:10 +0000]
Release commit for 1.003004

9 years agoBumping version to 1.003004
Karen Etheridge [Sat, 14 Mar 2015 20:36:37 +0000]
Bumping version to 1.003004

9 years agochangelog and x_contributors for RT#102733
Karen Etheridge [Sat, 14 Mar 2015 20:35:52 +0000]
changelog and x_contributors for RT#102733

9 years agoAdd CAVEAT section about type checking [RT#102733]
John SJ Anderson [Fri, 13 Mar 2015 22:53:07 +0000]
Add CAVEAT section about type checking [RT#102733]

9 years agotighten up entries
Karen Etheridge [Sat, 14 Mar 2015 20:29:20 +0000]
tighten up entries

9 years agodrop the use of fatal warnings in tests
Karen Etheridge [Sat, 14 Mar 2015 18:38:40 +0000]
drop the use of fatal warnings in tests

It can be a good idea to fatalize warnings for the author, but we do not want
to block end-user installs if some new perl adds a warning that we did not
predict.

9 years agoconstructor test I wrote when I added new() and forgot about
Matt S Trout [Sun, 14 Dec 2014 16:33:45 +0000]
constructor test I wrote when I added new() and forgot about

9 years agoadd x_contributors metadata
Karen Etheridge [Mon, 8 Dec 2014 22:19:35 +0000]
add x_contributors metadata

9 years agoRelease commit for 1.003003 v1.003003
Karen Etheridge [Sat, 6 Dec 2014 04:30:27 +0000]
Release commit for 1.003003

9 years agomake bump
Karen Etheridge [Sat, 6 Dec 2014 04:26:20 +0000]
make bump

9 years agoprevent version incompatibilities leading to "JSON::XS::Boolean::* redefined" warnings
Karen Etheridge [Sat, 6 Dec 2014 04:00:33 +0000]
prevent version incompatibilities leading to "JSON::XS::Boolean::* redefined" warnings

9 years agothe module uses Cpanel::JSON::XS no matter what its version, so we should upgrade...
Karen Etheridge [Sat, 6 Dec 2014 02:18:08 +0000]
the module uses Cpanel::JSON::XS no matter what its version, so we should upgrade it if it is already installed but old

9 years agoRelease commit for 1.003002 v1.003002
Karen Etheridge [Sun, 16 Nov 2014 20:15:27 +0000]
Release commit for 1.003002

9 years agomake bump
Karen Etheridge [Sun, 16 Nov 2014 20:14:40 +0000]
make bump

9 years agobuh, s/PP/XS/
Karen Etheridge [Sun, 16 Nov 2014 20:13:59 +0000]
buh, s/PP/XS/

9 years agoRelease commit for 1.003001 v1.003001
Karen Etheridge [Thu, 13 Nov 2014 05:06:07 +0000]
Release commit for 1.003001

9 years agobump version to 1.003001 (:legacy goes stable!)
Karen Etheridge [Thu, 13 Nov 2014 04:53:25 +0000]
bump version to 1.003001 (:legacy goes stable!)

9 years agoin some versions (2.3403 at least), there existed a Cpanel::JSON::XS::Boolean
Karen Etheridge [Thu, 13 Nov 2014 04:51:19 +0000]
in some versions (2.3403 at least), there existed a Cpanel::JSON::XS::Boolean

e.g.
http://www.cpantesters.org/cpan/report/a88cec6c-6c0c-1014-9b28-b6064b81bcf7
http://www.cpantesters.org/cpan/report/0983841a-6bfe-1014-bfbd-545708ca0d94
http://www.cpantesters.org/cpan/report/0b377387-6bf5-1014-a004-0fd3f4f552f6

10 years agoRelease commit for 1.003_000 v1.003_000
Karen Etheridge [Thu, 30 Oct 2014 18:57:06 +0000]
Release commit for 1.003_000

10 years agoMerge branch 'topic/legacy'
Karen Etheridge [Thu, 30 Oct 2014 18:55:51 +0000]
Merge branch 'topic/legacy'

10 years agoclean up :legacy patches
Karen Etheridge [Wed, 22 Oct 2014 23:35:39 +0000]
clean up :legacy patches

10 years agoxt for JSON::PP, JSON::XS compat.
Kieren Diment [Wed, 29 Oct 2014 21:37:49 +0000]
xt for JSON::PP, JSON::XS compat.

10 years agoadd :legacy option (from http://paste.scsys.co.uk/433777)
Kieren Diment [Wed, 22 Oct 2014 23:31:00 +0000]
add :legacy option (from paste.scsys.co.uk/433777)

10 years agoRelease commit for 1.002006 v1.002006
Karen Etheridge [Wed, 22 Oct 2014 04:09:22 +0000]
Release commit for 1.002006

10 years agomake bump
Karen Etheridge [Wed, 22 Oct 2014 04:08:13 +0000]
make bump

10 years agoadd more diagnostics in tests
Karen Etheridge [Wed, 22 Oct 2014 03:59:22 +0000]
add more diagnostics in tests

Need to figure out for what versions of JSON::XS, Cpanel::JSON::XS we need to skip bool tests
e.g.
http://www.cpantesters.org/cpan/report/8f76d388-5549-11e4-a43f-fa922836e1c4
http://www.cpantesters.org/cpan/report/6f307bd0-6bfe-1014-bdc4-edd1fea000fb

10 years agoRelease commit for 1.002005 v1.002005
Karen Etheridge [Sun, 12 Oct 2014 19:49:48 +0000]
Release commit for 1.002005

10 years agomake bump
Karen Etheridge [Sun, 12 Oct 2014 19:48:18 +0000]
make bump

10 years agocanonical repository moved to git://git.shadowcat.co.uk/p5sagit/JSON-MaybeXS.git
Karen Etheridge [Sun, 12 Oct 2014 19:41:39 +0000]
canonical repository moved to git://git.shadowcat.co.uk/p5sagit/JSON-MaybeXS.git