switch to using cpanfile for storing deps
Arthur Axel 'fREW' Schmidt [Sat, 21 Sep 2013 16:45:38 +0000 (11:45 -0500)]
cpanfile [new file with mode: 0644]
dist.ini

diff --git a/cpanfile b/cpanfile
new file mode 100644 (file)
index 0000000..3826056
--- /dev/null
+++ b/cpanfile
@@ -0,0 +1,25 @@
+requires 'parent' => 0.225;
+requires 'autodie' => 0;
+requires 'namespace::autoclean' => 0;
+requires 'Log::Contextual' => 0.005005;
+requires 'Path::Class' => 0.26;
+requires 'DBIx::Class' => 0.08121;
+requires 'Moose' => 1.0;
+requires 'Moo' => 1.003000;
+requires 'MooseX::Role::Parameterized' => 0.18;
+requires 'Try::Tiny' => 0;
+requires 'SQL::Translator' => 0.11005;
+requires 'Carp' => 0;
+requires 'Carp::Clan' => 0;
+requires 'Context::Preserve' => 0.01;
+requires 'Sub::Exporter::Progressive' => 0;
+requires 'Text::Brew' => 0.02;
+
+on test => sub {
+   requires 'Test::More' => 0.88;
+   requires 'Test::Fatal' => 0.006;
+   requires 'DBD::SQLite' => 1.35;
+   requires 'aliased' => 0;
+   requires 'Test::Requires' => 0.06;
+   requires 'File::Temp' => 0;
+};
index 73dfbfd..42d0dfe 100644 (file)
--- a/dist.ini
+++ b/dist.ini
@@ -20,26 +20,4 @@ bugtracker.web    = https://github.com/frioux/DBIx-Class-DeploymentHandler/issue
 [ReadmeFromPod]
 [PodSyntaxTests]
 
-[Prereqs]
-parent                      = 0.225
-autodie                     = 0
-namespace::autoclean        = 0
-Log::Contextual             = 0.005005
-Path::Class                 = 0.26
-DBIx::Class                 = 0.08121
-Moose                       = 1.0
-Moo                         = 1.003000
-MooseX::Role::Parameterized = 0.18
-Try::Tiny                   = 0
-SQL::Translator             = 0.11005
-Test::More                  = 0.88
-Test::Fatal                 = 0.006
-DBD::SQLite                 = 1.35
-Carp                        = 0
-Carp::Clan                  = 0
-aliased                     = 0
-Test::Requires              = 0.06
-Context::Preserve           = 0.01
-File::Temp                  = 0
-Sub::Exporter::Progressive  = 0
-Text::Brew                  = 0.02
+[Prereqs::FromCPANfile]