Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Cpanel::JSON::XS #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

colinnewell
Copy link

Since the introduction of Cpanel::JSON::XS we have been seeing a lot of test/usage failures with CouchDB::Client on new machines as it explicitly declares which JSON modules it allows JSON::Any to load. This means that the new CPANEL one isn't an option and so no decode method if available.

Couldn't find a decoder method. at /root/.cpanm/work/1386596231.1268/CouchDB-Client-0.09/blib/lib/CouchDB/Client.pm line 9.
BEGIN failed--compilation aborted at /root/.cpanm/work/1386596231.1268/CouchDB-Client-0.09/blib/lib/CouchDB/Client.pm line 9.
Compilation failed in require at t/15-client.t line 7.
BEGIN failed--compilation aborted at t/15-client.t line 7.
t/15-client.t ........ 

I've just tweaked your JSON::Any declaration to add CPANEL (first since it's supposed to be the most recently bug fixed) and to ensure that a new enough version of JSON::Any is installed to know about the Cpanel version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant