From a30b13d6b014392f4c171dd201387b9b681836b1 Mon Sep 17 00:00:00 2001 From: Graham Ollis Date: Wed, 10 Jul 2013 07:35:01 -0400 Subject: [PATCH] doco --- README.pod | 54 ++++++++++---------- dist.ini | 34 +++++++------ lib/Mojolicious/Plugin/TtRenderer.pm | 54 ++------------------ lib/Mojolicious/Plugin/TtRenderer/Engine.pm | 56 ++------------------- 4 files changed, 51 insertions(+), 147 deletions(-) diff --git a/README.pod b/README.pod index d6810bc..a7f6a5b 100644 --- a/README.pod +++ b/README.pod @@ -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 is a simple loader for L. +=encoding utf-8 + =head1 METHODS L inherits all methods from @@ -45,48 +51,42 @@ L. =head1 AUTHOR -Current maintainer: Graham Ollis C<< >> +original author: Ask Bjørn Hansen -Original author: Ask Bjørn Hansen, C<< >> +current maintainer: Graham Ollis -=head1 BUGS +contributors: -Please report any bugs or feature requests to the project's github issue tracker -L. +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, -L +giftnuss -L +Cosimo Streppone -=item * CPAN Ratings +Fayland Lam -L +Jason Crowther -=item * Search CPAN +spleenjack -L +Á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. diff --git a/dist.ini b/dist.ini index 02df9d2..2278655 100644 --- a/dist.ini +++ b/dist.ini @@ -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 +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 diff --git a/lib/Mojolicious/Plugin/TtRenderer.pm b/lib/Mojolicious/Plugin/TtRenderer.pm index 79e40f5..7b4da72 100644 --- a/lib/Mojolicious/Plugin/TtRenderer.pm +++ b/lib/Mojolicious/Plugin/TtRenderer.pm @@ -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, L, L. -=head1 AUTHOR - -Current maintainer: Graham Ollis C<< >> - -Original author: Ask Bjørn Hansen, C<< >> - -=head1 BUGS - -Please report any bugs or feature requests to the project's github issue tracker -L. - -=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, -L - -L - -=item * CPAN Ratings - -L - -=item * Search CPAN - -L - -=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 diff --git a/lib/Mojolicious/Plugin/TtRenderer/Engine.pm b/lib/Mojolicious/Plugin/TtRenderer/Engine.pm index 18de8d1..8f75931 100644 --- a/lib/Mojolicious/Plugin/TtRenderer/Engine.pm +++ b/lib/Mojolicious/Plugin/TtRenderer/Engine.pm @@ -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, L, L. -=head1 AUTHOR - -Current maintainer: Graham Ollis C<< >> - -Original author: Ask Bjørn Hansen, C<< >> - -=head1 BUGS - -Please report any bugs or feature requests to the project's github issue tracker -L. - -=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, -L - -L - -=item * CPAN Ratings - -L - -=item * Search CPAN - -L - -=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