-0.00701 Jan 02, 2008
+0.00800 ??? ??, 2009
+ - Fix assigning a list to an accessor stores a list ref
+ - tests
+ - TODO test for Class::Accessor::Chained::Fast compatibility
+0.00701 Jan 02, 2009
- Better errors when trying to modify an immutable class
- Fix typo in Makefile.PL description
- Missing dep in Makefile.PL (rafl)
0.00700 Dec 29, 2008
- - Creating a new accessor with the same name as an old one would result in
- a new attribute with no reader/writer/accessor. Reported by t0m
- - tests (t0m)
+ - Creating a new accessor with the same name as an old one would
+ result in a new attribute with no reader/writer/accessor.
+ Reported by t0m
+ - tests (t0m)
0.00600 Dec 17, 2008
- Add test for a 'meta' accessor, which we need to treat as a
special case (t0m)
which is behavior we don't want to lose (t0m)
- Don't use ->meta
- Don't use ->can
- - Attempt to support attrs named meta with no success. test marked as todo.
+ - Attempt to support attrs named meta with no success. test marked
+ as todo.
0.00500 Dec 9, 2008
- make_accessor, make_ro_accessor, make_rw_accessor
- tests
use MooseX::Emulate::Class::Accessor::Fast::Meta::Accessor ();
-our $VERSION = '0.00701';
+our $VERSION = '0.00800';
=head1 NAME
=over 4
-=item Tomas Doran E<lt>bobtfish@bobtfish.netE<gt>
+=item Tomas Doran (t0m) E<lt>bobtfish@bobtfish.netE<gt>
+
+=item Florian Ragwitz (rafl) E<lt>rafl@debian.orgE<gt>
=back
+++ /dev/null
-#!perl
-use strict;
-use warnings;
-use Test::More tests => 5;
-use Test::Exception;
-
-# 1
-use_ok('MooseX::Adopt::Class::Accessor::Fast');
-{
- package My::Package;
- use base qw/Class::Accessor::Fast/;
- for (0..1) {
- __PACKAGE__->mk_accessors(qw( foo ));
- __PACKAGE__->mk_ro_accessors(qw( bar ));
- __PACKAGE__->mk_wo_accessors(qw( baz ));
- }
-}
-
-my $i = bless { bar => 'bar' }, 'My::Package';
-
-# 2
-lives_ok {
- $i->foo('foo');
- $i->baz('baz');
-
- # 3-5
- is($i->foo, 'foo');
- is($i->bar, 'bar');
- is($i->{baz}, 'baz');
-} 'No exception';
-