From 1051d5b55e7598ac2977a16131312f8a760a3409 Mon Sep 17 00:00:00 2001 From: Chris 'BinGOs' Williams Date: Wed, 25 Jan 2012 09:26:18 +0000 Subject: [PATCH] Update Pod-Parser to CPAN version 1.51 [DELTA] 25-Jan-2012 Marek Rouchal ----------------------------------------------------------------------------- Version 1.51 + CPAN#74271: Pod::Parser should not flag L undo change CPAN#47473: L _is_ allowed (see discussion on pod-people and p5p); confirmed by blead change; references: http://code.activestate.com/lists/perl-pod-people/1690/ http://code.activestate.com/lists/perl-pod-people/1393/ http://perl5.git.perl.org/perl.git/commit/f6e963e4dd62b8e3c01b31f4a4dd57e47e104997 + bump all module versions (except Pod::PlainText) to 1.51 + update META.yml (thanks rjbs for the hint) --- Porting/Maintainers.pl | 4 ++-- cpan/Pod-Parser/lib/Pod/Checker.pm | 18 +----------------- cpan/Pod-Parser/lib/Pod/Find.pm | 2 +- cpan/Pod-Parser/lib/Pod/InputObjects.pm | 2 +- cpan/Pod-Parser/lib/Pod/ParseUtils.pm | 2 +- cpan/Pod-Parser/lib/Pod/Parser.pm | 2 +- cpan/Pod-Parser/lib/Pod/Select.pm | 2 +- cpan/Pod-Parser/lib/Pod/Usage.pm | 2 +- cpan/Pod-Parser/t/pod/poderrs.t | 2 +- cpan/Pod-Parser/t/pod/poderrs.xr | 1 - pod/perldelta.pod | 2 +- 11 files changed, 11 insertions(+), 28 deletions(-) diff --git a/Porting/Maintainers.pl b/Porting/Maintainers.pl index c03f4a5..a2e8d2f 100755 --- a/Porting/Maintainers.pl +++ b/Porting/Maintainers.pl @@ -1494,9 +1494,9 @@ use File::Glob qw(:case); 'Pod::Parser' => { 'MAINTAINER' => 'marekr', - 'DISTRIBUTION' => 'MAREKR/Pod-Parser-1.50.tar.gz', + 'DISTRIBUTION' => 'MAREKR/Pod-Parser-1.51.tar.gz', 'FILES' => q[cpan/Pod-Parser], - 'UPSTREAM' => undef, + 'UPSTREAM' => 'cpan', }, 'Pod::Perldoc' => { diff --git a/cpan/Pod-Parser/lib/Pod/Checker.pm b/cpan/Pod-Parser/lib/Pod/Checker.pm index 335ceee..25dab19 100644 --- a/cpan/Pod-Parser/lib/Pod/Checker.pm +++ b/cpan/Pod-Parser/lib/Pod/Checker.pm @@ -11,7 +11,7 @@ package Pod::Checker; use strict; use vars qw($VERSION @ISA @EXPORT %VALID_COMMANDS %VALID_SEQUENCES); -$VERSION = '1.50'; ## Current version of this package +$VERSION = '1.51'; ## Current version of this package require 5.005; ## requires this Perl version or later use Pod::ParseUtils; ## for hyperlinks and lists @@ -154,14 +154,6 @@ The given link to I does not have a matching node in the current POD. This also happened when a single word node name is not enclosed in C<"">. -=item * hyperlink to URL with alt text deprecated in perlpodspec - -Absolute hyperlinks with alternative text like -CThe Perl Home Page|http://www.perl.orgE> are discouraged in -L. There is a section in L though, which allows this -option. As L is the more modern document containing the essence -of many prior discussions, L flags this as an error. - =item * Unknown command "I" An invalid POD command has been found. Valid are C<=head1>, C<=head2>, @@ -807,14 +799,6 @@ sub end_pod { -msg => "unresolved internal link '$node'"}); } } - if($link->type() eq 'hyperlink') { - my $alt = $link->alttext(); - if(defined($alt) && length($alt)) { - $self->poderror({ -line => $line || '', -file => $infile, - -severity => 'ERROR', - -msg => "hyperlink to URL with alt text deprecated in perlpodspec"}); - } - } } # check the internal nodes for uniqueness. This pertains to diff --git a/cpan/Pod-Parser/lib/Pod/Find.pm b/cpan/Pod-Parser/lib/Pod/Find.pm index f4f05a0..028a405 100644 --- a/cpan/Pod-Parser/lib/Pod/Find.pm +++ b/cpan/Pod-Parser/lib/Pod/Find.pm @@ -14,7 +14,7 @@ package Pod::Find; use strict; use vars qw($VERSION); -$VERSION = '1.50'; ## Current version of this package +$VERSION = '1.51'; ## Current version of this package require 5.005; ## requires this Perl version or later use Carp; diff --git a/cpan/Pod-Parser/lib/Pod/InputObjects.pm b/cpan/Pod-Parser/lib/Pod/InputObjects.pm index a2dc0ce..2ed71fa 100644 --- a/cpan/Pod-Parser/lib/Pod/InputObjects.pm +++ b/cpan/Pod-Parser/lib/Pod/InputObjects.pm @@ -12,7 +12,7 @@ package Pod::InputObjects; use strict; use vars qw($VERSION); -$VERSION = '1.50'; ## Current version of this package +$VERSION = '1.51'; ## Current version of this package require 5.005; ## requires this Perl version or later ############################################################################# diff --git a/cpan/Pod-Parser/lib/Pod/ParseUtils.pm b/cpan/Pod-Parser/lib/Pod/ParseUtils.pm index 584bc6d..3c74d78 100644 --- a/cpan/Pod-Parser/lib/Pod/ParseUtils.pm +++ b/cpan/Pod-Parser/lib/Pod/ParseUtils.pm @@ -11,7 +11,7 @@ package Pod::ParseUtils; use strict; use vars qw($VERSION); -$VERSION = '1.50'; ## Current version of this package +$VERSION = '1.51'; ## Current version of this package require 5.005; ## requires this Perl version or later =head1 NAME diff --git a/cpan/Pod-Parser/lib/Pod/Parser.pm b/cpan/Pod-Parser/lib/Pod/Parser.pm index d54b773..9a6acd6 100644 --- a/cpan/Pod-Parser/lib/Pod/Parser.pm +++ b/cpan/Pod-Parser/lib/Pod/Parser.pm @@ -12,7 +12,7 @@ use strict; ## These "variables" are used as local "glob aliases" for performance use vars qw($VERSION @ISA %myData %myOpts @input_stack); -$VERSION = '1.50'; ## Current version of this package +$VERSION = '1.51'; ## Current version of this package require 5.005; ## requires this Perl version or later ############################################################################# diff --git a/cpan/Pod-Parser/lib/Pod/Select.pm b/cpan/Pod-Parser/lib/Pod/Select.pm index 828d7bd..300eee5 100644 --- a/cpan/Pod-Parser/lib/Pod/Select.pm +++ b/cpan/Pod-Parser/lib/Pod/Select.pm @@ -11,7 +11,7 @@ package Pod::Select; use strict; use vars qw($VERSION @ISA @EXPORT $MAX_HEADING_LEVEL %myData @section_headings @selected_sections); -$VERSION = '1.50'; ## Current version of this package +$VERSION = '1.51'; ## Current version of this package require 5.005; ## requires this Perl version or later ############################################################################# diff --git a/cpan/Pod-Parser/lib/Pod/Usage.pm b/cpan/Pod-Parser/lib/Pod/Usage.pm index 8a7068a..d060b27 100644 --- a/cpan/Pod-Parser/lib/Pod/Usage.pm +++ b/cpan/Pod-Parser/lib/Pod/Usage.pm @@ -11,7 +11,7 @@ package Pod::Usage; use strict; use vars qw($VERSION @ISA @EXPORT); -$VERSION = '1.50'; ## Current version of this package +$VERSION = '1.51'; ## Current version of this package require 5.005; ## requires this Perl version or later =head1 NAME diff --git a/cpan/Pod-Parser/t/pod/poderrs.t b/cpan/Pod-Parser/t/pod/poderrs.t index 664e670..03ecc5b 100644 --- a/cpan/Pod-Parser/t/pod/poderrs.t +++ b/cpan/Pod-Parser/t/pod/poderrs.t @@ -119,7 +119,7 @@ L L<"Warnings"> this one is ok L ok too, this POD has an X of the same name L this is OK -L this is not OK +L this is also OK =head2 Warnings diff --git a/cpan/Pod-Parser/t/pod/poderrs.xr b/cpan/Pod-Parser/t/pod/poderrs.xr index 8534d9e..8c16609 100644 --- a/cpan/Pod-Parser/t/pod/poderrs.xr +++ b/cpan/Pod-Parser/t/pod/poderrs.xr @@ -50,5 +50,4 @@ *** ERROR: unresolved internal link 'end with begin' at line 109 in file t/pod/poderrs.t *** ERROR: unresolved internal link 'OoPs' at line 110 in file t/pod/poderrs.t *** ERROR: unresolved internal link 'abc def' at line 114 in file t/pod/poderrs.t -*** ERROR: hyperlink to URL with alt text deprecated in perlpodspec at line 122 in file t/pod/poderrs.t *** ERROR: unresolved internal link 'I/O Operators' at line 213 in file t/pod/poderrs.t diff --git a/pod/perldelta.pod b/pod/perldelta.pod index 4e3833c..28d327c 100644 --- a/pod/perldelta.pod +++ b/pod/perldelta.pod @@ -117,7 +117,7 @@ L has been upgraded from version 1.824 to version 1.825. =item * -L has been upgraded from version 1.37 to version 1.50. +L has been upgraded from version 1.37 to version 1.51. =back -- 2.7.4