Compare commits

...

3 Commits

Author SHA1 Message Date
Graham Ollis
5e7728270f v1.34 2012-12-29 10:23:19 -05:00
Graham Ollis
7618cacaa4 fix hang in t/deep_recursion.t on *BSD 2012-12-27 14:51:34 -05:00
Graham Ollis
80340f9950 update changes 2012-12-27 13:37:31 -05:00
3 changed files with 14 additions and 4 deletions

View File

@@ -1,6 +1,12 @@
Revision history for Mojolicious::Plugin::TtRenderer
{{$NEXT}}
- 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
- use temp directory for COMPILE_DIR in tests to avoid failures if the
default compile directory already exists and is owned by someone else.

View File

@@ -55,3 +55,5 @@ location = root
format = %-7v %{MMMM d, yyyy}d
[MinimumPerl]
[MetaJSON]

View File

@@ -11,12 +11,14 @@ use Test::More tests => 3;
use Mojolicious::Lite;
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);
# Silence
# Send log to tmp file so that it doesn't clutter up the screen.
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 ) }};