1 use inc::Module::Install 0.68;
3 if ( -e 'MANIFEST.SKIP' ) {
4 system( 'pod2text lib/Catalyst/Plugin/Session.pm > README' )
5 and die("Could not run pod2text on lib/Catalyst/Plugin/Session.pm");
12 name 'Catalyst-Plugin-Session';
13 all_from 'lib/Catalyst/Plugin/Session.pm';
15 requires 'Catalyst::Runtime' => '5.7010';
17 requires 'File::Spec';
18 requires 'File::Temp';
19 requires 'Object::Signature';
20 requires 'MRO::Compat';
22 # an indirect dep. needs a certain version.
23 requires 'Tie::RefHash' => '1.34';
26 requires 'Test::More';
28 test_requires 'Test::Deep';
29 test_requires 'Test::Exception';
30 test_requires 'Test::MockObject' => '1.01';
34 sub is_upgrading_needed {
40 foreach my $module (keys %state) {
41 if ( eval "require Catalyst::Plugin::Session::State::$module" and
42 ${"Catalyst::Plugin::Session::State::${module}::VERSION"} < $state{$module} ) {
45 ********** NOTE **********
47 Catalyst::Plugin::Session::State::$module must also be updated!
49 The currently installed version is *not* compatible with this version of
50 Catalyst::Plugin::Session!
52 The updated versions have been added to the prerequisites.
54 **************************