# This file documents the revision history for Perl extension Catalyst.
+ - Make debug output show class name for the engine and dispatcher
+ rather than the stringified ref. (t0m)
- Make MyApp immutable at the end of the scope after the setup
method is called, fixing issues with plugins which have their
own new methods by inlining a constructor on MyApp (t0m)
- Fix memory leaks (I already tried Devel::Leak::Object, but no joy).
-
Cleanups:
- Catalyst-Plugin-Authorization-ACL, Can't locate object method "tree"
my $engine = $class->engine;
my $home = $class->config->{home};
- $class->log->debug(qq/Loaded dispatcher "$dispatcher"/);
- $class->log->debug(qq/Loaded engine "$engine"/);
+ $class->log->debug(sprintf(q/Loaded dispatcher "%s"/, blessed($dispatcher)));
+ $class->log->debug(sprintf(q/Loaded engine "%s"/, blessed($engine)));
$home
? ( -d $home )
use lib "$FindBin::Bin/lib";use Test::More tests => 3;
use Catalyst::Test qw/TestAppPluginWithNewMethod/; # 1 test for adding a modifer not throwing.
+BEGIN { warn("COMPILE TIME finished use of Catalyst::Test"); }
ok request('/foo')->is_success;
is $TestAppPluginWithNewMethod::MODIFIER_FIRED, 1, 'Before modifier was fired correctly.';