Hello community,

here is the log from the commit of package perl-Term-UI for openSUSE:Factory 
checked in at 2015-06-09 12:25:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Term-UI (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Term-UI.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Term-UI"

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Term-UI/perl-Term-UI.changes        
2014-07-28 16:11:56.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.perl-Term-UI.new/perl-Term-UI.changes   
2015-06-09 12:25:05.000000000 +0200
@@ -1,0 +2,13 @@
+Sun Jun  7 09:05:01 UTC 2015 - [email protected]
+
+- updated to 0.46
+   see /usr/share/doc/packages/perl-Term-UI/CHANGES
+
+  0.46 Mon May 25 18:47:04 BST 2015
+  * Fix test skip count for non-terminals
+    (Alexandr Ciornii)
+  
+  0.44 Mon May 25 12:09:17 BST 2015
+  * Fix multi-choice without defaults (Noel Maddy)
+
+-------------------------------------------------------------------

Old:
----
  Term-UI-0.42.tar.gz

New:
----
  Term-UI-0.46.tar.gz
  cpanspec.yml

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

Other differences:
------------------
++++++ perl-Term-UI.spec ++++++
--- /var/tmp/diff_new_pack.2qSj2q/_old  2015-06-09 12:25:05.000000000 +0200
+++ /var/tmp/diff_new_pack.2qSj2q/_new  2015-06-09 12:25:05.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-Term-UI
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 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,15 @@
 
 
 Name:           perl-Term-UI
-Version:        0.42
+Version:        0.46
 Release:        0
 %define cpan_name Term-UI
 Summary:        Term::ReadLine UI made easy
 License:        Artistic-1.0 or GPL-1.0+
 Group:          Development/Libraries/Perl
 Url:            http://search.cpan.org/dist/Term-UI/
-Source:         
http://www.cpan.org/authors/id/B/BI/BINGOS/%{cpan_name}-%{version}.tar.gz
+Source0:        
http://www.cpan.org/authors/id/B/BI/BINGOS/%{cpan_name}-%{version}.tar.gz
+Source1:        cpanspec.yml
 BuildArch:      noarch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  perl

++++++ Term-UI-0.42.tar.gz -> Term-UI-0.46.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Term-UI-0.42/CHANGES new/Term-UI-0.46/CHANGES
--- old/Term-UI-0.42/CHANGES    2014-01-02 13:33:16.000000000 +0100
+++ new/Term-UI-0.46/CHANGES    2015-05-25 19:47:51.000000000 +0200
@@ -1,3 +1,10 @@
+0.46 Mon May 25 18:47:04 BST 2015
+* Fix test skip count for non-terminals
+  (Alexandr Ciornii)
+
+0.44 Mon May 25 12:09:17 BST 2015
+* Fix multi-choice without defaults (Noel Maddy)
+
 0.42 Thu Jan  2 12:32:18 GMT 2014
 * Fix test skip count for non-terminals
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Term-UI-0.42/META.json new/Term-UI-0.46/META.json
--- old/Term-UI-0.42/META.json  2014-01-02 13:34:03.000000000 +0100
+++ new/Term-UI-0.46/META.json  2015-05-25 19:48:51.000000000 +0200
@@ -4,7 +4,7 @@
       "Jos Boumans <kane[at]cpan.org>"
    ],
    "dynamic_config" : 1,
-   "generated_by" : "ExtUtils::MakeMaker version 6.84, CPAN::Meta::Converter 
version 2.133380",
+   "generated_by" : "ExtUtils::MakeMaker version 7.04, CPAN::Meta::Converter 
version 2.150001",
    "license" : [
       "perl_5"
    ],
@@ -25,6 +25,11 @@
             "ExtUtils::MakeMaker" : "0"
          }
       },
+      "configure" : {
+         "requires" : {
+            "ExtUtils::MakeMaker" : "0"
+         }
+      },
       "runtime" : {
          "requires" : {
             "Locale::Maketext::Simple" : "0",
@@ -44,5 +49,5 @@
          "web" : "https://github.com/jib/term-ui";
       }
    },
-   "version" : "0.42"
+   "version" : "0.46"
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Term-UI-0.42/META.yml new/Term-UI-0.46/META.yml
--- old/Term-UI-0.42/META.yml   2014-01-02 13:34:03.000000000 +0100
+++ new/Term-UI-0.46/META.yml   2015-05-25 19:48:51.000000000 +0200
@@ -3,25 +3,27 @@
 author:
   - 'Jos Boumans <kane[at]cpan.org>'
 build_requires:
