-
Notifications
You must be signed in to change notification settings - Fork 213
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #446 from miyagawa/cpanfile-pinning
Honor cpanfile requirements when recursing sub dependencies
- Loading branch information
Showing
6 changed files
with
41 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
requires 'Hash::MultiValue', '== 0.10'; | ||
requires 'Hash::MultiValue', '== 0.12'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
requires 'Module::Refresh', '== 0.17'; | ||
requires 'Path::Class', '== 0.26'; | ||
|
||
requires 'Data::Dumper', '== 2.139'; | ||
requires 'Test::Differences', '== 0.61'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
use strict; | ||
use Test::More; | ||
use xt::Run; | ||
|
||
{ | ||
run_L "--installdeps", "--notest", "./testdist/cpanfile_pin"; | ||
unlike last_build_log, qr/Installed version \(.*\) of Path::Class is not in range '== 0.26'/; | ||
|
||
like last_build_log, qr/installed Path-Class-0\.26/; | ||
like last_build_log, qr/installed Data-Dumper-2\.139/; | ||
} | ||
|
||
done_testing; |