From: Hans Dieter Pearcey Date: Sat, 15 Aug 2009 20:29:50 +0000 (-0700) Subject: add Meta:: to Attribute::Native X-Git-Tag: 0.89_02~69 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=17e5e22699b9161cb0cb665a7a218063b7e5ed63;p=gitmo%2FMoose.git add Meta:: to Attribute::Native --- diff --git a/lib/Moose.pm b/lib/Moose.pm index 5ea9316..1cc6645 100644 --- a/lib/Moose.pm +++ b/lib/Moose.pm @@ -34,7 +34,7 @@ use Moose::Meta::Role::Application::ToInstance; use Moose::Util::TypeConstraints; use Moose::Util (); -use Moose::Attribute::Native; +use Moose::Meta::Attribute::Native; sub throw_error { # FIXME This diff --git a/lib/Moose/Attribute/Native.pm b/lib/Moose/Meta/Attribute/Native.pm similarity index 98% rename from lib/Moose/Attribute/Native.pm rename to lib/Moose/Meta/Attribute/Native.pm index dc63346..2e923d8 100644 --- a/lib/Moose/Attribute/Native.pm +++ b/lib/Moose/Meta/Attribute/Native.pm @@ -1,4 +1,4 @@ -package Moose::Attribute::Native; +package Moose::Meta::Attribute::Native; our $VERSION = '0.87'; $VERSION = eval $VERSION; @@ -34,7 +34,7 @@ __END__ =head1 NAME -Moose::Attribute::Native - Extend your attribute interfaces +Moose::Meta::Attribute::Native - Extend your attribute interfaces =head1 SYNOPSIS diff --git a/t/070_native_traits/000_load.t b/t/070_native_traits/000_load.t index b71f104..bf387c3 100644 --- a/t/070_native_traits/000_load.t +++ b/t/070_native_traits/000_load.t @@ -3,9 +3,15 @@ use strict; use warnings; -use Test::More tests => 1; +use Test::More tests => 7; use Moose (); BEGIN { - use_ok('Moose::Attribute::Native'); + use_ok('Moose::Meta::Attribute::Native'); + use_ok('Moose::Meta::Attribute::Native::Trait::Bool'); + use_ok('Moose::Meta::Attribute::Native::Trait::Hash'); + use_ok('Moose::Meta::Attribute::Native::Trait::Array'); + use_ok('Moose::Meta::Attribute::Native::Trait::Counter'); + use_ok('Moose::Meta::Attribute::Native::Trait::Number'); + use_ok('Moose::Meta::Attribute::Native::Trait::String'); }