Hello community,

here is the log from the commit of package perl-Term-ProgressBar for 
openSUSE:Factory checked in at 2018-05-15 10:15:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Term-ProgressBar (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Term-ProgressBar.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Term-ProgressBar"

Tue May 15 10:15:16 2018 rev:10 rq:606953 version:2.22

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/perl-Term-ProgressBar/perl-Term-ProgressBar.changes  
    2017-08-12 20:27:14.371717169 +0200
+++ 
/work/SRC/openSUSE:Factory/.perl-Term-ProgressBar.new/perl-Term-ProgressBar.changes
 2018-05-15 10:34:08.538556748 +0200
@@ -1,0 +2,9 @@
+Sun May 13 06:01:23 UTC 2018 - [email protected]
+
+- updated to 2.22
+   see /usr/share/doc/packages/perl-Term-ProgressBar/Changes
+
+  2.22  2018-05-12 MANWAR
+        - Merged PR #10: Amend to prevent uninitialised warning error, thanks 
@lharey.
+
+-------------------------------------------------------------------

Old:
----
  Term-ProgressBar-2.21.tar.gz

New:
----
  Term-ProgressBar-2.22.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-Term-ProgressBar.spec ++++++
--- /var/tmp/diff_new_pack.VyxKRL/_old  2018-05-15 10:34:09.098536182 +0200
+++ /var/tmp/diff_new_pack.VyxKRL/_new  2018-05-15 10:34:09.098536182 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-Term-ProgressBar
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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,11 +17,11 @@
 
 
 Name:           perl-Term-ProgressBar
-Version:        2.21
+Version:        2.22
 Release:        0
 %define cpan_name Term-ProgressBar
 Summary:        Provide a Progress Meter On a Standard Terminal
-License:        Artistic-1.0 or GPL-1.0+
+License:        Artistic-1.0 OR GPL-1.0-or-later
 Group:          Development/Libraries/Perl
 Url:            http://search.cpan.org/dist/Term-ProgressBar/
 Source0:        
https://cpan.metacpan.org/authors/id/M/MA/MANWAR/%{cpan_name}-%{version}.tar.gz
@@ -35,6 +35,7 @@
 BuildRequires:  perl(Term::ReadKey) >= 2.14
 BuildRequires:  perl(Test::Exception) >= 0.310000
 BuildRequires:  perl(Test::More) >= 0.80
+BuildRequires:  perl(Test::Warnings)
 Requires:       perl(Class::MethodMaker) >= 1.02
 Requires:       perl(Term::ReadKey) >= 2.14
 %{perl_requires}

++++++ Term-ProgressBar-2.21.tar.gz -> Term-ProgressBar-2.22.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Term-ProgressBar-2.21/Changes 
new/Term-ProgressBar-2.22/Changes
--- old/Term-ProgressBar-2.21/Changes   2017-08-02 12:21:17.000000000 +0200
+++ new/Term-ProgressBar-2.22/Changes   2018-05-11 18:41:10.000000000 +0200
@@ -1,5 +1,8 @@
 Revision history for Perl extension Term::ProgressBar
 
+2.22  2018-05-12 MANWAR
+      - Merged PR #10: Amend to prevent uninitialised warning error, thanks 
@lharey.
+
 2.21  2017-08-02 MANWAR
       - Added key 'clean' to Makefile.PL script.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Term-ProgressBar-2.21/MANIFEST 
new/Term-ProgressBar-2.22/MANIFEST
--- old/Term-ProgressBar-2.21/MANIFEST  2017-08-02 12:22:31.000000000 +0200
+++ new/Term-ProgressBar-2.22/MANIFEST  2018-05-12 11:01:27.000000000 +0200
@@ -14,6 +14,7 @@
 MANIFEST.SKIP
 README
 t/02_term_progressbar_io.t
+t/bug_123466.t
 t/compat.t
 t/eta-linear.t
 t/lessthanzero.t
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Term-ProgressBar-2.21/META.json 
new/Term-ProgressBar-2.22/META.json
--- old/Term-ProgressBar-2.21/META.json 2017-08-02 12:22:31.000000000 +0200
+++ new/Term-ProgressBar-2.22/META.json 2018-05-12 11:01:27.000000000 +0200
@@ -25,7 +25,8 @@
             "Capture::Tiny" : "0.13",
             "File::Temp" : "0",
             "Test::Exception" : "0.31",
-            "Test::More" : "0.80"
+            "Test::More" : "0.80",
+            "Test::Warnings" : "0"
          }
       },
       "configure" : {
@@ -50,6 +51,6 @@
          "url" : "https://github.com/manwar/Term-ProgressBar";
       }
    },
