CVS commit: pkgsrc/devel/p5-Moose

Module Name: pkgsrc
Committed By: seb
Date: Mon Oct 27 00:03:21 UTC 2008
Modified Files:
pkgsrc/devel/p5-Moose: Makefile distinfo
Log Message:
Update from version 0.59 to version 0.60.
Changes:
0.60 Fri October 25, 2008
* Moose::Exporter
- Passing "-traits" when loading Moose caused the Moose.pm
exports to be broken. Reported by t0m. (Dave Rolsky)
- Tests for this bug. (t0m)
* Moose::Util
- Change resolve_metaclass alias to use the new
load_first_existing_class function. This makes it a lot
simpler, and also around 5 times faster. (t0m)
- Add caching to resolve_metaclass_alias, which gives an order
of magnitude speedup to things which repeatedly call the
Moose::Meta::Attribute->does method, notably MooseX::Storage
(t0m)
* Moose::Util::TypeConstraint
- Put back the changes for parameterized constraints that
shouldn't have been removed in 0.59. We still cannot parse
them, but MooseX modules can create them in some other
way. See the 0.58 changes for more details. (jnapiorkowski)
- Changed the way subtypes are created so that the job is
delegated to a type constraint parent. This clears up some
hardcoded checking and should allow correct subtypes of
Moose::Meta::Type::Constraint. Don't rely on this new API too
much (create_child_type) because it may go away in the
future. (jnapiorkowski)
* Moose::Meta::TypeConstraint::Union
- Type constraint names are sorted as strings, not numbers.
(jnapiorkowski)
* Moose::Meta::TypeConstraint::Parameterizable
- New parameterize method. This can be used as a factory method
to make a new type constraint with a given parameterized
type. (jnapiorkowski)
- added tests (jnapiorkowski)
To generate a diff of this commit:
cvs rdiff -r1.7 -r1.8 pkgsrc/devel/p5-Moose/Makefile
cvs rdiff -r1.5 -r1.6 pkgsrc/devel/p5-Moose/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.