r47398 - in /trunk/libpod-eventual-perl: Changes LICENSE MANIFEST META.json Makefile.PL README debian/changelog debian/control debian/rules eg/dump.pl lib/Pod/Eventual.pm lib/Pod/Eventual/Simple.pm t/release-pod-coverage.t t/release-pod-syntax.t

jawnsy-guest at users.alioth.debian.org jawnsy-guest at users.alioth.debian.org
Wed Nov 18 01:55:20 UTC 2009


Author: jawnsy-guest
Date: Wed Nov 18 01:55:15 2009
New Revision: 47398

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=47398
Log:
installing new upstream version

Added:
    trunk/libpod-eventual-perl/t/release-pod-coverage.t
      - copied unchanged from r47397, branches/upstream/libpod-eventual-perl/current/t/release-pod-coverage.t
    trunk/libpod-eventual-perl/t/release-pod-syntax.t
      - copied unchanged from r47397, branches/upstream/libpod-eventual-perl/current/t/release-pod-syntax.t
Modified:
    trunk/libpod-eventual-perl/Changes
    trunk/libpod-eventual-perl/LICENSE
    trunk/libpod-eventual-perl/MANIFEST
    trunk/libpod-eventual-perl/META.json
    trunk/libpod-eventual-perl/Makefile.PL
    trunk/libpod-eventual-perl/README
    trunk/libpod-eventual-perl/debian/changelog
    trunk/libpod-eventual-perl/debian/control
    trunk/libpod-eventual-perl/debian/rules
    trunk/libpod-eventual-perl/eg/dump.pl
    trunk/libpod-eventual-perl/lib/Pod/Eventual.pm
    trunk/libpod-eventual-perl/lib/Pod/Eventual/Simple.pm

Modified: trunk/libpod-eventual-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpod-eventual-perl/Changes?rev=47398&op=diff
==============================================================================
--- trunk/libpod-eventual-perl/Changes (original)
+++ trunk/libpod-eventual-perl/Changes Wed Nov 18 01:55:15 2009
@@ -1,7 +1,12 @@
 Revision history for Pod-Eventual
+
+
+0.093170  2009-11-13
+          document *all four* event types
 
 0.091480  2009-05-28 13:50:52 UTC
           nonpod events are now monolithic for each nonpod segment
+          we call the correct method for the last event in input
 
 0.091470  2009-05-27
           eliminate verbatim events; verbatim detection is left to a higher

Modified: trunk/libpod-eventual-perl/LICENSE
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpod-eventual-perl/LICENSE?rev=47398&op=diff
==============================================================================
--- trunk/libpod-eventual-perl/LICENSE (original)
+++ trunk/libpod-eventual-perl/LICENSE Wed Nov 18 01:55:15 2009
@@ -1,9 +1,9 @@
 This software is copyright (c) 2009 by Ricardo SIGNES.
 
 This is free software; you can redistribute it and/or modify it under
-the same terms as perl itself.
-
-Terms of Perl itself
+the same terms as the Perl 5 programming language system itself.
+
+Terms of the Perl programming language system itself
 
 a) the GNU General Public License as published by the Free
    Software Foundation; either version 1, or (at your option) any

Modified: trunk/libpod-eventual-perl/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpod-eventual-perl/MANIFEST?rev=47398&op=diff
==============================================================================
--- trunk/libpod-eventual-perl/MANIFEST (original)
+++ trunk/libpod-eventual-perl/MANIFEST Wed Nov 18 01:55:15 2009
@@ -15,4 +15,6 @@
 t/basic.t
 t/blanks.t
 t/non-pod.t
-t/nonempty.t
+t/nonempty.t
+t/release-pod-coverage.t
+t/release-pod-syntax.t

