From: Dave Rolsky Date: Thu, 3 Sep 2009 01:39:58 +0000 (-0500) Subject: rename to new name scheme for native traits X-Git-Tag: 0.90~61 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=952b939de588a63e72f9c22993ac1ff4681f22ac;p=gitmo%2FMoose.git rename to new name scheme for native traits --- diff --git a/lib/Moose/Meta/Attribute/Trait/Native/MethodProvider/Code.pm b/lib/Moose/Meta/Attribute/Native/MethodProvider/Code.pm similarity index 76% rename from lib/Moose/Meta/Attribute/Trait/Native/MethodProvider/Code.pm rename to lib/Moose/Meta/Attribute/Native/MethodProvider/Code.pm index 34cd020..7d97304 100644 --- a/lib/Moose/Meta/Attribute/Trait/Native/MethodProvider/Code.pm +++ b/lib/Moose/Meta/Attribute/Native/MethodProvider/Code.pm @@ -1,4 +1,4 @@ -package Moose::Meta::Attribute::Trait::Native::MethodProvider::Code; +package Moose::Meta::Attribute::Native::MethodProvider::Code; use Moose::Role; our $VERSION = '0.87'; diff --git a/lib/Moose/Meta/Attribute/Trait/Native/Code.pm b/lib/Moose/Meta/Attribute/Native/Trait/Code.pm similarity index 55% rename from lib/Moose/Meta/Attribute/Trait/Native/Code.pm rename to lib/Moose/Meta/Attribute/Native/Trait/Code.pm index cced18e..bec5410 100644 --- a/lib/Moose/Meta/Attribute/Trait/Native/Code.pm +++ b/lib/Moose/Meta/Attribute/Native/Trait/Code.pm @@ -1,18 +1,18 @@ -package Moose::Meta::Attribute::Trait::Native::Code; +package Moose::Meta::Attribute::Native::Trait::Code; use Moose::Role; -use Moose::Meta::Attribute::Trait::Native::MethodProvider::Code; +use Moose::Meta::Attribute::Native::MethodProvider::Code; our $VERSION = '0.87'; $VERSION = eval $VERSION; our $AUTHORITY = 'cpan:STEVAN'; -with 'Moose::Meta::Attribute::Trait::Native'; +with 'Moose::Meta::Attribute::Native::Trait'; has method_provider => ( is => 'ro', isa => 'ClassName', predicate => 'has_method_provider', - default => 'Moose::Meta::Attribute::Trait::Native::MethodProvider::Code', + default => 'Moose::Meta::Attribute::Native::MethodProvider::Code', ); sub _default_is { 'ro' } diff --git a/t/070_attribute_traits/209_trait_code.t b/t/070_native_traits/209_trait_code.t similarity index 100% rename from t/070_attribute_traits/209_trait_code.t rename to t/070_native_traits/209_trait_code.t