updated changelog in preparation for release, added immutable to files that needed...
John Napiorkowski [Fri, 5 Dec 2008 23:52:36 +0000 (23:52 +0000)]
Changes
Makefile.PL
lib/MooseX/Meta/TypeCoercion/Structured.pm
lib/MooseX/Meta/TypeConstraint/Structured.pm
lib/MooseX/Types/Structured.pm
t/00-load.t

diff --git a/Changes b/Changes
index 58c9b93..d2bcc8e 100644 (file)
--- a/Changes
+++ b/Changes
@@ -2,9 +2,15 @@ Revision history for MooseX-Types-Structured
 
 0.06    06 November 2008
         - Added a 'helper' type constraint called Optional. See docs for more.
-        - added lots of tests to cover the API better
+        - added lots of tests to cover the API better, coverage an fixes for
+          the ->parameterize method in particular have been clarified.
         - changes so that the type contraints are more forgiving when null
           values appear in method calls.
+        - used make_immutable which should speed up the constraints.
+        - removed some unneccesary calls to use Moose when I wasn't using Moose.
+        - lots of little code cleanup work and more internal documentation.
+        - This version requires a newer Moose than previous versions.  The
+          Makefile.PL has been updated to reflect this.
         
 0.05    08 November 2008
         - Fixed some wackiness in the documentation.
@@ -12,7 +18,7 @@ Revision history for MooseX-Types-Structured
 0.04    07 November 2008
         - Bumped minimum required versions of Moose and MooseX-Types to solve
           problem with overloading and type constraint names (issue resolved
-          in Moose code.
+          in Moose code.)
         - Changed the way the required Perl version string is used to increase
           compatibility and lowered minimum required Perl
 
index 03a7655..b752c0c 100644 (file)
@@ -1,7 +1,7 @@
 use inc::Module::Install;
 
 ## All the required meta information
-name     'MooseX-Types-Structured';
+name 'MooseX-Types-Structured';
 all_from 'lib/MooseX/Types/Structured.pm';
 abstract 'Moose Type Constraint classes for Structured Types';
 author 'John Napiorkowski <jjnapiork@cpan.org>';
index 4356328..04ea3e0 100644 (file)
@@ -36,4 +36,4 @@ it under the same terms as Perl itself.
 
 =cut
 
-1;
\ No newline at end of file
+__PACKAGE__->meta->make_immutable;
\ No newline at end of file
index b58c92e..a5da66e 100644 (file)
@@ -234,4 +234,4 @@ it under the same terms as Perl itself.
 
 =cut
 
-1;
\ No newline at end of file
+__PACKAGE__->meta->make_immutable;
\ No newline at end of file
index 6063e4c..c4231af 100644 (file)
@@ -1,7 +1,6 @@
 package MooseX::Types::Structured;
 
 use 5.008;
-use Moose;
 use Moose::Util::TypeConstraints;
 use MooseX::Meta::TypeConstraint::Structured;
 use MooseX::Types -declare => [qw(Dict Tuple Optional)];
index 0fb6c2b..7f8329e 100644 (file)
@@ -1,8 +1,9 @@
 use strict;
 use warnings;
 
-use Test::More tests=>2;
+use Test::More tests=>3;
 
 ## List all the modules we want to make sure can at least compile
 use_ok 'MooseX::Meta::TypeConstraint::Structured';
+use_ok 'MooseX::Meta::TypeCoercion::Structured';
 use_ok 'MooseX::Types::Structured';
\ No newline at end of file