Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Released 0.20

  • Loading branch information...
commit da016fa610cd47846045f374d979dc8310560b84 1 parent 2633c11
Mike Doherty authored

Showing 5 changed files with 51 additions and 21 deletions. Show diff stats Hide diff stats

  1. +24 10 Build.PL
  2. +2 0  Changes
  3. +23 9 Makefile.PL
  4. +1 1  README
  5. +1 1  README.mkdn
34 Build.PL
@@ -7,14 +7,7 @@ use Module::Build 0.3601;
7 7
8 8 my %module_build_args = (
9 9 "build_requires" => {
10   - "File::Find" => 0,
11   - "File::Path" => 0,
12   - "File::Temp" => 0,
13   - "Module::Build" => "0.3601",
14   - "Moose::Autobox" => 0,
15   - "Test::DZil" => 0,
16   - "Test::More" => "0.88",
17   - "autodie" => 0
  10 + "Module::Build" => "0.3601"
18 11 },
19 12 "configure_requires" => {
20 13 "Module::Build" => "0.3601"
@@ -24,7 +17,7 @@ my %module_build_args = (
24 17 "Mike Doherty <doherty\@cpan.org>"
25 18 ],
26 19 "dist_name" => "Dist-Zilla-PluginBundle-TestingMania",
27   - "dist_version" => "0.19",
  20 + "dist_version" => "0.20",
28 21 "license" => "perl",
29 22 "module_name" => "Dist::Zilla::PluginBundle::TestingMania",
30 23 "recommends" => {},
@@ -61,10 +54,31 @@ my %module_build_args = (
61 54 "strict" => 0,
62 55 "warnings" => 0
63 56 },
64   - "script_files" => []
  57 + "script_files" => [],
  58 + "test_requires" => {
  59 + "Capture::Tiny" => 0,
  60 + "Moose::Autobox" => 0,
  61 + "Test::DZil" => 0,
  62 + "Test::More" => "0.88",
  63 + "autodie" => 0,
  64 + "blib" => 0
  65 + }
65 66 );
66 67
67 68
  69 +unless ( eval { Module::Build->VERSION(0.4004) } ) {
  70 + my $tr = delete $module_build_args{test_requires};
  71 + my $br = $module_build_args{build_requires};
  72 + for my $mod ( keys %$tr ) {
  73 + if ( exists $br->{$mod} ) {
  74 + $br->{$mod} = $tr->{$mod} if $tr->{$mod} > $br->{$mod};
  75 + }
  76 + else {
  77 + $br->{$mod} = $tr->{$mod};
  78 + }
  79 + }
  80 +}
  81 +
68 82 my $build = Module::Build->new(%module_build_args);
69 83
70 84 $build->create_build_script;
2  Changes
... ... @@ -1,6 +1,8 @@
1 1 Changelog for Dist::Zilla::PluginBundle::TestingMania
2 2
3 3 {{$NEXT}}
  4 +
  5 +0.20 2013-08-13
4 6 - Fix spurious test failures
5 7
6 8 0.19 2013-03-02
32 Makefile.PL
@@ -12,14 +12,7 @@ my %WriteMakefileArgs = (
12 12 "ABSTRACT" => "test your dist with every testing plugin conceivable",
13 13 "AUTHOR" => "Mike Doherty <doherty\@cpan.org>",
14 14 "BUILD_REQUIRES" => {
15   - "File::Find" => 0,
16   - "File::Path" => 0,
17   - "File::Temp" => 0,
18   - "Module::Build" => "0.3601",
19   - "Moose::Autobox" => 0,
20   - "Test::DZil" => 0,
21   - "Test::More" => "0.88",
22   - "autodie" => 0
  15 + "Module::Build" => "0.3601"
23 16 },
24 17 "CONFIGURE_REQUIRES" => {
25 18 "Module::Build" => "0.3601"
@@ -59,13 +52,34 @@ my %WriteMakefileArgs = (
59 52 "strict" => 0,
60 53 "warnings" => 0
61 54 },
62   - "VERSION" => "0.19",
  55 + "TEST_REQUIRES" => {
  56 + "Capture::Tiny" => 0,
  57 + "Moose::Autobox" => 0,
  58 + "Test::DZil" => 0,
  59 + "Test::More" => "0.88",
  60 + "autodie" => 0,
  61 + "blib" => 0
  62 + },
  63 + "VERSION" => "0.20",
63 64 "test" => {
64 65 "TESTS" => "t/*.t"
65 66 }
66 67 );
67 68
68 69
  70 +unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
  71 + my $tr = delete $WriteMakefileArgs{TEST_REQUIRES};
  72 + my $br = $WriteMakefileArgs{BUILD_REQUIRES};
  73 + for my $mod ( keys %$tr ) {
  74 + if ( exists $br->{$mod} ) {
  75 + $br->{$mod} = $tr->{$mod} if $tr->{$mod} > $br->{$mod};
  76 + }
  77 + else {
  78 + $br->{$mod} = $tr->{$mod};
  79 + }
  80 + }
  81 +}
  82 +
69 83 unless ( eval { ExtUtils::MakeMaker->VERSION(6.56) } ) {
70 84 my $br = delete $WriteMakefileArgs{BUILD_REQUIRES};
71 85 my $pp = $WriteMakefileArgs{PREREQ_PM};
2  README
@@ -3,7 +3,7 @@ NAME
3 3 testing plugin conceivable
4 4
5 5 VERSION
6   - version 0.19
  6 + version 0.20
7 7
8 8 SYNOPSIS
9 9 In dist.ini:
2  README.mkdn
Source Rendered
@@ -4,7 +4,7 @@ Dist::Zilla::PluginBundle::TestingMania - test your dist with every testing plug
4 4
5 5 # VERSION
6 6
7   -version 0.19
  7 +version 0.20
8 8
9 9 # SYNOPSIS
10 10

0 comments on commit da016fa

Please sign in to comment.
Something went wrong with that request. Please try again.