requires 'Tie::RefHash' => '1.34';
# for Test::Store
-requires 'Test::More';
+requires 'Test::More' => '0.88';
test_requires 'Test::Deep';
test_requires 'Test::Exception';
-
+test_requires 'Test::WWW::Mechanize::PSGI';
+test_requires 'Plack::Middleware::ForceEnv';
resources repository => 'http://dev.catalyst.perl.org/repos/Catalyst/Catalyst-Plugin-Session/0.00/trunk/';
WriteAll;
);
foreach my $module (keys %state) {
- if ( eval "require Catalyst::Plugin::Session::State::$module" and
- ${"Catalyst::Plugin::Session::State::${module}::VERSION"} < $state{$module} ) {
- warn <<WARN;
+ my $package = 'Catalyst::Plugin::Session::State::' . $module;
+ next if not eval "require $package;";
+
+ if( not eval { $package->VERSION( $state{ $module } ); } ) {
+ warn <<WARN;
********** NOTE **********
-Catalyst::Plugin::Session::State::$module must also be updated!
+$package must also be updated!
The currently installed version is *not* compatible with this version of
Catalyst::Plugin::Session!