X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Build.PL;h=ebedff82b09188ce9d04b48c3f1e9703264e27b6;hb=2a323f6fc9f0eecb135d6008988af4a98d8f0572;hp=7ab064223e89c8904a68998dc54b55ca9e09c2de;hpb=37160715078411c082eee48a111faaab39484fd8;p=catagits%2FCatalyst-Plugin-Session.git diff --git a/Build.PL b/Build.PL index 7ab0642..ebedff8 100644 --- a/Build.PL +++ b/Build.PL @@ -6,11 +6,48 @@ my $build = Module::Build->new( license => 'perl', module_name => 'Catalyst::Plugin::Session', requires => { - 'perl' => '5.8.1', - 'Catalyst' => '5.50', + 'perl' => '5.8.1', + 'Catalyst' => '5.49', + 'Test::MockObject' => '1.01', + 'Digest' => 0, + 'Object::Signature' => 0, + 'File::Temp' => 0, + 'File::Spec' => 0, + 'Test::Deep' => 0, + 'Test::More' => 0, + 'Test::Exception' => 0, }, - create_readme => 1, - sign => 1, + reccomends => { + + # for live_app.t + 'Test::WWW::Mechanize::Catalyst' => 0, + 'Catalyst::Plugin::Session::Cookie' => '0.03', + }, + create_readme => 1, + sign => 1, ); $build->create_build_script; + +my %state = ( + Cookie => 0.03, + URI => 0.02, +); + +foreach my $module (keys %state) { + eval "require Catalyst::Plugin::Session::State::$module" and + eval { "Catalyst::Plugin::Session::State::$module"->VERSION($state{$module}) } + || warn <