Commit | Line | Data |
---|---|---|
1b409445 | 1 | use strict; |
2 | use warnings; | |
d4201786 | 3 | use inc::Module::Install 0.87; |
1b409445 | 4 | use Module::Install::AuthorRequires; |
5 | use Module::Install::AuthorTests; | |
efea013f | 6 | use Module::Install::Authority; |
f35dde03 | 7 | |
c7b6526a | 8 | if ( $Module::Install::AUTHOR ) { |
9 | system( 'pod2text lib/Catalyst/Plugin/Authentication.pm > README' ) | |
10 | and die; | |
85c6f23d | 11 | } |
12 | ||
71f2a7df | 13 | perl_version '5.008001'; |
14 | ||
f35dde03 | 15 | name 'Catalyst-Plugin-Authentication'; |
16 | all_from 'lib/Catalyst/Plugin/Authentication.pm'; | |
58269716 | 17 | authority 'cpan:BOBTFISH'; |
f35dde03 | 18 | |
f35dde03 | 19 | requires 'Catalyst::Runtime'; |
47cede3d | 20 | requires 'MRO::Compat'; |
8d5a01fc | 21 | requires 'Moose'; |
22 | requires 'MooseX::Emulate::Class::Accessor::Fast'; | |
202af0af | 23 | requires 'namespace::autoclean'; |
d5e3af2f | 24 | requires 'String::RewritePrefix'; |
8f57bf96 | 25 | requires 'Try::Tiny'; |
f35dde03 | 26 | |
4b33bb96 | 27 | test_requires 'Test::More' => '0.88'; |
71f2a7df | 28 | test_requires 'Test::Exception'; |
c7b6526a | 29 | test_requires 'Class::MOP'; |
30 | test_requires 'Moose'; | |
31 | ||
c30f39a8 | 32 | author_requires( |
33 | 'Test::Pod' => '1.14', | |
34 | 'Test::Pod::Coverage' => '1.04', | |
35 | 'Test::NoTabs' => 0, | |
36 | 'Test::EOL' => 0, | |
37 | 'Test::WWW::Mechanize::Catalyst' => 0, | |
ed6dc2a0 | 38 | 'Catalyst::Plugin::Session' => '0.10', |
c30f39a8 | 39 | 'Catalyst::Plugin::Session::State::Cookie' => 0, |
40 | 'Digest::SHA1' => 0, | |
41 | ); | |
1b409445 | 42 | |
c7b6526a | 43 | author_tests 't/author'; |
948295dd | 44 | |
f35dde03 | 45 | auto_install; |
1d241ed7 | 46 | resources repository => 'git://git.shadowcat.co.uk/catagits/Catalyst-Plugin-Authentication.git'; |
dc09e932 | 47 | |
f35dde03 | 48 | WriteAll; |