1 use inc::Module::Install 0.68;
3 if ( -e 'MANIFEST.SKIP' ) {
4 system( 'pod2text lib/Catalyst/Plugin/Session.pm > README' );
11 name 'Catalyst-Plugin-Session';
12 all_from 'lib/Catalyst/Plugin/Session.pm';
14 requires 'Catalyst::Runtime' => '5.7010';
16 requires 'File::Spec';
17 requires 'File::Temp';
18 requires 'Object::Signature';
19 requires 'MRO::Compat';
21 # an indirect dep. needs a certain version.
22 requires 'Tie::RefHash' => '1.34';
25 requires 'Test::More';
27 test_requires 'Test::Deep';
28 test_requires 'Test::Exception';
29 test_requires 'Test::MockObject' => '1.01';
33 sub is_upgrading_needed {
39 foreach my $module (keys %state) {
40 if ( eval "require Catalyst::Plugin::Session::State::$module" and
41 ${"Catalyst::Plugin::Session::State::${module}::VERSION"} < $state{$module} ) {
44 ********** NOTE **********
46 Catalyst::Plugin::Session::State::$module must also be updated!
48 The currently installed version is *not* compatible with this version of
49 Catalyst::Plugin::Session!
51 The updated versions have been added to the prerequisites.
53 **************************