Permalink
Browse files

0.9027

  • Loading branch information...
1 parent b020a32 commit 7b962f66eca2c518aefc083e3fc73b17711b4dd7 @miyagawa committed Mar 31, 2013
Showing with 31 additions and 4 deletions.
  1. +3 −0 Changes
  2. +12 −2 META.json
  3. +15 −1 Makefile.PL
  4. +1 −1 lib/Module/CPANfile.pm
View
@@ -2,6 +2,9 @@ Revision history for Module::Install::CPANfile
{{$NEXT}}
+0.9027 2013-03-31 12:45:10 PDT
+ - Improved error message shows filename and line number
+
0.9026 2013-03-28 12:07:27 PDT
- Updated FAQ to mention tools that support cpanfile
View
@@ -4,7 +4,7 @@
"Tatsuhiko Miyagawa <miyagawa@bulknews.net>"
],
"dynamic_config" : 0,
- "generated_by" : "Dist::Milla version v0.9.1, Dist::Zilla version 4.300031, CPAN::Meta::Converter version 2.130870",
+ "generated_by" : "Dist::Milla version v0.9.3, Dist::Zilla version 4.300032, CPAN::Meta::Converter version 2.130880",
"license" : [
"perl_5"
],
@@ -13,6 +13,16 @@
"version" : "2"
},
"name" : "Module-CPANfile",
+ "no_index" : {
+ "directory" : [
+ "t",
+ "xt",
+ "inc",
+ "share",
+ "eg",
+ "examples"
+ ]
+ },
"prereqs" : {
"configure" : {
"requires" : {
@@ -46,6 +56,6 @@
"web" : "https://github.com/miyagawa/cpanfile"
}
},
- "version" : "0.9026"
+ "version" : "0.9027"
}
View
@@ -25,13 +25,27 @@ my %WriteMakefileArgs = (
"CPAN::Meta" => "2.12091",
"CPAN::Meta::Prereqs" => "2.12091"
},
- "VERSION" => "0.9026",
+ "TEST_REQUIRES" => {},
+ "VERSION" => "0.9027",
"test" => {
"TESTS" => "t/*.t"
}
);
+unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
+ my $tr = delete $WriteMakefileArgs{TEST_REQUIRES};
+ my $br = $WriteMakefileArgs{BUILD_REQUIRES};
+ for my $mod ( keys %$tr ) {
+ if ( exists $br->{$mod} ) {
+ $br->{$mod} = $tr->{$mod} if $tr->{$mod} > $br->{$mod};
+ }
+ else {
+ $br->{$mod} = $tr->{$mod};
+ }
+ }
+}
+
unless ( eval { ExtUtils::MakeMaker->VERSION(6.56) } ) {
my $br = delete $WriteMakefileArgs{BUILD_REQUIRES};
my $pp = $WriteMakefileArgs{PREREQ_PM};
View
@@ -3,7 +3,7 @@ use strict;
use warnings;
use Cwd;
-our $VERSION = '0.9026';
+our $VERSION = '0.9027';
sub new {
my($class, $file) = @_;

0 comments on commit 7b962f6

Please sign in to comment.