Commit | Line | Data |
63d41fcd |
1 | use strict; |
2 | use warnings; |
398c5a1b |
3 | use inc::Module::Install; |
63d41fcd |
4 | use Module::Install::AuthorRequires; |
7328f0ab |
5 | |
6 | perl_version '5.8.1'; |
7 | |
8 | name 'Catalyst-Action-REST'; |
c7cecf65 |
9 | all_from 'lib/Catalyst/Action/REST.pm'; |
7328f0ab |
10 | |
149182b3 |
11 | requires 'Moose'; |
12 | requires 'namespace::autoclean'; |
13 | requires('Catalyst::Runtime' => '5.80'); |
33e5de96 |
14 | requires('Params::Validate' => '0.76'); |
15 | requires('YAML::Syck' => '0.67'); |
16 | requires('Module::Pluggable::Object' => undef); |
17 | requires('LWP::UserAgent' => '2.033'); |
18 | requires('Data::Serializer' => '0.36'); |
19 | requires('Class::Inspector' => '1.13'); |
8f00a41b |
20 | requires('URI::Find' => undef); |
def65dcc |
21 | requires('MRO::Compat' => '0.10'); |
8f00a41b |
22 | |
930013e6 |
23 | requires 'namespace::autoclean'; |
149182b3 |
24 | test_requires 'Test::More' => '0.88'; |
5ebf67a4 |
25 | |
ebba5325 |
26 | feature 'JSON (application/json) support', |
27 | -default => 0, |
2f7533ed |
28 | 'JSON' => '2.12'; |
29 | 'JSON::XS' => '2.2222'; |
ebba5325 |
30 | |
63d41fcd |
31 | author_requires 'JSON' => '2.12'; |
32 | author_requires 'JSON::XS' => '2.2222'; |
33 | |
8f00a41b |
34 | feature 'Data::Taxi (text/x-data-taxi) support', |
35 | -default => 0, |
36 | 'Data::Taxi' => undef; |
37 | |
63d41fcd |
38 | author_requires 'Data::Taxi'; |
39 | |
8f00a41b |
40 | feature 'Config::General (text/x-config-general) support', |
41 | -default => 0, |
42 | 'Config::General' => undef; |
63d41fcd |
43 | author_requires 'Config::General'; |
8f00a41b |
44 | |
45 | feature 'PHP::Serialization (text/x-php-serialization) support', |
46 | -default => 0, |
47 | 'PHP::Serialization' => undef; |
63d41fcd |
48 | author_requires 'PHP::Serialization'; |
8f00a41b |
49 | |
50 | feature 'FreezeThaw (application/x-freezethaw) support', |
51 | -default => 0, |
52 | 'FreezeThaw' => undef; |
63d41fcd |
53 | author_requires 'FreezeThaw'; |
8f00a41b |
54 | |
55 | feature 'XML::Simple (text/xml) support', |
56 | -default => 0, |
57 | 'XML::Simple' => undef; |
63d41fcd |
58 | author_requires 'XML::Simple'; |
33e5de96 |
59 | |
60 | auto_include; |
61 | auto_install; |
7328f0ab |
62 | |
63d41fcd |
63 | if ($Module::Install::AUTHOR) { |
64 | system("pod2text lib/Catalyst/Action/REST.pm > README") |
65 | and die $!; |
66 | } |
67 | |
c1f00522 |
68 | repository 'git://git.shadowcat.co.uk/catagits/Catalyst-Action-REST.git'; |
38c3a9b2 |
69 | |
7328f0ab |
70 | WriteAll; |
71 | |