move role application backcompat hack before normal process
authorGraham Knop <haarg@haarg.org>
Thu, 11 Jul 2013 08:30:58 +0000 (04:30 -0400)
committerGraham Knop <haarg@haarg.org>
Thu, 11 Jul 2013 11:42:22 +0000 (07:42 -0400)
commit2603ea93c8af870757f38ce7e7f2a944c29070f2
treea473645a27849dc35a8ff5b857645be399f91898
parentf4afc2d19a9d70db4c7adb21f83f674d3f7e5f77
move role application backcompat hack before normal process

If working with a subclass of Role::Tiny, run
apply_single_role_to_package inside apply_roles_to_package as a
backwards compatibility measure.  Only do this as required for classes
that haven't been adjusted to the new API.
lib/Role/Tiny.pm