X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=52a644c453750acfc5a9c6f87a0d6b251f046d6a;hb=71bde3b4ab4e43c0e14ec29cd5c13df87d9692db;hp=45773eaefac9a5db6d30b206e5dd927b0e5887b4;hpb=a4bd5693511c6462684376f93ce86da36005fc76;p=catagits%2FCatalyst-Plugin-Session.git diff --git a/Makefile.PL b/Makefile.PL index 45773ea..52a644c 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,12 +27,15 @@ 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::WWW::Mechanize::PSGI'; +test_requires 'Plack::Middleware::ForceEnv'; +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; @@ -42,13 +46,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 <