[libbread-board-perl] 20/66: Allow cloning of containers with parameterized subcontainers
Jonas Smedegaard
js at alioth.debian.org
Sun Sep 29 21:23:33 UTC 2013
This is an automated email from the git hooks/post-receive script.
js pushed a commit to branch master
in repository libbread-board-perl.
commit 7b83ac5125abb10d7eeb4a24dd2c411e749ce475
Author: Florian Ragwitz <rafl at debian.org>
Date: Sun Jul 21 12:56:22 2013 -0700
Allow cloning of containers with parameterized subcontainers
---
lib/Bread/Board/Types.pm | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/lib/Bread/Board/Types.pm b/lib/Bread/Board/Types.pm
index ac51737..12d4cea 100644
--- a/lib/Bread/Board/Types.pm
+++ b/lib/Bread/Board/Types.pm
@@ -13,8 +13,11 @@ enum 'Bread::Board::Service::LifeCycles' => qw[
## for Bread::Board::Container
+class_type 'Bread::Board::Container';
+class_type 'Bread::Board::Container::Parameterized';
+
subtype 'Bread::Board::Container::SubContainerList'
- => as 'HashRef[Bread::Board::Container]';
+ => as 'HashRef[Bread::Board::Container|Bread::Board::Container::Parameterized]';
coerce 'Bread::Board::Container::SubContainerList'
=> from 'ArrayRef[Bread::Board::Container]'
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libbread-board-perl.git
More information about the Pkg-perl-cvs-commits
mailing list