-   "version" : "2.21",
+   "version" : "2.22",
    "x_serialization_backend" : "JSON::PP version 2.27400"
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Term-ProgressBar-2.21/META.yml 
new/Term-ProgressBar-2.22/META.yml
--- old/Term-ProgressBar-2.21/META.yml  2017-08-02 12:22:31.000000000 +0200
+++ new/Term-ProgressBar-2.22/META.yml  2018-05-12 11:01:27.000000000 +0200
@@ -7,6 +7,7 @@
   File::Temp: '0'
   Test::Exception: '0.31'
   Test::More: '0.80'
+  Test::Warnings: '0'
 configure_requires:
   ExtUtils::MakeMaker: '0'
 dynamic_config: 1
@@ -29,5 +30,5 @@
   perl: '5.006'
 resources:
   repository: https://github.com/manwar/Term-ProgressBar
-version: '2.21'
+version: '2.22'
 x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Term-ProgressBar-2.21/Makefile.PL 
new/Term-ProgressBar-2.22/Makefile.PL
--- old/Term-ProgressBar-2.21/Makefile.PL       2017-07-29 09:58:28.000000000 
+0200
+++ new/Term-ProgressBar-2.22/Makefile.PL       2018-05-11 18:37:37.000000000 
+0200
@@ -26,6 +26,7 @@
       'Capture::Tiny'   => '0.13',
       'Test::More'      => '0.80',
       'Test::Exception' => '0.31',
+      'Test::Warnings'  => 0,
       'File::Temp'      => 0,
   },
   META_MERGE => {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Term-ProgressBar-2.21/lib/Term/ProgressBar/IO.pm 
new/Term-ProgressBar-2.22/lib/Term/ProgressBar/IO.pm
--- old/Term-ProgressBar-2.21/lib/Term/ProgressBar/IO.pm        2017-07-29 
09:58:28.000000000 +0200
+++ new/Term-ProgressBar-2.22/lib/Term/ProgressBar/IO.pm        2018-05-11 
18:38:39.000000000 +0200
@@ -2,7 +2,7 @@
 use strict;
 use warnings;
 
-our $VERSION = '2.21';
+our $VERSION = '2.22';
 
 #  This program is free software; you can redistribute it and/or
 #  modify it under the same terms as Perl itself.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Term-ProgressBar-2.21/lib/Term/ProgressBar.pm 
new/Term-ProgressBar-2.22/lib/Term/ProgressBar.pm
--- old/Term-ProgressBar-2.21/lib/Term/ProgressBar.pm   2017-07-29 
09:58:28.000000000 +0200
+++ new/Term-ProgressBar-2.22/lib/Term/ProgressBar.pm   2018-05-11 
18:38:39.000000000 +0200
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
-our $VERSION = '2.21';
+our $VERSION = '2.22';
 
 #XXX TODO Redo original test with count=20
 #         Amount Output
@@ -22,7 +22,7 @@
 
 =head1 VERSION
 
-Version 2.21
+Version 2.22
 
 =head1 SYNOPSIS
 
@@ -934,7 +934,7 @@
        unless $self->scale == 1;
     } else {
       my $pc = int(100*$input_so_far/$target);
-      printf $fh "[%s] %s: %3d%%\n", scalar(localtime), $name, $pc;
+      printf $fh "[%s] %s: %3d%%\n", scalar(localtime), ($name || ''), $pc;
 
       $next = ceil($target * ($pc+1)/100);
     }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Term-ProgressBar-2.21/t/02_term_progressbar_io.t 
