Subject: | plugin doesn't work with dzil 4.x |
attached patch fixes the problem.
Subject: | Dist-Zilla-Plugin-MakeMaker-SkipInstall-1.002-fix_to_match_dzil4_api.patch |
--- dist.ini.orig 2011-03-17 10:24:10.852162845 +0100
+++ dist.ini 2011-03-17 10:24:15.413064781 +0100
@@ -13,7 +13,7 @@
[MetaTests]
-[Prereq]
+[Prereqs]
Dist::Zilla = 0
Dist::Zilla::Plugin::CheckChangeLog = 0
Test::More = 0.92
--- t/01-edit.t.orig 2011-03-17 10:22:44.716016789 +0100
+++ t/01-edit.t 2011-03-17 10:22:55.028794778 +0100
@@ -4,7 +4,7 @@
use warnings;
use Test::More;
use Test::Exception;
-use Dist::Zilla;
+use Dist::Zilla::Tester;
use Dist::Zilla::Plugin::MakeMaker::SkipInstall;
use Path::Class qw( dir );
use File::Temp qw( tempdir );
@@ -15,7 +15,7 @@
my $plugin = Dist::Zilla::Plugin::MakeMaker::SkipInstall->new(
plugin_name => 'MakeMaker::SkipInstall',
- zilla => Dist::Zilla->from_config({dist_root => $dir->stringify}),
+ zilla => Dist::Zilla::Tester->from_config({dist_root => $dir->stringify}),
);
ok($plugin);
lives_ok sub { $plugin->after_build({build_root => $dir}) };