3 use inc::Module::Install;
4 use Module::Install::AuthorRequires;
5 use Module::Install::AuthorTests;
9 name 'Catalyst-Action-REST';
10 all_from 'lib/Catalyst/Action/REST.pm';
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');
22 requires 'namespace::autoclean';
23 test_requires 'Test::More' => '0.88';
24 test_requires 'Test::Requires';
26 author_requires 'Test::Pod' => 1.14;
27 author_requires 'Module::Info';
28 author_requires 'File::Find::Rule';
32 feature 'JSON (application/json) support',
35 'JSON::XS' => '2.2222';
37 author_requires 'JSON' => '2.12';
38 author_requires 'JSON::XS' => '2.2222';
40 feature 'YAML:Syck (for YAML)',
42 'YAML::Syck' => '0.67';
43 author_requires 'YAML::Syck';
45 feature 'HTML::Parser (for HTML input)',
47 'HTML::Parser' => undef;
48 author_requires 'HTML::Parser';
50 feature 'Data::Taxi (text/x-data-taxi) support (deprecated)',
52 'Data::Taxi' => undef;
54 author_requires 'Data::Taxi';
56 feature 'Config::General (text/x-config-general) support',
58 'Config::General' => undef;
59 author_requires 'Config::General';
61 feature 'PHP::Serialization (text/x-php-serialization) support',
63 'PHP::Serialization' => undef;
64 author_requires 'PHP::Serialization';
66 feature 'FreezeThaw (application/x-freezethaw) support',
68 'FreezeThaw' => undef;
69 author_requires 'FreezeThaw';
71 feature 'XML::Simple (text/xml) support',
73 'XML::Simple' => undef;
74 author_requires 'XML::Simple';
78 if ($Module::Install::AUTHOR) {
79 system("pod2text lib/Catalyst/Action/REST.pm > README")
83 repository 'git://git.shadowcat.co.uk/catagits/Catalyst-Action-REST.git';
85 add_metadata( x_authority => 'cpan:BOBTFISH' );