X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=a5aabfec1113624550be678c377aa3ffb33c9786;hb=8d370afa4624ab0f54d27e8ac1a56c61dd2afe96;hp=c27a65a5648e7e9df9245528e3337a128a178aa0;hpb=1ae2143a9c52cfe0eecbe52ef92e9c23d82845cd;p=catagits%2FCatalyst-Plugin-Authentication.git diff --git a/Makefile.PL b/Makefile.PL index c27a65a..a5aabfe 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,7 +1,12 @@ -use inc::Module::Install 0.67; +use strict; +use warnings; +use inc::Module::Install 0.87; +use Module::Install::AuthorRequires; +use Module::Install::AuthorTests; -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'; @@ -11,11 +16,29 @@ all_from 'lib/Catalyst/Plugin/Authentication.pm'; 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'; -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'; +author_requires 'Test::Pod::Coverage' => '1.04'; +author_requires 'Test::NoTabs'; +author_requires 'Test::WWW::Mechanize::Catalyst'; +author_requires 'Catalyst::Plugin::Session'; +author_requires 'Catalyst::Plugin::Session::State::Cookie'; +author_requires 'Digest::SHA1'; + +author_tests 't/author'; auto_install; +resources repository => 'git://git.shadowcat.co.uk/catagits/Catalyst-Plugin-Authentication.git'; + WriteAll;