From: Dave Rolsky Date: Sat, 13 Sep 2008 03:26:23 +0000 (+0000) Subject: Fix the spelling of compatibility in here too. X-Git-Tag: 0.58~34^2~13 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=41419b9e140e4b1b2c7d2de18649151993206509;p=gitmo%2FMoose.git Fix the spelling of compatibility in here too. --- diff --git a/Changes b/Changes index ff21d51..bd078c7 100644 --- a/Changes +++ b/Changes @@ -1251,7 +1251,7 @@ Revision history for Perl extension Moose - added tests to assure we work with Module::Refresh - added stricter test skip logic in the Moose POOP test, ask Rob Kinyon why. - - *cough* DBM::Deep 1.0 backwards compatability sucks *cough* ;) + - *cough* DBM::Deep 1.0 backwards compatibility sucks *cough* ;) 0.18 Sat. March 10, 2007 ~~ Many, many documentation updates ~~ @@ -1532,7 +1532,7 @@ Revision history for Perl extension Moose - 'with' now checks Role validaity and accepts more than one Role at a time - 'extends' makes metaclass adjustments as - needed to ensure metaclass compatability + needed to ensure metaclass compatibility * Moose::Role - refactored the keyword exports diff --git a/lib/Moose.pm b/lib/Moose.pm index c54d8db..a70af07 100644 --- a/lib/Moose.pm +++ b/lib/Moose.pm @@ -61,7 +61,7 @@ sub extends { # this checks the metaclass to make sure # it is correct, sometimes it can get out # of sync when the classes are being built - my $meta = Moose::Meta::Class->initialize($class)->_fix_metaclass_incompatability(@supers); + my $meta = Moose::Meta::Class->initialize($class)->_fix_metaclass_incompatibility(@supers); $meta->superclasses(@supers); } @@ -188,7 +188,7 @@ sub init_meta { : ref($ancestor_meta)); # if we have an ancestor metaclass that inherits $metaclass, we use - # that. This is like _fix_metaclass_incompatability, but we can do it now. + # that. This is like _fix_metaclass_incompatibility, but we can do it now. # the case of having an ancestry is not very common, but arises in # e.g. Reaction diff --git a/lib/Moose/Meta/Class.pm b/lib/Moose/Meta/Class.pm index 93d8da6..20e9b85 100644 --- a/lib/Moose/Meta/Class.pm +++ b/lib/Moose/Meta/Class.pm @@ -305,7 +305,7 @@ sub _find_next_method_by_name_which_is_not_overridden { return undef; } -sub _fix_metaclass_incompatability { +sub _fix_metaclass_incompatibility { my ($self, @superclasses) = @_; foreach my $super (@superclasses) {