projects
/
gitmo/MooseX-Singleton.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
e239186
)
s/no Moose/no Moose::Role/g
Dave Rolsky [Fri, 25 Dec 2009 15:39:46 +0000 (09:39 -0600)]
lib/MooseX/Singleton/Role/Meta/Class.pm
patch
|
blob
|
blame
|
history
lib/MooseX/Singleton/Role/Meta/Instance.pm
patch
|
blob
|
blame
|
history
lib/MooseX/Singleton/Role/Meta/Method/Constructor.pm
patch
|
blob
|
blame
|
history
lib/MooseX/Singleton/Role/Object.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/MooseX/Singleton/Role/Meta/Class.pm
b/lib/MooseX/Singleton/Role/Meta/Class.pm
index
6800fa7
..
6bca2ec
100644
(file)
--- a/
lib/MooseX/Singleton/Role/Meta/Class.pm
+++ b/
lib/MooseX/Singleton/Role/Meta/Class.pm
@@
-36,7
+36,7
@@
override _construct_instance => sub {
return ${"$pkg\::singleton"} = super;
};
-no Moose;
+no Moose::Role;
1;
diff --git
a/lib/MooseX/Singleton/Role/Meta/Instance.pm
b/lib/MooseX/Singleton/Role/Meta/Instance.pm
index
f58f4cc
..
770de0e
100644
(file)
--- a/
lib/MooseX/Singleton/Role/Meta/Instance.pm
+++ b/
lib/MooseX/Singleton/Role/Meta/Instance.pm
@@
-53,7
+53,7
@@
override inline_slot_access => sub {
sprintf "%s->meta->instance_metaclass->get_singleton_instance(%s)->{%s}", $instance, $instance, $slot_name;
};
-no Moose;
+no Moose::Role;
1;
diff --git
a/lib/MooseX/Singleton/Role/Meta/Method/Constructor.pm
b/lib/MooseX/Singleton/Role/Meta/Method/Constructor.pm
index
414b28a
..
111fbc3
100644
(file)
--- a/
lib/MooseX/Singleton/Role/Meta/Method/Constructor.pm
+++ b/
lib/MooseX/Singleton/Role/Meta/Method/Constructor.pm
@@
-79,7
+79,7
@@
override _expected_method_class => sub {
return $super_value;
};
-no Moose;
+no Moose::Role;
1;
diff --git
a/lib/MooseX/Singleton/Role/Object.pm
b/lib/MooseX/Singleton/Role/Object.pm
index
c644a21
..
ae3e278
100644
(file)
--- a/
lib/MooseX/Singleton/Role/Object.pm
+++ b/
lib/MooseX/Singleton/Role/Object.pm
@@
-30,7
+30,7
@@
sub _clear_instance {
$class->meta->clear_singleton;
}
-no Moose;
+no Moose::Role;
1;