[libmoosex-lazyrequire-perl] 08/11: remove dependency on MooseX::Types

Intrigeri intrigeri at moszumanska.debian.org
Wed Aug 27 21:25:24 UTC 2014


This is an automated email from the git hooks/post-receive script.

intrigeri pushed a commit to annotated tag v0.09
in repository libmoosex-lazyrequire-perl.

commit f14feb70bb0df0c75b2900891821f02c2fe48630
Author: Karen Etheridge <ether at cpan.org>
Date:   Sat Dec 1 14:06:37 2012 -0800

    remove dependency on MooseX::Types
---
 Changes                                                    | 1 +
 lib/MooseX/LazyRequire/Meta/Attribute/Trait/LazyRequire.pm | 3 +--
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Changes b/Changes
index 53756f6..431ec46 100644
--- a/Changes
+++ b/Changes
@@ -4,6 +4,7 @@ Change history for distribution {{$dist->name}}
   * Invalid tests that failed on perl 5.17.6 have been fixed (they were always
     invalid, but the changes to hash key ordering only now made the tests
     start failing in an obvious way) (RT#81419)
+  * unnecessary dependency on MooseX::Types removed
 
 0.08      2012-07-02 09:58:41 PDT-0700  (Karen Etheridge)
   * Convert uses of Test::Exception to Test::Fatal
diff --git a/lib/MooseX/LazyRequire/Meta/Attribute/Trait/LazyRequire.pm b/lib/MooseX/LazyRequire/Meta/Attribute/Trait/LazyRequire.pm
index 96127ee..3415ed0 100644
--- a/lib/MooseX/LazyRequire/Meta/Attribute/Trait/LazyRequire.pm
+++ b/lib/MooseX/LazyRequire/Meta/Attribute/Trait/LazyRequire.pm
@@ -3,12 +3,11 @@ package MooseX::LazyRequire::Meta::Attribute::Trait::LazyRequire;
 
 use Moose::Role;
 use Carp qw/cluck/;
-use MooseX::Types::Moose qw/Bool/;
 use namespace::autoclean;
 
 has lazy_required => (
     is       => 'ro',
-    isa      => Bool,
+    isa      => 'Bool',
     required => 1,
     default  => 0,
 );

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libmoosex-lazyrequire-perl.git



More information about the Pkg-perl-cvs-commits mailing list