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';
20 # an indirect dep. needs a certain version.
21 requires 'Tie::Refhash' => '1.34';
24 requires 'Test::More';
26 test_requires 'Test::Deep';
27 test_requires 'Test::Exception';
28 test_requires 'Test::MockObject' => '1.01';
32 sub is_upgrading_needed {
38 foreach my $module (keys %state) {
39 if ( eval "require Catalyst::Plugin::Session::State::$module" and
40 ${"Catalyst::Plugin::Session::State::${module}::VERSION"} < $state{$module} ) {
43 ********** NOTE **********
45 Catalyst::Plugin::Session::State::$module must also be updated!
47 The currently installed version is *not* compatible with this version of
48 Catalyst::Plugin::Session!
50 The updated versions have been added to the prerequisites.
52 **************************