Modified: trunk/libpod-eventual-perl/META.json
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpod-eventual-perl/META.json?rev=47398&op=diff
==============================================================================
--- trunk/libpod-eventual-perl/META.json (original)
+++ trunk/libpod-eventual-perl/META.json Wed Nov 18 01:55:15 2009
@@ -1,13 +1,13 @@
 {
    "resources" : {
-      "repository" : "http://github.com/rjbs/pod-eventual/tree"
+      "repository" : "http://github.com/rjbs/pod-eventual"
    },
    "meta-spec" : {
       "version" : 1.4,
       "url" : "http://module-build.sourceforge.net/META-spec-v1.4.html"
    },
-   "generated_by" : "Dist::Zilla::Plugin::MetaJSON version 1.091480",
-   "version" : "0.091480",
+   "generated_by" : "Dist::Zilla version 1.093160",
+   "version" : "0.093170",
    "name" : "Pod-Eventual",
    "author" : [
       "Ricardo SIGNES <rjbs at cpan.org>"
@@ -19,3 +19,4 @@
    },
    "abstract" : "read a POD document as a series of trivial events"
 }
+

Modified: trunk/libpod-eventual-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpod-eventual-perl/Makefile.PL?rev=47398&op=diff
==============================================================================
--- trunk/libpod-eventual-perl/Makefile.PL (original)
+++ trunk/libpod-eventual-perl/Makefile.PL Wed Nov 18 01:55:15 2009
@@ -7,13 +7,15 @@
 WriteMakefile(
   DISTNAME  => 'Pod-Eventual',
   NAME      => 'Pod::Eventual',
-  AUTHOR    => 'Ricardo\ SIGNES\ \<rjbs\@cpan\.org\>',
-  ABSTRACT  => 'read\ a\ POD\ document\ as\ a\ series\ of\ trivial\ events',
-  VERSION   => '0.091480',
+  AUTHOR    => "Ricardo\ SIGNES\ \<rjbs\@cpan\.org\>",
+  ABSTRACT  => "read\ a\ POD\ document\ as\ a\ series\ of\ trivial\ events",
+  VERSION   => '0.093170',
   EXE_FILES => [ qw() ],
-  (eval { ExtUtils::MakeMaker->VERSION(6.21) } ? (LICENSE => 'perl') : ()),
+  (eval { ExtUtils::MakeMaker->VERSION(6.31) } ? (LICENSE => 'perl') : ()),
   PREREQ_PM    => {
     "Test::Deep" => '0',
     "Mixin::Linewise::Readers" => '0.001',
   },
+  test => {TESTS => 't/*.t'}
 );
+

Modified: trunk/libpod-eventual-perl/README
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpod-eventual-perl/README?rev=47398&op=diff
==============================================================================
--- trunk/libpod-eventual-perl/README (original)
+++ trunk/libpod-eventual-perl/README Wed Nov 18 01:55:15 2009
@@ -1,12 +1,12 @@
 
 
 This archive contains the distribution Pod-Eventual, version
-0.091480:
+0.093170:
 
   read a POD document as a series of trivial events
 
 This software is copyright (c) 2009 by Ricardo SIGNES.
 
 This is free software; you can redistribute it and/or modify it under
-the same terms as perl itself.
+the same terms as the Perl 5 programming language system itself.
 

Modified: trunk/libpod-eventual-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpod-eventual-perl/debian/changelog?rev=47398&op=diff
==============================================================================
--- trunk/libpod-eventual-perl/debian/changelog (original)
+++ trunk/libpod-eventual-perl/debian/changelog Wed Nov 18 01:55:15 2009
@@ -1,5 +1,5 @@
-libpod-eventual-perl (0.091480-1) UNRELEASED; urgency=low
+libpod-eventual-perl (0.093170-1) UNRELEASED; urgency=low
 
   * Initial Release (Closes: #555128)
 
- -- Jonathan Yu <jawnsy at cpan.org>  Sun, 8 Nov 2009 07:51:57 -0500
+ -- Jonathan Yu <jawnsy at cpan.org>  Tue, 17 Nov 2009 17:28:55 -0500

Modified: trunk/libpod-eventual-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpod-eventual-perl/debian/control?rev=47398&op=diff
==============================================================================
--- trunk/libpod-eventual-perl/debian/control (original)
+++ trunk/libpod-eventual-perl/debian/control Wed Nov 18 01:55:15 2009
@@ -1,8 +1,9 @@
 Source: libpod-eventual-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 7)