new/Term-ProgressBar-2.22/t/02_term_progressbar_io.t
--- old/Term-ProgressBar-2.21/t/02_term_progressbar_io.t        2016-11-27 
11:07:41.000000000 +0100
+++ new/Term-ProgressBar-2.22/t/02_term_progressbar_io.t        2018-05-11 
18:37:37.000000000 +0200
@@ -1,5 +1,6 @@
 # -*- mode: cperl; -*-
 use Test::More;
+use Test::Warnings;
 
 use_ok('Term::ProgressBar::IO');
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Term-ProgressBar-2.21/t/bug_123466.t 
new/Term-ProgressBar-2.22/t/bug_123466.t
--- old/Term-ProgressBar-2.21/t/bug_123466.t    1970-01-01 01:00:00.000000000 
+0100
+++ new/Term-ProgressBar-2.22/t/bug_123466.t    2018-05-11 18:37:37.000000000 
+0200
@@ -0,0 +1,12 @@
+#!/usr/bin/env perl
+
+use strict;
+use warnings;
+
+use Test::More tests => 2;
+use Test::Warnings;
+use Term::ProgressBar;
+
+my $progress = Term::ProgressBar->new({ term => 0, count => 5 });
+$progress->update(2);
+is($progress->last_update, 2, 'progress has updated');
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Term-ProgressBar-2.21/t/compat.t 
new/Term-ProgressBar-2.22/t/compat.t
--- old/Term-ProgressBar-2.21/t/compat.t        2016-11-27 11:07:41.000000000 
+0100
+++ new/Term-ProgressBar-2.22/t/compat.t        2018-05-11 18:37:37.000000000 
+0200
@@ -12,7 +12,8 @@
 
 # Utility -----------------------------
 
-use Test::More tests => 9;
+use Test::More tests => 10;
+use Test::Warnings;
 
 use Term::ProgressBar;
 use POSIX qw<floor ceil>;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Term-ProgressBar-2.21/t/eta-linear.t 
new/Term-ProgressBar-2.22/t/eta-linear.t
--- old/Term-ProgressBar-2.21/t/eta-linear.t    2016-11-27 11:07:41.000000000 
+0100
+++ new/Term-ProgressBar-2.22/t/eta-linear.t    2018-05-11 18:37:37.000000000 
+0200
@@ -9,8 +9,9 @@
 
 =cut
 
-use Test::More tests => 9;
+use Test::More tests => 10;
 use Test::Exception;
+use Test::Warnings;
 
 use Capture::Tiny qw(capture_stderr);
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Term-ProgressBar-2.21/t/lessthanzero.t 
new/Term-ProgressBar-2.22/t/lessthanzero.t
--- old/Term-ProgressBar-2.21/t/lessthanzero.t  2016-11-27 11:07:41.000000000 
+0100
+++ new/Term-ProgressBar-2.22/t/lessthanzero.t  2018-05-11 18:37:37.000000000 
+0200
@@ -9,8 +9,9 @@
 
 =cut
 
-use Test::More tests => 10;
+use Test::More tests => 11;
 use Test::Exception;
+use Test::Warnings;
 
 use Capture::Tiny qw(capture_stderr);
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Term-ProgressBar-2.21/t/name.t 
new/Term-ProgressBar-2.22/t/name.t
--- old/Term-ProgressBar-2.21/t/name.t  2016-11-27 11:07:41.000000000 +0100
+++ new/Term-ProgressBar-2.22/t/name.t  2018-05-11 18:37:37.000000000 +0200
@@ -9,8 +9,9 @@
 
 =cut
 
-use Test::More tests => 20;
+use Test::More tests => 21;
 use Test::Exception;
+use Test::Warnings;
 
 use Capture::Tiny qw(capture_stderr);
 
@@ -123,7 +124,7 @@
   my $barexpect = $length * 0.3;
   cmp_ok length($bar), '>', $barexpect -1;
   cmp_ok length($bar), '<', $barexpect+1;
