Added to CONTRIBUTORS and updated copyright year
[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('Module::Pluggable::Object' => undef);
17 requires('LWP::UserAgent'            => '2.033');
18 requires('Class::Inspector'          => '1.13');
19 requires('URI::Find'                 => undef);
20 requires('MRO::Compat'               => '0.10');
21
22 requires 'namespace::autoclean';
23 test_requires 'Test::More' => '0.88';
24
25 author_requires 'Test::Pod' => 1.14;
26 author_requires 'Module::Info';
27 author_requires 'File::Find::Rule';
28
29 author_tests 'xt/';
30
31 feature 'JSON (application/json) support',
32     -default   => 0,
33     'JSON'     => '2.12',
34     'JSON::XS' => '2.2222';
35
36 author_requires 'JSON'     => '2.12';
37 author_requires 'JSON::XS' => '2.2222';
38
39 feature 'YAML:Syck (for YAML)',
40     -default => 0,
41     'YAML::Syck' => '0.67';
42 author_requires 'YAML::Syck';
43
44 feature 'HTML::Parser (for HTML input)',
45     -default => 0,
46     'HTML::Parser' => undef;
47 author_requires 'HTML::Parser';
48
49 feature 'Data::Taxi (text/x-data-taxi) support (deprecated)',
50     -default => 0,
51     'Data::Taxi' => undef;
52
53 author_requires 'Data::Taxi';
54
55 feature 'Config::General (text/x-config-general) support',
56     -default => 0,
57     'Config::General' => undef;
58 author_requires 'Config::General';
59
60 feature 'PHP::Serialization (text/x-php-serialization) support',
61     -default => 0,
62     'PHP::Serialization' => undef;
63 author_requires 'PHP::Serialization';
64
65 feature 'FreezeThaw (application/x-freezethaw) support',
66     -default => 0,
67     'FreezeThaw' => undef;
68 author_requires 'FreezeThaw';
69
70 feature 'XML::Simple (text/xml) support',
71     -default => 0,
72     'XML::Simple' => undef;
73 author_requires 'XML::Simple';
74
75 auto_install;
76
77 if ($Module::Install::AUTHOR) {
78     system("pod2text lib/Catalyst/Action/REST.pm > README")
79         and die $!;
80 }
81
82 repository 'git://git.shadowcat.co.uk/catagits/Catalyst-Action-REST.git';
83
84 add_metadata( x_authority => 'cpan:BOBTFISH' );
85
86 WriteAll;
87