Revision history for Perl extension Moose
-0.37
+0.37 Thurs. Fri. 14, 2008
* Moose
- fixed some details in Moose::init_meta
and its superclass handling (thanks thepler)
* Moose::Util::TypeConstraints
Moose::Util::TypeConstraints::OptimizedConstraints
+ Moose::Meta::TypeConstraints
Moose::Meta::Attribute
Moose::Meta::Method::Constructor
Moose::Meta::Method::Accessor
- fixed handling of undef with type constraints
(thanks to Ernesto)
- added tests for this
+
+ * Moose::Util
+ - added &get_all_init_args and &get_all_attribute_values
+ (thanks to Sartak and nothingmuch)
0.36 Sat. Jan. 26, 2008
* Moose::Role
use Sub::Name 'subname';
use overload ();
-our $VERSION = '0.18';
+our $VERSION = '0.20';
our $AUTHORITY = 'cpan:STEVAN';
use Moose::Meta::Method::Accessor;
use Carp 'confess';
use Scalar::Util 'weaken', 'blessed', 'reftype';
-our $VERSION = '0.19';
+our $VERSION = '0.20';
our $AUTHORITY = 'cpan:STEVAN';
use Moose::Meta::Method::Overriden;
use Carp 'confess';
use Scalar::Util 'blessed', 'weaken', 'looks_like_number';
-our $VERSION = '0.05';
+our $VERSION = '0.08';
our $AUTHORITY = 'cpan:STEVAN';
use base 'Moose::Meta::Method',
use Carp 'confess';
use Scalar::Util 'blessed';
-our $VERSION = '0.11';
+our $VERSION = '0.12';
our $AUTHORITY = 'cpan:STEVAN';
__PACKAGE__->meta->add_attribute('name' => (reader => 'name'));
use Carp 'confess';
use Class::MOP ();
-our $VERSION = '0.02';
+our $VERSION = '0.03';
our $AUTHORITY = 'cpan:STEVAN';
my @exports = qw[
use Scalar::Util 'blessed', 'reftype';
use Sub::Exporter;
-our $VERSION = '0.20';
+our $VERSION = '0.21';
our $AUTHORITY = 'cpan:STEVAN';
## --------------------------------------------------------
use Scalar::Util 'blessed', 'looks_like_number';
-our $VERSION = '0.01';
+our $VERSION = '0.02';
our $AUTHORITY = 'cpan:STEVAN';
sub Value { defined($_[0]) && !ref($_[0]) }
use Test::More tests => 55;
use Test::Exception;
-use Test::Deep;
BEGIN
{
use_ok('Moose');
}
-# A MOOSE OBJECT
-#
{
package Foo;
use Moose;
} 'Immutability on Moose class extending Class::MOP class ok';
TODO: {
- local $TODO = 'Needs MRO::Compat support';
+ local $TODO = 'Needs MRO::Compat support' if $] < 5.009_005;
lives_ok {
SubClass2::extends('MyBase');