Codebase list libcapture-tiny-perl / 2b6fd49
Update upstream source from tag 'upstream/0.48' Update to upstream version '0.48' with Debian dir 28885a13df18eb3d257e1dad6ffc02aff0809b8f Salvatore Bonaccorso 6 years ago
15 changed file(s) with 59 addition(s) and 46 deletion(s). Raw diff Collapse all Expand all
00 Revision history for Capture-Tiny
1
2 0.48 2018-04-22 09:01:08+02:00 Europe/Oslo
3
4 - No changes from 0.47-TRIAL
5
6 0.47 2017-07-26 10:34:24-04:00 America/New_York (TRIAL RELEASE)
7
8 [Fixed]
9
10 - Appends PID to random file names for tee signalling to avoid
11 random name collision when used in multiple forked children.
112
213 0.46 2017-02-25 14:19:22-05:00 America/New_York
314
0 # This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.008.
0 # This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.012.
11 CONTRIBUTING.mkdn
22 Changes
33 LICENSE
4444 t/lib/Utils.pm
4545 xt/author/00-compile.t
4646 xt/author/critic.t
47 xt/author/minimum-version.t
4748 xt/author/pod-coverage.t
4849 xt/author/pod-spell.t
4950 xt/author/pod-syntax.t
5051 xt/author/portability.t
5152 xt/author/test-version.t
5253 xt/release/distmeta.t
53 xt/release/minimum-version.t
33 "David Golden <dagolden@cpan.org>"
44 ],
55 "dynamic_config" : 1,
6 "generated_by" : "Dist::Zilla version 6.008, CPAN::Meta::Converter version 2.150010",
6 "generated_by" : "Dist::Zilla version 6.012, CPAN::Meta::Converter version 2.150010",
77 "license" : [
88 "apache_2_0"
99 ],
3737 "Dist::Zilla::Plugin::ReleaseStatus::FromVersion" : "0",
3838 "Dist::Zilla::Plugin::RemovePrereqs" : "0",
3939 "Dist::Zilla::PluginBundle::DAGOLDEN" : "0.072",
40 "English" : "0",
4140 "File::Spec" : "0",
4241 "File::Temp" : "0",
4342 "IO::Handle" : "0",
4847 "Test::CPAN::Meta" : "0",
4948 "Test::MinimumVersion" : "0",
5049 "Test::More" : "0",
50 "Test::Perl::Critic" : "0",
5151 "Test::Pod" : "1.41",
5252 "Test::Pod::Coverage" : "1.08",
5353 "Test::Portability::Files" : "0",
5454 "Test::Spelling" : "0.12",
55 "Test::Version" : "1",
56 "blib" : "1.01"
55 "Test::Version" : "1"
5756 }
5857 },
5958 "runtime" : {
8584 "provides" : {
8685 "Capture::Tiny" : {
8786 "file" : "lib/Capture/Tiny.pm",
88 "version" : "0.46"
87 "version" : "0.48"
8988 }
9089 },
9190 "release_status" : "stable",
10099 "web" : "https://github.com/dagolden/Capture-Tiny"
101100 }
102101 },
103 "version" : "0.46",
102 "version" : "0.48",
104103 "x_authority" : "cpan:DAGOLDEN",
105104 "x_contributors" : [
106105 "Dagfinn Ilmari Manns\u00e5ker <ilmari@ilmari.org>",
109108 "Graham Knop <haarg@haarg.org>",
110109 "Peter Rabbitson <ribasushi@cpan.org>"
111110 ],
112 "x_serialization_backend" : "Cpanel::JSON::XS version 3.0225"
111 "x_generated_by_perl" : "v5.26.1",
112 "x_serialization_backend" : "Cpanel::JSON::XS version 3.0239"
113113 }
114114
1010 configure_requires:
1111 ExtUtils::MakeMaker: '6.17'
1212 dynamic_config: 1
13 generated_by: 'Dist::Zilla version 6.008, CPAN::Meta::Converter version 2.150010'
13 generated_by: 'Dist::Zilla version 6.012, CPAN::Meta::Converter version 2.150010'
1414 license: apache
1515 meta-spec:
1616 url: http://module-build.sourceforge.net/META-spec-v1.4.html
2727 provides:
2828 Capture::Tiny:
2929 file: lib/Capture/Tiny.pm
30 version: '0.46'
30 version: '0.48'
3131 requires:
3232 Carp: '0'
3333 Exporter: '0'
4242 bugtracker: https://github.com/dagolden/Capture-Tiny/issues
4343 homepage: https://github.com/dagolden/Capture-Tiny
4444 repository: https://github.com/dagolden/Capture-Tiny.git
45 version: '0.46'
45 version: '0.48'
4646 x_authority: cpan:DAGOLDEN
4747 x_contributors:
4848 - 'Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>'
5050 - 'fecundf <not.com+github@gmail.com>'
5151 - 'Graham Knop <haarg@haarg.org>'
5252 - 'Peter Rabbitson <ribasushi@cpan.org>'
53 x_serialization_backend: 'YAML::Tiny version 1.69'
53 x_generated_by_perl: v5.26.1
54 x_serialization_backend: 'YAML::Tiny version 1.70'
0 # This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.008.
0 # This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.012.
11 use strict;
22 use warnings;
33
3232 "Test::More" => "0.62",
3333 "lib" => 0
3434 },
35 "VERSION" => "0.46",
35 "VERSION" => "0.48",
3636 "test" => {
3737 "TESTS" => "t/*.t"
3838 }
6565 unless eval { ExtUtils::MakeMaker->VERSION(6.52) };
6666
6767 if ( $^O eq 'MSWin32' ) {
68 $WriteMakefileArgs{PREREQ_PM}{'Win32API::File'} = '0';
68 $WriteMakefileArgs{PREREQ_PM}{'Win32API::File'} = $FallbackPrereqs{'Win32API::File'} = '0';
6969 }
7070
7171 WriteMakefile(%WriteMakefileArgs);
22 programs
33
44 VERSION
5 version 0.46
5 version 0.48
66
77 SYNOPSIS
88 use Capture::Tiny ':all';
3030 requires "Dist::Zilla::Plugin::ReleaseStatus::FromVersion" => "0";
3131 requires "Dist::Zilla::Plugin::RemovePrereqs" => "0";
3232 requires "Dist::Zilla::PluginBundle::DAGOLDEN" => "0.072";
33 requires "English" => "0";
3433 requires "File::Spec" => "0";
3534 requires "File::Temp" => "0";
3635 requires "IO::Handle" => "0";
4140 requires "Test::CPAN::Meta" => "0";
4241 requires "Test::MinimumVersion" => "0";
4342 requires "Test::More" => "0";
43 requires "Test::Perl::Critic" => "0";
4444 requires "Test::Pod" => "1.41";
4545 requires "Test::Pod::Coverage" => "1.08";
4646 requires "Test::Portability::Files" => "0";
4747 requires "Test::Spelling" => "0.12";
4848 requires "Test::Version" => "1";
49 requires "blib" => "1.01";
5049 };
22 use warnings;
33 package Capture::Tiny;
44 # ABSTRACT: Capture STDOUT and STDERR from Perl, XS or external programs
5 our $VERSION = '0.46';
5 our $VERSION = '0.48';
66 use Carp ();
77 use Exporter ();
88 use IO::Handle ();
213213 stderr => $stash->{capture}{$which},
214214 };
215215 # flag file is used to signal the child is ready
216 $stash->{flag_files}{$which} = scalar tmpnam();
216 $stash->{flag_files}{$which} = scalar( tmpnam() ) . $$;
217217 # execute @cmd as a separate process
218218 if ( $IS_WIN32 ) {
219219 my $old_eval_err=$@;
435435
436436 =head1 VERSION
437437
438 version 0.46
438 version 0.48
439439
440440 =head1 SYNOPSIS
441441
1111 'Dist::Zilla::Plugin::ReleaseStatus::FromVersion' => '0',
1212 'Dist::Zilla::Plugin::RemovePrereqs' => '0',
1313 'Dist::Zilla::PluginBundle::DAGOLDEN' => '0.072',
14 'English' => '0',
1514 'File::Spec' => '0',
1615 'File::Temp' => '0',
1716 'IO::Handle' => '0',
2221 'Test::CPAN::Meta' => '0',
2322 'Test::MinimumVersion' => '0',
2423 'Test::More' => '0',
24 'Test::Perl::Critic' => '0',
2525 'Test::Pod' => '1.41',
2626 'Test::Pod::Coverage' => '1.08',
2727 'Test::Portability::Files' => '0',
2828 'Test::Spelling' => '0.12',
29 'Test::Version' => '1',
30 'blib' => '1.01'
29 'Test::Version' => '1'
3130 }
3231 },
3332 'runtime' => {
22 use strict;
33 use warnings;
44
5 # This test was generated by Dist::Zilla::Plugin::Test::ReportPrereqs 0.025
5 # This test was generated by Dist::Zilla::Plugin::Test::ReportPrereqs 0.027
66
77 use Test::More tests => 1;
88
6767 );
6868
6969 # Add static prereqs to the included modules list
70 my $static_prereqs = do 't/00-report-prereqs.dd';
70 my $static_prereqs = do './t/00-report-prereqs.dd';
7171
7272 # Merge all prereqs (either with ::Prereqs or a hashref)
7373 my $full_prereqs = _merge_prereqs(
7777
7878 # Add dynamic prereqs to the included modules list (if we can)
7979 my ($source) = grep { -f } 'MYMETA.json', 'MYMETA.yml';
80 my $cpan_meta_error;
8081 if ( $source && $HAS_CPAN_META
8182 && (my $meta = eval { CPAN::Meta->load_file($source) } )
8283 ) {
8384 $full_prereqs = _merge_prereqs($full_prereqs, $meta->prereqs);
8485 }
8586 else {
87 $cpan_meta_error = $@; # capture error from CPAN::Meta->load_file($source)
8688 $source = 'static metadata';
8789 }
8890
168170 diag "\nVersions for all modules listed in $source (including optional ones):\n\n", @full_reports;
169171 }
170172
173 if ( $cpan_meta_error || @dep_errors ) {
174 diag "\n*** WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING ***\n";
175 }
176
177 if ( $cpan_meta_error ) {
178 my ($orig_source) = grep { -f } 'MYMETA.json', 'MYMETA.yml';
179 diag "\nCPAN::Meta->load_file('$orig_source') failed with: $cpan_meta_error\n";
180 }
181
171182 if ( @dep_errors ) {
172183 diag join("\n",
173 "\n*** WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING ***\n",
174 "The following REQUIRED prerequisites were not satisfied:\n",
184 "\nThe following REQUIRED prerequisites were not satisfied:\n",
175185 @dep_errors,
176186 "\n"
177187 );
11 use strict;
22 use warnings;
33
4 # this test was generated with Dist::Zilla::Plugin::Test::Compile 2.056
4 # this test was generated with Dist::Zilla::Plugin::Test::Compile 2.058
55
66 use Test::More;
77
4545 is($?, 0, "$lib loaded ok");
4646
4747 shift @_warnings if @_warnings and $_warnings[0] =~ /^Using .*\bblib/
48 and not eval { require blib; blib->VERSION('1.01') };
48 and not eval { +require blib; blib->VERSION('1.01') };
4949
5050 if (@_warnings)
5151 {
22 use strict;
33 use warnings;
44
5 use Test::More;
6 use English qw(-no_match_vars);
7
8 eval "use Test::Perl::Critic";
9 plan skip_all => 'Test::Perl::Critic required to criticise code' if $@;
10 Test::Perl::Critic->import( -profile => "perlcritic.rc" ) if -e "perlcritic.rc";
5 use Test::Perl::Critic (-profile => "perlcritic.rc") x!! -e "perlcritic.rc";
116 all_critic_ok();
0 #!perl
1
2 use Test::More;
3
4 use Test::MinimumVersion;
5 all_minimum_version_ok( qq{5.010} );
11 use warnings;
22 use Test::More;
33
4 # generated by Dist::Zilla::Plugin::Test::PodSpelling 2.007004
4 # generated by Dist::Zilla::Plugin::Test::PodSpelling 2.007005
55 use Test::Spelling 0.12;
66 use Pod::Wordlist;
77
+0
-8
xt/release/minimum-version.t less more
0 #!perl
1
2 use Test::More;
3
4 eval "use Test::MinimumVersion";
5 plan skip_all => "Test::MinimumVersion required for testing minimum versions"
6 if $@;
7 all_minimum_version_ok( qq{5.010} );