-  ExtUtils::MakeMaker: 0
+  ExtUtils::MakeMaker: '0'
+configure_requires:
+  ExtUtils::MakeMaker: '0'
 dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 6.84, CPAN::Meta::Converter version 
2.133380'
+generated_by: 'ExtUtils::MakeMaker version 7.04, CPAN::Meta::Converter version 
2.150001'
 license: perl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
-  version: 1.4
+  version: '1.4'
 name: Term-UI
 no_index:
   directory:
     - t
     - inc
 requires:
-  Locale::Maketext::Simple: 0
-  Log::Message::Simple: 0
-  Params::Check: 0
-  Term::ReadLine: 0
-  Test::More: 0.31
-  if: 0
+  Locale::Maketext::Simple: '0'
+  Log::Message::Simple: '0'
+  Params::Check: '0'
+  Term::ReadLine: '0'
+  Test::More: '0.31'
+  if: '0'
 resources:
   repository: git://github.com/jib/term-ui.git
-version: 0.42
+version: '0.46'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Term-UI-0.42/lib/Term/UI/History.pm 
new/Term-UI-0.46/lib/Term/UI/History.pm
--- old/Term-UI-0.42/lib/Term/UI/History.pm     2014-01-02 13:33:23.000000000 
+0100
+++ new/Term-UI-0.46/lib/Term/UI/History.pm     2015-05-25 19:48:17.000000000 
+0200
@@ -5,7 +5,7 @@
 use base 'Exporter';
 use base 'Log::Message::Simple';
 
-$VERSION = '0.42';
+$VERSION = '0.46';
 
 =pod
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Term-UI-0.42/lib/Term/UI.pm 
new/Term-UI-0.46/lib/Term/UI.pm
--- old/Term-UI-0.42/lib/Term/UI.pm     2014-01-02 13:33:23.000000000 +0100
+++ new/Term-UI-0.46/lib/Term/UI.pm     2015-05-25 19:48:08.000000000 +0200
@@ -13,7 +13,7 @@
 BEGIN {
     use vars        qw[$VERSION $AUTOREPLY $VERBOSE $INVALID];
     $VERBOSE    =   1;
-    $VERSION    =   '0.42';
+    $VERSION    =   '0.46';
     $INVALID    =   loc('Invalid selection, please try again: ');
 }
 
@@ -134,7 +134,7 @@
                 or ( carp( loc(q[Could not parse arguments]) ), return );
 
     # Check for legacy default on multi=1
-    if ($args->{multi} and ref($args->{default}) ne "ARRAY") {
+    if ($args->{multi} and defined $args->{default} and ref($args->{default}) 
ne "ARRAY") {
         $args->{default} = [ $args->{default} ];
     }
 
@@ -166,7 +166,7 @@
             $args->{print_me} .= sprintf "\n%3s> %-s", $i, $choice;
         }
 
-        $prompt_add = join(" ", @$prompt_add) if ($args->{multi});
+        $prompt_add = join(" ", @$prompt_add) if ( $prompt_add && 
$args->{multi} );
 
         ### we listed some choices -- add another newline for
         ### pretty printing
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Term-UI-0.42/t/02_ui.t new/Term-UI-0.46/t/02_ui.t
--- old/Term-UI-0.42/t/02_ui.t  2014-01-02 13:30:31.000000000 +0100
+++ new/Term-UI-0.46/t/02_ui.t  2015-05-25 19:46:26.000000000 +0200
@@ -2,7 +2,7 @@
 
 use strict;
 use lib qw[../lib lib];
-use Test::More tests => 21;
+use Test::More tests => 22;
 use Term::ReadLine;
 
 use_ok( 'Term::UI' );
@@ -14,7 +14,7 @@
 # SKIP tests if we aren't on a terminal
 SKIP: {
 
-skip 'not on a terminal', 20 unless -t;
+skip 'not on a terminal', 21 unless -t;
 
 ### enable warnings
 $^W = 1;
@@ -53,6 +53,15 @@
 }
 
 {
+    my $args = \%{ $tmpl };
+    $args->{choices} = [qw|blue red green|],
+    $args->{multi} = 1;
+    delete $args->{default};
+
+    is_deeply( [ $term->get_reply( %$args ) ], [undef], q[Checking reply with 
multiple choices but no defaults] );
+}
+
+{
     my $args = \%{ $tmpl };
     $args->{choices} = [qw|blue red green|],
     $args->{multi} = 1;

++++++ cpanspec.yml ++++++
---
#description_paragraphs: 3
#no_testing: broken upstream
#sources:
#  - source1
#  - source2
#patches:
#  foo.patch: -p1
#  bar.patch:
#preamble: |-
# BuildRequires:  gcc-c++
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s,  *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL 
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module

Reply via email to