[Catalyst-commits] r10042 - in trunk/Catalyst-View-HTML-Template: . lib/Catalyst/View/HTML

t0m at dev.catalyst.perl.org t0m at dev.catalyst.perl.org
Thu May 7 13:39:52 GMT 2009


Author: t0m
Date: 2009-05-07 13:39:52 +0000 (Thu, 07 May 2009)
New Revision: 10042

Modified:
   trunk/Catalyst-View-HTML-Template/Build.PL
   trunk/Catalyst-View-HTML-Template/Changes
   trunk/Catalyst-View-HTML-Template/lib/Catalyst/View/HTML/Template.pm
Log:
Use Catalyst::View, not the deprecated Catalyst::Base

Modified: trunk/Catalyst-View-HTML-Template/Build.PL
===================================================================
--- trunk/Catalyst-View-HTML-Template/Build.PL	2009-05-07 13:34:30 UTC (rev 10041)
+++ trunk/Catalyst-View-HTML-Template/Build.PL	2009-05-07 13:39:52 UTC (rev 10042)
@@ -5,7 +5,8 @@
     create_makefile_pl => 'passthrough',
     license            => 'perl',
     module_name        => 'Catalyst::View::HTML::Template',
-    requires           => { 'Catalyst' => 5, 'HTML::Template' => 0 },
+    requires           => { 'Catalyst' => 5.7,
+                            'HTML::Template' => 0 },
     create_makefile_pl => 'passthrough',
     test_files         => [ glob('t/*.t') ]
 );

Modified: trunk/Catalyst-View-HTML-Template/Changes
===================================================================
--- trunk/Catalyst-View-HTML-Template/Changes	2009-05-07 13:34:30 UTC (rev 10041)
+++ trunk/Catalyst-View-HTML-Template/Changes	2009-05-07 13:39:52 UTC (rev 10042)
@@ -1,5 +1,8 @@
 Revision history for Perl extension Catalyst::View::HTML::Template
 
+   - Change to use the Catalyst::View base class, rather than the
+     deprecated Catalyst::Base (Chisel Wright)
+
 0.02  2007-03-11 12:51:00 
     -  add a render action to HTML::Template view (Alex Pavlovic)
 

Modified: trunk/Catalyst-View-HTML-Template/lib/Catalyst/View/HTML/Template.pm
===================================================================
--- trunk/Catalyst-View-HTML-Template/lib/Catalyst/View/HTML/Template.pm	2009-05-07 13:34:30 UTC (rev 10041)
+++ trunk/Catalyst-View-HTML-Template/lib/Catalyst/View/HTML/Template.pm	2009-05-07 13:39:52 UTC (rev 10042)
@@ -1,7 +1,7 @@
 package Catalyst::View::HTML::Template;
 
 use strict;
-use base 'Catalyst::Base';
+use base 'Catalyst::View';
 
 use HTML::Template;
 




More information about the Catalyst-commits mailing list