cleanup and handle unknown column/method
[catagits/Catalyst-Authentication-Store-DBIx-Class.git] / Makefile.PL
CommitLineData
6d4bea88 1use inc::Module::Install 0.91;
2aa8bdb6 2
76e7a763 3if( -e 'MANIFEST.SKIP' ) {
6727afe2 4 system( 'pod2text lib/Catalyst/Authentication/Store/DBIx/Class.pm > README' );
76e7a763 5}
6
f26005a7 7## I'd love to use can_use - but I can't seem to test for success. :-/
8eval { require Catalyst::Plugin::Authentication::Store::DBIx::Class or die 'footy'; };
9
10if (!$@) { #} can_use("Catalyst::Plugin::Authentication::Store::DBIx::Class") ) {
11 print STDERR <<EOM;
12*******************************************
13*** WARNING: DEPRECATED MODULE FOUND ***
14*******************************************
15
16You have the Catalyst::Plugin::Authentication::Store::DBIx::Class installed.
17The module you are installing supercedes it and it's presence has been known
18to cause conflicts. We STRONGLY recommend you remove the old module before
6d4bea88 19proceeding.
20
21You can use CPANPLUS (the cpanp command) to remove the module.
f26005a7 22
23You have 5 seconds to abort this install to remove the old module.
24EOM
25 sleep 5;
26 print STDERR "Ok. Proceeding anyway...\n\nYou are entering a dimension not only of sight and sound, but of mind...\n\n";
27}
28
29
6727afe2 30name 'Catalyst-Authentication-Store-DBIx-Class';
31all_from 'lib/Catalyst/Authentication/Store/DBIx/Class.pm';
2aa8bdb6 32
76e7a763 33perl_version '5.8.1';
34
6d4bea88 35requires (
b8e7b84e 36 'Catalyst::Runtime' => '5.8',
37 'Catalyst::Plugin::Authentication' => '0.10008',
38 'Catalyst::Model::DBIC::Schema' => '0.18',
39 'DBIx::Class' => '0.08',
40 'Moose' => 0,
c305eeac 41 'namespace::autoclean' => 0,
b8e7b84e 42 'List::MoreUtils' => 0,
51f40056 43 'Try::Tiny' => 0,
6d4bea88 44);
76e7a763 45
46test_requires 'Test::More';
2aa8bdb6 47
de859d05 48resources repository => 'http://dev.catalystframework.org/repos/Catalyst/Catalyst-Authentication-Store-DBIx-Class';
7823fa50 49
6d4bea88 50auto_install;
51auto_provides;
2aa8bdb6 52WriteAll;