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