@@ -1,68 +0,0 @@
-# =========================================================================
-# THIS FILE IS AUTOMATICALLY GENERATED BY MINILLA.
-# DO NOT EDIT DIRECTLY.
-# =========================================================================
-
-use 5.008_001;
-
-use strict;
-use warnings;
-use utf8;
-
-use Module::Build;
-use File::Basename;
-use File::Spec;
-use CPAN::Meta;
-use CPAN::Meta::Prereqs;
-
-my %args = (
- license => 'perl',
- dynamic_config => 0,
-
- configure_requires => {
- 'Module::Build' => 0.38,
- },
-
- name => 'Test-Requires',
- module_name => 'Test::Requires',
- allow_pureperl => 0,
-
- script_files => [glob('script/*'), glob('bin/*')],
-
- test_files => ((-d '.git' || $ENV{RELEASE_TESTING}) && -d 'xt') ? 't/ xt/' : 't/',
- recursive_test_files => 1,
-);
-if (-d 'share') {
- $args{share_dir} = 'share';
-}
-
-my $builder = Module::Build->subclass(
- class => 'MyBuilder',
- code => q{
- sub ACTION_distmeta {
- die "Do not run distmeta. Install Minilla and `minil install` instead.\n";
- }
- sub ACTION_installdeps {
- die "Do not run installdeps. Run `cpanm --installdeps .` instead.\n";
- }
- }
-)->new(%args);
-$builder->create_build_script();
-
-my $mbmeta = CPAN::Meta->load_file('MYMETA.json');
-my $meta = CPAN::Meta->load_file('META.json');
-my $prereqs_hash = CPAN::Meta::Prereqs->new(
- $meta->prereqs
-)->with_merged_prereqs(
- CPAN::Meta::Prereqs->new($mbmeta->prereqs)
-)->as_string_hash;
-my $mymeta = CPAN::Meta->new(
- {
- %{$meta->as_struct},
- prereqs => $prereqs_hash
- }
-);
-print "Merging cpanfile prereqs to MYMETA.yml\n";
-$mymeta->save('MYMETA.yml', { version => 1.4 });
-print "Merging cpanfile prereqs to MYMETA.json\n";
-$mymeta->save('MYMETA.json', { version => 2 });
@@ -1,39 +1,45 @@
-Revision history for Perl extension Test::Requires
+Revision history for Perl module Test::Requires
+
+0.08 2014-07-16T00:21:22Z
+
+ - Switch to EUMM.
0.07 2013-07-01T03:08:52Z
- - If the C<< RELEASE_TESTING >> environment variable is true, then instead
- of skipping tests, Test::Requires bails out.
- (tobyink)
+ - If the C<< RELEASE_TESTING >> environment variable is true, then instead
+ of skipping tests, Test::Requires bails out.
+ (tobyink)
+
+0.07 2013-06-30
+
+ - document that use Test::Requires "5.010" works.
+ (tobyink)
-0.07
+0.06 2010-09-26
- - document that use Test::Requires "5.010" works.
- (tobyink)
+ - support Perl 5.6.0 or later. Because Mouse need to support it.
+ (gfx)
-0.06
+0.05 2010-03-27
- - support Perl 5.6.0 or later. Because Mouse need to support it.
- (gfx)
+ - requires Test::More 0.61 or later, because Test::Builder::Module was
+ first appeared at 0.60_02.
+ (suggested by miyagawa++)
-0.05
+0.04 2010-03-27
- - requires Test::More 0.61 or later, because Test::Builder::Module was
- first appeared at 0.60_02.
- (suggested by miyagawa++)
+ - no Test::Base (miyagawa)
-0.04
+0.03 2009-09-21
- - no Test::Base (miyagawa)
+ - support older test::builder
+ (reported by tomyhero++)
-0.03
+0.02 2009-09-09
- - support older test::builder
- (reported by tomyhero++)
+ - remove hacky stuff
-0.02
+0.01 2009-07-02
- - remove hacky stuff
+ - original version
-0.01 Fri Jul 3 08:34:33 2009
- - original version
@@ -1,10 +1,11 @@
-Build.PL
Changes
LICENSE
META.json
+Makefile.PL
README.md
cpanfile
lib/Test/Requires.pm
+minil.toml
t/00_compile.t
t/01_simple.t
t/02_no_plan.t
@@ -4,8 +4,10 @@
"Tokuhiro Matsuno <tokuhirom @*(#RJKLFHFSDLJF gmail.com>"
],
"dynamic_config" : 0,
- "generated_by" : "Minilla/v0.5.3",
- "license" : "perl_5",
+ "generated_by" : "Minilla/v2.1.0",
+ "license" : [
+ "perl_5"
+ ],
"meta-spec" : {
"url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
"version" : "2"
@@ -19,7 +21,8 @@
"share",
"eg",
"examples",
- "author"
+ "author",
+ "builder"
]
},
"prereqs" : {
@@ -30,15 +33,14 @@
},
"configure" : {
"requires" : {
- "CPAN::Meta" : "0",
- "CPAN::Meta::Prereqs" : "0",
- "Module::Build" : "0.38"
+ "ExtUtils::MakeMaker" : "6.64"
}
},
"develop" : {
"requires" : {
"Test::CPAN::Meta" : "0",
- "Test::MinimumVersion" : "0.10108",
+ "Test::MinimumVersion::Fast" : "0.04",
+ "Test::PAUSE::Permissions" : "0.04",
"Test::Pod" : "1.41",
"Test::Spellunker" : "v0.2.7"
}
@@ -54,7 +56,7 @@
"provides" : {
"Test::Requires" : {
"file" : "lib/Test/Requires.pm",
- "version" : "0.07"
+ "version" : "0.08"
}
},
"release_status" : "stable",
@@ -68,11 +70,12 @@
"web" : "https://github.com/tokuhirom/Test-Requires"
}
},
- "version" : "0.07",
+ "version" : "0.08",
"x_contributors" : [
"Tatsuhiko Miyagawa <miyagawa@bulknews.net>",
"gfx <gfuji@cpan.org>",
"Toby Inkster <mail@tobyinkster.co.uk>",
- "tokuhirom <tokuhirom@gmail.com>"
+ "Neil Bowers <neil@bowers.com>",
+ "Tokuhiro Matsuno <tokuhirom@gmail.com>"
]
}
@@ -3,17 +3,15 @@ abstract: 'Checks to see if the module can be loaded'
author:
- 'Tokuhiro Matsuno <tokuhirom @*(#RJKLFHFSDLJF gmail.com>'
build_requires:
- ExtUtils::MakeMaker: 6.59
+ ExtUtils::MakeMaker: '6.59'
configure_requires:
- CPAN::Meta: 0
- CPAN::Meta::Prereqs: 0
- Module::Build: 0.38
+ ExtUtils::MakeMaker: '6.64'
dynamic_config: 0
-generated_by: 'Minilla/v0.5.3, CPAN::Meta::Converter version 2.130880'
+generated_by: 'Minilla/v2.1.0, CPAN::Meta::Converter version 2.141520'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
- version: 1.4
+ version: '1.4'
name: Test-Requires
no_index:
directory:
@@ -24,21 +22,23 @@ no_index:
- eg
- examples
- author
+ - builder
provides:
Test::Requires:
file: lib/Test/Requires.pm
- version: 0.07
+ version: '0.08'
requires:
- Test::Builder::Module: 0
- Test::More: 0.61
+ Test::Builder::Module: '0'
+ Test::More: '0.61'
perl: 5.008_001
resources:
bugtracker: https://github.com/tokuhirom/Test-Requires/issues
homepage: https://github.com/tokuhirom/Test-Requires
repository: git://github.com/tokuhirom/Test-Requires.git
-version: 0.07
+version: '0.08'
x_contributors:
- 'Tatsuhiko Miyagawa <miyagawa@bulknews.net>'
- 'gfx <gfuji@cpan.org>'
- 'Toby Inkster <mail@tobyinkster.co.uk>'
- - 'tokuhirom <tokuhirom@gmail.com>'
+ - 'Neil Bowers <neil@bowers.com>'
+ - 'Tokuhiro Matsuno <tokuhirom@gmail.com>'
@@ -0,0 +1,45 @@
+# =========================================================================
+# THIS FILE IS AUTOMATICALLY GENERATED BY MINILLA.
+# DO NOT EDIT DIRECTLY.
+# =========================================================================
+
+use 5.008_001;
+use strict;
+
+use ExtUtils::MakeMaker;
+
+
+use File::Copy;
+
+print "cp META.json MYMETA.json\n";
+copy("META.json","MYMETA.json") or die "Copy failed(META.json): $!";
+
+if (-f 'META.yml') {
+ print "cp META.yml MYMETA.yml\n";
+ copy("META.yml","MYMETA.yml") or die "Copy failed(META.yml): $!";
+} else {
+ print "There is no META.yml... You may install this module from the repository...\n";
+}
+
+my %args;
+if ($ExtUtils::MakeMaker::VERSION >= 6.64) {
+ # *_REQUIRES was supported.
+
+ $args{CONFIGURE_REQUIRES} = {"ExtUtils::MakeMaker" => "6.64"};
+ $args{BUILD_REQUIRES} = {"ExtUtils::MakeMaker" => "6.59"};
+ $args{TEST_REQUIRES} = {};
+ $args{PREREQ_PM} = {"Test::Builder::Module" => 0,"Test::More" => "0.61","perl" => "5.008_001"};
+} else {
+ $args{PREREQ_PM} = {"ExtUtils::MakeMaker" => "6.64","Test::Builder::Module" => 0,"Test::More" => "0.61","perl" => "5.008_001"};
+}
+
+if ($ExtUtils::MakeMaker::VERSION >= 6.57_01) {
+ $args{NO_MYMETA} = 1;
+}
+
+WriteMakefile(
+ NAME => 'Test::Requires',
+ DISTNAME => 'Test-Requires',
+ VERSION => '0.08',
+ %args,
+);
@@ -32,19 +32,18 @@ Test::Requires - Checks to see if the module can be loaded
Test::Requires checks to see if the module can be loaded.
-If this fails rather than failing tests this __skips all tests__.
+If this fails rather than failing tests this **skips all tests**.
Test::Requires can also be used to require a minimum version of Perl:
use Test::Requires "5.010"; # quoting is necessary!!
-
# or
use Test::Requires "v5.10";
# AUTHOR
-Tokuhiro Matsuno <tokuhirom @\*(\#RJKLFHFSDLJF gmail.com>
+Tokuhiro Matsuno <tokuhirom @\*(#RJKLFHFSDLJF gmail.com>
# THANKS TO
@@ -60,7 +59,7 @@ of skipping tests, Test::Requires bails out.
# SEE ALSO
-["TestPlagger.pm" in t](http://search.cpan.org/perldoc?t#TestPlagger.pm)
+["TestPlagger.pm" in t](https://metacpan.org/pod/t#TestPlagger.pm)
# LICENSE
@@ -1,7 +1,7 @@
package Test::Requires;
use strict;
use warnings;
-our $VERSION = '0.07';
+our $VERSION = '0.08';
use base 'Test::Builder::Module';
use 5.006000;
@@ -0,0 +1 @@
+module_maker="ExtUtilsMakeMaker"