Hello community,

here is the log from the commit of package perl-Web-MREST-CLI for 
openSUSE:Factory checked in at 2016-09-21 18:49:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Web-MREST-CLI (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Web-MREST-CLI.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Web-MREST-CLI"

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Web-MREST-CLI/perl-Web-MREST-CLI.changes    
2016-09-17 14:39:34.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.perl-Web-MREST-CLI.new/perl-Web-MREST-CLI.changes   
    2016-09-21 18:49:40.000000000 +0200
@@ -1,0 +2,27 @@
+Mon Sep  5 07:07:09 UTC 2016 - ncut...@suse.com
+
+- fix %doc in spec file 
+
+-------------------------------------------------------------------
+Sun Sep  4 17:59:56 UTC 2016 - ncut...@suse.com
+
+- fix _service file 
+
+-------------------------------------------------------------------
+Sun Sep  4 17:58:31 UTC 2016 - ncut...@suse.com
+
+- updated to 0.283
+   see /usr/share/doc/packages/perl-Web-MREST-CLI/Changes
+
+-------------------------------------------------------------------
+Sun Sep  4 17:57:04 UTC 2016 - ncut...@suse.com
+
+- updated to 0.282
+   see /usr/share/doc/packages/perl-Web-MREST-CLI/Changes
+
+-------------------------------------------------------------------
+Sun Sep  4 17:56:32 UTC 2016 - ncut...@suse.com
+
+- add _service file to automate version update in spec file
+
+-------------------------------------------------------------------

Old:
----
  Web-MREST-CLI-0.280.tar.gz

New:
----
  Web-MREST-CLI-0.283.tar.gz
  _service

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

Other differences:
------------------
++++++ perl-Web-MREST-CLI.spec ++++++
--- /var/tmp/diff_new_pack.rQvhQh/_old  2016-09-21 18:49:41.000000000 +0200
+++ /var/tmp/diff_new_pack.rQvhQh/_new  2016-09-21 18:49:41.000000000 +0200
@@ -17,14 +17,14 @@
 
 
 Name:           perl-Web-MREST-CLI
-Version:        0.280
+Version:        0.283
 Release:        0
 %define cpan_name Web-MREST-CLI
 Summary:        CLI components for Web::MEST-based applications
 License:        BSD-3-Clause
 Group:          Development/Libraries/Perl
 Url:            http://search.cpan.org/dist/Web-MREST-CLI/
-Source0:        Web-MREST-CLI-0.280.tar.gz
+Source0:        Web-MREST-CLI-0.283.tar.gz
 BuildArch:      noarch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  perl
@@ -77,6 +77,6 @@
 
 %files -f %{name}.files
 %defattr(-,root,root,755)
-%doc Changes config LICENSE README README.md
+%doc Changes config LICENSE README.rst
 
 %changelog

++++++ Web-MREST-CLI-0.280.tar.gz -> Web-MREST-CLI-0.283.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Web-MREST-CLI-0.280/Changes 
new/Web-MREST-CLI-0.283/Changes
--- old/Web-MREST-CLI-0.280/Changes     2016-01-14 16:07:09.000000000 +0100
+++ new/Web-MREST-CLI-0.283/Changes     2016-09-04 19:58:27.000000000 +0200
@@ -29,3 +29,13 @@
 0.280 2016-01-14 16:05 CET
 - CLI.pm->send_req: do not UTF-8 decode the response
 
+0.281 2016-09-04 19:54 CEST
+- init_cli_client: optionally take arrayref of sitedirs
+- Travis CI
+
+0.282 2016-09-04 19:56 CEST
+- MANIFEST: now we have README.rst only
+
+0.283 2016-09-04 19:58 CEST
+- MANIFEST: add t/001-noop.t
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Web-MREST-CLI-0.280/MANIFEST 
new/Web-MREST-CLI-0.283/MANIFEST
--- old/Web-MREST-CLI-0.280/MANIFEST    2016-01-14 16:07:09.000000000 +0100
+++ new/Web-MREST-CLI-0.283/MANIFEST    2016-09-04 19:58:27.000000000 +0200
@@ -11,5 +11,5 @@
 MANIFEST.SKIP
 META.json
 META.yml
-README
-README.md
+README.rst
+t/001-noop.t
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Web-MREST-CLI-0.280/MANIFEST.SKIP 
new/Web-MREST-CLI-0.283/MANIFEST.SKIP
--- old/Web-MREST-CLI-0.280/MANIFEST.SKIP       2016-01-14 16:07:09.000000000 
+0100
+++ new/Web-MREST-CLI-0.283/MANIFEST.SKIP       2016-09-04 19:58:27.000000000 
+0200
@@ -1,4 +1,3 @@
-
 #!start included /usr/lib/perl5/5.18.1/ExtUtils/MANIFEST.SKIP
 # Avoid version control files.
 \bRCS\b
@@ -67,10 +66,16 @@
 \bBuild.COM$
 \bBUILD.COM$
 \bbuild.com$
-\bMANIFEST\.SKIP$
+^MANIFEST\.SKIP
 
 # Avoid archives of this distribution
 \bApp-Dochazka-Common-[\d\.\_]+
+
+# Avoid release script helper files
 \bCPAN_NAME$
-release.sh$
-\bMakefile\.PL$
+\bOBS_PROJECT$
+\bVERSION_MODULE$
+
+# Avoid perlcritic, travis config files
+\B\.perlcriticrc\b
+\B\.travis.yml\b
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Web-MREST-CLI-0.280/META.json 
new/Web-MREST-CLI-0.283/META.json
--- old/Web-MREST-CLI-0.280/META.json   2016-01-14 16:07:09.000000000 +0100
+++ new/Web-MREST-CLI-0.283/META.json   2016-09-04 19:58:27.000000000 +0200
@@ -4,7 +4,7 @@
       "Nathan Cutler <ncut...@suse.cz>"
    ],
    "dynamic_config" : 1,
