fix Module::Install without . in @INC
[catagits/Catalyst-Plugin-Authentication.git] / Makefile.PL
index b8cd666..92834a4 100644 (file)
@@ -1,5 +1,6 @@
 use strict;
 use warnings;
+use lib '.';
 use inc::Module::Install 0.87;
 use Module::Install::AuthorRequires;
 use Module::Install::AuthorTests;
@@ -14,16 +15,15 @@ perl_version '5.008001';
 
 name 'Catalyst-Plugin-Authentication';
 all_from 'lib/Catalyst/Plugin/Authentication.pm';
-authority 'BOBTFISH';
+authority 'cpan:BOBTFISH';
 
 requires 'Catalyst::Runtime';
-requires 'Class::Inspector';
 requires 'MRO::Compat';
-requires 'Catalyst::Plugin::Session' => '0.10';
 requires 'Moose';
 requires 'MooseX::Emulate::Class::Accessor::Fast';
-requires 'namespace::clean';
+requires 'namespace::autoclean';
 requires 'String::RewritePrefix';
+requires 'Try::Tiny';
 
 test_requires 'Test::More' => '0.88';
 test_requires 'Test::Exception';
@@ -36,9 +36,9 @@ author_requires(
     'Test::NoTabs' => 0,
     'Test::EOL' => 0,
     'Test::WWW::Mechanize::Catalyst' => 0,
-    'Catalyst::Plugin::Session' => 0,
+    'Catalyst::Plugin::Session' => '0.10',
     'Catalyst::Plugin::Session::State::Cookie' => 0,
-    'Digest::SHA1' => 0,
+    'Digest::SHA' => 0,
 );
 
 author_tests 't/author';