1 use inc::Module::Install 0.87;
2 use Module::Install::AuthorTests;
4 if ( -e 'MANIFEST.SKIP' ) {
5 system( 'pod2text lib/Catalyst/Plugin/Session.pm > README' )
6 and die("Could not run pod2text on lib/Catalyst/Plugin/Session.pm");
13 name 'Catalyst-Plugin-Session';
14 all_from 'lib/Catalyst/Plugin/Session.pm';
16 requires 'Catalyst::Runtime' => '5.71001';
17 requires 'namespace::clean' => '0.10';
19 requires 'File::Spec';
20 requires 'File::Temp';
21 requires 'List::Util';
22 requires 'Object::Signature';
23 requires 'MRO::Compat';
24 requires 'MooseX::Emulate::Class::Accessor::Fast' => '0.00801';
25 requires 'Moose' => '0.76';
27 # an indirect dep. needs a certain version.
28 requires 'Tie::RefHash' => '1.34';
31 requires 'Test::More' => '0.88';
33 test_requires 'Test::Deep';
34 test_requires 'Test::Exception';
35 test_requires 'Test::WWW::Mechanize::PSGI';
36 resources repository => 'git://git.shadowcat.co.uk/catagits/Catalyst-Plugin-Session.git';
38 author_tests 't/author';
42 sub is_upgrading_needed {
48 foreach my $module (keys %state) {
49 my $package = 'Catalyst::Plugin::Session::State::' . $module;
51 next if not eval "require $package;";
53 if( not eval { $package->VERSION( $state{ $module } ); } ) {
55 ********** NOTE **********
57 $package must also be updated!
59 The currently installed version is *not* compatible with this version of
60 Catalyst::Plugin::Session!
62 The updated versions have been added to the prerequisites.
64 **************************