diff options
author | wiz <wiz@pkgsrc.org> | 2015-03-05 07:18:16 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2015-03-05 07:18:16 +0000 |
commit | 7a6b57a034e9dae68990a8146929d20dfa0afd5c (patch) | |
tree | 6031c18f8d0e396145d8d3a5690806c622ad98e2 | |
parent | 411659e1a68a583a41096c21265f8adda0e807b2 (diff) | |
download | pkgsrc-7a6b57a034e9dae68990a8146929d20dfa0afd5c.tar.gz |
Update to 2.000000:
2.000000 - 2015-03-02
* Incompatible Changes
- Fatal warnings and the other additional checks from the strictures
module will no longer be applied to modules using Moo or Moo::Role. We
now only apply strict and (non-fatal) warnings, matching the behavior of
Moose.
- Classes without attributes used to store everything passed to ->new
in the object. This has been fixed to not store anything in the object,
making it consistent with classes that had attributes.
- Moo will now pass __no_BUILD__ to parent constructors when inheriting
from a Moose or Class::Tiny class, to prevent them from calling BUILD
functions. Moo calls the BUILD functions itself, which previously led
to them being called multiple times.
- Attempting to replace an existing constructor, or modify one that has
been used, will throw an error. This includes adding attributes.
Previously, this would result in some attributes being silently ignored
by the constructor.
- If a class's @ISA is modified without using 'extends' in a way that
affects object construction, Moo will detect this and throw an error.
This can happen in code that uses ->load_components from
Class::C3::Componentised, which is common in DBIx::Class modules.
* Bug Fixes
- Fix calling class methods on Moo::HandleMoose::FakeMetaClass, such as
modules scanning all classes
* Miscellaneous
- use Sub::Util instead of Sub::Name if available
-rw-r--r-- | devel/p5-Moo/Makefile | 4 | ||||
-rw-r--r-- | devel/p5-Moo/distinfo | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/devel/p5-Moo/Makefile b/devel/p5-Moo/Makefile index 7f38e7ff5b4..111ee45eb5f 100644 --- a/devel/p5-Moo/Makefile +++ b/devel/p5-Moo/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.21 2015/01/24 07:44:08 wen Exp $ +# $NetBSD: Makefile,v 1.22 2015/03/05 07:18:16 wiz Exp $ -DISTNAME= Moo-1.007000 +DISTNAME= Moo-2.000000 PKGNAME= p5-${DISTNAME} CATEGORIES= devel perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/H/HA/HAARG/} diff --git a/devel/p5-Moo/distinfo b/devel/p5-Moo/distinfo index 811d887eb93..ec6cec91f1d 100644 --- a/devel/p5-Moo/distinfo +++ b/devel/p5-Moo/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.17 2015/01/24 07:44:08 wen Exp $ +$NetBSD: distinfo,v 1.18 2015/03/05 07:18:16 wiz Exp $ -SHA1 (Moo-1.007000.tar.gz) = 5737a3ea8d02b030d62f097699eb5a63a8227725 -RMD160 (Moo-1.007000.tar.gz) = 6925afc1cc6560f26468cd767211d373ce1a71fc -Size (Moo-1.007000.tar.gz) = 89532 bytes +SHA1 (Moo-2.000000.tar.gz) = 908167a59c9453fe7ff7373c59630c9b917ed429 +RMD160 (Moo-2.000000.tar.gz) = b81cc83abb4a526dc86f6b5919d32027bdc52088 +Size (Moo-2.000000.tar.gz) = 92576 bytes |