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; |
f35dde03 |
6 | |
c7b6526a |
7 | if ( $Module::Install::AUTHOR ) { |
8 | system( 'pod2text lib/Catalyst/Plugin/Authentication.pm > README' ) |
9 | and die; |
10 | require Module::Install::AuthorTests; |
85c6f23d |
11 | } |
12 | |
71f2a7df |
13 | perl_version '5.008001'; |
14 | |
f35dde03 |
15 | name 'Catalyst-Plugin-Authentication'; |
16 | all_from 'lib/Catalyst/Plugin/Authentication.pm'; |
17 | |
f35dde03 |
18 | requires 'Catalyst::Runtime'; |
19 | requires 'Class::Inspector'; |
47cede3d |
20 | requires 'MRO::Compat'; |
f35dde03 |
21 | requires 'Catalyst::Plugin::Session' => '0.10'; |
22 | |
4b33bb96 |
23 | test_requires 'Test::More' => '0.88'; |
71f2a7df |
24 | test_requires 'Test::Exception'; |
c7b6526a |
25 | test_requires 'Class::MOP'; |
26 | test_requires 'Moose'; |
27 | |
1b409445 |
28 | author_requires 'Test::WWW::Mechanize::Catalyst'; |
29 | author_requires 'Catalyst::Plugin::Session'; |
30 | author_requires 'Catalyst::Plugin::Session::State::Cookie'; |
31 | author_requires 'Digest::SHA1'; |
32 | |
c7b6526a |
33 | author_tests 't/author'; |
948295dd |
34 | |
f35dde03 |
35 | auto_install; |
c7b6526a |
36 | resources repository => 'http://dev.catalyst.perl.org/repos/Catalyst/Catalyst-Plugin-Authentication/0.10000/trunk'; |
dc09e932 |
37 | |
f35dde03 |
38 | WriteAll; |