Permalink
Browse files

v0.017

	* Instead of failing on "unknown attribute options" when performing
	  attribute validation checks, first look to see if they're actually an
	  attribute on the attribute metaclass; this is a fairly common situation
	  when attribute traits are used.
	* Check if an attribute is required or not.
  • Loading branch information...
1 parent 7b31771 commit 7ea7a7106f456f6d8910fce6c8a4011cb3d356bf @RsrchBoy committed Oct 28, 2012
Showing with 9 additions and 1 deletion.
  1. +7 −0 Changes
  2. +2 −1 README.pod
View
@@ -2,6 +2,13 @@ Revision history for Test-Moose-More
{{$NEXT}}
+0.017 2012-10-28 15:38:16 PST8PDT
+ * Instead of failing on "unknown attribute options" when performing
+ attribute validation checks, first look to see if they're actually an
+ attribute on the attribute metaclass; this is a fairly common situation
+ when attribute traits are used.
+ * Check if an attribute is required or not.
+
0.016 2012-10-21 15:03:32 PST8PDT
* add is_anon(), is_not_anon()
* allow anonymous => 1|0 in validate_thing() (though not documented)
View
@@ -10,7 +10,7 @@ Test::Moose::More - More tools for testing Moose packages
=head1 VERSION
-This document describes version 0.016 of Test::Moose::More - released October 21, 2012 as part of Test-Moose-More.
+This document describes version 0.017 of Test::Moose::More - released October 28, 2012 as part of Test-Moose-More.
=head1 SYNOPSIS
@@ -164,6 +164,7 @@ expect:
default => undef,
init_arg => 'foo',
lazy => 1,
+ required => undef,
);
Not yet documented or tested exhaustively; please see t/validate_attribute.t

0 comments on commit 7ea7a71

Please sign in to comment.