Sort list of allowed methods. RT#81825
[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('HTML::Parser'              => undef);
18 requires('Module::Pluggable::Object' => undef);
19 requires('LWP::UserAgent'            => '2.033');
20 requires('Data::Serializer'          => '0.36');
21 requires('Class::Inspector'          => '1.13');
22 requires('URI::Find'                 => undef);
23 requires('MRO::Compat'               => '0.10');
24
25 requires 'namespace::autoclean';
26 test_requires 'Test::More' => '0.88';
27
28 author_requires 'Test::Pod' => 1.14;
29 author_requires 'Module::Info';
30 author_requires 'File::Find::Rule';
31
32 author_tests 'xt/';
33
34 feature 'JSON (application/json) support',
35     -default   => 0,
36     'JSON'     => '2.12',
37     'JSON::XS' => '2.2222';
38
39 author_requires 'JSON'     => '2.12';
40 author_requires 'JSON::XS' => '2.2222';
41
42 feature 'Data::Taxi (text/x-data-taxi) support (deprecated)',
43     -default => 0,
44     'Data::Taxi' => undef;
45
46 author_requires 'Data::Taxi';
47
48 feature 'Config::General (text/x-config-general) support',
49     -default => 0,
50     'Config::General' => undef;
51 author_requires 'Config::General';
52
53 feature 'PHP::Serialization (text/x-php-serialization) support',
54     -default => 0,
55     'PHP::Serialization' => undef;
56 author_requires 'PHP::Serialization';
57
58 feature 'FreezeThaw (application/x-freezethaw) support',
59     -default => 0,
60     'FreezeThaw' => undef;
61 author_requires 'FreezeThaw';
62
63 feature 'XML::Simple (text/xml) support',
64     -default => 0,
65     'XML::Simple' => undef;
66 author_requires 'XML::Simple';
67
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