From 511ee4463b34e531ca8b95f5892d7cef1a08c770 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ask=20Bj=C3=B8rn=20Hansen?= Date: Tue, 5 Jun 2012 16:04:07 -0700 Subject: [PATCH] Let Dist::Zilla set VERSION Closes #17 --- lib/Mojolicious/Plugin/TtRenderer.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Mojolicious/Plugin/TtRenderer.pm b/lib/Mojolicious/Plugin/TtRenderer.pm index b5a7d0d..bb7432e 100644 --- a/lib/Mojolicious/Plugin/TtRenderer.pm +++ b/lib/Mojolicious/Plugin/TtRenderer.pm @@ -3,8 +3,6 @@ package Mojolicious::Plugin::TtRenderer; use strict; use warnings; -our $VERSION = '0.01'; - use base 'Mojolicious::Plugin'; use Mojolicious::Plugin::TtRenderer::Engine; @@ -20,6 +18,8 @@ sub register { $app->renderer->add_handler(tt => $tt); } +local ($Mojolicious::Plugin::TtRenderer::VERSION) = ('devel') unless defined $Mojolicious::Plugin::TtRenderer::VERSION; + 1; __END__