[Catalyst-commits] r13229 - in Catalyst-Action-RenderView/trunk: . lib/Catalyst/Action

t0m at dev.catalyst.perl.org t0m at dev.catalyst.perl.org
Sat May 8 20:40:42 GMT 2010


Author: t0m
Date: 2010-05-08 21:40:42 +0100 (Sat, 08 May 2010)
New Revision: 13229

Modified:
   Catalyst-Action-RenderView/trunk/Makefile.PL
   Catalyst-Action-RenderView/trunk/lib/Catalyst/Action/RenderView.pm
Log:
Need newish Test::More so we can use done_testing and to solve RT#54832 + RT#48537

Modified: Catalyst-Action-RenderView/trunk/Makefile.PL
===================================================================
--- Catalyst-Action-RenderView/trunk/Makefile.PL	2010-05-08 20:36:44 UTC (rev 13228)
+++ Catalyst-Action-RenderView/trunk/Makefile.PL	2010-05-08 20:40:42 UTC (rev 13229)
@@ -16,8 +16,8 @@
 requires 'MRO::Compat';
 
 test_requires 'HTTP::Request::AsCGI';
+test_requires 'Test::More' => '0.88';
 
-auto_install;
 resources repository => 'http://dev.catalyst.perl.org/repos/Catalyst/Catalyst-Action-RenderView/trunk/';
 
 WriteAll;

Modified: Catalyst-Action-RenderView/trunk/lib/Catalyst/Action/RenderView.pm
===================================================================
--- Catalyst-Action-RenderView/trunk/lib/Catalyst/Action/RenderView.pm	2010-05-08 20:36:44 UTC (rev 13228)
+++ Catalyst-Action-RenderView/trunk/lib/Catalyst/Action/RenderView.pm	2010-05-08 20:40:42 UTC (rev 13229)
@@ -51,7 +51,7 @@
     return 1 if $c->req->method eq 'HEAD';
     return 1 if defined $c->response->body && length( $c->response->body );
     return 1 if scalar @{ $c->error } && !$c->stash->{template};
-    return 1 if $c->response->status =~ /^(?:204|3\d\d)$/;
+    return 1 if $c->response->status =~ /^(?:204)$/;
     my $view = $c->view() 
         || die "Catalyst::Action::RenderView could not find a view to forward to.\n";
     $c->forward( $view );




More information about the Catalyst-commits mailing list