Permalink
Browse files

add a dialect plugin; prep release

  • Loading branch information...
1 parent 4f5707d commit e2070d3d7b59f0446d7e19605a5c657fec0c1cc4 @rjbs rjbs committed Oct 27, 2009
Showing with 29 additions and 0 deletions.
  1. +13 −0 dist.ini
  2. +1 −0 lib/Pod/Elemental/Transformer/WikiDoc.pm
  3. +15 −0 lib/Pod/Weaver/Plugin/WikiDoc.pm
View
@@ -0,0 +1,13 @@
+name = Pod-Elemental-Transformer-WikiDoc
+author = Ricardo SIGNES <rjbs@cpan.org>
+license = Perl_5
+copyright_holder = Ricardo SIGNES
+
+[Prereq]
+Moose = 0
+Moose::Autobox = 0.10 ; each_ *
+Pod::Elemental = 0.092941
+Pod::WikiDoc = 0.18 ; what we tested with
+namespace::autoclean = 0
+
+[@RJBS]
@@ -1,6 +1,7 @@
package Pod::Elemental::Transformer::WikiDoc;
use Moose;
with 'Pod::Elemental::Transformer';
+use namespace::autoclean;
use Moose::Autobox;
@@ -0,0 +1,15 @@
+package Pod::Weaver::Plugin::WikiDoc;
+use Moose;
+with 'Pod::Weaver::Role::Dialect';
+
+use namespace::autoclean;
+
+use Pod::Elemental::Transformer::WikiDoc;
+
+sub translate_dialect {
+ my ($self, $pod_document) = @_;
+
+ Pod::Elemental::Transformer::WikiDoc->new->transform_node($pod_document);
+}
+
+1;

0 comments on commit e2070d3

Please sign in to comment.