From: Stevan Little Date: Sun, 27 May 2007 17:55:22 +0000 (+0000) Subject: fixing the authors lists and adding the ClassName type constraint X-Git-Tag: 0_38~5 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=9c8cda9011b019e4876183222b8793b66bab7546;p=gitmo%2FClass-MOP.git fixing the authors lists and adding the ClassName type constraint --- diff --git a/Changes b/Changes index daa8458..433ce6b 100644 --- a/Changes +++ b/Changes @@ -6,6 +6,7 @@ Revision history for Perl extension Class-MOP. * Class::MOP::Package - we now deal with stub methods properly - added tests for this + - fixed some tests failing on 5.9.5 * Class::MOP::Attribute - added get_read_method and get_write_method diff --git a/lib/Class/MOP.pm b/lib/Class/MOP.pm index 485f797..e70592e 100644 --- a/lib/Class/MOP.pm +++ b/lib/Class/MOP.pm @@ -835,28 +835,6 @@ All complex software has bugs lurking in it, and this module is no exception. If you find a bug please either email me, or add the bug to cpan-RT. -=head1 CODE COVERAGE - -I use L to test the code coverage of my tests, below is the -L report on this module's test suite. - - ---------------------------- ------ ------ ------ ------ ------ ------ ------ - File stmt bran cond sub pod time total - ---------------------------- ------ ------ ------ ------ ------ ------ ------ - Class/MOP.pm 97.7 100.0 88.9 94.7 100.0 3.2 96.6 - Class/MOP/Attribute.pm 75.5 77.9 82.4 88.3 100.0 4.0 81.5 - Class/MOP/Class.pm 96.9 88.8 72.1 98.2 100.0 35.8 91.4 - Class/MOP/Class/Immutable.pm 88.2 60.0 n/a 95.5 100.0 0.5 84.6 - Class/MOP/Instance.pm 86.4 75.0 33.3 86.2 100.0 1.2 87.5 - Class/MOP/Method.pm 97.5 75.0 61.5 80.6 100.0 12.7 89.7 - Class/MOP/Module.pm 100.0 n/a 55.6 100.0 100.0 0.1 90.7 - Class/MOP/Object.pm 73.3 n/a 20.0 80.0 100.0 0.1 66.7 - Class/MOP/Package.pm 94.6 71.7 33.3 100.0 100.0 42.2 87.0 - metaclass.pm 100.0 100.0 83.3 100.0 n/a 0.2 97.7 - ---------------------------- ------ ------ ------ ------ ------ ------ ------ - Total 91.3 80.4 69.8 91.9 100.0 100.0 88.1 - ---------------------------- ------ ------ ------ ------ ------ ------ ------ - =head1 ACKNOWLEDGEMENTS =over 4 @@ -871,7 +849,15 @@ Thanks to Rob for actually getting the development of this module kick-started. Stevan Little Estevan@iinteractive.comE -Yuval Kogman Enothingmuch@woobling.comE +B + +Brandon (blblack) Black + +Guillermo (groditi) Roditi + +Rob (robkinyon) Kinyon + +Yuval (nothingmuch) Kogman =head1 COPYRIGHT AND LICENSE diff --git a/lib/Class/MOP/Attribute.pm b/lib/Class/MOP/Attribute.pm index 67e07d5..202ec69 100644 --- a/lib/Class/MOP/Attribute.pm +++ b/lib/Class/MOP/Attribute.pm @@ -9,7 +9,7 @@ use Class::MOP::Method::Accessor; use Carp 'confess'; use Scalar::Util 'blessed', 'reftype', 'weaken'; -our $VERSION = '0.14'; +our $VERSION = '0.15'; our $AUTHORITY = 'cpan:STEVAN'; use base 'Class::MOP::Object'; @@ -648,8 +648,6 @@ of the MOP when subclassing it. Stevan Little Estevan@iinteractive.comE -Yuval Kogman Enothingmuch@woobling.comE - =head1 COPYRIGHT AND LICENSE Copyright 2006, 2007 by Infinity Interactive, Inc. diff --git a/lib/Class/MOP/Class.pm b/lib/Class/MOP/Class.pm index f75f20d..2861243 100644 --- a/lib/Class/MOP/Class.pm +++ b/lib/Class/MOP/Class.pm @@ -1323,8 +1323,6 @@ the L documentation. Stevan Little Estevan@iinteractive.comE -Yuval Kogman Enothingmuch@woobling.comE - =head1 COPYRIGHT AND LICENSE Copyright 2006, 2007 by Infinity Interactive, Inc. diff --git a/lib/Class/MOP/Method.pm b/lib/Class/MOP/Method.pm index 8064c22..ba0218c 100644 --- a/lib/Class/MOP/Method.pm +++ b/lib/Class/MOP/Method.pm @@ -129,8 +129,6 @@ to this class. Stevan Little Estevan@iinteractive.comE -Yuval Kogman Enothingmuch@woobling.comE - =head1 COPYRIGHT AND LICENSE Copyright 2006, 2007 by Infinity Interactive, Inc. diff --git a/lib/Class/MOP/Method/Wrapped.pm b/lib/Class/MOP/Method/Wrapped.pm index 68ad0a2..8afb549 100644 --- a/lib/Class/MOP/Method/Wrapped.pm +++ b/lib/Class/MOP/Method/Wrapped.pm @@ -179,8 +179,6 @@ Class::MOP::Method::Wrapped - Method Meta Object to handle before/around/after m Stevan Little Estevan@iinteractive.comE -Yuval Kogman Enothingmuch@woobling.comE - =head1 COPYRIGHT AND LICENSE Copyright 2006, 2007 by Infinity Interactive, Inc. diff --git a/lib/Class/MOP/Module.pm b/lib/Class/MOP/Module.pm index 291606b..10aa614 100644 --- a/lib/Class/MOP/Module.pm +++ b/lib/Class/MOP/Module.pm @@ -77,8 +77,6 @@ This constructs a string of the name, version and authority. Stevan Little Estevan@iinteractive.comE -Yuval Kogman Enothingmuch@woobling.comE - =head1 COPYRIGHT AND LICENSE Copyright 2006, 2007 by Infinity Interactive, Inc. diff --git a/lib/Class/MOP/Package.pm b/lib/Class/MOP/Package.pm index 62c9e15..b0b1b04 100644 --- a/lib/Class/MOP/Package.pm +++ b/lib/Class/MOP/Package.pm @@ -274,8 +274,6 @@ which match the filter (either SCALAR, ARRAY, HASH or CODE). Stevan Little Estevan@iinteractive.comE -Yuval Kogman Enothingmuch@woobling.comE - =head1 COPYRIGHT AND LICENSE Copyright 2006, 2007 by Infinity Interactive, Inc. diff --git a/lib/metaclass.pm b/lib/metaclass.pm index 56d8475..80e10aa 100644 --- a/lib/metaclass.pm +++ b/lib/metaclass.pm @@ -84,8 +84,6 @@ installs a C method to your class as well. Stevan Little Estevan@iinteractive.comE -Yuval Kogman Enothingmuch@woobling.comE - =head1 COPYRIGHT AND LICENSE Copyright 2006, 2007 by Infinity Interactive, Inc.