1 use inc::Module::Install 0.87;
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.71001';
16 requires 'namespace::clean' => '0.10';
18 requires 'File::Spec';
19 requires 'File::Temp';
20 requires 'Object::Signature';
21 requires 'MRO::Compat';
22 requires 'MooseX::Emulate::Class::Accessor::Fast' => '0.00801';
23 requires 'Moose' => '0.76';
25 # an indirect dep. needs a certain version.
26 requires 'Tie::RefHash' => '1.34';
29 requires 'Test::More';
31 test_requires 'Test::Deep';
32 test_requires 'Test::Exception';
33 test_requires 'Test::MockObject' => '1.01';
35 resources repository => 'http://dev.catalyst.perl.org/repos/Catalyst/Catalyst-Plugin-Session/0.00/trunk/';
39 sub is_upgrading_needed {
45 foreach my $module (keys %state) {
46 if ( eval "require Catalyst::Plugin::Session::State::$module" and
47 ${"Catalyst::Plugin::Session::State::${module}::VERSION"} < $state{$module} ) {
50 ********** NOTE **********
52 Catalyst::Plugin::Session::State::$module must also be updated!
54 The currently installed version is *not* compatible with this version of
55 Catalyst::Plugin::Session!
57 The updated versions have been added to the prerequisites.
59 **************************