From: Peter Rabbitson Date: Sat, 13 Feb 2010 09:27:18 +0000 (+0000) Subject: dbicadmin dependencies X-Git-Tag: v0.08119~9^2~9 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2b48ebff2d13ae5314aa62942434bd4e697ad1ab;p=dbsrgits%2FDBIx-Class.git dbicadmin dependencies --- diff --git a/Makefile.PL b/Makefile.PL index 2d0098e..105c2ae 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -44,7 +44,6 @@ my $runtime_requires = { 'Class::Inspector' => '1.24', 'Data::Page' => '2.00', 'DBI' => '1.609', - 'JSON::Any' => '1.18', 'MRO::Compat' => '0.09', 'Module::Find' => '0.06', 'Path::Class' => '0.16', diff --git a/lib/DBIx/Class/Optional/Dependencies.pm b/lib/DBIx/Class/Optional/Dependencies.pm index 810d875..06752bb 100644 --- a/lib/DBIx/Class/Optional/Dependencies.pm +++ b/lib/DBIx/Class/Optional/Dependencies.pm @@ -11,6 +11,11 @@ use Carp; # POD is generated automatically by calling _gen_pod from the # Makefile.PL in $AUTHOR mode +my $moose_basic = { + 'Moose' => '0.98', + 'MooseX::Types' => '0.21', +}; + my $reqs = { dist => { #'Module::Install::Pod::Inherit' => '0.01', @@ -18,8 +23,7 @@ my $reqs = { replicated => { req => { - 'Moose' => '0.98', - 'MooseX::Types' => '0.21', + %$moose_basic, 'namespace::clean' => '0.11', 'Hash::Merge' => '0.11', }, @@ -30,6 +34,17 @@ my $reqs = { }, admin => { + req => { + %$moose_basic, + 'MooseX::Types::Path::Class'=> '0.05', + 'MooseX::Types::JSON' => '0.02', + 'Try::Tiny' => '0.02', + 'namespace::autoclean' => '0.09', + 'parent' => '0.223', + 'Getopt::Long::Descriptive' => '0.081', + 'JSON::Any' => '1.22', + 'Text::CSV' => '1.16', + }, }, deploy => {