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