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=b56ccfea3bbf7fc866fdebc40d0ad7a6ef4787f5;hb=df76da4a8640b9b6dcbc51b3a9a42c5f819ae699;hpb=42117cb1b3d3d4c40121bbdfc716e55ab505b30c diff --git a/Makefile.PL b/Makefile.PL index b56ccfe..48798d6 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,4 +1,5 @@ use inc::Module::Install 0.87; +use Module::Install::AuthorTests; if ( -e 'MANIFEST.SKIP' ) { system( 'pod2text lib/Catalyst/Plugin/Session.pm > README' ) @@ -26,13 +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'; -resources repository => 'http://dev.catalyst.perl.org/repos/Catalyst/Catalyst-Plugin-Session/0.00/trunk/'; +author_tests 't/author'; WriteAll; @@ -43,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 <