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('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');
25 requires 'namespace::autoclean';
26 test_requires 'Test::More' => '0.88';
28 author_requires 'Test::Pod' => 1.14;
29 author_requires 'Module::Info';
30 author_requires 'File::Find::Rule';
34 feature 'JSON (application/json) support',
37 'JSON::XS' => '2.2222';
39 author_requires 'JSON' => '2.12';
40 author_requires 'JSON::XS' => '2.2222';
42 feature 'Data::Taxi (text/x-data-taxi) support (deprecated)',
44 'Data::Taxi' => undef;
46 author_requires 'Data::Taxi';
48 feature 'Config::General (text/x-config-general) support',
50 'Config::General' => undef;
51 author_requires 'Config::General';
53 feature 'PHP::Serialization (text/x-php-serialization) support',
55 'PHP::Serialization' => undef;
56 author_requires 'PHP::Serialization';
58 feature 'FreezeThaw (application/x-freezethaw) support',
60 'FreezeThaw' => undef;
61 author_requires 'FreezeThaw';
63 feature 'XML::Simple (text/xml) support',
65 'XML::Simple' => undef;
66 author_requires 'XML::Simple';
70 if ($Module::Install::AUTHOR) {
71 system("pod2text lib/Catalyst/Action/REST.pm > README")
75 repository 'git://git.shadowcat.co.uk/catagits/Catalyst-Action-REST.git';
77 add_metadata( x_authority => 'cpan:BOBTFISH' );