Use String::RewritePrefix, it's already a Cat dep
[catagits/Catalyst-Plugin-Authentication.git] / Makefile.PL
index c27a65a..b8cd666 100644 (file)
@@ -1,21 +1,49 @@
-use inc::Module::Install 0.67;
+use strict;
+use warnings;
+use inc::Module::Install 0.87;
+use Module::Install::AuthorRequires;
+use Module::Install::AuthorTests;
+use Module::Install::Authority;
 
-if( -e 'MANIFEST.SKIP' ) {
-    system( 'pod2text lib/Catalyst/Plugin/Authentication.pm > README' );
+if ( $Module::Install::AUTHOR ) {
+    system( 'pod2text lib/Catalyst/Plugin/Authentication.pm > README' )
+        and die;
 }
 
 perl_version '5.008001';
 
 name 'Catalyst-Plugin-Authentication';
 all_from 'lib/Catalyst/Plugin/Authentication.pm';
+authority 'BOBTFISH';
 
 requires 'Catalyst::Runtime';
 requires 'Class::Inspector';
+requires 'MRO::Compat';
 requires 'Catalyst::Plugin::Session' => '0.10';
+requires 'Moose';
+requires 'MooseX::Emulate::Class::Accessor::Fast';
+requires 'namespace::clean';
+requires 'String::RewritePrefix';
 
-test_requires 'Test::More';
+test_requires 'Test::More' => '0.88';
 test_requires 'Test::Exception';
-test_requires 'Test::MockObject';
+test_requires 'Class::MOP';
+test_requires 'Moose';
+
+author_requires(
+    'Test::Pod' => '1.14',
+    'Test::Pod::Coverage' => '1.04',
+    'Test::NoTabs' => 0,
+    'Test::EOL' => 0,
+    'Test::WWW::Mechanize::Catalyst' => 0,
+    'Catalyst::Plugin::Session' => 0,
+    'Catalyst::Plugin::Session::State::Cookie' => 0,
+    'Digest::SHA1' => 0,
+);
+
+author_tests 't/author';
 
 auto_install;
+resources repository => 'git://git.shadowcat.co.uk/catagits/Catalyst-Plugin-Authentication.git';
+
 WriteAll;