projects
/
gitmo/Moose.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
c788592
)
Explicitly use Moose::Deprecated in all modules that call ::deprecated()
Dave Rolsky [Wed, 14 Jul 2010 17:07:50 +0000 (12:07 -0500)]
lib/Moose.pm
patch
|
blob
|
blame
|
history
lib/Moose/Util/TypeConstraints.pm
patch
|
blob
|
blame
|
history
lib/Moose/Util/TypeConstraints/OptimizedConstraints.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Moose.pm
b/lib/Moose.pm
index
87a4398
..
5e2ce88
100644
(file)
--- a/
lib/Moose.pm
+++ b/
lib/Moose.pm
@@
-11,6
+11,7
@@
our $AUTHORITY = 'cpan:STEVAN';
use Scalar::Util 'blessed';
use Carp 'confess';
+use Moose::Deprecated;
use Moose::Exporter;
use Class::MOP 0.94;
diff --git
a/lib/Moose/Util/TypeConstraints.pm
b/lib/Moose/Util/TypeConstraints.pm
index
127b453
..
9fcd1cc
100644
(file)
--- a/
lib/Moose/Util/TypeConstraints.pm
+++ b/
lib/Moose/Util/TypeConstraints.pm
@@
-25,6
+25,7
@@
sub optimize_as (&);
## --------------------------------------------------------
+use Moose::Deprecated;
use Moose::Meta::TypeConstraint;
use Moose::Meta::TypeConstraint::Union;
use Moose::Meta::TypeConstraint::Parameterized;
diff --git
a/lib/Moose/Util/TypeConstraints/OptimizedConstraints.pm
b/lib/Moose/Util/TypeConstraints/OptimizedConstraints.pm
index
b0ece33
..
7c60f56
100644
(file)
--- a/
lib/Moose/Util/TypeConstraints/OptimizedConstraints.pm
+++ b/
lib/Moose/Util/TypeConstraints/OptimizedConstraints.pm
@@
-4,6
+4,7
@@
use strict;
use warnings;
use Class::MOP;
+use Moose::Deprecated;
use Scalar::Util 'blessed', 'looks_like_number';
our $VERSION = '1.08';