-Build-Depends-Indep: perl, libtest-deep-perl, libmixin-linewise-perl
+Build-Depends: debhelper (>= 7.0.50)
+Build-Depends-Indep: perl, libtest-deep-perl, libmixin-linewise-perl,
+ libtest-pod-coverage-perl, libtest-pod-perl
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Jonathan Yu <jawnsy at cpan.org>
 Standards-Version: 3.8.3

Modified: trunk/libpod-eventual-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpod-eventual-perl/debian/rules?rev=47398&op=diff
==============================================================================
--- trunk/libpod-eventual-perl/debian/rules (original)
+++ trunk/libpod-eventual-perl/debian/rules Wed Nov 18 01:55:15 2009
@@ -2,3 +2,6 @@
 
 %:
 	dh $@
+
+override_dh_auto_test:
+	RELEASE_TESTING=1 dh_auto_test

Modified: trunk/libpod-eventual-perl/eg/dump.pl
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpod-eventual-perl/eg/dump.pl?rev=47398&op=diff
==============================================================================
--- trunk/libpod-eventual-perl/eg/dump.pl (original)
+++ trunk/libpod-eventual-perl/eg/dump.pl Wed Nov 18 01:55:15 2009
@@ -6,6 +6,9 @@
 
 {
   package Pod::Gather;
+our $VERSION = '0.093170';
+
+
   use base 'Pod::Eventual';
   sub handle_event { push @events, $_[1] }
 }

Modified: trunk/libpod-eventual-perl/lib/Pod/Eventual.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpod-eventual-perl/lib/Pod/Eventual.pm?rev=47398&op=diff
==============================================================================
--- trunk/libpod-eventual-perl/lib/Pod/Eventual.pm (original)
+++ trunk/libpod-eventual-perl/lib/Pod/Eventual.pm Wed Nov 18 01:55:15 2009
@@ -1,7 +1,8 @@
 use strict;
 use warnings;
 package Pod::Eventual;
-our $VERSION = '0.091480';
+our $VERSION = '0.093170';
+
 
 # ABSTRACT: read a POD document as a series of trivial events
 use Mixin::Linewise::Readers;
@@ -115,7 +116,6 @@
 1;
 
 __END__
-
 =pod
 
 =head1 NAME
@@ -124,11 +124,14 @@
 
 =head1 VERSION
 
-version 0.091480
+version 0.093170
 
 =head1 SYNOPSIS
 
   package Your::Pod::Parser;
