commit perl-Mock-Quick for openSUSE:Factory

Hello community, here is the log from the commit of package perl-Mock-Quick for openSUSE:Factory checked in at 2015-08-29 20:04:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Mock-Quick (Old) and /work/SRC/openSUSE:Factory/.perl-Mock-Quick.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "perl-Mock-Quick" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Mock-Quick/perl-Mock-Quick.changes 2014-09-17 17:27:07.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Mock-Quick.new/perl-Mock-Quick.changes 2015-08-29 20:04:42.000000000 +0200 @@ -1,0 +2,6 @@ +Thu Aug 27 08:47:21 UTC 2015 - coolo@suse.com + +- updated to 1.110 + see /usr/share/doc/packages/perl-Mock-Quick/Changes + +------------------------------------------------------------------- Old: ---- Mock-Quick-1.108.tar.gz New: ---- Mock-Quick-1.110.tar.gz cpanspec.yml ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Mock-Quick.spec ++++++ --- /var/tmp/diff_new_pack.HkK4XA/_old 2015-08-29 20:04:42.000000000 +0200 +++ /var/tmp/diff_new_pack.HkK4XA/_new 2015-08-29 20:04:42.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-Mock-Quick # -# 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,22 +17,23 @@ Name: perl-Mock-Quick -Version: 1.108 +Version: 1.110 Release: 0 %define cpan_name Mock-Quick Summary: Quickly mock objects and classes, even temporarily replace them, License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Mock-Quick/ -Source: http://www.cpan.org/authors/id/E/EX/EXODIST/%{cpan_name}-%{version}.tar.gz +Source0: http://www.cpan.org/authors/id/E/EX/EXODIST/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Exporter::Declare) >= 0.103 BuildRequires: perl(Fennec::Lite) >= 0.004 -BuildRequires: perl(Module::Build) >= 0.42 -BuildRequires: perl(Test::Exception) >= 0.29 +BuildRequires: perl(Module::Build) >= 0.420000 +BuildRequires: perl(Test::Exception) >= 0.290000 BuildRequires: perl(Test::Simple) >= 0.88 Requires: perl(Exporter::Declare) >= 0.103 %{perl_requires} @@ -75,6 +76,6 @@ %files -f %{name}.files %defattr(-,root,root,755) -%doc README +%doc Changes README %changelog ++++++ Mock-Quick-1.108.tar.gz -> Mock-Quick-1.110.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mock-Quick-1.108/Changes new/Mock-Quick-1.110/Changes --- old/Mock-Quick-1.108/Changes 1970-01-01 01:00:00.000000000 +0100 +++ new/Mock-Quick-1.110/Changes 2015-08-26 19:03:38.000000000 +0200 @@ -0,0 +1,7 @@ +1.110 2015-08-26 10:02:22-07:00 America/Los_Angeles + + - Fix Test from 1.109 to skip when required module is missing + +1.109 2015-08-26 08:51:08-07:00 America/Los_Angeles + + - Fix #16, overloading + compare warning diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mock-Quick-1.108/MANIFEST new/Mock-Quick-1.110/MANIFEST --- old/Mock-Quick-1.108/MANIFEST 2014-08-27 19:37:00.000000000 +0200 +++ new/Mock-Quick-1.110/MANIFEST 2015-08-26 19:03:38.000000000 +0200 @@ -1,4 +1,5 @@ Build.PL +Changes lib/Mock/Quick.pm lib/Mock/Quick/Class.pm lib/Mock/Quick/Method.pm @@ -7,12 +8,10 @@ lib/Mock/Quick/Util.pm lib/Object/Quick.pm MANIFEST This list of files -MANIFEST.bak MANIFEST.SKIP -META.json -META.yml README t/Class.t +t/clear_warn.t t/intercept.t t/Method.t t/metrics.t @@ -21,3 +20,5 @@ t/Object.t t/object_control.t t/Util.t +META.yml +META.json diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mock-Quick-1.108/MANIFEST.bak new/Mock-Quick-1.110/MANIFEST.bak --- old/Mock-Quick-1.108/MANIFEST.bak 2014-08-27 19:37:00.000000000 +0200 +++ new/Mock-Quick-1.110/MANIFEST.bak 1970-01-01 01:00:00.000000000 +0100 @@ -1,22 +0,0 @@ -Build.PL -lib/Mock/Quick.pm -lib/Mock/Quick/Class.pm -lib/Mock/Quick/Method.pm -lib/Mock/Quick/Object.pm -lib/Mock/Quick/Object/Control.pm -lib/Mock/Quick/Util.pm -lib/Object/Quick.pm -MANIFEST This list of files -MANIFEST.SKIP -README -t/Class.t -t/intercept.t -t/Method.t -t/metrics.t -t/Mock-Quick.t -t/Object-Quick.t -t/Object.t -t/object_control.t -t/Util.t -META.yml -META.json diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mock-Quick-1.108/META.json new/Mock-Quick-1.110/META.json --- old/Mock-Quick-1.108/META.json 2014-08-27 19:37:00.000000000 +0200 +++ new/Mock-Quick-1.110/META.json 2015-08-26 19:03:38.000000000 +0200 @@ -4,7 +4,7 @@ "Chad Granum <exodist7@gmail.com>" ], "dynamic_config" : 1, - "generated_by" : "Module::Build version 0.4208", + "generated_by" : "Module::Build version 0.4214", "license" : [ "perl_5" ], @@ -37,7 +37,7 @@ "provides" : { "Mock::Quick" : { "file" : "lib/Mock/Quick.pm", - "version" : "1.108" + "version" : "1.110" }, "Mock::Quick::Class" : { "file" : "lib/Mock/Quick/Class.pm" @@ -70,5 +70,5 @@ "url" : "http://github.com/exodist/Mock-Quick" } }, - "version" : "1.108" + "version" : "1.110" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mock-Quick-1.108/META.yml new/Mock-Quick-1.110/META.yml --- old/Mock-Quick-1.108/META.yml 2014-08-27 19:37:00.000000000 +0200 +++ new/Mock-Quick-1.110/META.yml 2015-08-26 19:03:38.000000000 +0200 @@ -9,7 +9,7 @@ configure_requires: Module::Build: '0.42' dynamic_config: 1 -generated_by: 'Module::Build version 0.4208, CPAN::Meta::Converter version 2.140640' +generated_by: 'Module::Build version 0.4214, CPAN::Meta::Converter version 2.150001' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -18,7 +18,7 @@ provides: Mock::Quick: file: lib/Mock/Quick.pm - version: '1.108' + version: '1.110' Mock::Quick::Class: file: lib/Mock/Quick/Class.pm Mock::Quick::Method: @@ -39,4 +39,4 @@ bugtracker: http://github.com/exodist/Mock-Quick/issues license: http://dev.perl.org/licenses/ repository: http://github.com/exodist/Mock-Quick -version: '1.108' +version: '1.110' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mock-Quick-1.108/lib/Mock/Quick/Util.pm new/Mock-Quick-1.110/lib/Mock/Quick/Util.pm --- old/Mock-Quick-1.108/lib/Mock/Quick/Util.pm 2014-08-27 19:37:00.000000000 +0200 +++ new/Mock-Quick-1.110/lib/Mock/Quick/Util.pm 2015-08-26 19:03:38.000000000 +0200 @@ -41,7 +41,7 @@ unless exists $self->{$name}; } - if ( @_ && ref $_[0] && $_[0] == \$CLEAR ) { + if ( @_ && ref $_[0] && "$_[0]" eq "" . \$CLEAR ) { delete $self->{ $name }; delete $control->metrics->{$name}; return; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mock-Quick-1.108/lib/Mock/Quick.pm new/Mock-Quick-1.110/lib/Mock/Quick.pm --- old/Mock-Quick-1.108/lib/Mock/Quick.pm 2014-08-27 19:37:00.000000000 +0200 +++ new/Mock-Quick-1.110/lib/Mock/Quick.pm 2015-08-26 19:03:38.000000000 +0200 @@ -9,7 +9,7 @@ use Mock::Quick::Util; use Carp qw/carp/; -our $VERSION = '1.108'; +our $VERSION = '1.110'; import_arguments qw/intercept/; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mock-Quick-1.108/t/clear_warn.t new/Mock-Quick-1.110/t/clear_warn.t --- old/Mock-Quick-1.108/t/clear_warn.t 1970-01-01 01:00:00.000000000 +0100 +++ new/Mock-Quick-1.110/t/clear_warn.t 2015-08-26 19:03:38.000000000 +0200 @@ -0,0 +1,25 @@ +use strict; +use warnings; + +use Test::More; + +BEGIN { + unless(eval { require Path::Class; 1 }) { + Test::More->import(skip_all => 'Path::Class is needed for this test'); + exit 0; + } +} + +use Mock::Quick; +use Path::Class; + +my $x = qobj(foo => qmeth { print "# My file is $_[1]\n" }); + +my @warnings; +{ + local $SIG{__WARN__} = sub { push @warnings => @_ }; + $x->foo( file(".") ); +} +ok(!@warnings, "No warnings") || print STDERR @warnings; + +done_testing; ++++++ 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
participants (1)
-
root@hilbert.suse.de