make sure we do not require unfount dependencies
John Napiorkowski [Sat, 15 Jun 2013 17:56:01 +0000 (13:56 -0400)]
Makefile.PL
t/author/unicode_plugin_nested_params.t
t/encoding_set_in_config.t

index b50b74f..fd8412a 100644 (file)
@@ -115,6 +115,7 @@ author_requires(
   Test::Spelling
   Pod::Coverage::TrustPod
   Catalyst::Plugin::Params::Nested
+  Catalyst::Plugin::ConfigLoader
 ));
 
 if ($Module::Install::AUTHOR) {
index b31f4ce..11e884e 100644 (file)
@@ -7,7 +7,7 @@ use utf8;
 
 # setup library path
 use FindBin qw($Bin);
-use lib "$Bin/lib";
+use lib "$Bin/../lib";
 
 BEGIN { eval { require Catalyst::Plugin::Params::Nested; 1; } ||
     plan skip_all => 'Need Catalyst::Plugin::Params::Nested' }
index d15d4df..faf860b 100644 (file)
@@ -6,6 +6,9 @@ use lib "$Bin/lib";
 
 use Test::More;
 
+BEGIN { eval { require Catalyst::Plugin::ConfigLoader; 1; } ||
+    plan skip_all => 'Need Catalyst::Plugin::ConfigLoader' }
+
 #for this test encoding => 'UTF-8' is set in testappencodingsetinconfig.json
 use Catalyst::Test 'TestAppEncodingSetInConfig';