@@ -0,0 +1,16 @@
+use strict;
+use warnings;
+
+use Module::Build;
+
+my $builder = Module::Build->new(
+ 'module_name' => 'Ouch',
+ 'license' => 'perl',
+ 'dist_author' => 'JT Smith',
+ 'build_requires' => {
+ 'Test::More' => 0
+ },
+ 'create_makefile_pl' => 'traditional'
+);
+
+$builder->create_build_script();
\ No newline at end of file
@@ -1,5 +1,8 @@
Revision history for Perl module Ouch
+0.0409 2015-01-27
+ - Added support for Travis. Thanks to Zshawn Syed.
+
0.0408 2013-09-24
- Reformatted the Changes file according to the spec in CPAN::Changes::Spec. Thanks to sergeyromanov who is working on a quest to improve CPAN: http://questhub.io/realm/perl/quest/51f0337718ba7d3959000086
@@ -1,3 +1,5 @@
+# This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.019.
+Build.PL
Changes
LICENSE
MANIFEST
@@ -4,21 +4,21 @@ author:
- 'JT Smith <jt@plainblack.com>'
build_requires: {}
configure_requires:
- ExtUtils::MakeMaker: 6.30
+ ExtUtils::MakeMaker: '6.30'
dynamic_config: 0
-generated_by: 'Dist::Zilla version 4.300038, CPAN::Meta::Converter version 2.131560'
+generated_by: 'Dist::Zilla version 5.019, CPAN::Meta::Converter version 2.142690'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
- version: 1.4
+ version: '1.4'
name: Ouch
requires:
- Carp: 0
- Test::More: 0
- Test::Trap: 0
- overload: 0
- parent: 0
+ Carp: '0'
+ Test::More: '0'
+ Test::Trap: '0'
+ overload: '0'
+ parent: '0'
resources:
bugtracker: http://github.com/rizen/Ouch/issues
repository: git://github.com/rizen/Ouch.git
-version: 0.0408
+version: '0.0409'
@@ -1,4 +1,5 @@
+# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v5.019.
use strict;
use warnings;
@@ -11,7 +12,6 @@ use ExtUtils::MakeMaker 6.30;
my %WriteMakefileArgs = (
"ABSTRACT" => "Exceptions that don't hurt.",
"AUTHOR" => "JT Smith <jt\@plainblack.com>",
- "BUILD_REQUIRES" => {},
"CONFIGURE_REQUIRES" => {
"ExtUtils::MakeMaker" => "6.30"
},
@@ -26,38 +26,26 @@ my %WriteMakefileArgs = (
"overload" => 0,
"parent" => 0
},
- "TEST_REQUIRES" => {},
- "VERSION" => "0.0408",
+ "VERSION" => "0.0409",
"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};
- }
- }
-}
+my %FallbackPrereqs = (
+ "Carp" => 0,
+ "Test::More" => 0,
+ "Test::Trap" => 0,
+ "overload" => 0,
+ "parent" => 0
+);
-unless ( eval { ExtUtils::MakeMaker->VERSION(6.56) } ) {
- my $br = delete $WriteMakefileArgs{BUILD_REQUIRES};
- my $pp = $WriteMakefileArgs{PREREQ_PM};
- for my $mod ( keys %$br ) {
- if ( exists $pp->{$mod} ) {
- $pp->{$mod} = $br->{$mod} if $br->{$mod} > $pp->{$mod};
- }
- else {
- $pp->{$mod} = $br->{$mod};
- }
- }
+
+unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
+ delete $WriteMakefileArgs{TEST_REQUIRES};
+ delete $WriteMakefileArgs{BUILD_REQUIRES};
+ $WriteMakefileArgs{PREREQ_PM} = \%FallbackPrereqs;
}
delete $WriteMakefileArgs{CONFIGURE_REQUIRES}
@@ -1,7 +1,7 @@
This archive contains the distribution Ouch,
-version 0.0408:
+version 0.0409:
Exceptions that don't hurt.
@@ -11,3 +11,5 @@ This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
+This README file was generated by Dist::Zilla::Plugin::Readme v5.019.
+
@@ -4,7 +4,7 @@ license = Perl_5
copyright_holder = Plain Black Corporation
copyright_year = 2011
-version = 0.0408
+version = 0.0409
[@Classic]
@@ -1,9 +1,7 @@
use strict;
use warnings;
package Ouch;
-{
- $Ouch::VERSION = '0.0408';
-}
+$Ouch::VERSION = '0.0409';
use Carp qw(longmess shortmess);
use parent 'Exporter';
use overload bool => sub {1}, q{""} => 'scalar', fallback => 1;
@@ -137,7 +135,7 @@ Ouch - Exceptions that don't hurt.
=head1 VERSION
-version 0.0408
+version 0.0409
=head1 SYNOPSIS
@@ -7,15 +7,9 @@ BEGIN {
}
}
+# This file was automatically generated by Dist::Zilla::Plugin::PodCoverageTests.
-use Test::More;
-
-eval "use Test::Pod::Coverage 1.08";
-plan skip_all => "Test::Pod::Coverage 1.08 required for testing POD coverage"
- if $@;
-
-eval "use Pod::Coverage::TrustPod";
-plan skip_all => "Pod::Coverage::TrustPod required for testing POD coverage"
- if $@;
+use Test::Pod::Coverage 1.08;
+use Pod::Coverage::TrustPod;
all_pod_coverage_ok({ coverage_class => 'Pod::Coverage::TrustPod' });
@@ -7,9 +7,8 @@ BEGIN {
}
}
+# This file was automatically generated by Dist::Zilla::Plugin::PodSyntaxTests.
use Test::More;
-
-eval "use Test::Pod 1.41";
-plan skip_all => "Test::Pod 1.41 required for testing POD" if $@;
+use Test::Pod 1.41;
all_pod_files_ok();