-   "generated_by" : "Module::Build version 0.4212",
+   "generated_by" : "Module::Build version 0.4205",
    "license" : [
       "bsd"
    ],
@@ -56,7 +56,7 @@
    "provides" : {
       "Web::MREST::CLI" : {
          "file" : "lib/Web/MREST/CLI.pm",
-         "version" : "0.280"
+         "version" : "0.283"
       },
       "Web::MREST::CLI::Parser" : {
          "file" : "lib/Web/MREST/CLI/Parser.pm"
@@ -68,6 +68,6 @@
          "http://opensource.org/licenses/bsd-license.php";
       ]
    },
-   "version" : "0.280",
-   "x_serialization_backend" : "JSON::PP version 2.27202"
+   "version" : "0.283",
+   "x_serialization_backend" : "JSON::PP version 2.27203"
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Web-MREST-CLI-0.280/META.yml 
new/Web-MREST-CLI-0.283/META.yml
--- old/Web-MREST-CLI-0.280/META.yml    2016-01-14 16:07:09.000000000 +0100
+++ new/Web-MREST-CLI-0.283/META.yml    2016-09-04 19:58:27.000000000 +0200
@@ -8,7 +8,7 @@
 configure_requires:
   Module::Build: '0'
 dynamic_config: 1
-generated_by: 'Module::Build version 0.4212, CPAN::Meta::Converter version 
2.150005'
+generated_by: 'Module::Build version 0.4205, CPAN::Meta::Converter version 
2.150005'
 license: bsd
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -20,7 +20,7 @@
 provides:
   Web::MREST::CLI:
     file: lib/Web/MREST/CLI.pm
-    version: '0.280'
+    version: '0.283'
   Web::MREST::CLI::Parser:
     file: lib/Web/MREST/CLI/Parser.pm
 requires:
@@ -44,5 +44,5 @@
   perl: '5.012'
 resources:
   license: http://opensource.org/licenses/bsd-license.php
-version: '0.280'
-x_serialization_backend: 'CPAN::Meta::YAML version 0.016'
+version: '0.283'
+x_serialization_backend: 'CPAN::Meta::YAML version 0.012'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Web-MREST-CLI-0.280/README 
new/Web-MREST-CLI-0.283/README
--- old/Web-MREST-CLI-0.280/README      2016-01-14 16:07:09.000000000 +0100
+++ new/Web-MREST-CLI-0.283/README      1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-See https://metacpan.org/pod/Web::MREST::CLI
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Web-MREST-CLI-0.280/README.md 
new/Web-MREST-CLI-0.283/README.md
--- old/Web-MREST-CLI-0.280/README.md   2016-01-14 16:07:09.000000000 +0100
+++ new/Web-MREST-CLI-0.283/README.md   1970-01-01 01:00:00.000000000 +0100
@@ -1,2 +0,0 @@
-# mrest-cli
-CLI components for Web::MREST
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Web-MREST-CLI-0.280/README.rst 
new/Web-MREST-CLI-0.283/README.rst
--- old/Web-MREST-CLI-0.280/README.rst  1970-01-01 01:00:00.000000000 +0100
+++ new/Web-MREST-CLI-0.283/README.rst  2016-09-04 19:58:27.000000000 +0200
@@ -0,0 +1,15 @@
+Web::MREST::CLI
+===============
+
+.. image:: https://travis-ci.org/smithfarm/mrest-cli.svg?branch=master
+    :target: https://travis-ci.org/smithfarm/mrest-cli
+
+.. image:: https://badge.fury.io/pl/Web-MREST-CLI.svg
+    :target: https://badge.fury.io/pl/Web-MREST-CLI
+
+CLI components for Web::MREST
+
+Documentation
+=============
+
+See https://metacpan.org/pod/Web::MREST::CLI
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Web-MREST-CLI-0.280/lib/Web/MREST/CLI.pm 
new/Web-MREST-CLI-0.283/lib/Web/MREST/CLI.pm
--- old/Web-MREST-CLI-0.280/lib/Web/MREST/CLI.pm        2016-01-14 
16:07:09.000000000 +0100
+++ new/Web-MREST-CLI-0.283/lib/Web/MREST/CLI.pm        2016-09-04 
19:58:27.000000000 +0200
@@ -70,11 +70,11 @@
 
 =head1 VERSION
 
