we can't run finalize AFTER response is set; so deleteing test that ensures this
[catagits/Catalyst-Plugin-Session.git] / Makefile.PL
CommitLineData
84f65b2e 1use ExtUtils::MakeMaker;
2
3my %state = (
4 Cookie => 0.03,
5 URI => 0.02,
6);
7
8my @extra;
9
10foreach my $module (keys %state) {
cfb50316 11 if ( eval "require Catalyst::Plugin::Session::State::$module" and
325f6ef4 12 ${"Catalyst::Plugin::Session::State::${module}::VERSION"} < $state{$module} ) {
84f65b2e 13 warn <<WARN;
14
15********** NOTE **********
16**************************
17
18Catalyst::Plugin::Session::State::$module must also be updated!
19
20The currently installed version is *not* compatible with this version of
21Catalyst::Plugin::Session!
22
2c1e330d 23The updated versions have been added to the prerequisites.
84f65b2e 24
25**************************
26**************************
27WARN
28
29 push @extra, "Catalyst::Plugin::Session::State::$module" => $state{$module};
30 }
31}
32
33WriteMakefile
34(
35 'NAME' => 'Catalyst::Plugin::Session',
36 'VERSION_FROM' => 'lib/Catalyst/Plugin/Session.pm',
37 'PREREQ_PM' => {
38 'Catalyst' => '5.49',
39 'Digest' => '0',
40 'File::Spec' => '0',
41 'File::Temp' => '0',
42 'Object::Signature' => '0',
43 'Test::Deep' => '0',
44 'Test::Exception' => '0',
45 'Test::MockObject' => '1.01',
46 'Test::More' => '0',
47 'Tie::RefHash' => '1.34',
48 @extra,
49 },
50 'INSTALLDIRS' => 'site',
51 'EXE_FILES' => [],
52 'SIGN' => 1,
53 'PL_FILES' => {}
54 )
55;
56
57