+our $VERSION = '0.093170';
+
+
   use base 'Pod::Eventual';
 
   sub handle_event {
@@ -154,9 +157,52 @@
 Pod::Eventual subclasses.  If it isn't, Pod::Eventual's own C<handle_event>
 will be called, and will raise an exception.
 
+=head1 METHODS
+
+=head2 read_handle
+
+  Pod::Eventual->read_handle($io_handle, \%arg);
+
+This method iterates through the lines of a handle, producing events and
+calling the C<handle_event> method.
+
+The only valid argument in C<%arg> (for now) is C<in_pod>, which indicates
+whether we should assume that we are parsing pod when we start parsing the
+file.  By default, this is false.
+
+This is useful to behave differently when reading a F<.pm> or F<.pod> file.
+
+=head2 read_file
+
+This behaves just like C<read_handle>, but expects a filename rather than a
+handle.
+
+=head2 read_string
+
+This behaves just like C<read_handle>, but expects a string containing POD
+rather than a handle.
+
+=head2 handle_event
+
+This method is called each time Pod::Evental finishes scanning for a new POD
+event.  It must be implemented by a subclass or it will raise an exception.
+
+=head2 handle_nonpod
+
+This method is called each time a non-POD segment is seen -- that is, lines
+after C<=cut> and before another command.
+
+If unimplemented by a subclass, it does nothing by default.
+
+=head2 handle_blank
+
+This method is called at the end of a sequence of one or more blank lines.
+
+If unimplemented by a subclass, it does nothing by default.
+
 =head1 EVENTS
 
-There are three kinds of events that Pod::Eventual will produce.  All are
+There are four kinds of events that Pod::Eventual will produce.  All are
 represented as hash references.
 
 =head2 Command Events
@@ -215,51 +261,32 @@
   {
     type    => 'text',
     content => "a string of text ending with a\n",
-    start_line =>  16
-  }
-
-=head1 METHODS
-
-=head2 read_handle
-
-  Pod::Eventual->read_handle($io_handle, \%arg);
-
-This method iterates through the lines of a handle, producing events and
-calling the C<handle_event> method.
-
-The only valid argument in C<%arg> (for now) is C<in_pod>, which indicates
-whether we should assume that we are parsing pod when we start parsing the
-file.  By default, this is false.
-
-This is useful to behave differently when reading a F<.pm> or F<.pod> file.
-
-=head2 read_file
-
-This behaves just like C<read_handle>, but expects a filename rather than a
-handle.
-
-=head2 read_string
-
-This behaves just like C<read_handle>, but expects a string containing POD
-rather than a handle.
-
-=head2 handle_event
-
-This method is called each time Pod::Evental finishes scanning for a new POD
-event.  It must be implemented by a subclass or it will raise an exception.
-
-=head2 handle_nonpod
-
-This method is called each time a non-POD segment is seen -- that is, lines
-after C<=cut> and before another command.
-
-If unimplemented by a subclass, it does nothing by default.
-
-=head2 handle_blank
-
-This method is called at the end of a sequence of one or more blank lines.
-
-If unimplemented by a subclass, it does nothing by default.
+    start_line =>  16,
+  }
+
+=head2 Blank events
+
+These events represent blank lines (or many blank lines) within a Pod section.
+
+Blank events look like this:
+
+  {
+    type    => 'blank',
+    content => "\n\n\n\n",
+    start_line => 21,
+  }
+
+=head2 Non-Pod events
+
+These events represent non-Pod segments of the input.
+
+Non-Pod events look like this:
+
+  {
+    type    => 'nonpod',
+    content => "#!/usr/bin/perl\nuse strict;\n\nuse Acme::ProgressBar\n\n",
+    start_line => 1,
+  }
 
 =head1 AUTHOR
 
@@ -270,8 +297,7 @@
 This software is copyright (c) 2009 by Ricardo SIGNES.
 
 This is free software; you can redistribute it and/or modify it under
-the same terms as perl itself.
-
-=cut 
-
-
+the same terms as the Perl 5 programming language system itself.
+
+=cut
+

Modified: trunk/libpod-eventual-perl/lib/Pod/Eventual/Simple.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpod-eventual-perl/lib/Pod/Eventual/Simple.pm?rev=47398&op=diff
==============================================================================
--- trunk/libpod-eventual-perl/lib/Pod/Eventual/Simple.pm (original)
+++ trunk/libpod-eventual-perl/lib/Pod/Eventual/Simple.pm Wed Nov 18 01:55:15 2009
@@ -1,7 +1,8 @@
 use strict;
 use warnings;
 package Pod::Eventual::Simple;
-our $VERSION = '0.091480';
+our $VERSION = '0.093170';
+
 
 use Pod::Eventual;
 BEGIN { our @ISA = 'Pod::Eventual' }
@@ -33,7 +34,6 @@
 1;
 
 __END__
-
 =pod
 
 =head1 NAME
@@ -42,7 +42,7 @@
 
 =head1 VERSION
 
-version 0.091480
+version 0.093170
 
 =head1 SYNOPSIS
 
@@ -73,8 +73,7 @@
 This software is copyright (c) 2009 by Ricardo SIGNES.
 
 This is free software; you can redistribute it and/or modify it under
-the same terms as perl itself.
+the same terms as the Perl 5 programming language system itself.
 
-=cut 
+=cut
 
-




More information about the Pkg-perl-cvs-commits mailing list