Permalink
Browse files

Change from using MethodInstaller to Context::Simple since moving str…

…ip_attrs down to the base class
  • Loading branch information...
1 parent 22751dd commit 16e77c20f1b3ec88c2a96d93ec1b92c0062d0dd8 @nperez nperez committed with Aug 9, 2009
Showing with 4 additions and 4 deletions.
  1. +1 −1 Makefile.PL
  2. +3 −3 lib/MooseX/Method/Signatures.pm
View
@@ -9,7 +9,7 @@ requires 'aliased';
requires 'B::Hooks::EndOfScope' => '0.07';
requires 'Context::Preserve';
requires 'Parse::Method::Signatures' => '1.003004';
-requires 'Devel::Declare' => '0.003004';
+requires 'Devel::Declare' => '0.005009';
requires 'Moose::Util::TypeConstraints';
requires 'Moose' => '0.63';
requires 'MooseX::Meta::TypeConstraint::ForceCoercion';
@@ -14,7 +14,7 @@ use MooseX::Method::Signatures::Types qw/PrototypeInjections/;
use Sub::Name;
use Carp;
-use aliased 'Devel::Declare::MethodInstaller::Simple', 'MethodInstaller';
+use aliased 'Devel::Declare::Context::Simple', 'ContextSimple';
use namespace::autoclean;
@@ -28,7 +28,7 @@ has package => (
has context => (
is => 'ro',
- isa => MethodInstaller,
+ isa => ContextSimple,
lazy => 1,
builder => '_build_context',
);
@@ -53,7 +53,7 @@ has prototype_injections => (
sub _build_context {
my ($self) = @_;
- return MethodInstaller->new(into => $self->package);
+ return ContextSimple->new(into => $self->package);
}
sub import {

0 comments on commit 16e77c2

Please sign in to comment.