From: Arthur Axel 'fREW' Schmidt Date: Fri, 6 Feb 2015 15:27:25 +0000 (-0600) Subject: Hard dep on JSON::MaybeXS X-Git-Tag: v1.19~3 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Action-REST.git;a=commitdiff_plain;h=1edd63a7979a5348d72d3cfea1ea6b2523c7f6be Hard dep on JSON::MaybeXS --- diff --git a/Changes b/Changes index 11d3ecc..d75e338 100644 --- a/Changes +++ b/Changes @@ -2,6 +2,9 @@ Revision history for {{$dist->name}} {{$NEXT}} + - Hard dep on JSON::MaybeXS (Fixes RT#101854, thanks Emmanuel Seyman for the + report and Karen Etheridge for help tracking down the cause!) + 1.18 2015-01-20 12:20:46-06:00 America/Chicago - Fix tests on travisci so that Catalyst proper can run on travisci (Thanks André Walker!) diff --git a/cpanfile b/cpanfile index 5534269..6dd510e 100644 --- a/cpanfile +++ b/cpanfile @@ -7,6 +7,7 @@ requires 'Moose' => '1.03'; requires 'Params::Validate' => '0.76' ; requires 'URI::Find' => undef ; requires 'namespace::autoclean'; +requires 'JSON::MaybeXS'; on test => sub { requires 'Test::More' => '0.88'; @@ -17,7 +18,6 @@ suggests 'Config::General'; suggests 'Data::Taxi'; suggests 'FreezeThaw'; suggests 'HTML::Parser'; -suggests 'JSON::MaybeXS'; suggests 'Cpanel::JSON::XS'; suggests 'PHP::Serialization'; suggests 'XML::Simple'; diff --git a/t/json.t b/t/json.t index 7c8cc03..c9da037 100644 --- a/t/json.t +++ b/t/json.t @@ -2,7 +2,7 @@ use strict; use warnings; use Test::More; use FindBin; -use Test::Requires qw(JSON::MaybeXS); +use JSON::MaybeXS; use lib ("$FindBin::Bin/lib", "$FindBin::Bin/../lib"); use Test::Rest; diff --git a/t/jsonp.t b/t/jsonp.t index 015ee51..326e402 100644 --- a/t/jsonp.t +++ b/t/jsonp.t @@ -2,7 +2,7 @@ use strict; use warnings; use Test::More; use FindBin; -use Test::Requires qw(JSON::MaybeXS); +use JSON::MaybeXS; use lib ("$FindBin::Bin/lib", "$FindBin::Bin/../lib"); use Test::Rest;