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