Hello community, here is the log from the commit of package perl-Capture-Tiny for openSUSE:Factory checked in at 2015-04-16 14:11:35 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Capture-Tiny (Old) and /work/SRC/openSUSE:Factory/.perl-Capture-Tiny.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Capture-Tiny" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Capture-Tiny/perl-Capture-Tiny.changes 2015-02-11 16:31:43.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Capture-Tiny.new/perl-Capture-Tiny.changes 2015-04-16 14:11:36.000000000 +0200 @@ -1,0 +2,19 @@ +Mon Apr 13 18:29:30 UTC 2015 - co...@suse.com + +- updated to 0.28 + see /usr/share/doc/packages/perl-Capture-Tiny/Changes + + 0.28 2015-02-11 06:39:51-05:00 America/New_York + + Tests: + + - Removes test that optionally uses Inline::C to avoid spurious + test failures. Also Inline::C had become a fairly heavy + (if optional) dependency. + + Docs: + + - Clarify that PERL_CAPTURE_TINY_TIMEOUT is an internal control, + not a timeout of the code reference being captured. + +------------------------------------------------------------------- Old: ---- Capture-Tiny-0.27.tar.gz New: ---- Capture-Tiny-0.28.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Capture-Tiny.spec ++++++ --- /var/tmp/diff_new_pack.Zpzq6A/_old 2015-04-16 14:11:36.000000000 +0200 +++ /var/tmp/diff_new_pack.Zpzq6A/_new 2015-04-16 14:11:36.000000000 +0200 @@ -17,7 +17,7 @@ Name: perl-Capture-Tiny -Version: 0.27 +Version: 0.28 Release: 0 %define cpan_name Capture-Tiny Summary: Capture STDOUT and STDERR from Perl, XS or external programs @@ -56,6 +56,6 @@ %files -f %{name}.files %defattr(-,root,root,755) -%doc Changes CONTRIBUTING.mkdn cpanfile examples LICENSE perlcritic.rc README Todo +%doc Changes CONTRIBUTING.mkdn examples LICENSE perlcritic.rc README Todo %changelog ++++++ Capture-Tiny-0.27.tar.gz -> Capture-Tiny-0.28.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Capture-Tiny-0.27/Changes new/Capture-Tiny-0.28/Changes --- old/Capture-Tiny-0.27/Changes 2014-11-05 05:10:49.000000000 +0100 +++ new/Capture-Tiny-0.28/Changes 2015-02-11 12:39:57.000000000 +0100 @@ -1,5 +1,18 @@ Revision history for Capture-Tiny +0.28 2015-02-11 06:39:51-05:00 America/New_York + + Tests: + + - Removes test that optionally uses Inline::C to avoid spurious + test failures. Also Inline::C had become a fairly heavy + (if optional) dependency. + + Docs: + + - Clarify that PERL_CAPTURE_TINY_TIMEOUT is an internal control, + not a timeout of the code reference being captured. + 0.27 2014-11-04 23:10:44-05:00 America/New_York Prereqs: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Capture-Tiny-0.27/MANIFEST new/Capture-Tiny-0.28/MANIFEST --- old/Capture-Tiny-0.27/MANIFEST 2014-11-05 05:10:49.000000000 +0100 +++ new/Capture-Tiny-0.28/MANIFEST 2015-02-11 12:39:57.000000000 +0100 @@ -1,4 +1,4 @@ -# This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.023. +# This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.031. CONTRIBUTING.mkdn Changes LICENSE @@ -32,7 +32,6 @@ t/16-catch-errors.t t/17-pass-results.t t/18-custom-capture.t -t/19-inline-c.t t/20-stdout-badtie.t t/21-stderr-badtie.t t/22-stdin-badtie.t diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Capture-Tiny-0.27/META.json new/Capture-Tiny-0.28/META.json --- old/Capture-Tiny-0.27/META.json 2014-11-05 05:10:49.000000000 +0100 +++ new/Capture-Tiny-0.28/META.json 2015-02-11 12:39:57.000000000 +0100 @@ -4,7 +4,7 @@ "David Golden <dagol...@cpan.org>" ], "dynamic_config" : 1, - "generated_by" : "Dist::Zilla version 5.023, CPAN::Meta::Converter version 2.142690", + "generated_by" : "Dist::Zilla version 5.031, CPAN::Meta::Converter version 2.143240", "license" : [ "apache_2_0" ], @@ -46,7 +46,8 @@ "Test::More" : "0", "Test::Pod" : "1.41", "Test::Pod::Coverage" : "1.08", - "Test::Spelling" : "0.12" + "Test::Spelling" : "0.12", + "Test::Version" : "1" } }, "runtime" : { @@ -64,8 +65,7 @@ }, "test" : { "recommends" : { - "CPAN::Meta" : "2.120900", - "Inline::C" : "0.50" + "CPAN::Meta" : "2.120900" }, "requires" : { "ExtUtils::MakeMaker" : "0", @@ -79,7 +79,7 @@ "provides" : { "Capture::Tiny" : { "file" : "lib/Capture/Tiny.pm", - "version" : "0.27" + "version" : "0.28" } }, "release_status" : "stable", @@ -94,7 +94,7 @@ "web" : "https://github.com/dagolden/Capture-Tiny" } }, - "version" : "0.27", + "version" : "0.28", "x_authority" : "cpan:DAGOLDEN", "x_contributors" : [ "Dagfinn Ilmari Mannsåker <ilm...@ilmari.org>", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Capture-Tiny-0.27/META.yml new/Capture-Tiny-0.28/META.yml --- old/Capture-Tiny-0.27/META.yml 2014-11-05 05:10:49.000000000 +0100 +++ new/Capture-Tiny-0.28/META.yml 2015-02-11 12:39:57.000000000 +0100 @@ -11,7 +11,7 @@ configure_requires: ExtUtils::MakeMaker: '6.17' dynamic_config: 1 -generated_by: 'Dist::Zilla version 5.023, CPAN::Meta::Converter version 2.142690' +generated_by: 'Dist::Zilla version 5.031, CPAN::Meta::Converter version 2.143240' license: apache meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -28,7 +28,7 @@ provides: Capture::Tiny: file: lib/Capture/Tiny.pm - version: '0.27' + version: '0.28' requires: Carp: '0' Exporter: '0' @@ -43,7 +43,7 @@ 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.27' +version: '0.28' x_authority: cpan:DAGOLDEN x_contributors: - 'Dagfinn Ilmari Mannsåker <ilm...@ilmari.org>' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Capture-Tiny-0.27/Makefile.PL new/Capture-Tiny-0.28/Makefile.PL --- old/Capture-Tiny-0.27/Makefile.PL 2014-11-05 05:10:49.000000000 +0100 +++ new/Capture-Tiny-0.28/Makefile.PL 2015-02-11 12:39:57.000000000 +0100 @@ -1,5 +1,5 @@ -# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v5.023. +# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v5.031. use strict; use warnings; @@ -37,7 +37,7 @@ "Test::More" => "0.62", "lib" => 0 }, - "VERSION" => "0.27", + "VERSION" => "0.28", "test" => { "TESTS" => "t/*.t" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Capture-Tiny-0.27/README new/Capture-Tiny-0.28/README --- old/Capture-Tiny-0.27/README 2014-11-05 05:10:49.000000000 +0100 +++ new/Capture-Tiny-0.28/README 2015-02-11 12:39:57.000000000 +0100 @@ -3,7 +3,7 @@ programs VERSION - version 0.27 + version 0.28 SYNOPSIS use Capture::Tiny ':all'; @@ -263,12 +263,15 @@ ENVIRONMENT PERL_CAPTURE_TINY_TIMEOUT - Capture::Tiny uses subprocesses for "tee". By default, Capture::Tiny - will timeout with an error if the subprocesses are not ready to receive - data within 30 seconds (or whatever is the value of + Capture::Tiny uses subprocesses internally for "tee". By default, + Capture::Tiny will timeout with an error if such subprocesses are not + ready to receive data within 30 seconds (or whatever is the value of $Capture::Tiny::TIMEOUT). An alternate timeout may be specified by setting the "PERL_CAPTURE_TINY_TIMEOUT" environment variable. Setting it - to zero will disable timeouts. + to zero will disable timeouts. B<NOTE>, this does not timeout the code + reference being captured -- this only prevents Capture::Tiny itself from + hanging your process waiting for its child processes to be ready to + proceed. SEE ALSO This module was, inspired by IO::CaptureOutput, which provides similar diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Capture-Tiny-0.27/cpanfile new/Capture-Tiny-0.28/cpanfile --- old/Capture-Tiny-0.27/cpanfile 2014-11-05 05:10:49.000000000 +0100 +++ new/Capture-Tiny-0.28/cpanfile 2015-02-11 12:39:57.000000000 +0100 @@ -18,7 +18,6 @@ on 'test' => sub { recommends "CPAN::Meta" => "2.120900"; - recommends "Inline::C" => "0.50"; }; on 'configure' => sub { @@ -41,4 +40,5 @@ requires "Test::Pod" => "1.41"; requires "Test::Pod::Coverage" => "1.08"; requires "Test::Spelling" => "0.12"; + requires "Test::Version" => "1"; }; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Capture-Tiny-0.27/dist.ini new/Capture-Tiny-0.28/dist.ini --- old/Capture-Tiny-0.27/dist.ini 2014-11-05 05:10:49.000000000 +0100 +++ new/Capture-Tiny-0.28/dist.ini 2015-02-11 12:39:57.000000000 +0100 @@ -19,12 +19,8 @@ remove = PerlIO remove = PerlIO::scalar remove = Test::Differences -remove = Inline::C ; tests optionally require 5.008 remove = perl -[Prereqs / TestRecommends] -Inline::C = 0.50 - [Prereqs] perl = 5.006 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Capture-Tiny-0.27/lib/Capture/Tiny.pm new/Capture-Tiny-0.28/lib/Capture/Tiny.pm --- old/Capture-Tiny-0.27/lib/Capture/Tiny.pm 2014-11-05 05:10:49.000000000 +0100 +++ new/Capture-Tiny-0.28/lib/Capture/Tiny.pm 2015-02-11 12:39:57.000000000 +0100 @@ -3,7 +3,7 @@ use warnings; package Capture::Tiny; # ABSTRACT: Capture STDOUT and STDERR from Perl, XS or external programs -our $VERSION = '0.27'; +our $VERSION = '0.28'; use Carp (); use Exporter (); use IO::Handle (); @@ -369,6 +369,8 @@ eval { @result = $code->(); $inner_error = $@ }; $exit_code = $?; # save this for later $outer_error = $@; # save this for later + STDOUT->flush if $do_stdout; + STDERR->flush if $do_stderr; } # restore prior filehandles and shut down tees # _debug( "# restoring filehandles ...\n" ); @@ -420,7 +422,7 @@ =head1 VERSION -version 0.27 +version 0.28 =head1 SYNOPSIS @@ -694,11 +696,14 @@ =head2 PERL_CAPTURE_TINY_TIMEOUT -Capture::Tiny uses subprocesses for C<<< tee >>>. By default, Capture::Tiny will -timeout with an error if the subprocesses are not ready to receive data within -30 seconds (or whatever is the value of C<<< $Capture::Tiny::TIMEOUT >>>). An -alternate timeout may be specified by setting the C<<< PERL_CAPTURE_TINY_TIMEOUT >>> -environment variable. Setting it to zero will disable timeouts. +Capture::Tiny uses subprocesses internally for C<<< tee >>>. By default, +Capture::Tiny will timeout with an error if such subprocesses are not ready to +receive data within 30 seconds (or whatever is the value of +C<<< $Capture::Tiny::TIMEOUT >>>). An alternate timeout may be specified by setting +the C<<< PERL_CAPTURE_TINY_TIMEOUT >>> environment variable. Setting it to zero will +disable timeouts. BE<lt>NOTEE<gt>, this does not timeout the code reference being +captured -- this only prevents Capture::Tiny itself from hanging your process +waiting for its child processes to be ready to proceed. =head1 SEE ALSO diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Capture-Tiny-0.27/t/00-report-prereqs.dd new/Capture-Tiny-0.28/t/00-report-prereqs.dd --- old/Capture-Tiny-0.27/t/00-report-prereqs.dd 2014-11-05 05:10:50.000000000 +0100 +++ new/Capture-Tiny-0.28/t/00-report-prereqs.dd 2015-02-11 12:39:57.000000000 +0100 @@ -20,7 +20,8 @@ 'Test::More' => '0', 'Test::Pod' => '1.41', 'Test::Pod::Coverage' => '1.08', - 'Test::Spelling' => '0.12' + 'Test::Spelling' => '0.12', + 'Test::Version' => '1' } }, 'runtime' => { @@ -38,8 +39,7 @@ }, 'test' => { 'recommends' => { - 'CPAN::Meta' => '2.120900', - 'Inline::C' => '0.50' + 'CPAN::Meta' => '2.120900' }, 'requires' => { 'ExtUtils::MakeMaker' => '0', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Capture-Tiny-0.27/t/00-report-prereqs.t new/Capture-Tiny-0.28/t/00-report-prereqs.t --- old/Capture-Tiny-0.27/t/00-report-prereqs.t 2014-11-05 05:10:50.000000000 +0100 +++ new/Capture-Tiny-0.28/t/00-report-prereqs.t 2015-02-11 12:39:57.000000000 +0100 @@ -3,7 +3,7 @@ use strict; use warnings; -# This test was generated by Dist::Zilla::Plugin::Test::ReportPrereqs 0.019 +# This test was generated by Dist::Zilla::Plugin::Test::ReportPrereqs 0.020 use Test::More tests => 1; @@ -150,9 +150,16 @@ my $ml = _max( map { length $_->[0] } @reports ); my $wl = _max( map { length $_->[1] } @reports ); my $hl = _max( map { length $_->[2] } @reports ); - splice @reports, 1, 0, ["-" x $ml, "-" x $wl, "-" x $hl]; - push @full_reports, map { sprintf(" %*s %*s %*s\n", -$ml, $_->[0], $wl, $_->[1], $hl, $_->[2]) } @reports; + if ($type eq 'modules') { + splice @reports, 1, 0, ["-" x $ml, "", "-" x $hl]; + push @full_reports, map { sprintf(" %*s %*s\n", -$ml, $_->[0], $hl, $_->[2]) } @reports; + } + else { + splice @reports, 1, 0, ["-" x $ml, "-" x $wl, "-" x $hl]; + push @full_reports, map { sprintf(" %*s %*s %*s\n", -$ml, $_->[0], $wl, $_->[1], $hl, $_->[2]) } @reports; + } + push @full_reports, "\n"; } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Capture-Tiny-0.27/t/19-inline-c.t new/Capture-Tiny-0.28/t/19-inline-c.t --- old/Capture-Tiny-0.27/t/19-inline-c.t 2014-11-05 05:10:49.000000000 +0100 +++ new/Capture-Tiny-0.28/t/19-inline-c.t 1970-01-01 01:00:00.000000000 +0100 @@ -1,52 +0,0 @@ -# Copyright (c) 2009 by David Golden. All rights reserved. -# Licensed under Apache License, Version 2.0 (the "License"). -# You may not use this file except in compliance with the License. -# A copy of the License was distributed with this file or you may obtain a -# copy of the License from http://www.apache.org/licenses/LICENSE-2.0 - -use strict; -use warnings; -use Test::More; -use lib 't/lib'; -use Utils qw/next_fd/; -use Capture::Tiny ':all'; -use Config; - -if ( eval { require Inline::C; 1 } ) { - Inline->bind( C => << 'CCODE' ); -void test_inline() { - (void)fprintf (stdout, "OUTPUT"); - (void)fprintf (stderr, "ERROR"); - (void)fflush (NULL); -} -CCODE -} -else { - plan skip_all => "Inline::C module required"; -} - -plan tests => 3; - -local $ENV{PERL_CAPTURE_TINY_TIMEOUT} = 0; # no timeout - -my $fd = next_fd; -my ($out, $err); - -#--------------------------------------------------------------------------# -# Test capturing from STDERR via Inline::C -# -# c.f. https://rt.cpan.org/Public/Bug/Display.html?id=71701 -#--------------------------------------------------------------------------# - -($out, $err) = capture { test_inline() }; -is ($out, "OUTPUT", "STDOUT from Inline::C sub"); -is ($err, "ERROR", "STDERR from Inline::C sub"); - -#--------------------------------------------------------------------------# -# finish -#--------------------------------------------------------------------------# - -close ARGV; # opened by reading from <> -is( next_fd, $fd, "no file descriptors leaked" ); - -exit 0; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Capture-Tiny-0.27/xt/release/test-version.t new/Capture-Tiny-0.28/xt/release/test-version.t --- old/Capture-Tiny-0.27/xt/release/test-version.t 2014-11-05 05:10:50.000000000 +0100 +++ new/Capture-Tiny-0.28/xt/release/test-version.t 2015-02-11 12:39:57.000000000 +0100 @@ -2,8 +2,8 @@ use warnings; use Test::More; -# generated by Dist::Zilla::Plugin::Test::Version 0.002004 -BEGIN { eval "use Test::Version; 1;" or die $@; } +# generated by Dist::Zilla::Plugin::Test::Version 0.003001 +use Test::Version; my @imports = ( 'version_all_ok' );