# This file documents the revision history for Perl extension Catalyst.
+#
+
+ - Add allow_mutable_ancestors option when force inlining a constructor onto
+ applications with plugins defining their own (usually Class::Accessor::Fast)
+ new methods, to avoid warnings generated by upcoming Moose releases
+ as we can make a class (MyApp) immutable when not all of it's superclasses
+ (e.g. plugins not fully Moose converted, but using
+ MooseX::Emulate::Class::Accessor::Fast) are not immutable.
+
+5.80012 2009-09-09 19:09:09
Bug fixes:
- Fix t/optional_http-server.t test.
# Remember to update this in Catalyst::Runtime as well!
-our $VERSION = '5.80011';
+our $VERSION = '5.80012';
{
my $dev_version = $VERSION =~ /_\d{2}$/;
. "Class::Accessor(::Fast)?\nPlease pass "
. "(replace_constructor => 1)\nwhen making your class immutable.\n";
}
- $meta->make_immutable(replace_constructor => 1)
- unless $meta->is_immutable;
+ $meta->make_immutable(
+ replace_constructor => 1,
+ allow_mutable_ancestors => 1,
+ ) unless $meta->is_immutable;
};
$class->setup_finalize;
Geoff Richards
+groditi: Guillermo Roditi <groditi@gmail.com>
+
hobbs: Andrew Rodland <andrew@cleverdomain.org>
ilmari: Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>
# Remember to update this in Catalyst as well!
-our $VERSION='5.80011';
+our $VERSION='5.80012';
$VERSION = eval $VERSION;
}
# test that request with URL-escaped code works.
-TODO: {
- local $TODO = 'Actions should match when path parts are url encoded';
my $request = Catalyst::Utils::request( 'http://localhost/args/param%73/one/two' );
my $cgi = HTTP::Request::AsCGI->new( $request, %ENV )->setup;
TestApp->handle_request( env => \%ENV );
ok( my $response = $cgi->restore->response );
+TODO: {
+ local $TODO = 'Actions should match when path parts are url encoded';
ok( $response->is_success, 'Response Successful 2xx' );
is( $response->content, 'onetwo' );
}