19 months agoRelease commit for 1.004004 master v1.004004
Karen Etheridge [Sat, 17 Sep 2022 18:17:55 +0000]
Release commit for 1.004004

 - slight speed optimization for is_bool()

19 months agoBumping version to 1.004004
Karen Etheridge [Sat, 17 Sep 2022 18:16:54 +0000]
Bumping version to 1.004004

19 months agoswitch the order of the isa checks, for performance improvement
Karen Etheridge [Sat, 17 Sep 2022 18:00:38 +0000]
switch the order of the isa checks, for performance improvement

JSON booleans are more likely to be a JSON::PP::Boolean, as that is the result
of the true, false subs in all (current releases) of the three backends

3 years agoRelease commit for 1.004003 v1.004003
Karen Etheridge [Fri, 13 Nov 2020 04:33:02 +0000]
Release commit for 1.004003

 - fix another test that fails when JSON::XS is installed, but below version 3.0

3 years agoBumping version to 1.004003
Karen Etheridge [Fri, 13 Nov 2020 04:30:47 +0000]
Bumping version to 1.004003

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

3 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)

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

3 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.

3 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)

3 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

3 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.

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

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

3 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

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

3 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.

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

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

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

3 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.

3 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.

3 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

5 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

5 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

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

6 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

6 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

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

6 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

7 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

7 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

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

7 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.

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

7 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

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

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

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

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

7 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

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

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

7 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)

7 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

7 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

7 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.

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

7 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

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

8 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

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

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

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

8 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

9 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

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

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

9 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.

9 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)

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