add a check that we don't accidentally introduce new unwanted prereqs
[p5sagit/Try-Tiny.git] / dist.ini
index 9340af3..0f82e5b 100644 (file)
--- a/dist.ini
+++ b/dist.ini
@@ -1,23 +1,34 @@
 name = Try-Tiny
-author = Yuval Kogman <nothingmuch@woobling.org>
+author  = יובל קוג'מן (Yuval Kogman) <nothingmuch@woobling.org>
 author = Jesse Luehrs <doy@tozt.net>
 license = MIT
-copyright_holder = Yuval Kogman
+copyright_holder = יובל קוג'מן (Yuval Kogman)
+copyright_year = 2009
+
+[FileFinder::Filter / all_files_but_using_5.10_features]
+finder = :TestFiles
+skip = t/given_when.t
+skip = t/when.t
 
 [@Author::ETHER]
 installer = MakeMaker
 Authority.authority = cpan:NUFFIN
 ; tests optionally require 5.010
-AutoPrereqs.skip[0] = ^perl$
-; tests for optional Sub::Name stuff
-AutoPrereqs.skip[1] = ^Sub::Name$
-AutoPrereqs.skip[2] = ^Sub::Util$
-; tests optionally require Capture::Tiny
-AutoPrereqs.skip[3] = ^Capture::Tiny$
+AutoPrereqs.skip = ^perl$
+MinimumPerl.test_finder = all_files_but_using_5.10_features
+-remove = Test::CleanNamespaces
+
+; TODO: make this an option of [Test::MinimumVersion]
+[Substitute]
+file = xt/release/minimum-version.t
+code = s/^(all_minimum_version_ok\([^)]+)(\s*\);)/$1, { skip => [qw(t\/given_when\.t t\/when\.t)] }$2/
 
-[Prereqs]
-perl = 5.006
+[Prereqs::Soften]
+to_relationship = suggests
+copy_to = develop.requires
+module = Capture::Tiny  ; capture_stderr
+module = Sub::Name
+module = Sub::Util
 
-[Prereqs / TestRecommends]
-Capture::Tiny = 0.12 ; capture_stderr
-Sub::Util = 0
+[OnlyCorePrereqs]
+check_dual_life_versions = 0