[libdist-zilla-role-bootstrap-perl] 02/04: Drop FindDev deps

Axel Beckert abe at deuxchevaux.org
Sat Aug 8 11:59:11 UTC 2015


This is an automated email from the git hooks/post-receive script.

abe pushed a commit to annotated tag 1.000001-source
in repository libdist-zilla-role-bootstrap-perl.

commit 18278de2cfd66be3863c462ca2324624da6aea5c
Author: Kent Fredric <kentfredric at gmail.com>
Date:   Sat Apr 5 20:19:54 2014 +1300

    Drop FindDev deps
---
 Changes                       | 7 +++++++
 Changes.deps                  | 9 ++++++++-
 Changes.deps.all              | 9 ++++++++-
 Changes.deps.dev              | 4 +++-
 t/01-basic.t                  | 4 ++--
 t/02-try-built-mtime.t        | 5 ++---
 t/03-try-built-parseversion.t | 4 ++--
 7 files changed, 32 insertions(+), 10 deletions(-)

diff --git a/Changes b/Changes
index aaeb5c9..5601a0b 100644
--- a/Changes
+++ b/Changes
@@ -1,6 +1,13 @@
 Release history for Dist-Zilla-Role-Bootstrap
 
 {{$NEXT}}
+ [00 Test Fixes]
+ - Drop dependency on Path::FindDev
+
+ [Dependencies::Stats]
+ - Dependencies changed since 1.000000, see Changes.deps{,.all,.dev} for
+   details
+ - test: +1 -1
 
 1.000000 2014-04-05T05:29:35Z
  [00 Major]
diff --git a/Changes.deps b/Changes.deps
index 1c93590..67a0013 100644
--- a/Changes.deps
+++ b/Changes.deps
@@ -1,4 +1,11 @@
-1.000000
+1.000001
+ [Added / test requires]
+ - FindBin
+
+ [Removed / test requires]
+ - Path::FindDev
+
+1.000000 2014-04-05T05:29:35Z
  [Added / configure recommends]
  - ExtUtils::MakeMaker 6.94
 
diff --git a/Changes.deps.all b/Changes.deps.all
index 3e3c15a..6582869 100644
--- a/Changes.deps.all
+++ b/Changes.deps.all
@@ -1,4 +1,11 @@
-1.000000
+1.000001
+ [Added / test requires]
+ - FindBin
+
+ [Removed / test requires]
+ - Path::FindDev
+
+1.000000 2014-04-05T05:29:35Z
  [Added / configure recommends]
  - ExtUtils::MakeMaker 6.94
 
diff --git a/Changes.deps.dev b/Changes.deps.dev
index 8670156..9b9344e 100644
--- a/Changes.deps.dev
+++ b/Changes.deps.dev
@@ -1,4 +1,6 @@
-1.000000
+1.000001
+
+1.000000 2014-04-05T05:29:35Z
  [Added / develop requires]
  - Dist::Zilla::Plugin::Git::NextRelease
  - Dist::Zilla::Plugin::Git::NextVersion::Sanitized
diff --git a/t/01-basic.t b/t/01-basic.t
index 396d7f4..da7b8ed 100644
--- a/t/01-basic.t
+++ b/t/01-basic.t
@@ -32,11 +32,11 @@ my $section = Dist::Zilla::MVP::Assembler::Zilla->new(
   zilla_class   => 'Dist::Zilla::Dist::Builder',
   section_class => 'Dist::Zilla::MVP::Section',
 );
-use Path::FindDev qw( find_dev );
+use FindBin;
 use Path::Tiny qw( path );
 
 my $cwd     = path('./')->absolute;
-my $scratch = find_dev('./')->child('corpus')->child('fake_dist_01');
+my $scratch = path("$FindBin::Bin")->parent->child('corpus')->child('fake_dist_01');
 
 chdir $scratch->stringify;
 
diff --git a/t/02-try-built-mtime.t b/t/02-try-built-mtime.t
index f8cf6f8..6dbc4ef 100644
--- a/t/02-try-built-mtime.t
+++ b/t/02-try-built-mtime.t
@@ -32,11 +32,10 @@ my $section = Dist::Zilla::MVP::Assembler::Zilla->new(
   zilla_class   => 'Dist::Zilla::Dist::Builder',
   section_class => 'Dist::Zilla::MVP::Section',
 );
-use Path::FindDev qw( find_dev );
 use Path::Tiny qw( path );
-
+use FindBin;
 my $cwd    = path('./')->absolute;
-my $source = find_dev('./')->child('corpus')->child('fake_dist_01');
+my $source = path("$FindBin::Bin")->parent->child('corpus')->child('fake_dist_01');
 
 my $scratch = Path::Tiny->tempdir;
 use File::Copy::Recursive qw(rcopy);
diff --git a/t/03-try-built-parseversion.t b/t/03-try-built-parseversion.t
index f443e2b..d999de6 100644
--- a/t/03-try-built-parseversion.t
+++ b/t/03-try-built-parseversion.t
@@ -32,11 +32,11 @@ my $section = Dist::Zilla::MVP::Assembler::Zilla->new(
   zilla_class   => 'Dist::Zilla::Dist::Builder',
   section_class => 'Dist::Zilla::MVP::Section',
 );
-use Path::FindDev qw( find_dev );
+use FindBin;
 use Path::Tiny qw( path );
 
 my $cwd    = path('./')->absolute;
-my $source = find_dev('./')->child('corpus')->child('fake_dist_01');
+my $source = path("$FindBin::Bin")->parent->child('corpus')->child('fake_dist_01');
 
 my $scratch = Path::Tiny->tempdir;
 use File::Copy::Recursive qw(rcopy);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libdist-zilla-role-bootstrap-perl.git



More information about the Pkg-perl-cvs-commits mailing list