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=c6904da75b8d780398873cdb57bbcb4727e96601;hb=df76da4a8640b9b6dcbc51b3a9a42c5f819ae699;hpb=93fd6a1de96728adead2fe9427f0e1847403142b diff --git a/Makefile.PL b/Makefile.PL index c6904da..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' ) @@ -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 <