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'; | |
efea013f | 17 | authority 'BOBTFISH'; |
f35dde03 | 18 | |
f35dde03 | 19 | requires 'Catalyst::Runtime'; |
20 | requires 'Class::Inspector'; | |
47cede3d | 21 | requires 'MRO::Compat'; |
f35dde03 | 22 | requires 'Catalyst::Plugin::Session' => '0.10'; |
8d5a01fc | 23 | requires 'Moose'; |
24 | requires 'MooseX::Emulate::Class::Accessor::Fast'; | |
202af0af | 25 | requires 'namespace::autoclean'; |
d5e3af2f | 26 | requires 'String::RewritePrefix'; |
8f57bf96 | 27 | requires 'Try::Tiny'; |
f35dde03 | 28 | |
4b33bb96 | 29 | test_requires 'Test::More' => '0.88'; |
71f2a7df | 30 | test_requires 'Test::Exception'; |
c7b6526a | 31 | test_requires 'Class::MOP'; |
32 | test_requires 'Moose'; | |
33 | ||
c30f39a8 | 34 | author_requires( |
35 | 'Test::Pod' => '1.14', | |
36 | 'Test::Pod::Coverage' => '1.04', | |
37 | 'Test::NoTabs' => 0, | |
38 | 'Test::EOL' => 0, | |
39 | 'Test::WWW::Mechanize::Catalyst' => 0, | |
40 | 'Catalyst::Plugin::Session' => 0, | |
41 | 'Catalyst::Plugin::Session::State::Cookie' => 0, | |
42 | 'Digest::SHA1' => 0, | |
43 | ); | |
1b409445 | 44 | |
c7b6526a | 45 | author_tests 't/author'; |
948295dd | 46 | |
f35dde03 | 47 | auto_install; |
1d241ed7 | 48 | resources repository => 'git://git.shadowcat.co.uk/catagits/Catalyst-Plugin-Authentication.git'; |
dc09e932 | 49 | |
f35dde03 | 50 | WriteAll; |