requires => {
'Scalar::Util' => '1.18',
'Carp' => '0',
- 'Class::MOP' => '0.21',
+ 'Class::MOP' => '0.22',
'Sub::Name' => '0.02',
'UNIVERSAL::require' => '0'
},
0.02
* Moose
- - added &with keyword to support class mixins
-
- * Moose::Meta::SafeMixin
- - added support for mixins, see docs for info
+ - many more tests, fixing some bugs/edge
+ and cases, general development work
+ - &extends now loads the base module with
+ UNIVERSAL::require
+ - added UNIVERSAL::require to the
+ dependencies list
+
+ * Moose::Object
+ - BUILDALL and DEMOLISHALL were broken
+ because of a mis-named hash key, Whoops :)
0.01 Wed. March 15, 2006
- Moooooooooooooooooose!!!
\ No newline at end of file
use Class::MOP;
use Moose::Meta::Class;
-use Moose::Meta::SafeMixin;
use Moose::Meta::Attribute;
use Moose::Object;
use Moose::Util::TypeConstraints ':no_export';
-# bootstrap the mixin module
-Moose::Meta::SafeMixin::mixin(Moose::Meta::Class->meta, 'Moose::Meta::SafeMixin');
-
sub import {
shift;
my $pkg = caller();
$meta->alias_method('extends' => subname 'Moose::extends' => sub {
$_->require for @_;
$meta->superclasses(@_)
- });
-
- # handle mixins
- $meta->alias_method('with' => subname 'Moose::with' => sub { $meta->mixin($_[0]) });
+ });
# handle attributes
$meta->alias_method('has' => subname 'Moose::has' => sub {