Use MooseX::Role::WithOverloading.
[catagits/Catalyst-Runtime.git] / Makefile.PL
index 40f87be..fcf057e 100644 (file)
@@ -5,9 +5,10 @@ BEGIN { # Make it easy for newbies
     if ($Module::Install::AUTHOR) {
         require Module::Install::AuthorRequires;
         require Module::Install::CheckConflicts;
+        require Module::Install::AuthorTests;
     }
 }
-perl_version '5.008006';
+perl_version '5.008004';
 
 name 'Catalyst-Runtime';
 all_from 'lib/Catalyst/Runtime.pm';
@@ -20,6 +21,7 @@ requires 'MooseX::Emulate::Class::Accessor::Fast' => '0.00801';
 requires 'Class::MOP' => '0.83';
 requires 'Moose' => '0.78';
 requires 'MooseX::MethodAttributes::Inheritable' => '0.15';
+requires 'MooseX::Role::WithOverloading';
 requires 'Carp';
 requires 'Class::C3::Adopt::NEXT' => '0.07';
 requires 'CGI::Simple::Cookie';
@@ -61,6 +63,7 @@ else {
         map  { glob } qw[t/*.t t/aggregate/*.t];
 }
 
+author_tests 't/author';
 author_requires(map {; $_ => 0 } qw(
   Test::NoTabs
   Test::Pod