From 6be9a60040228e264a05c83c50c54eba789ae0c7 Mon Sep 17 00:00:00 2001 From: Fitz Elliott Date: Thu, 28 Feb 2013 21:56:45 -0500 Subject: switch from Any::Moose to Mouse Text::Xslate has switched to Mouse, causing this module to stop working when Moose was loaded before it. --- lib/Text/Handlebars/Compiler.pm | 4 ++-- lib/Text/Handlebars/Symbol.pm | 4 ++-- lib/Text/Xslate/Syntax/Handlebars.pm | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/Text/Handlebars/Compiler.pm b/lib/Text/Handlebars/Compiler.pm index e92e9ce..73285cc 100644 --- a/lib/Text/Handlebars/Compiler.pm +++ b/lib/Text/Handlebars/Compiler.pm @@ -1,5 +1,5 @@ package Text::Handlebars::Compiler; -use Any::Moose; +use Mouse; extends 'Text::Xslate::Compiler'; @@ -647,7 +647,7 @@ sub merge_single_hash { sub literal { shift->parser->literal(@_) } __PACKAGE__->meta->make_immutable; -no Any::Moose; +no Mouse; =for Pod::Coverage define_helper diff --git a/lib/Text/Handlebars/Symbol.pm b/lib/Text/Handlebars/Symbol.pm index 36fd3ba..cc81f7a 100644 --- a/lib/Text/Handlebars/Symbol.pm +++ b/lib/Text/Handlebars/Symbol.pm @@ -1,5 +1,5 @@ package Text::Handlebars::Symbol; -use Any::Moose; +use Mouse; extends 'Text::Xslate::Symbol'; @@ -14,6 +14,6 @@ has is_block_helper => ( ); __PACKAGE__->meta->make_immutable; -no Any::Moose; +no Mouse; 1; diff --git a/lib/Text/Xslate/Syntax/Handlebars.pm b/lib/Text/Xslate/Syntax/Handlebars.pm index 164c03f..526b0f9 100644 --- a/lib/Text/Xslate/Syntax/Handlebars.pm +++ b/lib/Text/Xslate/Syntax/Handlebars.pm @@ -1,5 +1,5 @@ package Text::Xslate::Syntax::Handlebars; -use Any::Moose; +use Mouse; use Carp 'confess'; use Text::Xslate::Util qw($DEBUG $NUMBER neat p); @@ -596,7 +596,7 @@ sub _field_to_string { } __PACKAGE__->meta->make_immutable; -no Any::Moose; +no Mouse; =for Pod::Coverage call -- cgit v1.2.3