[Catalyst-commits] r7422 - in trunk/Catalyst-View-TT: . lib/Catalyst/View

marcus at dev.catalyst.perl.org marcus at dev.catalyst.perl.org
Mon Jan 28 22:20:24 GMT 2008


Author: marcus
Date: 2008-01-28 22:20:24 +0000 (Mon, 28 Jan 2008)
New Revision: 7422

Modified:
   trunk/Catalyst-View-TT/Changes
   trunk/Catalyst-View-TT/MANIFEST
   trunk/Catalyst-View-TT/lib/Catalyst/View/TT.pm
Log:
Update V-TT docs

Modified: trunk/Catalyst-View-TT/Changes
===================================================================
--- trunk/Catalyst-View-TT/Changes	2008-01-28 22:18:25 UTC (rev 7421)
+++ trunk/Catalyst-View-TT/Changes	2008-01-28 22:20:24 UTC (rev 7422)
@@ -1,4 +1,8 @@
 Revision history for Perl extension Catalyst::View::TT.
+
+0.26   2008-01-11 20:12:00
+       - Fix pod coverage
+       - Change from =item to =head2
        - Update docs to reflect action change
 
 0.25   2007-01-15 16:06

Modified: trunk/Catalyst-View-TT/MANIFEST
===================================================================
--- trunk/Catalyst-View-TT/MANIFEST	2008-01-28 22:18:25 UTC (rev 7421)
+++ trunk/Catalyst-View-TT/MANIFEST	2008-01-28 22:20:24 UTC (rev 7422)
@@ -1,9 +1,21 @@
 Changes
+inc/Module/AutoInstall.pm
+inc/Module/Install.pm
+inc/Module/Install/AutoInstall.pm
+inc/Module/Install/Base.pm
+inc/Module/Install/Can.pm
+inc/Module/Install/Fetch.pm
+inc/Module/Install/Include.pm
+inc/Module/Install/Makefile.pm
+inc/Module/Install/Metadata.pm
+inc/Module/Install/Win32.pm
+inc/Module/Install/WriteAll.pm
 lib/Catalyst/Helper/View/TT.pm
 lib/Catalyst/Helper/View/TTSite.pm
 lib/Catalyst/View/TT.pm
 Makefile.PL
 MANIFEST			This list of files
+META.yml			Module meta-data (added by MakeMaker)
 README
 t/01use.t
 t/02pod.t
@@ -22,4 +34,3 @@
 t/lib/TestApp/View/TT/Includepath2.pm
 t/lib/TestApp/View/TT/Includepath3.pm
 t/lib/TestApp/View/TT/Pkgconfig.pm
-META.yml                                 Module meta-data (added by MakeMaker)

Modified: trunk/Catalyst-View-TT/lib/Catalyst/View/TT.pm
===================================================================
--- trunk/Catalyst-View-TT/lib/Catalyst/View/TT.pm	2008-01-28 22:18:25 UTC (rev 7421)
+++ trunk/Catalyst-View-TT/lib/Catalyst/View/TT.pm	2008-01-28 22:20:24 UTC (rev 7422)
@@ -7,7 +7,7 @@
 use Template::Timer;
 use NEXT;
 
-our $VERSION = '0.25';
+our $VERSION = '0.26';
 
 __PACKAGE__->mk_accessors('template');
 __PACKAGE__->mk_accessors('include_path');
@@ -453,20 +453,18 @@
 
 =head2 METHODS
 
-=over 4
+=head2 new
 
-=item new
-
 The constructor for the TT view. Sets up the template provider, 
 and reads the application config.
 
-=item process
+=head2 process
 
 Renders the template specified in C<< $c->stash->{template} >> or
 C<< $c->action >> (the private name of the matched action.  Calls L<render> to
 perform actual rendering. Output is stored in C<< $c->response->body >>.
 
-=item render($c, $template, \%args)
+=head2 render($c, $template, \%args)
 
 Renders the given template and returns output, or a L<Template::Exception>
 object upon error. 
@@ -483,20 +481,22 @@
 process, including the name of a template file or a reference to a test string.
 See L<Template::process|Template/process> for a full list of supported formats.
 
-=item template_vars
+=head2 template_vars
 
 Returns a list of keys/values to be used as the catalyst variables in the
 template.
 
-=item config
+=head2 config
 
 This method allows your view subclass to pass additional settings to
 the TT configuration hash, or to set the options as below:
 
-=over 2
+=head2 paths
 
-=item C<CATALYST_VAR> 
+The list of paths TT will look for templates in.
 
+=head2 C<CATALYST_VAR> 
+
 Allows you to change the name of the Catalyst context object. If set, it will also
 remove the base and name aliases, so you will have access them through <context>.
 
@@ -515,7 +515,7 @@
     The base is [% Catalyst.req.base %]
     The name is [% Catalyst.config.name %]
 
-=item C<TIMER>
+=head2 C<TIMER>
 
 If you have configured Catalyst for debug output, and turned on the TIMER setting,
 C<Catalyst::View::TT> will enable profiling of template processing
@@ -533,7 +533,7 @@
     <!-- TIMER END: process mainmenu/footer.tt (0.003016 seconds) -->
 
 
-=item C<TEMPLATE_EXTENSION>
+=head2 C<TEMPLATE_EXTENSION>
 
 a sufix to add when looking for templates bases on the C<match> method in L<Catalyst::Request>.
 
@@ -545,10 +545,6 @@
 Would by default look for a template in <root>/test/test. If you set TEMPLATE_EXTENSION to '.tt', it will look for
 <root>/test/test.tt.
 
-=back
-
-=back
-
 =head2 HELPERS
 
 The L<Catalyst::Helper::View::TT> and




More information about the Catalyst-commits mailing list