Hard dep on JSON::MaybeXS
Arthur Axel 'fREW' Schmidt [Fri, 6 Feb 2015 15:27:25 +0000 (09:27 -0600)]
Changes
cpanfile
t/json.t
t/jsonp.t

diff --git a/Changes b/Changes
index 11d3ecc..d75e338 100644 (file)
--- 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!)
index 5534269..6dd510e 100644 (file)
--- 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';
index 7c8cc03..c9da037 100644 (file)
--- 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;
index 015ee51..326e402 100644 (file)
--- 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;