summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFitz Elliott <fitz.elliott@gmail.com>2013-02-28 21:56:45 -0500
committerFitz Elliott <fitz.elliott@gmail.com>2013-02-28 21:56:45 -0500
commit6be9a60040228e264a05c83c50c54eba789ae0c7 (patch)
tree5b472e64264e2890a603f2d8e7ec0271696f1171
parentfbc6914c5272465b54b45ce07340d345aa1850a7 (diff)
downloadtext-handlebars-6be9a60040228e264a05c83c50c54eba789ae0c7.tar.gz
text-handlebars-6be9a60040228e264a05c83c50c54eba789ae0c7.zip
switch from Any::Moose to Mouse
Text::Xslate has switched to Mouse, causing this module to stop working when Moose was loaded before it.
-rw-r--r--lib/Text/Handlebars/Compiler.pm4
-rw-r--r--lib/Text/Handlebars/Symbol.pm4
-rw-r--r--lib/Text/Xslate/Syntax/Handlebars.pm4
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