X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Plugin-Session.git;a=blobdiff_plain;f=Makefile.PL;h=48798d6e6c6d789f7ad245e3f1b45210353361e7;hp=58414712f08f1eef5fbfb756d790c99b97ab6330;hb=df76da4a8640b9b6dcbc51b3a9a42c5f819ae699;hpb=53aa145147baef0e038c5c31ccfa32f60710bd55 diff --git a/Makefile.PL b/Makefile.PL index 5841471..48798d6 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,4 +1,5 @@ -use inc::Module::Install 0.68; +use inc::Module::Install 0.87; +use Module::Install::AuthorTests; if ( -e 'MANIFEST.SKIP' ) { system( 'pod2text lib/Catalyst/Plugin/Session.pm > README' ) @@ -12,7 +13,7 @@ perl_version '5.008'; name 'Catalyst-Plugin-Session'; all_from 'lib/Catalyst/Plugin/Session.pm'; -requires 'Catalyst::Runtime' => '5.7010'; +requires 'Catalyst::Runtime' => '5.71001'; requires 'namespace::clean' => '0.10'; requires 'Digest'; requires 'File::Spec'; @@ -26,11 +27,14 @@ requires 'Moose' => '0.76'; requires 'Tie::RefHash' => '1.34'; # for Test::Store -requires 'Test::More'; +requires 'Test::More' => '0.88'; test_requires 'Test::Deep'; test_requires 'Test::Exception'; -test_requires 'Test::MockObject' => '1.01'; +test_requires 'Test::WWW::Mechanize::PSGI'; +resources repository => 'git://git.shadowcat.co.uk/catagits/Catalyst-Plugin-Session.git'; + +author_tests 't/author'; WriteAll; @@ -41,13 +45,15 @@ sub is_upgrading_needed { ); foreach my $module (keys %state) { - if ( eval "require Catalyst::Plugin::Session::State::$module" and - ${"Catalyst::Plugin::Session::State::${module}::VERSION"} < $state{$module} ) { - warn <VERSION( $state{ $module } ); } ) { + warn <