Skip to content

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