bump CMOP prereq to 0.85
[gitmo/Moose.git] / lib / Moose / Meta / Role / Application / ToRole.pm
index ed60669..59d806f 100644 (file)
@@ -6,7 +6,7 @@ use metaclass;
 
 use Scalar::Util    'blessed';
 
-our $VERSION   = '0.79';
+our $VERSION   = '0.80';
 $VERSION = eval $VERSION;
 our $AUTHORITY = 'cpan:STEVAN';
 
@@ -106,7 +106,7 @@ sub apply_methods {
             $role2->get_method($method_name)->body != $role1->get_method($method_name)->body) {
             # method conflicts between roles result
             # in the method becoming a requirement
-            $role2->add_conflicted_method(
+            $role2->add_conflicting_method(
                 name  => $method_name,
                 roles => [$role1->name, $role2->name],
             );