Hello community, here is the log from the commit of package perl-Test-Script for openSUSE:Factory checked in at 2017-02-16 17:05:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Test-Script (Old) and /work/SRC/openSUSE:Factory/.perl-Test-Script.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Test-Script" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Test-Script/perl-Test-Script.changes 2016-10-23 12:53:44.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Test-Script.new/perl-Test-Script.changes 2017-02-16 17:05:22.313122780 +0100 @@ -1,0 +2,10 @@ +Tue Feb 14 07:45:24 UTC 2017 - [email protected] + +- updated to 1.15 + see /usr/share/doc/packages/perl-Test-Script/Changes + + 1.15 2017-02-14 07:08:51 +1100 + - Fix bug where list reference arguments to script_compiles + and script_runs are modified (gh#9) + +------------------------------------------------------------------- Old: ---- Test-Script-1.14.tar.gz New: ---- Test-Script-1.15.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Test-Script.spec ++++++ --- /var/tmp/diff_new_pack.32gUK8/_old 2017-02-16 17:05:22.849046951 +0100 +++ /var/tmp/diff_new_pack.32gUK8/_new 2017-02-16 17:05:22.853046385 +0100 @@ -1,7 +1,7 @@ # # spec file for package perl-Test-Script # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,14 +17,14 @@ Name: perl-Test-Script -Version: 1.14 +Version: 1.15 Release: 0 %define cpan_name Test-Script Summary: Basic cross-platform tests for scripts License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Test-Script/ -Source0: http://www.cpan.org/authors/id/P/PL/PLICEASE/%{cpan_name}-%{version}.tar.gz +Source0: https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -75,6 +75,7 @@ %files -f %{name}.files %defattr(-,root,root,755) -%doc author.yml Changes LICENSE README +%doc author.yml Changes README t2 +%license LICENSE %changelog ++++++ Test-Script-1.14.tar.gz -> Test-Script-1.15.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Script-1.14/Changes new/Test-Script-1.15/Changes --- old/Test-Script-1.14/Changes 2016-10-13 17:04:52.000000000 +0200 +++ new/Test-Script-1.15/Changes 2017-02-13 21:08:54.000000000 +0100 @@ -1,5 +1,9 @@ Revision history for Perl extension Test-Script +1.15 2017-02-14 07:08:51 +1100 + - Fix bug where list reference arguments to script_compiles + and script_runs are modified (gh#9) + 1.14 2016-10-13 11:04:48 -0400 - Fix a regex in a test that fails on recent versions of Test2 on Windows (possibly others) (gh#8) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Script-1.14/MANIFEST new/Test-Script-1.15/MANIFEST --- old/Test-Script-1.14/MANIFEST 2016-10-13 17:04:52.000000000 +0200 +++ new/Test-Script-1.15/MANIFEST 2017-02-13 21:08:54.000000000 +0100 @@ -1,4 +1,4 @@ -# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.007. +# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.008. Changes INSTALL LICENSE @@ -27,6 +27,7 @@ t/bin/good.pl t/bin/print.pl t/bin/signal.pl +t2/bug_gh9.t t2/test_script__exports.t t2/test_script__script_compiles.t t2/test_script__script_runs.t diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Script-1.14/META.json new/Test-Script-1.15/META.json --- old/Test-Script-1.14/META.json 2016-10-13 17:04:52.000000000 +0200 +++ new/Test-Script-1.15/META.json 2017-02-13 21:08:54.000000000 +0100 @@ -5,7 +5,7 @@ "Adam Kennedy" ], "dynamic_config" : 0, - "generated_by" : "Dist::Zilla version 6.007, CPAN::Meta::Converter version 2.150010", + "generated_by" : "Dist::Zilla version 6.008, CPAN::Meta::Converter version 2.150005", "license" : [ "perl_5" ], @@ -67,7 +67,7 @@ "web" : "https://github.com/plicease/Test-Script" } }, - "version" : "1.14", - "x_serialization_backend" : "Cpanel::JSON::XS version 3.0217" + "version" : "1.15", + "x_serialization_backend" : "Cpanel::JSON::XS version 3.0225" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Script-1.14/META.yml new/Test-Script-1.15/META.yml --- old/Test-Script-1.14/META.yml 2016-10-13 17:04:52.000000000 +0200 +++ new/Test-Script-1.15/META.yml 2017-02-13 21:08:54.000000000 +0100 @@ -13,7 +13,7 @@ ExtUtils::MakeMaker: '0' perl: '5.006' dynamic_config: 0 -generated_by: 'Dist::Zilla version 6.007, CPAN::Meta::Converter version 2.150010' +generated_by: 'Dist::Zilla version 6.008, CPAN::Meta::Converter version 2.150005' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -30,5 +30,5 @@ bugtracker: https://github.com/plicease/Test-Script/issues homepage: https://metacpan.org/pod/Test::Script repository: git://github.com/plicease/Test-Script.git -version: '1.14' -x_serialization_backend: 'YAML::Tiny version 1.69' +version: '1.15' +x_serialization_backend: 'YAML::Tiny version 1.70' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Script-1.14/Makefile.PL new/Test-Script-1.15/Makefile.PL --- old/Test-Script-1.14/Makefile.PL 2016-10-13 17:04:52.000000000 +0200 +++ new/Test-Script-1.15/Makefile.PL 2017-02-13 21:08:54.000000000 +0100 @@ -10,7 +10,7 @@ exit; } } -# This file was automatically generated by Dist::Zilla::Plugin::Author::Plicease::MakeMaker v2.10. +# This file was automatically generated by Dist::Zilla::Plugin::Author::Plicease::MakeMaker v2.11. use strict; use warnings; @@ -44,7 +44,7 @@ "Test::More" => "0.96", "Test::Tester" => 0 }, - "VERSION" => "1.14", + "VERSION" => "1.15", "test" => { "TESTS" => "t/*.t" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Script-1.14/README new/Test-Script-1.15/README --- old/Test-Script-1.14/README 2016-10-13 17:04:52.000000000 +0200 +++ new/Test-Script-1.15/README 2017-02-13 21:08:54.000000000 +0100 @@ -4,7 +4,7 @@ VERSION - version 1.14 + version 1.15 SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Script-1.14/dist.ini new/Test-Script-1.15/dist.ini --- old/Test-Script-1.14/dist.ini 2016-10-13 17:04:52.000000000 +0200 +++ new/Test-Script-1.15/dist.ini 2017-02-13 21:08:54.000000000 +0100 @@ -4,7 +4,7 @@ license = Perl_5 copyright_holder = Adam Kennedy copyright_year = 2006 -version = 1.14 +version = 1.15 [@Author::Plicease] :version = 1.94 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Script-1.14/lib/Test/Script.pm new/Test-Script-1.15/lib/Test/Script.pm --- old/Test-Script-1.14/lib/Test/Script.pm 2016-10-13 17:04:52.000000000 +0200 +++ new/Test-Script-1.15/lib/Test/Script.pm 2017-02-13 21:08:54.000000000 +0100 @@ -1,7 +1,7 @@ package Test::Script; # ABSTRACT: Basic cross-platform tests for scripts -our $VERSION = '1.14'; # VERSION +our $VERSION = '1.15'; # VERSION use 5.006; @@ -267,7 +267,7 @@ } if ( _ARRAY($in) ) { unless ( scalar grep { not defined _STRING($_) } @$in ) { - return $in; + return [ @$in ]; } } Carp::croak("Invalid command parameter"); @@ -315,7 +315,7 @@ =head1 VERSION -version 1.14 +version 1.15 =head1 SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Script-1.14/t2/bug_gh9.t new/Test-Script-1.15/t2/bug_gh9.t --- old/Test-Script-1.14/t2/bug_gh9.t 1970-01-01 01:00:00.000000000 +0100 +++ new/Test-Script-1.15/t2/bug_gh9.t 2017-02-13 21:08:54.000000000 +0100 @@ -0,0 +1,26 @@ +use Test2::Bundle::Extended; +use Test::Script; + +subtest 'non-distructive' => sub { + + my @foo = qw( foo bar baz ); + + my $bar = Test::Script::_script \@foo; + + is( + $bar, + [qw( foo bar baz )], + 'comes out the right' + ), + + my $command = shift @$bar; + + is( + \@foo, + [qw( foo bar baz )], + '@foo is unchanged', + ); + +}; + +done_testing; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Script-1.14/xt/release/fixme.t new/Test-Script-1.15/xt/release/fixme.t --- old/Test-Script-1.14/xt/release/fixme.t 2016-10-13 17:04:52.000000000 +0200 +++ new/Test-Script-1.15/xt/release/fixme.t 2017-02-13 21:08:54.000000000 +0100 @@ -13,7 +13,7 @@ run_tests( match => qr/FIXME/, - where => [ grep { -e $_ } qw( bin lib t Makefile.PL )], + where => [ grep { -e $_ } qw( bin lib t Makefile.PL Build.PL )], warn => 1, );
