@@ -1,100 +0,0 @@
-## HOW TO CONTRIBUTE
-
-Thank you for considering contributing to this distribution. This file
-contains instructions that will help you work with the source code.
-
-The distribution is managed with Dist::Zilla. This means than many of the
-usual files you might expect are not in the repository, but are generated at
-release time (e.g. Makefile.PL).
-
-Generally, **you do not need Dist::Zilla to contribute patches**. You do need
-Dist::Zilla to create a tarball and/or install from the repository. See below
-for guidance.
-
-### Getting dependencies
-
-See the included `cpanfile` file for a list of dependencies. If you have
-App::cpanminus 1.6 or later installed, you can use `cpanm` to satisfy
-dependencies like this:
-
- $ cpanm --installdeps .
-
-Otherwise, you can install Module::CPANfile 1.0002 or later and then satisfy
-dependencies with the regular `cpan` client and `cpanfile-dump`:
-
- $ cpan `cpanfile-dump`
-
-### Running tests
-
-You can run tests directly using the `prove` tool:
-
- $ prove -l
- $ prove -lv t/some_test_file.t
-
-For most of my distributions, `prove` is entirely sufficient for you to test any
-patches you have. I use `prove` for 99% of my testing during development.
-
-### Code style and tidying
-
-Please try to match any existing coding style. If there is a `.perltidyrc`
-file, please install Perl::Tidy and use perltidy before submitting patches.
-
-If there is a `tidyall.ini` file, you can also install Code::TidyAll and run
-`tidyall` on a file or `tidyall -a` to tidy all files.
-
-### Patching documentation
-
-Much of the documentation Pod is generated at release time. Depending on the
-distribution, some of my documentation may be written in a Pod dialect called
-WikiDoc. (See Pod::WikiDoc on CPAN.)
-
-If you would like to submit a documentation edit, please limit yourself to the
-documentation you see.
-
-If you see typos or documentation issues in the generated docs, please
-email or open a bug ticket instead of patching.
-
-### Installing from the repository
-
-If you want to install directly from the repository, you need to have
-Dist::Zilla installed (see below). If this is a burden to you, I welcome
-patches against a CPAN tarball instead of the repository.
-
-### Installing and using Dist::Zilla
-
-Dist::Zilla is a very powerful authoring tool, optimized for maintaining a
-large number of distributions with a high degree of automation, but it has a
-large dependency chain, a bit of a learning curve and requires a number of
-author-specific plugins.
-
-To install it from CPAN, I recommend one of the following approaches for
-the quickest installation:
-
- # using CPAN.pm, but bypassing non-functional pod tests
- $ cpan TAP::Harness::Restricted
- $ PERL_MM_USE_DEFAULT=1 HARNESS_CLASS=TAP::Harness::Restricted cpan Dist::Zilla
-
- # using cpanm, bypassing *all* tests
- $ cpanm -n Dist::Zilla
-
-In either case, it's probably going to take about 10 minutes. Go for a walk,
-go get a cup of your favorite beverage, take a bathroom break, or whatever.
-When you get back, Dist::Zilla should be ready for you.
-
-Then you need to install any plugins specific to this distribution:
-
- $ cpan `dzil authordeps`
- $ dzil authordeps | cpanm
-
-Once installed, here are some dzil commands you might try:
-
- $ dzil build
- $ dzil test
- $ dzil xtest
-
-To install from the repository, use:
-
- $ dzil install
-
-You can learn more about Dist::Zilla at http://dzil.org/
-
@@ -0,0 +1,87 @@
+## HOW TO CONTRIBUTE
+
+Thank you for considering contributing to this distribution. This file
+contains instructions that will help you work with the source code.
+
+The distribution is managed with Dist::Zilla. This means than many of the
+usual files you might expect are not in the repository, but are generated at
+release time, as is much of the documentation. Some generated files are
+kept in the repository as a convenience (e.g. Makefile.PL or cpanfile).
+
+Generally, **you do not need Dist::Zilla to contribute patches**. You do need
+Dist::Zilla to create a tarball. See below for guidance.
+
+### Getting dependencies
+
+If you have App::cpanminus 1.6 or later installed, you can use `cpanm` to
+satisfy dependencies like this:
+
+ $ cpanm --installdeps .
+
+Otherwise, look for either a `Makefile.PL` or `cpanfile` file for
+a list of dependencies to satisfy.
+
+### Running tests
+
+You can run tests directly using the `prove` tool:
+
+ $ prove -l
+ $ prove -lv t/some_test_file.t
+
+For most of my distributions, `prove` is entirely sufficient for you to test any
+patches you have. I use `prove` for 99% of my testing during development.
+
+### Code style and tidying
+
+Please try to match any existing coding style. If there is a `.perltidyrc`
+file, please install Perl::Tidy and use perltidy before submitting patches.
+
+If there is a `tidyall.ini` file, you can also install Code::TidyAll and run
+`tidyall` on a file or `tidyall -a` to tidy all files.
+
+### Patching documentation
+
+Much of the documentation Pod is generated at release time. Some is
+generated boilerplate; other documentation is built from pseudo-POD
+directives in the source like C<=method> or C<=func>.
+
+If you would like to submit a documentation edit, please limit yourself to
+the documentation you see.
+
+If you see typos or documentation issues in the generated docs, please
+email or open a bug ticket instead of patching.
+
+### Installing and using Dist::Zilla
+
+Dist::Zilla is a very powerful authoring tool, optimized for maintaining a
+large number of distributions with a high degree of automation, but it has a
+large dependency chain, a bit of a learning curve and requires a number of
+author-specific plugins.
+
+To install it from CPAN, I recommend one of the following approaches for
+the quickest installation:
+
+ # using CPAN.pm, but bypassing non-functional pod tests
+ $ cpan TAP::Harness::Restricted
+ $ PERL_MM_USE_DEFAULT=1 HARNESS_CLASS=TAP::Harness::Restricted cpan Dist::Zilla
+
+ # using cpanm, bypassing *all* tests
+ $ cpanm -n Dist::Zilla
+
+In either case, it's probably going to take about 10 minutes. Go for a walk,
+go get a cup of your favorite beverage, take a bathroom break, or whatever.
+When you get back, Dist::Zilla should be ready for you.
+
+Then you need to install any plugins specific to this distribution:
+
+ $ cpan `dzil authordeps`
+ $ dzil authordeps | cpanm
+
+Once installed, here are some dzil commands you might try:
+
+ $ dzil build
+ $ dzil test
+ $ dzil xtest
+
+You can learn more about Dist::Zilla at http://dzil.org/
+
@@ -1,5 +1,17 @@
Revision history for Capture-Tiny
+0.27 2014-11-04 23:10:44-05:00 America/New_York
+
+ Prereqs:
+
+ - Make Inline::C recommended, not required
+
+0.26 2014-11-04 06:55:15-05:00 America/New_York
+
+ Tests:
+
+ - Actually check for Inline::C in tests, not just Inline
+
0.25 2014-08-16 10:08:42-04:00 America/New_York
Prereqs:
@@ -1,5 +1,5 @@
-# This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.020.
-CONTRIBUTING
+# This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.023.
+CONTRIBUTING.mkdn
Changes
LICENSE
MANIFEST
@@ -4,7 +4,7 @@
"David Golden <dagolden@cpan.org>"
],
"dynamic_config" : 1,
- "generated_by" : "Dist::Zilla version 5.020, CPAN::Meta::Converter version 2.140640",
+ "generated_by" : "Dist::Zilla version 5.023, CPAN::Meta::Converter version 2.142690",
"license" : [
"apache_2_0"
],
@@ -36,7 +36,7 @@
"Dist::Zilla::Plugin::OSPrereqs" : "0",
"Dist::Zilla::Plugin::Prereqs" : "0",
"Dist::Zilla::Plugin::RemovePrereqs" : "0",
- "Dist::Zilla::PluginBundle::DAGOLDEN" : "0.060",
+ "Dist::Zilla::PluginBundle::DAGOLDEN" : "0.072",
"File::Spec" : "0",
"File::Temp" : "0",
"IO::Handle" : "0",
@@ -79,7 +79,7 @@
"provides" : {
"Capture::Tiny" : {
"file" : "lib/Capture/Tiny.pm",
- "version" : "0.25"
+ "version" : "0.27"
}
},
"release_status" : "stable",
@@ -94,7 +94,7 @@
"web" : "https://github.com/dagolden/Capture-Tiny"
}
},
- "version" : "0.25",
+ "version" : "0.27",
"x_authority" : "cpan:DAGOLDEN",
"x_contributors" : [
"Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>",
@@ -11,7 +11,7 @@ build_requires:
configure_requires:
ExtUtils::MakeMaker: '6.17'
dynamic_config: 1
-generated_by: 'Dist::Zilla version 5.020, CPAN::Meta::Converter version 2.140640'
+generated_by: 'Dist::Zilla version 5.023, CPAN::Meta::Converter version 2.142690'
license: apache
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -28,7 +28,7 @@ no_index:
provides:
Capture::Tiny:
file: lib/Capture/Tiny.pm
- version: '0.25'
+ version: '0.27'
requires:
Carp: '0'
Exporter: '0'
@@ -43,7 +43,7 @@ resources:
bugtracker: https://github.com/dagolden/Capture-Tiny/issues
homepage: https://github.com/dagolden/Capture-Tiny
repository: https://github.com/dagolden/Capture-Tiny.git
-version: '0.25'
+version: '0.27'
x_authority: cpan:DAGOLDEN
x_contributors:
- 'Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>'
@@ -1,5 +1,5 @@
-# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v5.020.
+# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v5.023.
use strict;
use warnings;
@@ -18,6 +18,7 @@ my %WriteMakefileArgs = (
"DISTNAME" => "Capture-Tiny",
"EXE_FILES" => [],
"LICENSE" => "apache",
+ "MIN_PERL_VERSION" => "5.006",
"NAME" => "Capture::Tiny",
"PREREQ_PM" => {
"Carp" => 0,
@@ -36,7 +37,7 @@ my %WriteMakefileArgs = (
"Test::More" => "0.62",
"lib" => 0
},
- "VERSION" => "0.25",
+ "VERSION" => "0.27",
"test" => {
"TESTS" => "t/*.t"
}
@@ -46,7 +47,7 @@ my %WriteMakefileArgs = (
my %FallbackPrereqs = (
"Carp" => 0,
"Exporter" => 0,
- "ExtUtils::MakeMaker" => 0,
+ "ExtUtils::MakeMaker" => "6.17",
"File::Spec" => 0,
"File::Temp" => 0,
"IO::File" => 0,
@@ -3,7 +3,7 @@ NAME
programs
VERSION
- version 0.25
+ version 0.27
SYNOPSIS
use Capture::Tiny ':all';
@@ -30,7 +30,7 @@ on 'develop' => sub {
requires "Dist::Zilla::Plugin::OSPrereqs" => "0";
requires "Dist::Zilla::Plugin::Prereqs" => "0";
requires "Dist::Zilla::Plugin::RemovePrereqs" => "0";
- requires "Dist::Zilla::PluginBundle::DAGOLDEN" => "0.060";
+ requires "Dist::Zilla::PluginBundle::DAGOLDEN" => "0.072";
requires "File::Spec" => "0";
requires "File::Temp" => "0";
requires "IO::Handle" => "0";
@@ -5,7 +5,7 @@ copyright_holder = David Golden
copyright_year = 2009
[@DAGOLDEN]
-:version = 0.060
+:version = 0.072
stopwords = UTF
stopwords = seekable
stopwords = prototyped
@@ -19,7 +19,7 @@ Win32API::File = 0
remove = PerlIO
remove = PerlIO::scalar
remove = Test::Differences
-remove = Inline
+remove = Inline::C
; tests optionally require 5.008
remove = perl
@@ -3,7 +3,7 @@ use strict;
use warnings;
package Capture::Tiny;
# ABSTRACT: Capture STDOUT and STDERR from Perl, XS or external programs
-our $VERSION = '0.25'; # VERSION
+our $VERSION = '0.27';
use Carp ();
use Exporter ();
use IO::Handle ();
@@ -420,7 +420,7 @@ Capture::Tiny - Capture STDOUT and STDERR from Perl, XS or external programs
=head1 VERSION
-version 0.25
+version 0.27
=head1 SYNOPSIS
@@ -10,7 +10,7 @@ do { my $x = {
'Dist::Zilla::Plugin::OSPrereqs' => '0',
'Dist::Zilla::Plugin::Prereqs' => '0',
'Dist::Zilla::Plugin::RemovePrereqs' => '0',
- 'Dist::Zilla::PluginBundle::DAGOLDEN' => '0.060',
+ 'Dist::Zilla::PluginBundle::DAGOLDEN' => '0.072',
'File::Spec' => '0',
'File::Temp' => '0',
'IO::Handle' => '0',
@@ -12,7 +12,7 @@ use Utils qw/next_fd/;
use Capture::Tiny ':all';
use Config;
-if ( eval { require Inline; 1 } ) {
+if ( eval { require Inline::C; 1 } ) {
Inline->bind( C => << 'CCODE' );
void test_inline() {
(void)fprintf (stdout, "OUTPUT");
@@ -22,7 +22,7 @@ void test_inline() {
CCODE
}
else {
- plan skip_all => "Inline module required";
+ plan skip_all => "Inline::C module required";
}
plan tests => 3;
@@ -2,11 +2,11 @@ use 5.006;
use strict;
use warnings;
-# this test was generated with Dist::Zilla::Plugin::Test::Compile 2.045
-
-use Test::More tests => 1 + ($ENV{AUTHOR_TESTING} ? 1 : 0);
+# this test was generated with Dist::Zilla::Plugin::Test::Compile 2.051
+use Test::More;
+plan tests => 1 + ($ENV{AUTHOR_TESTING} ? 1 : 0);
my @module_files = (
'Capture/Tiny.pm'
@@ -48,6 +48,7 @@ for my $lib (@module_files)
-is(scalar(@warnings), 0, 'no warnings found') if $ENV{AUTHOR_TESTING};
+is(scalar(@warnings), 0, 'no warnings found')
+ or diag 'got warnings: ', ( Test::More->can('explain') ? Test::More::explain(\@warnings) : join("\n", '', @warnings) ) if $ENV{AUTHOR_TESTING};