When inserting Cat::Req::REST, always add trait, rather than sometimes using the...
[catagits/Catalyst-Action-REST.git] / Makefile.PL
1 use strict;
2 use warnings;
3 use inc::Module::Install;
4 use Module::Install::AuthorRequires;
5
6 perl_version '5.8.1';
7
8 name 'Catalyst-Action-REST';
9 all_from 'lib/Catalyst/Action/REST.pm';
10
11 requires 'Moose';
12 requires 'namespace::autoclean';
13 requires('Catalyst::Runtime'         => '5.80');
14 requires('Params::Validate'          => '0.76');
15 requires('YAML::Syck'                => '0.67');
16 requires('Module::Pluggable::Object' => undef);
17 requires('LWP::UserAgent'            => '2.033');
18 requires('Data::Serializer'          => '0.36');
19 requires('Class::Inspector'          => '1.13');
20 requires('URI::Find'                 => undef);
21 requires('MRO::Compat'               => '0.10');
22
23 requires 'namespace::autoclean';
24 test_requires 'Test::More' => '0.88';
25
26 feature 'JSON (application/json) support',
27     -default   => 0,
28     'JSON'     => '2.12';
29     'JSON::XS' => '2.2222';
30
31 author_requires 'JSON'     => '2.12';
32 author_requires 'JSON::XS' => '2.2222';
33
34 feature 'Data::Taxi (text/x-data-taxi) support',
35     -default => 0,
36     'Data::Taxi' => undef;
37
38 author_requires 'Data::Taxi';
39
40 feature 'Config::General (text/x-config-general) support',
41     -default => 0,
42     'Config::General' => undef;
43 author_requires 'Config::General';
44
45 feature 'PHP::Serialization (text/x-php-serialization) support',
46     -default => 0,
47     'PHP::Serialization' => undef;
48 author_requires 'PHP::Serialization';
49
50 feature 'FreezeThaw (application/x-freezethaw) support',
51     -default => 0,
52     'FreezeThaw' => undef;
53 author_requires 'FreezeThaw';
54
55 feature 'XML::Simple (text/xml) support',
56     -default => 0,
57     'XML::Simple' => undef;
58 author_requires 'XML::Simple';
59
60 auto_include;
61 auto_install;
62
63 if ($Module::Install::AUTHOR) {
64     system("pod2text lib/Catalyst/Action/REST.pm > README")
65         and die $!;
66 }
67
68 repository 'git://git.shadowcat.co.uk/catagits/Catalyst-Action-REST.git';
69
70 WriteAll;
71