[SCM] Debian packaging of Mock-Quick CPAN distribution branch, master, updated. debian/1.105-1-5-g7cdd880
Xavier Guimard
x.guimard at free.fr
Tue Jun 18 04:27:18 UTC 2013
The following commit has been merged in the master branch:
commit e6f653911def4baa5f0faa695b2c614ab283aed3
Author: Xavier Guimard <x.guimard at free.fr>
Date: Tue Jun 18 06:25:04 2013 +0200
Update spelling patch offsets
diff --git a/debian/patches/spelling.patch b/debian/patches/spelling.patch
index b9d29e5..b425969 100644
--- a/debian/patches/spelling.patch
+++ b/debian/patches/spelling.patch
@@ -3,7 +3,8 @@ Origin: vendor
Bug: https://rt.cpan.org/Ticket/Display.html?id=82025
Forwarded: https://rt.cpan.org/Ticket/Display.html?id=82025
Author: gregor herrmann <gregoa at debian.org>
-Last-Update: 2012-12-16
+Reviewed-By: Xavier Guimard <x.guimard at free.fr>
+Last-Update: 2013-06-18
--- a/README
+++ b/README
@@ -32,7 +33,7 @@ Last-Update: 2012-12-16
Mock-Quick uses Exporter::Declare. This allows for exports to be
--- a/lib/Mock/Quick.pm
+++ b/lib/Mock/Quick.pm
-@@ -66,11 +66,11 @@
+@@ -100,11 +100,11 @@
There are a couple Mocking libraries available on CPAN. The primary problems
with these libraries include verbose syntax, and most importantly side-effects.
Some Mocking libraries expect you to mock a specific class, and will unload it
@@ -46,7 +47,7 @@ Last-Update: 2012-12-16
instances, and classes. You can quickly create an instance of an object with
custom attributes and methods. You can also quickly create an anonymous class,
optionally inhereting from another, with whatever methods you desire.
-@@ -304,7 +304,7 @@
+@@ -338,7 +338,7 @@
been called. When a method is altered or removed the key is deleted.
Metrics only apply to mocked methods. When you takeover an already loaded class
@@ -57,23 +58,23 @@ Last-Update: 2012-12-16
--- a/t/Class.t
+++ b/t/Class.t
-@@ -57,7 +57,7 @@
+@@ -60,7 +60,7 @@
my $obj = $CLASS->new( foo => 'bar' );
- is ( $obj->package->foo, 'bar', "original value" );
- $obj->override( 'foo', sub { 'baz' });
+ is( $obj->package->foo, 'bar', "original value" );
+ $obj->override( 'foo', sub { 'baz' } );
- is( $obj->package->foo, 'baz', "overriden" );
+ is( $obj->package->foo, 'baz', "overridden" );
- $obj->restore( 'foo' );
+ $obj->restore('foo');
is( $obj->package->foo, 'bar', "original value" );
-@@ -69,14 +69,14 @@
+@@ -72,14 +72,14 @@
);
- $obj->override( 'bar', sub { 'xxx' });
+ $obj->override( 'bar', sub { 'xxx' } );
- is( $obj->package->bar, 'xxx', "overriden" );
+ is( $obj->package->bar, 'xxx', "overridden" );
- $obj->restore( 'bar' );
- ok( !$obj->package->can( 'bar' ), "original value is nill" );
+ $obj->restore('bar');
+ ok( !$obj->package->can('bar'), "original value is nill" );
# Multiple overrides
$obj->override( foo => sub { 'foo' }, bar => sub { 'bar' } );
--
Debian packaging of Mock-Quick CPAN distribution
More information about the Pkg-perl-cvs-commits
mailing list