-Version 0.280
+Version 0.283
 
 =cut
 
-our $VERSION = '0.280';
+our $VERSION = '0.283';
 
 
 
@@ -139,7 +139,7 @@
 sub init_cli_client {
     my ( %ARGS ) = validate( @_, {
         distro => { type => SCALAR },
-        sitedir => { type => SCALAR|UNDEF, optional => 1 },
+        sitedir => { type => ARRAYREF|SCALAR|UNDEF, optional => 1 },
         early_debug => { type => SCALAR|UNDEF, optional => 1 },
     } );
 
@@ -155,12 +155,22 @@
         }
     }
 
-    foreach my $target ( File::ShareDir::dist_dir( $ARGS{'distro'} ), 
$ARGS{'sitedir'} ) {
-        if ( $target ) {
-            print "Loading configuration files from $target\n";
-            my $status = $CELL->load( verbose => 1, sitedir => $target );
-            die Dumper( $status ) unless $status->ok;
+    my @targets;
+    if ( defined( $ARGS{'sitedir'} ) ) {
+        if ( ref( $ARGS{'sitedir'} ) eq 'ARRAY' ) {
+            @targets = @{ $ARGS{'sitedir'} };
         }
+        if ( ref( $ARGS{'sitedir'} ) eq '' ) {
+            @targets = ( $ARGS{'sitedir'} );
+        }
+    }
+    my $target = File::ShareDir::dist_dir( $ARGS{'distro'} );
+    my $status = $CELL->load( verbose => 1, sitedir => $target );
+    die $status->text unless $status->ok;
+    foreach my $target ( @targets ) {
+        print "Loading configuration files from $target\n";
+        $status = $CELL->load( verbose => 1, sitedir => $target );
+        print "WARNING: " . $status->text . "\n" unless $status->ok;
     }
 
     # initialize the LWP::UserAgent object
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Web-MREST-CLI-0.280/t/001-noop.t 
new/Web-MREST-CLI-0.283/t/001-noop.t
--- old/Web-MREST-CLI-0.280/t/001-noop.t        1970-01-01 01:00:00.000000000 
+0100
+++ new/Web-MREST-CLI-0.283/t/001-noop.t        2016-09-04 19:58:27.000000000 
+0200
@@ -0,0 +1,48 @@
+# ************************************************************************* 
+# Copyright (c) 2014-2015, SUSE LLC
+# 
+# All rights reserved.
+# 
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions are met:
+# 
+# 1. Redistributions of source code must retain the above copyright notice,
+# this list of conditions and the following disclaimer.
+# 
+# 2. Redistributions in binary form must reproduce the above copyright
+# notice, this list of conditions and the following disclaimer in the
+# documentation and/or other materials provided with the distribution.
+# 
+# 3. Neither the name of SUSE LLC nor the names of its contributors may be
+# used to endorse or promote products derived from this software without
+# specific prior written permission.
+# 
+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+# POSSIBILITY OF SUCH DAMAGE.
+# ************************************************************************* 
+#
+# initial test ensuring that the test suite will not run outside of the
+# development environment
+#
+
+#!perl
+use 5.012;
+use strict;
+use warnings;
+
+#use App::CELL::Test::LogToFile;
+use Test::More;
+
+note( 'noop test' );
+ok( 1 );
+
+done_testing;

++++++ _service ++++++
<services>
  <service name="set_version" mode="disabled">
    <param name="basename">Web-MREST-CLI</param>
  </service>
</services>

Reply via email to