-  
+
   $err = capture_stderr {
     lives_ok { $p->message($MESSAGE1)    }  'Count 1-10 ( 5)';
     lives_ok { $p->update($_) for 6..10 }  'Count 1-10 ( 6)';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Term-ProgressBar-2.21/t/silent.t 
new/Term-ProgressBar-2.22/t/silent.t
--- old/Term-ProgressBar-2.21/t/silent.t        2017-07-10 13:30:15.000000000 
+0200
+++ new/Term-ProgressBar-2.22/t/silent.t        2018-05-11 18:37:37.000000000 
+0200
@@ -10,8 +10,9 @@
 
 =cut
 
-use Test::More tests => 13;
+use Test::More tests => 14;
 use Test::Exception;
+use Test::Warnings;
 
 use Capture::Tiny qw(capture_stderr);
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Term-ProgressBar-2.21/t/v1-message.t 
new/Term-ProgressBar-2.22/t/v1-message.t
--- old/Term-ProgressBar-2.21/t/v1-message.t    2016-11-27 11:07:41.000000000 
+0100
+++ new/Term-ProgressBar-2.22/t/v1-message.t    2018-05-11 18:37:37.000000000 
+0200
@@ -9,8 +9,9 @@
 
 =cut
 
-use Test::More tests => 8;
+use Test::More tests => 9;
 use Test::Exception;
+use Test::Warnings;
 
 use Capture::Tiny qw(capture_stderr);
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Term-ProgressBar-2.21/t/v2-message.t 
new/Term-ProgressBar-2.22/t/v2-message.t
--- old/Term-ProgressBar-2.21/t/v2-message.t    2016-11-27 11:07:41.000000000 
+0100
+++ new/Term-ProgressBar-2.22/t/v2-message.t    2018-05-11 18:37:37.000000000 
+0200
@@ -9,8 +9,9 @@
 
 =cut
 
-use Test::More tests => 11;
+use Test::More tests => 12;
 use Test::Exception;
+use Test::Warnings;
 
 use Capture::Tiny qw(capture_stderr);
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Term-ProgressBar-2.21/t/v2-mobile.t 
new/Term-ProgressBar-2.22/t/v2-mobile.t
--- old/Term-ProgressBar-2.21/t/v2-mobile.t     2016-11-27 11:07:41.000000000 
+0100
+++ new/Term-ProgressBar-2.22/t/v2-mobile.t     2018-05-11 18:37:37.000000000 
+0200
@@ -9,8 +9,9 @@
 
 =cut
 
-use Test::More tests => 7;
+use Test::More tests => 8;
 use Test::Exception;
+use Test::Warnings;
 
 use Capture::Tiny qw(capture_stderr);
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Term-ProgressBar-2.21/t/v2-simple.t 
new/Term-ProgressBar-2.22/t/v2-simple.t
--- old/Term-ProgressBar-2.21/t/v2-simple.t     2016-11-27 11:07:41.000000000 
+0100
+++ new/Term-ProgressBar-2.22/t/v2-simple.t     2018-05-11 18:37:37.000000000 
+0200
@@ -9,8 +9,9 @@
 
 =cut
 
-use Test::More tests => 31;
+use Test::More tests => 32;
 use Test::Exception;
+use Test::Warnings;
 
 use Capture::Tiny qw(capture_stderr);
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Term-ProgressBar-2.21/t/zero.t 
new/Term-ProgressBar-2.22/t/zero.t
--- old/Term-ProgressBar-2.21/t/zero.t  2016-11-27 11:07:41.000000000 +0100
+++ new/Term-ProgressBar-2.22/t/zero.t  2018-05-11 18:37:37.000000000 +0200
@@ -9,8 +9,9 @@
 
 =cut
 
-use Test::More tests => 9;
+use Test::More tests => 10;
 use Test::Exception;
+use Test::Warnings;
 
 use Capture::Tiny qw(capture_stderr);
 


Reply via email to