Hello community,
here is the log from the commit of package perl-Test-MockObject for
openSUSE:Factory checked in at 2015-06-09 12:24:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Test-MockObject (Old)
and /work/SRC/openSUSE:Factory/.perl-Test-MockObject.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Test-MockObject"
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-Test-MockObject/perl-Test-MockObject.changes
2015-04-15 16:27:11.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.perl-Test-MockObject.new/perl-Test-MockObject.changes
2015-06-09 12:25:00.000000000 +0200
@@ -1,0 +2,14 @@
+Sun Jun 7 09:07:06 UTC 2015 - [email protected]
+
+- updated to 1.20150527
+ see /usr/share/doc/packages/perl-Test-MockObject/Changes
+
+ 1.20150527 2015-05-27 08:33:52-07:00 America/Los_Angeles
+ - improved dependencies (build/run/requires), (Olivier Mengué, GH PR #10)
+ - improved runtime loading (Olivier Mengué, GH PR #11)
+
+ 1.20150521 2015-05-21 09:09:19-07:00 America/Los_Angeles
+ - updated CGI dependency
+ - improved README for GitHub (Rob Van Dam, GH PR #9)
+
+-------------------------------------------------------------------
Old:
----
Test-MockObject-1.20140408.tar.gz
New:
----
Test-MockObject-1.20150527.tar.gz
cpanspec.yml
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Test-MockObject.spec ++++++
--- /var/tmp/diff_new_pack.w31L2x/_old 2015-06-09 12:25:00.000000000 +0200
+++ /var/tmp/diff_new_pack.w31L2x/_new 2015-06-09 12:25:00.000000000 +0200
@@ -17,26 +17,25 @@
Name: perl-Test-MockObject
-Version: 1.20140408
+Version: 1.20150527
Release: 0
%define cpan_name Test-MockObject
Summary: Perl extension for emulating troublesome interfaces
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Test-MockObject/
-Source:
http://www.cpan.org/authors/id/C/CH/CHROMATIC/%{cpan_name}-%{version}.tar.gz
+Source0:
http://www.cpan.org/authors/id/C/CH/CHROMATIC/%{cpan_name}-%{version}.tar.gz
+Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
-BuildRequires: perl(Test::Exception) >= 0.31
+BuildRequires: perl(CGI) >= 4.15
+BuildRequires: perl(Test::Exception) >= 0.310000
BuildRequires: perl(Test::More) >= 0.98
BuildRequires: perl(Test::Warn) >= 0.23
BuildRequires: perl(UNIVERSAL::can) >= 1.20110617
BuildRequires: perl(UNIVERSAL::isa) >= 1.20110614
-Requires: perl(Test::Exception) >= 0.31
-Requires: perl(Test::More) >= 0.98
-Requires: perl(Test::Warn) >= 0.23
Requires: perl(UNIVERSAL::can) >= 1.20110617
Requires: perl(UNIVERSAL::isa) >= 1.20110614
%{perl_requires}
++++++ Test-MockObject-1.20140408.tar.gz -> Test-MockObject-1.20150527.tar.gz
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-MockObject-1.20140408/Changes
new/Test-MockObject-1.20150527/Changes
--- old/Test-MockObject-1.20140408/Changes 2014-04-08 02:38:47.000000000
+0200
+++ new/Test-MockObject-1.20150527/Changes 2015-05-27 17:34:22.000000000
+0200
@@ -1,5 +1,13 @@
Revision history for Perl extension Test::MockObject.
+1.20150527 2015-05-27 08:33:52-07:00 America/Los_Angeles
+ - improved dependencies (build/run/requires), (Olivier Mengué, GH PR #10)
+ - improved runtime loading (Olivier Mengué, GH PR #11)
+
+1.20150521 2015-05-21 09:09:19-07:00 America/Los_Angeles
+ - updated CGI dependency
+ - improved README for GitHub (Rob Van Dam, GH PR #9)
+
1.20140408 2014-04-07 17:38:44-07:00 America/Los_Angeles
- enabled Travis CI (no user-visible changes)
- improved fields-based object support (Olivier Mengué, Maxime Soulé)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-MockObject-1.20140408/LICENSE
new/Test-MockObject-1.20150527/LICENSE
--- old/Test-MockObject-1.20140408/LICENSE 2014-04-08 02:38:47.000000000
+0200
+++ new/Test-MockObject-1.20150527/LICENSE 2015-05-27 17:34:22.000000000
+0200
@@ -1,4 +1,4 @@
-This software is copyright (c) 2011 by [email protected].
+This software is copyright (c) 2015 by [email protected].
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
@@ -12,7 +12,7 @@
--- The GNU General Public License, Version 1, February 1989 ---
-This software is Copyright (c) 2011 by [email protected].
+This software is Copyright (c) 2015 by [email protected].
This is free software, licensed under:
@@ -272,7 +272,7 @@
--- The Artistic License 1.0 ---
-This software is Copyright (c) 2011 by [email protected].
+This software is Copyright (c) 2015 by [email protected].
This is free software, licensed under:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-MockObject-1.20140408/MANIFEST
new/Test-MockObject-1.20150527/MANIFEST
--- old/Test-MockObject-1.20140408/MANIFEST 2014-04-08 02:38:47.000000000
+0200
+++ new/Test-MockObject-1.20150527/MANIFEST 2015-05-27 17:34:22.000000000
+0200
@@ -1,10 +1,11 @@
-# This file was automatically generated by Dist::Zilla::Plugin::Manifest
v5.013.
+# This file was automatically generated by Dist::Zilla::Plugin::Manifest
v5.032.
Changes
LICENSE
MANIFEST
META.yml
Makefile.PL
README
+README.pod
dist.ini
lib/Test/MockObject.pm
lib/Test/MockObject/Extends.pm
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-MockObject-1.20140408/META.yml
new/Test-MockObject-1.20150527/META.yml
--- old/Test-MockObject-1.20140408/META.yml 2014-04-08 02:38:47.000000000
+0200
+++ new/Test-MockObject-1.20150527/META.yml 2015-05-27 17:34:22.000000000
+0200
@@ -3,6 +3,7 @@
author:
- chromatic
build_requires:
+ CGI: '4.15'
Test::Exception: '0.31'
Test::More: '0.98'
Test::Warn: '0.23'
@@ -11,23 +12,19 @@
overload: '0'
vars: '0'
configure_requires:
- ExtUtils::MakeMaker: '6.30'
+ ExtUtils::MakeMaker: '0'
dynamic_config: 0
-generated_by: 'Dist::Zilla version 5.013, CPAN::Meta::Converter version
2.133380'
+generated_by: 'Dist::Zilla version 5.032, CPAN::Meta::Converter version
2.150001'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
version: '1.4'
name: Test-MockObject
requires:
- CGI: '0'
Carp: '0'
Devel::Peek: '0'
Scalar::Util: '0'
Test::Builder: '0'
- Test::Exception: '0.31'
- Test::More: '0.98'
- Test::Warn: '0.23'
UNIVERSAL::can: '1.20110617'
UNIVERSAL::isa: '1.20110614'
constant: '0'
@@ -36,4 +33,4 @@
resources:
bugtracker: http://rt.cpan.org/NoAuth/Bugs.html?Dist=Test-MockObject
repository: https://github.com/chromatic/Test-MockObject.git
-version: '1.20140408'
+version: '1.20150527'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-MockObject-1.20140408/Makefile.PL
new/Test-MockObject-1.20150527/Makefile.PL
--- old/Test-MockObject-1.20140408/Makefile.PL 2014-04-08 02:38:47.000000000
+0200
+++ new/Test-MockObject-1.20150527/Makefile.PL 2015-05-27 17:34:22.000000000
+0200
@@ -1,34 +1,26 @@
-
-# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker
v5.013.
+# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker
v5.032.
use strict;
use warnings;
-use ExtUtils::MakeMaker 6.30;
-
-
+use ExtUtils::MakeMaker;
my %WriteMakefileArgs = (
"ABSTRACT" => "Perl extension for emulating troublesome interfaces",
"AUTHOR" => "chromatic",
- "BUILD_REQUIRES" => {},
"CONFIGURE_REQUIRES" => {
- "ExtUtils::MakeMaker" => "6.30"
+ "ExtUtils::MakeMaker" => 0
},
"DISTNAME" => "Test-MockObject",
"EXE_FILES" => [],
"LICENSE" => "perl",
"NAME" => "Test::MockObject",
"PREREQ_PM" => {
- "CGI" => 0,
"Carp" => 0,
"Devel::Peek" => 0,
"Scalar::Util" => 0,
"Test::Builder" => 0,
- "Test::Exception" => "0.31",
- "Test::More" => "0.98",
- "Test::Warn" => "0.23",
"UNIVERSAL::can" => "1.20110617",
"UNIVERSAL::isa" => "1.20110614",
"constant" => 0,
@@ -36,6 +28,7 @@
"warnings" => 0
},
"TEST_REQUIRES" => {
+ "CGI" => "4.15",
"Test::Exception" => "0.31",
"Test::More" => "0.98",
"Test::Warn" => "0.23",
@@ -44,7 +37,7 @@
"overload" => 0,
"vars" => 0
},
- "VERSION" => "1.20140408",
+ "VERSION" => "1.20150527",
"test" => {
"TESTS" => "t/*.t"
}
@@ -52,9 +45,10 @@
my %FallbackPrereqs = (
- "CGI" => 0,
+ "CGI" => "4.15",
"Carp" => 0,
"Devel::Peek" => 0,
+ "ExtUtils::MakeMaker" => 0,
"Scalar::Util" => 0,
"Test::Builder" => 0,
"Test::Exception" => "0.31",
@@ -82,6 +76,3 @@
unless eval { ExtUtils::MakeMaker->VERSION(6.52) };
WriteMakefile(%WriteMakefileArgs);
-
-
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-MockObject-1.20140408/README
new/Test-MockObject-1.20150527/README
--- old/Test-MockObject-1.20140408/README 2014-04-08 02:38:47.000000000
+0200
+++ new/Test-MockObject-1.20150527/README 2015-05-27 17:34:22.000000000
+0200
@@ -1,15 +1,15 @@
This archive contains the distribution Test-MockObject,
-version 1.20140408:
+version 1.20150527:
Perl extension for emulating troublesome interfaces
-This software is copyright (c) 2011 by [email protected].
+This software is copyright (c) 2015 by [email protected].
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
-This README file was generated by Dist::Zilla::Plugin::Readme v5.013.
+This README file was generated by Dist::Zilla::Plugin::Readme v5.032.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-MockObject-1.20140408/README.pod
new/Test-MockObject-1.20150527/README.pod
--- old/Test-MockObject-1.20140408/README.pod 1970-01-01 01:00:00.000000000
+0100
+++ new/Test-MockObject-1.20150527/README.pod 2015-05-27 17:34:22.000000000
+0200
@@ -0,0 +1,61 @@
+=pod
+
+=encoding utf8
+
+=head1 NAME
+
+Test::MockObject - Perl extension for emulating troublesome interfaces
+
+=head1 SYNOPSIS
+
+ use Test::MockObject;
+ my $mock = Test::MockObject->new();
+ $mock->set_true( 'somemethod' );
+ ok( $mock->somemethod() );
+
+ $mock->set_true( 'veritas')
+ ->set_false( 'ficta' )
+ ->set_series( 'amicae', 'Sunny', 'Kylie', 'Bella' );
+
+=head1 DESCRIPTION
+
+It's a simple program that doesn't use any other modules, and those are easy to
+test. More often, testing a program completely means faking up input to
+another module, trying to coax the right output from something you're not
+supposed to be testing anyway.
+
+Testing is a lot easier when you can control the entire environment. With
+Test::MockObject, you can get a lot closer.
+
+Test::MockObject allows you to create objects that conform to particular
+interfaces with very little code. You don't have to reimplement the behavior,
+just the input and the output.
+
+=head1 DOCUMENTATION
+
+The full documentation for this module can be found at
+L<CPAN Search|http://search.cpan.org/dist/Test-MockObject>,
+L<MetaCPAN|http://www.metacpan.org/module/Test::MockObject>,
+or by running C<perldoc Test::MockObject> at the commandline.
+
+=head1 AUTHOR
+
+chromatic, E<lt>chromatic at wgz dot orgE<gt>
+
+=head1 SEE ALSO
+
+L<perl>, L<Test::Tutorial>, L<Test::More>,
+L<http:E<sol>E<sol>www.perl.comE<sol>pubE<sol>aE<sol>2001E<sol>12E<sol>04E<sol>testing.html>,
+and
+L<http:E<sol>E<sol>www.perl.comE<sol>pubE<sol>aE<sol>2002E<sol>07E<sol>10E<sol>tmo.html>.
+
+=head1 COPYRIGHT
+
+Copyright (c) 2002 - 2015 by chromatic E<lt>chromatic at wgz dot orgE<gt>.
+
+This program is free software; you can use, modify, and redistribute it under
+the same terms as Perl 5.10.x itself.
+
+See http://www.perl.com/perl/misc/Artistic.html
+
+=cut
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-MockObject-1.20140408/dist.ini
new/Test-MockObject-1.20150527/dist.ini
--- old/Test-MockObject-1.20140408/dist.ini 2014-04-08 02:38:47.000000000
+0200
+++ new/Test-MockObject-1.20150527/dist.ini 2015-05-27 17:34:22.000000000
+0200
@@ -2,7 +2,7 @@
author = chromatic
license = Perl_5
copyright_holder = [email protected]
-copyright_year = 2011
+copyright_year = 2015
[MetaResources]
bugtracker.web = http://rt.cpan.org/NoAuth/Bugs.html?Dist=Test-MockObject
@@ -18,7 +18,9 @@
[Prereqs]
UNIVERSAL::isa = 1.20110614
UNIVERSAL::can = 1.20110617
-CGI = 0
+
+[Prereqs / TestRequires]
+CGI = 4.15
Test::More = 0.98
Test::Exception = 0.31
Test::Warn = 0.23
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Test-MockObject-1.20140408/lib/Test/MockObject/Extends.pm
new/Test-MockObject-1.20150527/lib/Test/MockObject/Extends.pm
--- old/Test-MockObject-1.20140408/lib/Test/MockObject/Extends.pm
2014-04-08 02:38:47.000000000 +0200
+++ new/Test-MockObject-1.20150527/lib/Test/MockObject/Extends.pm
2015-05-27 17:34:22.000000000 +0200
@@ -1,16 +1,13 @@
package Test::MockObject::Extends;
-$Test::MockObject::Extends::VERSION = '1.20140408';
+$Test::MockObject::Extends::VERSION = '1.20150527';
use strict;
use warnings;
use Test::MockObject;
-sub import
-{
- my $self = shift;
- eval "use Test::MockObject";
- Test::MockObject->import( @_ );
-}
+# Alias our 'import' to T:MO::import to handle this:
+# use Test::MockObject::Extends '-debug';
+*import = \&Test::MockObject::import;
use Devel::Peek 'CvGV';
use Scalar::Util 'blessed';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-MockObject-1.20140408/lib/Test/MockObject.pm
new/Test-MockObject-1.20150527/lib/Test/MockObject.pm
--- old/Test-MockObject-1.20140408/lib/Test/MockObject.pm 2014-04-08
02:38:47.000000000 +0200
+++ new/Test-MockObject-1.20150527/lib/Test/MockObject.pm 2015-05-27
17:34:22.000000000 +0200
@@ -1,5 +1,5 @@
package Test::MockObject;
-$Test::MockObject::VERSION = '1.20140408';
+$Test::MockObject::VERSION = '1.20150527';
use strict;
use warnings;
@@ -9,8 +9,14 @@
{
my $self = shift;
return unless grep /^-debug/, @_;
- eval "use UNIVERSAL::isa 'verbose'";
- eval "use UNIVERSAL::can '-always_warn'";
+ eval {
+ require UNIVERSAL::isa;
+ UNIVERSAL::isa::->import('verbose');
+ };
+ eval {
+ require UNIVERSAL::can;
+ UNIVERSAL::can::->import('-always_warn');
+ };
}
use Test::Builder;
++++++ 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