[Catalyst-commits] r11262 - in Catalyst-View-PDF-API2/trunk: .
lib/Catalyst/View/PDF
t0m at dev.catalyst.perl.org
t0m at dev.catalyst.perl.org
Thu Aug 27 23:05:03 GMT 2009
Author: t0m
Date: 2009-08-27 23:05:03 +0000 (Thu, 27 Aug 2009)
New Revision: 11262
Removed:
Catalyst-View-PDF-API2/trunk/MANIFEST
Catalyst-View-PDF-API2/trunk/META.yml
Modified:
Catalyst-View-PDF-API2/trunk/
Catalyst-View-PDF-API2/trunk/lib/Catalyst/View/PDF/API2.pm
Log:
Cleanups, remove generated files
Property changes on: Catalyst-View-PDF-API2/trunk
___________________________________________________________________
Name: svn:ignore
+ META.yml
MANIFEST
Makefile
Makefile.old
blib
inc
pm_to_blib
Deleted: Catalyst-View-PDF-API2/trunk/MANIFEST
===================================================================
--- Catalyst-View-PDF-API2/trunk/MANIFEST 2009-08-27 22:57:43 UTC (rev 11261)
+++ Catalyst-View-PDF-API2/trunk/MANIFEST 2009-08-27 23:05:03 UTC (rev 11262)
@@ -1,11 +0,0 @@
-Changes
-MANIFEST
-Makefile.PL
-README
-lib/Catalyst/View/PDF/API2.pm
-lib/Catalyst/Helper/View/PDF/API2.pm
-#lib/Template/Plugin/Catalyst/View/PDF/API2.pm
-t/00-load.t
-t/pod-coverage.t
-t/pod.t
-META.yml Module meta-data (added by MakeMaker)
Deleted: Catalyst-View-PDF-API2/trunk/META.yml
===================================================================
--- Catalyst-View-PDF-API2/trunk/META.yml 2009-08-27 22:57:43 UTC (rev 11261)
+++ Catalyst-View-PDF-API2/trunk/META.yml 2009-08-27 23:05:03 UTC (rev 11262)
@@ -1,19 +0,0 @@
---- #YAML:1.0
-name: Catalyst-View-PDF-API2
-version: 0.01
-abstract: Create PDF files from Catalyst using Template Toolkit templates
-license: ~
-author:
- - Ferruccio Zamuner <nonsolosoft at diff.org>
-generated_by: ExtUtils::MakeMaker version 6.44
-distribution_type: module
-requires:
- Catalyst::View::TT: 0
- File::chdir: 0
- parent: 0
- PDF::API2: 0
- Template::Plugin::Procedural: 0
- Test::More: 0
-meta-spec:
- url: http://module-build.sourceforge.net/META-spec-v1.3.html
- version: 1.3
Modified: Catalyst-View-PDF-API2/trunk/lib/Catalyst/View/PDF/API2.pm
===================================================================
--- Catalyst-View-PDF-API2/trunk/lib/Catalyst/View/PDF/API2.pm 2009-08-27 22:57:43 UTC (rev 11261)
+++ Catalyst-View-PDF-API2/trunk/lib/Catalyst/View/PDF/API2.pm 2009-08-27 23:05:03 UTC (rev 11262)
@@ -14,28 +14,28 @@
=head1 VERSION
-Version 0.02
+Version 0.01
=cut
-our $VERSION = '0.03';
+our $VERSION = '0.01';
=head1 SYNOPSIS
Create a PDF::API2 view:
- script/myapp_create.pl view PDF::API2 PDF::API2
+ script/myapp_create.pl view PDF PDF::API2
In MyApp.pm, add a configuration item for the template include path:
- __PACKAGE__->config('View::PDF::API2' => {
+ __PACKAGE__->config('View::PDF' => {
INCLUDE_PATH => __PACKAGE__->path_to('root','templates')
});
In your controller:
$c->stash->{pdf_template} = 'hello_pdf.tt';
- $c->forward('View::PDF::API2');
+ $c->forward('View::PDF');
In F<root/templates/hello_pdf.tt>:
@@ -229,7 +229,6 @@
Penny's Arcade Open Source - L<http://www.pennysarcade.co.uk/opensource>
-
=head1 COPYRIGHT & LICENSE
Copyright (C) 2009 Penny's Arcade Limited
More information about the Catalyst-commits
mailing list