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('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');
24 requires 'namespace::autoclean';
25 test_requires 'Test::More' => '0.88';
27 author_requires 'Test::Pod' => 1.14;
28 author_requires 'Module::Info';
29 author_requires 'File::Find::Rule';
33 feature 'JSON (application/json) support',
36 'JSON::XS' => '2.2222';
38 author_requires 'JSON' => '2.12';
39 author_requires 'JSON::XS' => '2.2222';
41 feature 'Data::Taxi (text/x-data-taxi) support (deprecated)',
43 'Data::Taxi' => undef;
45 author_requires 'Data::Taxi';
47 feature 'Config::General (text/x-config-general) support',
49 'Config::General' => undef;
50 author_requires 'Config::General';
52 feature 'PHP::Serialization (text/x-php-serialization) support',
54 'PHP::Serialization' => undef;
55 author_requires 'PHP::Serialization';
57 feature 'FreezeThaw (application/x-freezethaw) support',
59 'FreezeThaw' => undef;
60 author_requires 'FreezeThaw';
62 feature 'XML::Simple (text/xml) support',
64 'XML::Simple' => undef;
65 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' );