r73265 - in /branches/upstream/libhtml-tree-perl/current: ./ lib/HTML/ lib/HTML/Element/ lib/HTML/Tree/ t/ xt/ xt/author/
gregoa at users.alioth.debian.org
gregoa at users.alioth.debian.org
Sat Apr 23 17:32:42 UTC 2011
Author: gregoa
Date: Sat Apr 23 17:31:57 2011
New Revision: 73265
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=73265
Log:
[svn-upgrade] new version libhtml-tree-perl (4.2)
Added:
branches/upstream/libhtml-tree-perl/current/xt/
branches/upstream/libhtml-tree-perl/current/xt/author/
branches/upstream/libhtml-tree-perl/current/xt/author/zz_perlcritic.t
branches/upstream/libhtml-tree-perl/current/xt/author/zz_pod-coverage.t
branches/upstream/libhtml-tree-perl/current/xt/author/zz_pod.t
Removed:
branches/upstream/libhtml-tree-perl/current/t/zz_perlcritic.t
branches/upstream/libhtml-tree-perl/current/t/zz_pod-coverage.t
branches/upstream/libhtml-tree-perl/current/t/zz_pod.t
Modified:
branches/upstream/libhtml-tree-perl/current/Build.PL
branches/upstream/libhtml-tree-perl/current/Changes
branches/upstream/libhtml-tree-perl/current/MANIFEST
branches/upstream/libhtml-tree-perl/current/META.yml
branches/upstream/libhtml-tree-perl/current/Makefile.PL
branches/upstream/libhtml-tree-perl/current/lib/HTML/AsSubs.pm
branches/upstream/libhtml-tree-perl/current/lib/HTML/Element.pm
branches/upstream/libhtml-tree-perl/current/lib/HTML/Element/traverse.pm
branches/upstream/libhtml-tree-perl/current/lib/HTML/Parse.pm
branches/upstream/libhtml-tree-perl/current/lib/HTML/Tree.pm
branches/upstream/libhtml-tree-perl/current/lib/HTML/Tree/Scanning.pod
branches/upstream/libhtml-tree-perl/current/lib/HTML/TreeBuilder.pm
Modified: branches/upstream/libhtml-tree-perl/current/Build.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libhtml-tree-perl/current/Build.PL?rev=73265&op=diff
==============================================================================
--- branches/upstream/libhtml-tree-perl/current/Build.PL (original)
+++ branches/upstream/libhtml-tree-perl/current/Build.PL Sat Apr 23 17:31:57 2011
@@ -6,14 +6,29 @@
my $class = Module::Build->subclass(
class => 'My::Builder',
code => q{
+ sub ACTION_authortest {
+ my ($self) = @_;
+ $self->depends_on('build');
+ $self->depends_on('manifest');
+ $self->depends_on('distmeta');
+ $self->test_files( qw< t xt/author > );
+ $self->recursive_test_files(1);
+ $self->depends_on('test');
+ return;
+ }
+ sub ACTION_distdir {
+ my ($self) = @_;
+ $self->depends_on('authortest');
+ return $self->SUPER::ACTION_distdir();
+ }
}
);
my $builder = $class->new(
module_name => 'HTML::Tree',
license => 'perl',
- dist_author => 'Jeff Fearn <Jeff.Fearn at gmail.com>',
- dist_version_from => 'lib/HTML/Tree.pm',
+ dist_author => 'Jeff Fearn <jfearn at cpan.org>',
+ dist_version_from => 'lib/HTML/Element.pm',
create_makefile_pl => 'traditional',
build_requires => {
'Module::Build' => 0,
Modified: branches/upstream/libhtml-tree-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libhtml-tree-perl/current/Changes?rev=73265&op=diff
==============================================================================
--- branches/upstream/libhtml-tree-perl/current/Changes (original)
+++ branches/upstream/libhtml-tree-perl/current/Changes Sat Apr 23 17:31:57 2011
@@ -1,4 +1,13 @@
Changelog for HTML-Tree
+4.2
+ [FIXES]
+ * Tied all $VERSION to HTML::Element to ensure latest package is used
+ for all modules. RT #66110
+ * Moved perlcritic tests to xt/author
+ [DOCUMENTATION]
+ * Added text and link to "Perl and LWP" book.
+ * Fix Authors is all PM files.
+
4.1 Mon Oct 25 2010
[FIXES]
* '/' is a valid attribute (pull from tokuhirom) (RT #61809)
Modified: branches/upstream/libhtml-tree-perl/current/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libhtml-tree-perl/current/MANIFEST?rev=73265&op=diff
==============================================================================
--- branches/upstream/libhtml-tree-perl/current/MANIFEST (original)
+++ branches/upstream/libhtml-tree-perl/current/MANIFEST Sat Apr 23 17:31:57 2011
@@ -10,7 +10,9 @@
lib/HTML/Tree/AboutTrees.pod
lib/HTML/Tree/Scanning.pod
lib/HTML/TreeBuilder.pm
+Makefile.PL
MANIFEST
+META.yml
README
t/00system.t
t/assubs.t
@@ -31,9 +33,7 @@
t/subclass.t
t/tag-rendering.t
t/unicode.t
-t/zz_perlcritic.t
-t/zz_pod-coverage.t
-t/zz_pod.t
TODO
-META.yml
-Makefile.PL
+xt/author/zz_perlcritic.t
+xt/author/zz_pod-coverage.t
+xt/author/zz_pod.t
Modified: branches/upstream/libhtml-tree-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libhtml-tree-perl/current/META.yml?rev=73265&op=diff
==============================================================================
--- branches/upstream/libhtml-tree-perl/current/META.yml (original)
+++ branches/upstream/libhtml-tree-perl/current/META.yml Sat Apr 23 17:31:57 2011
@@ -1,42 +1,44 @@
---
-name: HTML-Tree
-version: 4.1
+abstract: 'Class for objects that represent HTML elements'
author:
- - 'Jeff Fearn <Jeff.Fearn at gmail.com>'
-abstract: build and scan parse-trees of HTML
-license: perl
-resources:
- license: http://dev.perl.org/licenses/
-requires:
- HTML::Parser: 3.46
- HTML::Tagset: 3.02
- perl: 5.8.0
+ - 'Jeff Fearn <jfearn at cpan.org>'
build_requires:
HTML::Parser: 3.46
HTML::Tagset: 3.02
Module::Build: 0
Test::Exception: 0
Test::More: 0
+configure_requires:
+ Module::Build: 0.36
+generated_by: 'Module::Build version 0.3603'
+license: perl
+meta-spec:
+ url: http://module-build.sourceforge.net/META-spec-v1.4.html
+ version: 1.4
+name: HTML-Tree
provides:
HTML::AsSubs:
file: lib/HTML/AsSubs.pm
- version: 1.16
+ version: 4.2
HTML::Element:
file: lib/HTML/Element.pm
- version: 4.1
+ version: 4.2
HTML::Element::traverse:
file: lib/HTML/Element/traverse.pm
- version: 0
+ version: 4.2
HTML::Parse:
file: lib/HTML/Parse.pm
- version: 2.71
+ version: 4.2
HTML::Tree:
file: lib/HTML/Tree.pm
- version: 4.1
+ version: 4.2
HTML::TreeBuilder:
file: lib/HTML/TreeBuilder.pm
- version: 4.1
-generated_by: Module::Build version 0.32
-meta-spec:
- url: http://module-build.sourceforge.net/META-spec-v1.2.html
- version: 1.2
+ version: 4.2
+requires:
+ HTML::Parser: 3.46
+ HTML::Tagset: 3.02
+ perl: v5.8.0
+resources:
+ license: http://dev.perl.org/licenses/
+version: 4.2
Modified: branches/upstream/libhtml-tree-perl/current/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libhtml-tree-perl/current/Makefile.PL?rev=73265&op=diff
==============================================================================
--- branches/upstream/libhtml-tree-perl/current/Makefile.PL (original)
+++ branches/upstream/libhtml-tree-perl/current/Makefile.PL Sat Apr 23 17:31:57 2011
@@ -1,14 +1,15 @@
-# Note: this file was auto-generated by Module::Build::Compat version 0.32
-require 5.8.0;
+# Note: this file was auto-generated by Module::Build::Compat version 0.3603
+require 5.008000;
use ExtUtils::MakeMaker;
WriteMakefile
(
+ 'PL_FILES' => {},
'INSTALLDIRS' => 'site',
'NAME' => 'HTML::Tree',
'EXE_FILES' => [
'htmltree'
],
- 'VERSION_FROM' => 'lib/HTML/Tree.pm',
+ 'VERSION_FROM' => 'lib/HTML/Element.pm',
'PREREQ_PM' => {
'Test::More' => 0,
'Test::Exception' => 0,
Modified: branches/upstream/libhtml-tree-perl/current/lib/HTML/AsSubs.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libhtml-tree-perl/current/lib/HTML/AsSubs.pm?rev=73265&op=diff
==============================================================================
--- branches/upstream/libhtml-tree-perl/current/lib/HTML/AsSubs.pm (original)
+++ branches/upstream/libhtml-tree-perl/current/lib/HTML/AsSubs.pm Sat Apr 23 17:31:57 2011
@@ -78,7 +78,7 @@
require Exporter;
@ISA = qw(Exporter);
-$VERSION = '1.16';
+$VERSION = 4.2;
# Problem: exports so damned much. Has no concept of "export only HTML4
# elements". TODO:?? make something that make functions that just
Modified: branches/upstream/libhtml-tree-perl/current/lib/HTML/Element.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libhtml-tree-perl/current/lib/HTML/Element.pm?rev=73265&op=diff
==============================================================================
--- branches/upstream/libhtml-tree-perl/current/lib/HTML/Element.pm (original)
+++ branches/upstream/libhtml-tree-perl/current/lib/HTML/Element.pm Sat Apr 23 17:31:57 2011
@@ -6,7 +6,7 @@
=head1 VERSION
-Version 4.1
+Version 4.2
=cut
@@ -17,7 +17,7 @@
use integer; # vroom vroom!
use vars qw( $VERSION );
-$VERSION = '4.1';
+$VERSION = 4.2;
# This contorls encoding entities on output.
# When set entities won't be re-encoded.
@@ -4193,9 +4193,16 @@
=head1 AUTHOR
-Currently maintained by Pete Krawczyk C<< <petek at cpan.org> >>
-
-Original authors: Gisle Aas, Sean Burke and Andy Lester.
+Current Author:
+ Jeff Fearn C<< <jfearn at cpan.org> >>.
+
+Original HTML-Tree author:
+ Gisle Aas.
+
+Former Authors:
+ Sean M. Burke.
+ Andy Lester.
+ Pete Krawczyk C<< <petek at cpan.org> >>.
Thanks to Mark-Jason Dominus for a POD suggestion.
Modified: branches/upstream/libhtml-tree-perl/current/lib/HTML/Element/traverse.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libhtml-tree-perl/current/lib/HTML/Element/traverse.pm?rev=73265&op=diff
==============================================================================
--- branches/upstream/libhtml-tree-perl/current/lib/HTML/Element/traverse.pm (original)
+++ branches/upstream/libhtml-tree-perl/current/lib/HTML/Element/traverse.pm Sat Apr 23 17:31:57 2011
@@ -7,7 +7,8 @@
use strict;
use HTML::Element ();
-$VERSION = $VERSION = $HTML::Element::VERSION;
+use vars qw( $VERSION );
+$VERSION = 4.2;
1;
__END__
@@ -326,7 +327,15 @@
Copyright 2000,2001 Sean M. Burke
=head1 AUTHOR
-
-Sean M. Burke, E<lt>sburke at cpan.orgE<gt>
+Current Author:
+ Jeff Fearn C<< <jfearn at cpan.org> >>.
+
+Original HTML-Tree author:
+ Gisle Aas.
+
+Former Authors:
+ Sean M. Burke.
+ Andy Lester.
+ Pete Krawczyk C<< <petek at cpan.org> >>.
=cut
Modified: branches/upstream/libhtml-tree-perl/current/lib/HTML/Parse.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libhtml-tree-perl/current/lib/HTML/Parse.pm?rev=73265&op=diff
==============================================================================
--- branches/upstream/libhtml-tree-perl/current/lib/HTML/Parse.pm (original)
+++ branches/upstream/libhtml-tree-perl/current/lib/HTML/Parse.pm Sat Apr 23 17:31:57 2011
@@ -97,10 +97,16 @@
merchantability or fitness for a particular purpose.
=head1 AUTHOR
+Current Author:
+ Jeff Fearn C<< <jfearn at cpan.org> >>.
-Currently maintained by Pete Krawczyk C<< <petek at cpan.org> >>
+Original HTML-Tree author:
+ Gisle Aas.
-Original authors: Gisle Aas, Sean Burke and Andy Lester.
+Former Authors:
+ Sean M. Burke.
+ Andy Lester.
+ Pete Krawczyk C<< <petek at cpan.org> >>.
=cut
@@ -123,7 +129,7 @@
require HTML::TreeBuilder;
-$VERSION = '2.71';
+$VERSION = 4.2;
sub parse_html {
my $p = $_[1];
Modified: branches/upstream/libhtml-tree-perl/current/lib/HTML/Tree.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libhtml-tree-perl/current/lib/HTML/Tree.pm?rev=73265&op=diff
==============================================================================
--- branches/upstream/libhtml-tree-perl/current/lib/HTML/Tree.pm (original)
+++ branches/upstream/libhtml-tree-perl/current/lib/HTML/Tree.pm Sat Apr 23 17:31:57 2011
@@ -6,7 +6,7 @@
=head1 VERSION
-4.1
+4.2
=cut
@@ -18,7 +18,7 @@
use HTML::TreeBuilder ();
use vars qw( $VERSION );
-$VERSION = '4.1';
+$VERSION = 4.2;
=head1 SYNOPSIS
@@ -54,6 +54,9 @@
unshift @_, 'HTML::TreeBuilder';
goto &HTML::TreeBuilder::new_from_content;
}
+
+1;
+__END__
=head1 DESCRIPTION
@@ -182,9 +185,16 @@
=head1 AUTHOR
-Original HTML-Tree author Gisle Aas. Handed off to Sean M. Burke.
-and Andy Lester. Currently maintained by Pete Krawczyk
-C<< <petek at cpan.org> >>.
+Current Author:
+ Jeff Fearn C<< <jfearn at cpan.org> >>.
+
+Original HTML-Tree author:
+ Gisle Aas.
+
+Former Authors:
+ Sean M. Burke.
+ Andy Lester.
+ Pete Krawczyk C<< <petek at cpan.org> >>.
=head1 COPYRIGHT
@@ -206,4 +216,3 @@
=cut
-1;
Modified: branches/upstream/libhtml-tree-perl/current/lib/HTML/Tree/Scanning.pod
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libhtml-tree-perl/current/lib/HTML/Tree/Scanning.pod?rev=73265&op=diff
==============================================================================
--- branches/upstream/libhtml-tree-perl/current/lib/HTML/Tree/Scanning.pod (original)
+++ branches/upstream/libhtml-tree-perl/current/lib/HTML/Tree/Scanning.pod Sat Apr 23 17:31:57 2011
@@ -17,6 +17,11 @@
Journal> #19 and is copyright 2000 The Perl Journal. It appears
courtesy of Jon Orwant and The Perl Journal. This document may be
distributed under the same terms as Perl itself.
+
+(Note that this is discussed in chapters 6 through 10 of the
+book I<Perl and LWP> L<http://lwp.interglacial.com/> which
+was written after the following documentation, and which is
+available free online.)
=head1 Scanning HTML
Modified: branches/upstream/libhtml-tree-perl/current/lib/HTML/TreeBuilder.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libhtml-tree-perl/current/lib/HTML/TreeBuilder.pm?rev=73265&op=diff
==============================================================================
--- branches/upstream/libhtml-tree-perl/current/lib/HTML/TreeBuilder.pm (original)
+++ branches/upstream/libhtml-tree-perl/current/lib/HTML/TreeBuilder.pm Sat Apr 23 17:31:57 2011
@@ -5,7 +5,6 @@
use integer; # vroom vroom!
use Carp ();
use vars qw(@ISA $VERSION $DEBUG);
-$VERSION = '4.1';
#---------------------------------------------------------------------------
# Make a 'DEBUG' constant...
@@ -59,6 +58,7 @@
use HTML::Element ();
use HTML::Parser ();
@ISA = qw(HTML::Element HTML::Parser);
+$VERSION = 4.2;
# This looks schizoid, I know.
# It's not that we ARE an element AND a parser.
@@ -2143,8 +2143,16 @@
=head1 AUTHOR
-Currently maintained by Pete Krawczyk C<< <petek at cpan.org> >>
-
-Original authors: Gisle Aas, Sean Burke and Andy Lester.
+Current Author:
+ Jeff Fearn C<< <jfearn at cpan.org> >>.
+
+Original HTML-Tree author:
+ Gisle Aas.
+
+Former Authors:
+ Sean M. Burke.
+ Andy Lester.
+ Pete Krawczyk C<< <petek at cpan.org> >>.
+
=cut
Added: branches/upstream/libhtml-tree-perl/current/xt/author/zz_perlcritic.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libhtml-tree-perl/current/xt/author/zz_perlcritic.t?rev=73265&op=file
==============================================================================
--- branches/upstream/libhtml-tree-perl/current/xt/author/zz_perlcritic.t (added)
+++ branches/upstream/libhtml-tree-perl/current/xt/author/zz_perlcritic.t Sat Apr 23 17:31:57 2011
@@ -1,0 +1,21 @@
+#!perl -T
+
+use Test::More;
+
+eval "use Test::Perl::Critic";
+
+if ($@) {
+ Test::More::plan( skip_all =>
+ "Test::Perl::Critic required for testing PBP compliance" );
+}
+else {
+ Test::Perl::Critic->import(
+ -verbose => 8,
+ -severity => 5,
+## This check fails to detect a package is modifying
+## objects of it's own class when passing objects in an array
+ -exclude => ['ProhibitAccessOfPrivateData']
+ );
+}
+
+all_critic_ok();
Added: branches/upstream/libhtml-tree-perl/current/xt/author/zz_pod-coverage.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libhtml-tree-perl/current/xt/author/zz_pod-coverage.t?rev=73265&op=file
==============================================================================
--- branches/upstream/libhtml-tree-perl/current/xt/author/zz_pod-coverage.t (added)
+++ branches/upstream/libhtml-tree-perl/current/xt/author/zz_pod-coverage.t Sat Apr 23 17:31:57 2011
@@ -1,0 +1,7 @@
+#!perl -T
+
+use Test::More;
+eval "use Test::Pod::Coverage 1.04";
+plan skip_all => "Test::Pod::Coverage 1.04 required for testing POD coverage"
+ if $@;
+all_pod_coverage_ok();
Added: branches/upstream/libhtml-tree-perl/current/xt/author/zz_pod.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libhtml-tree-perl/current/xt/author/zz_pod.t?rev=73265&op=file
==============================================================================
--- branches/upstream/libhtml-tree-perl/current/xt/author/zz_pod.t (added)
+++ branches/upstream/libhtml-tree-perl/current/xt/author/zz_pod.t Sat Apr 23 17:31:57 2011
@@ -1,0 +1,6 @@
+#!perl -T
+
+use Test::More;
+eval "use Test::Pod 1.14";
+plan skip_all => "Test::Pod 1.14 required for testing POD" if $@;
+all_pod_files_ok();
More information about the Pkg-perl-cvs-commits
mailing list