Compare commits
6
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f3e65cedce | ||
|
|
906c68db34 | ||
|
|
c7012a1be0 | ||
|
|
5e7728270f | ||
|
|
7618cacaa4 | ||
|
|
80340f9950 |
@@ -1,6 +1,15 @@
|
|||||||
Revision history for Mojolicious::Plugin::TtRenderer
|
Revision history for Mojolicious::Plugin::TtRenderer
|
||||||
|
|
||||||
{{$NEXT}}
|
{{$NEXT}}
|
||||||
|
- Documentation fix
|
||||||
|
|
||||||
|
1.34 December 29, 2012
|
||||||
|
- Include META.json in distribution.
|
||||||
|
|
||||||
|
1.33 December 27, 2012
|
||||||
|
- Fix hang in t/deep_recursion.t on *BSD
|
||||||
|
|
||||||
|
1.32 December 27, 2012
|
||||||
- silenced a few annoying warnings during test
|
- silenced a few annoying warnings during test
|
||||||
- use temp directory for COMPILE_DIR in tests to avoid failures if the
|
- use temp directory for COMPILE_DIR in tests to avoid failures if the
|
||||||
default compile directory already exists and is owned by someone else.
|
default compile directory already exists and is owned by someone else.
|
||||||
|
|||||||
+1
-1
@@ -16,7 +16,7 @@ Mojolicious::Plugin::TtRenderer - Template Renderer Plugin
|
|||||||
|
|
||||||
=head1 DESCRIPTION
|
=head1 DESCRIPTION
|
||||||
|
|
||||||
L<Mojolicous::Plugin::TtRenderer> is a simple loader for
|
L<Mojolicious::Plugin::TtRenderer> is a simple loader for
|
||||||
L<Mojolicious::Plugin::TtRenderer::Engine>.
|
L<Mojolicious::Plugin::TtRenderer::Engine>.
|
||||||
|
|
||||||
=head1 METHODS
|
=head1 METHODS
|
||||||
|
|||||||
@@ -55,3 +55,5 @@ location = root
|
|||||||
format = %-7v %{MMMM d, yyyy}d
|
format = %-7v %{MMMM d, yyyy}d
|
||||||
|
|
||||||
[MinimumPerl]
|
[MinimumPerl]
|
||||||
|
|
||||||
|
[MetaJSON]
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ Mojolicious::Plugin::TtRenderer - Template Renderer Plugin
|
|||||||
|
|
||||||
=head1 DESCRIPTION
|
=head1 DESCRIPTION
|
||||||
|
|
||||||
L<Mojolicous::Plugin::TtRenderer> is a simple loader for
|
L<Mojolicious::Plugin::TtRenderer> is a simple loader for
|
||||||
L<Mojolicious::Plugin::TtRenderer::Engine>.
|
L<Mojolicious::Plugin::TtRenderer::Engine>.
|
||||||
|
|
||||||
=head1 METHODS
|
=head1 METHODS
|
||||||
|
|||||||
+6
-4
@@ -11,12 +11,14 @@ use Test::More tests => 3;
|
|||||||
|
|
||||||
use Mojolicious::Lite;
|
use Mojolicious::Lite;
|
||||||
use Test::Mojo;
|
use Test::Mojo;
|
||||||
use File::Temp qw( tempdir tempfile );
|
use File::Temp qw( tempdir );
|
||||||
|
use File::Spec;
|
||||||
|
|
||||||
my($fh_log,$filename_log) = tempfile('fooXXXXX', TMPDIR => 1, UNLINK => 1);
|
# Send log to tmp file so that it doesn't clutter up the screen.
|
||||||
# Silence
|
|
||||||
app->log->level('fatal');
|
app->log->level('fatal');
|
||||||
app->log->path($filename_log);
|
app->log->path(do {
|
||||||
|
File::Spec->catfile(tempdir(CLEANUP => 1), 'mojo.log');
|
||||||
|
});
|
||||||
|
|
||||||
plugin 'tt_renderer' => {template_options => { COMPILE_DIR => tempdir( CLEANUP => 1 ) }};
|
plugin 'tt_renderer' => {template_options => { COMPILE_DIR => tempdir( CLEANUP => 1 ) }};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user