Subject: | small-fixes |
Date: | Sat, 02 May 2009 21:46:32 +0200 |
To: | bug-moose [...] rt.cpan.org |
From: | Jozef Kutej <jozef [...] kutej.net> |
hi moose ;-)
attached is a patch with some small fixes.
1. files&&paths in .gitignore with / so that files with those names only
in root are ignored
2. dummy: lib/Moose/Cookbook/Basics/Recipe8.pod and
lib/Moose/Cookbook/Meta/Recipe8.pod you should probably add these or
remove the L<> from lib/Moose/Cookbook.pod as now there are no such files.
3. broken link in WTF.pod
cheers,
jozef
diff -Naur moose/.gitignore moose-docbook/.gitignore
--- moose/.gitignore 2009-05-02 21:34:58.000000000 +0200
+++ moose-docbook/.gitignore 2009-05-01 14:47:12.000000000 +0200
@@ -1,10 +1,10 @@
-META.yml
-Makefile
-Makefile.old
-MANIFEST
-MANIFEST.bak
-blib/
-inc/
-pm_to_blib
-t/000_recipes/*
-.prove
+/META.yml
+/Makefile
+/Makefile.old
+/MANIFEST
+/MANIFEST.bak
+/blib/
+/inc/
+/pm_to_blib
+/t/000_recipes/*
+/.prove
diff -Naur moose/lib/Moose/Cookbook/Basics/Recipe8.pod moose-docbook/lib/Moose/Cookbook/Basics/Recipe8.pod
--- moose/lib/Moose/Cookbook/Basics/Recipe8.pod 1970-01-01 01:00:00.000000000 +0100
+++ moose-docbook/lib/Moose/Cookbook/Basics/Recipe8.pod 2009-05-02 13:50:12.000000000 +0200
@@ -0,0 +1,13 @@
+=pod
+
+=head1 NAME
+
+Moose::Cookbook::Basics::Recipe8 - Managing complex relations with trigger (TODO)
+
+=head1 DESCRIPTION
+
+abstract goes here
+
+Work off of this http://code2.0beta.co.uk/moose/svn/Moose/trunk/t/200_examples/007_Child_Parent_attr_inherit.t
+
+=cut
diff -Naur moose/lib/Moose/Cookbook/Meta/Recipe8.pod moose-docbook/lib/Moose/Cookbook/Meta/Recipe8.pod
--- moose/lib/Moose/Cookbook/Meta/Recipe8.pod 1970-01-01 01:00:00.000000000 +0100
+++ moose-docbook/lib/Moose/Cookbook/Meta/Recipe8.pod 2009-05-02 13:52:54.000000000 +0200
@@ -0,0 +1,15 @@
+=pod
+
+=head1 NAME
+
+Moose::Cookbook::Meta::Recipe8 - Hooking into immutabilization (TODO)
+
+=head1 DESCRIPTION
+
+Moose has a feature known as "immutabilization". By calling __PACKAGE__->meta()->make_immutable() after defining your class (attributes, roles, etc), you tell Moose to optimize things like object creation, attribute access, and so on.
+
+If you are creating your own metaclasses, you may need to hook into the immutabilization system. This cuts across a number of spots, including the metaclass class, meta method classes, and possibly the meta-instance class as well.
+
+This recipe shows you how to write extensions which immutabilize properly.
+
+=cut
diff -Naur moose/lib/Moose/Cookbook/WTF.pod moose-docbook/lib/Moose/Cookbook/WTF.pod
--- moose/lib/Moose/Cookbook/WTF.pod 2009-05-02 21:34:58.000000000 +0200
+++ moose-docbook/lib/Moose/Cookbook/WTF.pod 2009-05-02 15:12:57.000000000 +0200
@@ -130,7 +130,7 @@
=head3 Why can't I get Catalyst and Moose to work together?
-See L<Moose and Attributes>.
+See L<Moose and Subroutine Attributes>.
=head2 Roles