This commit is contained in:
Graham Ollis
2013-07-10 07:35:01 -04:00
parent fc6b51b1c1
commit a30b13d6b0
4 changed files with 51 additions and 147 deletions
+27 -27
View File
@@ -1,9 +1,13 @@
=encoding utf-8
=pod
=head1 NAME
Mojolicious::Plugin::TtRenderer - Template Renderer Plugin
=head1 VERSION
version 1.46
=head1 SYNOPSIS
# Mojolicious
@@ -19,6 +23,8 @@ Mojolicious::Plugin::TtRenderer - Template Renderer Plugin
L<Mojolicious::Plugin::TtRenderer> is a simple loader for
L<Mojolicious::Plugin::TtRenderer::Engine>.
=encoding utf-8
=head1 METHODS
L<Mojolicious::Plugin::TtRenderer> inherits all methods from
@@ -45,48 +51,42 @@ L<http://mojolicious.org>.
=head1 AUTHOR
Current maintainer: Graham Ollis C<< <plicease@cpan.org> >>
original author: Ask Bjørn Hansen
Original author: Ask Bjørn Hansen, C<< <ask at develooper.com> >>
current maintainer: Graham Ollis <plicease@cpan.org>
=head1 BUGS
contributors:
Please report any bugs or feature requests to the project's github issue tracker
L<https://github.com/abh/mojox-renderer-tt/issues?state=open>.
vti
=head1 SUPPORT
Marcus Ramberg
You can find documentation for this module with the perldoc command.
Matthias Bethke
perldoc Mojolicious::Plugin::TtRenderer
Htbaa
You can also look for information at:
Magnus Holm
=over 4
Maxim Vuets
=item * git repository
Rafael Kitover
L<http://git.develooper.com/?p=MojoX-Renderer-TT.git;a=summary>,
L<git://git.develooper.com/MojoX-Renderer-TT.git>
giftnuss
L<http://github.com/abh/mojox-renderer-tt/>
Cosimo Streppone
=item * CPAN Ratings
Fayland Lam
L<http://cpanratings.perl.org/d/MojoX-Renderer-TT>
Jason Crowther
=item * Search CPAN
spleenjack
L<http://search.cpan.org/dist/MojoX-Renderer-TT/>
Árpád Szász
=back
=head1 COPYRIGHT AND LICENSE
=head1 COPYRIGHT & LICENSE
This software is copyright (c) 2013 by Ask Bjørn Hansen.
Copyright 2008-2010 Ask Bjørn Hansen, all rights reserved.
Copyright 2012 Graham Ollis.
This program is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
+18 -16
View File
@@ -7,6 +7,8 @@ copyright_holder = Ask Bjørn Hansen
version = 1.46
[@Author::Plicease]
[Prereqs]
Mojolicious = 3.33
Template = 2.18
@@ -14,18 +16,10 @@ Template = 2.18
[Prereqs / TestRequires ]
Test::More = 0
[NextRelease]
format = %-7v %{MMMM d, yyyy}d
[@Git]
tag_format = release/%v
# push_to = all
[@Filter]
bundle = @Basic
remove = Readme
remove = Manifest
[MetaResources]
bugtracker.web = https://github.com/plicease/mojox-renderer-tt/issues
repository.web = http://github.com/plicease/mojox-renderer-tt
@@ -34,11 +28,6 @@ repository.type = git
[Homepage]
;[BumpVersionFromGit]
;version_regexp = ^release/(.*)
[PkgVersion]
[CheckChangeLog]
[Test::Compile]
[HasVersionTests]
@@ -54,8 +43,21 @@ type = pod
filename = README.pod
location = root
[Manifest]
[MinimumPerl]
[MetaJSON]
[Author::Plicease::Thanks]
current = Graham Ollis <plicease@cpan.org>
original = Ask Bjørn Hansen
contributor = vti
contributor = Marcus Ramberg
contributor = Matthias Bethke
contributor = Htbaa
contributor = Magnus Holm
contributor = Maxim Vuets
contributor = Rafael Kitover
contributor = giftnuss
contributor = Cosimo Streppone
contributor = Fayland Lam
contributor = Jason Crowther
contributor = spleenjack
contributor = Árpád Szász
+3 -51
View File
@@ -4,6 +4,9 @@ use strict;
use warnings;
use v5.10;
# ABSTRACT: Template Renderer Plugin
# VERSION
use base 'Mojolicious::Plugin';
use Mojolicious::Plugin::TtRenderer::Engine;
@@ -26,10 +29,6 @@ __END__
=encoding utf-8
=head1 NAME
Mojolicious::Plugin::TtRenderer - Template Renderer Plugin
=head1 SYNOPSIS
# Mojolicious
@@ -69,51 +68,4 @@ L<Mojolicious>,
L<Mojolicious::Guides>,
L<http://mojolicious.org>.
=head1 AUTHOR
Current maintainer: Graham Ollis C<< <plicease@cpan.org> >>
Original author: Ask Bjørn Hansen, C<< <ask at develooper.com> >>
=head1 BUGS
Please report any bugs or feature requests to the project's github issue tracker
L<https://github.com/abh/mojox-renderer-tt/issues?state=open>.
=head1 SUPPORT
You can find documentation for this module with the perldoc command.
perldoc Mojolicious::Plugin::TtRenderer
You can also look for information at:
=over 4
=item * git repository
L<http://git.develooper.com/?p=MojoX-Renderer-TT.git;a=summary>,
L<git://git.develooper.com/MojoX-Renderer-TT.git>
L<http://github.com/abh/mojox-renderer-tt/>
=item * CPAN Ratings
L<http://cpanratings.perl.org/d/MojoX-Renderer-TT>
=item * Search CPAN
L<http://search.cpan.org/dist/MojoX-Renderer-TT/>
=back
=head1 COPYRIGHT & LICENSE
Copyright 2008-2010 Ask Bjørn Hansen, all rights reserved.
Copyright 2012 Graham Ollis.
This program is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.
=cut
+3 -53
View File
@@ -3,9 +3,7 @@ package Mojolicious::Plugin::TtRenderer::Engine;
use warnings;
use strict;
use v5.10;
use base 'Mojo::Base';
use Carp ();
use File::Spec ();
use Mojo::ByteStream 'b';
@@ -14,6 +12,9 @@ use Cwd qw/abs_path/;
use Scalar::Util 'weaken';
use POSIX ':errno_h';
# ABSTRACT: Template Toolkit renderer for Mojo
# VERSION
__PACKAGE__->attr('tt');
sub build {
@@ -225,10 +226,6 @@ __END__
=encoding utf-8
=head1 NAME
Mojolicious::Plugin::TtRenderer::Engine - Template Toolkit renderer for Mojo
=head1 SYNOPSIS
Add the handler:
@@ -314,51 +311,4 @@ L<Mojolicious>,
L<Mojolicious::Guides>,
L<http://mojolicious.org>.
=head1 AUTHOR
Current maintainer: Graham Ollis C<< <plicease@cpan.org> >>
Original author: Ask Bjørn Hansen, C<< <ask at develooper.com> >>
=head1 BUGS
Please report any bugs or feature requests to the project's github issue tracker
L<https://github.com/abh/mojox-renderer-tt/issues?state=open>.
=head1 SUPPORT
You can find documentation for this module with the perldoc command.
perldoc Mojolicious::Plugin::TtRenderer::Engine
You can also look for information at:
=over 4
=item * git repository
L<http://git.develooper.com/?p=MojoX-Renderer-TT.git;a=summary>,
L<git://git.develooper.com/MojoX-Renderer-TT.git>
L<http://github.com/abh/mojox-renderer-tt/>
=item * CPAN Ratings
L<http://cpanratings.perl.org/d/MojoX-Renderer-TT>
=item * Search CPAN
L<http://search.cpan.org/dist/MojoX-Renderer-TT/>
=back
=head1 COPYRIGHT & LICENSE
Copyright 2008-2010 Ask Bjørn Hansen, all rights reserved.
Copyright 2012 Graham Ollis.
This program is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.
=cut