Hello community,
here is the log from the commit of package perl-Test-MockModule for
openSUSE:Factory checked in at 2015-10-30 13:43:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Test-MockModule (Old)
and /work/SRC/openSUSE:Factory/.perl-Test-MockModule.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Test-MockModule"
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-Test-MockModule/perl-Test-MockModule.changes
2015-06-09 12:25:02.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.perl-Test-MockModule.new/perl-Test-MockModule.changes
2015-10-30 13:43:33.000000000 +0100
@@ -1,0 +2,6 @@
+Wed Oct 28 10:25:16 UTC 2015 - [email protected]
+
+- updated to 0.11
+ see /usr/share/doc/packages/perl-Test-MockModule/Changes
+
+-------------------------------------------------------------------
Old:
----
Test-MockModule-0.10.tar.gz
New:
----
Test-MockModule-0.11.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Test-MockModule.spec ++++++
--- /var/tmp/diff_new_pack.wSoD1Y/_old 2015-10-30 13:43:33.000000000 +0100
+++ /var/tmp/diff_new_pack.wSoD1Y/_new 2015-10-30 13:43:33.000000000 +0100
@@ -17,7 +17,7 @@
Name: perl-Test-MockModule
-Version: 0.10
+Version: 0.11
Release: 0
#Upstream: GPL-1.0+
%define cpan_name Test-MockModule
@@ -47,7 +47,6 @@
%prep
%setup -q -n %{cpan_name}-%{version}
-find . -type f -print0 | xargs -0 chmod 644
%build
%{__perl} Build.PL installdirs=vendor
@@ -62,6 +61,6 @@
%files -f %{name}.files
%defattr(-,root,root,755)
-%doc Changes LICENSE README
+%doc Changes LICENSE README.md
%changelog
++++++ Test-MockModule-0.10.tar.gz -> Test-MockModule-0.11.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-MockModule-0.10/Build.PL
new/Test-MockModule-0.11/Build.PL
--- old/Test-MockModule-0.10/Build.PL 2015-05-31 16:57:49.000000000 +0200
+++ new/Test-MockModule-0.11/Build.PL 2015-10-28 02:29:14.000000000 +0100
@@ -20,6 +20,7 @@
'Module::Build' => '0.38',
},
requires => {
+ 'perl' => 5.006,
'Carp' => 0,
'Scalar::Util' => 0,
'SUPER' => 0,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-MockModule-0.10/Changes
new/Test-MockModule-0.11/Changes
--- old/Test-MockModule-0.10/Changes 2015-05-31 16:57:49.000000000 +0200
+++ new/Test-MockModule-0.11/Changes 2015-10-28 02:29:14.000000000 +0100
@@ -1,5 +1,4 @@
Revision history for Test::MockModule
-$Id: Changes,v 1.5 2005/03/24 22:23:38 simonflack Exp $
v0.10 2015-05-30
- Updated docs for mocking when using exported functions
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-MockModule-0.10/MANIFEST
new/Test-MockModule-0.11/MANIFEST
--- old/Test-MockModule-0.10/MANIFEST 2015-05-31 16:57:49.000000000 +0200
+++ new/Test-MockModule-0.11/MANIFEST 2015-10-28 02:29:14.000000000 +0100
@@ -1,14 +1,14 @@
Build.PL
Changes
lib/Test/MockModule.pm
+LICENSE
MANIFEST This list of files
MANIFEST.SKIP
META.json
META.yml
-README
+README.md
t/inheritance.t
t/lib/ExampleModule.pm
t/mockmodule.t
t/pod.t
t/pod_coverage.t
-LICENSE
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-MockModule-0.10/MANIFEST.SKIP
new/Test-MockModule-0.11/MANIFEST.SKIP
--- old/Test-MockModule-0.10/MANIFEST.SKIP 2015-05-31 16:57:49.000000000
+0200
+++ new/Test-MockModule-0.11/MANIFEST.SKIP 2015-10-28 02:29:14.000000000
+0100
@@ -73,3 +73,5 @@
^Test-MockModule-*
^t/tmp
+# Avoid Travis-CI configuration file
+\.travis.yml
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-MockModule-0.10/META.json
new/Test-MockModule-0.11/META.json
--- old/Test-MockModule-0.10/META.json 2015-05-31 16:57:49.000000000 +0200
+++ new/Test-MockModule-0.11/META.json 2015-10-28 02:29:14.000000000 +0100
@@ -5,7 +5,7 @@
"Original Author: Simon Flack <simonflk _AT_ cpan.org>"
],
"dynamic_config" : 1,
- "generated_by" : "Module::Build version 0.4211",
+ "generated_by" : "Module::Build version 0.4214",
"license" : [
"gpl_3"
],
@@ -29,14 +29,15 @@
"requires" : {
"Carp" : "0",
"SUPER" : "0",
- "Scalar::Util" : "0"
+ "Scalar::Util" : "0",
+ "perl" : "5.006"
}
}
},
"provides" : {
"Test::MockModule" : {
"file" : "lib/Test/MockModule.pm",
- "version" : "0.10"
+ "version" : "0.11"
}
},
"release_status" : "stable",
@@ -52,5 +53,6 @@
"url" : "git://github.com/geofffranks/test-mockmodule.git"
}
},
- "version" : "0.10"
+ "version" : "0.11",
+ "x_serialization_backend" : "JSON::PP version 2.27203"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-MockModule-0.10/META.yml
new/Test-MockModule-0.11/META.yml
--- old/Test-MockModule-0.10/META.yml 2015-05-31 16:57:49.000000000 +0200
+++ new/Test-MockModule-0.11/META.yml 2015-10-28 02:29:14.000000000 +0100
@@ -8,7 +8,7 @@
configure_requires:
Module::Build: '0.38'
dynamic_config: 1
-generated_by: 'Module::Build version 0.4211, CPAN::Meta::Converter version
2.150001'
+generated_by: 'Module::Build version 0.4214, CPAN::Meta::Converter version
2.150005'
license: gpl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -17,14 +17,16 @@
provides:
Test::MockModule:
file: lib/Test/MockModule.pm
- version: '0.10'
+ version: '0.11'
requires:
Carp: '0'
SUPER: '0'
Scalar::Util: '0'
+ perl: '5.006'
resources:
bugtracker: https://github.com/geofffranks/test-mockmodule/issues
homepage: https://github.com/geofffranks/test-mockmodule
license: http://www.gnu.org/licenses/gpl-3.0.txt
repository: git://github.com/geofffranks/test-mockmodule.git
-version: '0.10'
+version: '0.11'
+x_serialization_backend: 'CPAN::Meta::YAML version 0.016'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-MockModule-0.10/README
new/Test-MockModule-0.11/README
--- old/Test-MockModule-0.10/README 2015-05-31 16:57:49.000000000 +0200
+++ new/Test-MockModule-0.11/README 1970-01-01 01:00:00.000000000 +0100
@@ -1,17 +0,0 @@
-Test::MockModule - mock subroutines in a module
-
-See the LICENSE section in lib/Test/MockModule.pm for usage and distribution
-rights
-
-QUICK START:
-
-commands in the source directory:
-
- perl Build.PL
- ./Build
- ./Build test
- ./Build install
- Then delete the source directory tree since it's no longer needed.
-
- run 'perldoc Test::MockModule' to read the full documentation.
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-MockModule-0.10/README.md
new/Test-MockModule-0.11/README.md
--- old/Test-MockModule-0.10/README.md 1970-01-01 01:00:00.000000000 +0100
+++ new/Test-MockModule-0.11/README.md 2015-10-28 02:29:14.000000000 +0100
@@ -0,0 +1,23 @@
+# Test::MockModule - mock subroutines in a module
+
+See the LICENSE section in `lib/Test/MockModule.pm` for usage and
+distribution rights.
+
+## Installation
+
+Run these commands in the source directory:
+
+ perl Build.PL
+ ./Build
+ ./Build test
+ ./Build install
+
+Then delete the source directory tree since it's no longer needed.
+
+Alternatively, you can simply install the module via `cpanm`:
+
+ cpanm Test::MockModule
+
+## Documentation
+
+Run `perldoc Test::MockModule` to read the full documentation.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-MockModule-0.10/lib/Test/MockModule.pm
new/Test-MockModule-0.11/lib/Test/MockModule.pm
--- old/Test-MockModule-0.10/lib/Test/MockModule.pm 2015-05-31
16:57:49.000000000 +0200
+++ new/Test-MockModule-0.11/lib/Test/MockModule.pm 2015-10-28
02:29:14.000000000 +0100
@@ -1,11 +1,10 @@
-# $Id: MockModule.pm,v 1.7 2005/03/24 22:23:38 simonflack Exp $
package Test::MockModule;
use strict qw/subs vars/;
use vars qw/$VERSION/;
use Scalar::Util qw/reftype weaken/;
use Carp;
use SUPER;
-$VERSION = '0.10';
+$VERSION = '0.11';
my %mocked;
sub new {
@@ -175,7 +174,7 @@
use Test::MockModule;
{
- my $module = new Test::MockModule('Module::Name');
+ my $module = Test::MockModule->new('Module::Name');
$module->mock('subroutine', sub { ... });
Module::Name::subroutine(@args); # mocked
}
@@ -215,7 +214,7 @@
automatically loaded. You can override this behaviour by setting the C<no_auto>
option:
- my $mock = new Test::MockModule('Module::Name', no_auto => 1);
+ my $mock = Test::MockModule->new('Module::Name', no_auto => 1);
=item get_package()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-MockModule-0.10/t/inheritance.t
new/Test-MockModule-0.11/t/inheritance.t
--- old/Test-MockModule-0.10/t/inheritance.t 2015-05-31 16:57:49.000000000
+0200
+++ new/Test-MockModule-0.11/t/inheritance.t 2015-10-28 02:29:14.000000000
+0100
@@ -1,4 +1,5 @@
-#!/usr/bin/perl
+use warnings;
+use strict;
use Test::MockModule;
use Test::More;
@@ -13,7 +14,7 @@
is(Baz->motto(), "Foo!", "pre-mock: Baz inherit's Bar's inheritance of Foo's
motto");
{
- my $mock_bar = new Test::MockModule('Bar', no_auto => 1);
+ my $mock_bar = Test::MockModule->new('Bar', no_auto => 1);
$mock_bar->mock('motto', sub { 'Bar!' });
is(Foo->motto(), "Foo!", "Foo motto is unchanged post-Bar mock");
is(Bar->motto(), "Bar!", "Bar motto has been mocked");
@@ -21,7 +22,7 @@
is($mock_bar->original("motto")->(), "Foo!", "Bar's original function
can still be reached correctly");
ok($mock_bar->is_mocked("motto"), "Baz's motto is really mocked");
- my $mock_baz = new Test::MockModule('Baz', no_auto => 1);
+ my $mock_baz = Test::MockModule->new('Baz', no_auto => 1);
$mock_baz->mock('motto', sub { 'Baz!' });
is(Foo->motto(), "Foo!", "Foo motto is unchanged post-Baz mock");
is(Bar->motto(), "Bar!", "Bar motto is unchanged post-Baz mock");
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-MockModule-0.10/t/mockmodule.t
new/Test-MockModule-0.11/t/mockmodule.t
--- old/Test-MockModule-0.10/t/mockmodule.t 2015-05-31 16:57:49.000000000
+0200
+++ new/Test-MockModule-0.11/t/mockmodule.t 2015-10-28 02:29:14.000000000
+0100
@@ -1,5 +1,6 @@
-#!/usr/bin/perl -w
+use warnings;
use strict;
+
use Test::More;
use lib "t/lib";
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-MockModule-0.10/t/pod.t
new/Test-MockModule-0.11/t/pod.t
--- old/Test-MockModule-0.10/t/pod.t 2015-05-31 16:57:49.000000000 +0200
+++ new/Test-MockModule-0.11/t/pod.t 2015-10-28 02:29:14.000000000 +0100
@@ -1,6 +1,8 @@
-#!/usr/bin/perl
-#$Id: pod.t,v 1.1.1.1 2004/11/28 23:38:28 simonflack Exp $
+use warnings;
+use strict;
+
use Test::More;
+
eval "use Test::Pod 1.00";
plan skip_all => "Test::Pod 1.00 required for testing POD" if $@;
all_pod_files_ok();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-MockModule-0.10/t/pod_coverage.t
new/Test-MockModule-0.11/t/pod_coverage.t
--- old/Test-MockModule-0.10/t/pod_coverage.t 2015-05-31 16:57:49.000000000
+0200
+++ new/Test-MockModule-0.11/t/pod_coverage.t 2015-10-28 02:29:14.000000000
+0100
@@ -1,6 +1,8 @@
-#!/usr/bin/perl
-#$Id: pod_coverage.t,v 1.1 2005/03/24 22:23:38 simonflack Exp $
+use warnings;
+use strict;
+
use Test::More;
+
eval "use Test::Pod::Coverage 1.00";
plan skip_all => "Test::Pod::Coverage 1.00 required for testing pod coverage"
if $@;
all_pod_coverage_ok({also_private => [qr/^TRACE(?:F|_HERE)?|DUMP$/]});