[SCM] Debian packaging of Mock-Quick CPAN distribution branch, master, updated. c8ca7ce2d90cbb839787e7bd415e295e1b882882
gregor herrmann
gregoa at debian.org
Sun Dec 16 15:52:35 UTC 2012
The following commit has been merged in the master branch:
commit 29fdd71db22e707c1e86a2c0d6c79f4ef5286558
Author: gregor herrmann <gregoa at debian.org>
Date: Sun Dec 16 16:51:27 2012 +0100
add spelling patch
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..5299247
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+spelling.patch
diff --git a/debian/patches/spelling.patch b/debian/patches/spelling.patch
new file mode 100644
index 0000000..b9d29e5
--- /dev/null
+++ b/debian/patches/spelling.patch
@@ -0,0 +1,86 @@
+Description: spelling fixes
+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
+
+--- a/README
++++ b/README
+@@ -9,11 +9,11 @@
+ 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 then redefine it. This is
+- particularily a problem if you only want to override a class on a
++ particularly a problem if you only want to override a class on a
+ lexical level.
+
+ Mock-Object provides a declarative mocking interface that results in a
+- very concise, but clear syntax. There are seperate facilities for
++ very concise, but clear syntax. There are separate facilities for
+ mocking object 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,
+@@ -233,7 +233,7 @@
+ is deleted.
+
+ Metrics only apply to mocked methods. When you takeover an already
+- loaded class metrics will only track overriden methods.
++ loaded class metrics will only track overridden methods.
+
+ EXPORTS
+ 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 @@
+ 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
+-then redefine it. This is particularily a problem if you only want to override
++then redefine it. This is particularly a problem if you only want to override
+ a class on a lexical level.
+
+ Mock-Object provides a declarative mocking interface that results in a very
+-concise, but clear syntax. There are seperate facilities for mocking object
++concise, but clear syntax. There are separate facilities for mocking object
+ 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 @@
+ 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
+-metrics will only track overriden methods.
++metrics will only track overridden methods.
+
+ =head1 EXPORTS
+
+--- a/t/Class.t
++++ b/t/Class.t
+@@ -57,7 +57,7 @@
+ my $obj = $CLASS->new( foo => 'bar' );
+ 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' );
+ is( $obj->package->foo, 'bar', "original value" );
+
+@@ -69,14 +69,14 @@
+ );
+
+ $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" );
+
+ # Multiple overrides
+ $obj->override( foo => sub { 'foo' }, bar => sub { 'bar' } );
+- is $obj->package->foo => 'foo', "overriden";
+- is $obj->package->bar => 'bar', "overriden";
++ is $obj->package->foo => 'foo', "overridden";
++ is $obj->package->bar => 'bar', "overridden";
+ $obj->restore(qw/ foo bar /);
+ is $obj->package->foo => 'bar', "original value";
+ ok !$obj->package->can('bar'), "original value is nil";
--
Debian packaging of Mock-Quick CPAN distribution
More information about the Pkg-perl-cvs-commits
mailing list