Hello community,
here is the log from the commit of package perl-HTML-Tree for openSUSE:Factory checked in at 2017-05-10 20:34:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-HTML-Tree (Old)
and /work/SRC/openSUSE:Factory/.perl-HTML-Tree.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-HTML-Tree"
Wed May 10 20:34:47 2017 rev:27 rq:492955 version:5.06
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-HTML-Tree/perl-HTML-Tree.changes 2015-04-15 16:25:37.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.perl-HTML-Tree.new/perl-HTML-Tree.changes 2017-05-10 20:34:51.803374050 +0200
@@ -1,0 +2,34 @@
+Sat Apr 29 05:52:50 UTC 2017 - coolo@suse.com
+
+- updated to 5.06
+ see /usr/share/doc/packages/perl-HTML-Tree/Changes
+
+ 5.06 2017-04-28
+ Release by Kent Fredric
+
+ * Revert XML escaping changes from 5.04 due to large numbers of
+ broken dependents
+ - RT#121310 https://rt.cpan.org/Ticket/Display.html?id=121310
+ - https://github.com/rjbs/MasonX-Resolver-WidgetFactory/issues/1
+ - https://github.com/kentfredric/HTML-Tree/issues/1
+
+-------------------------------------------------------------------
+Wed Apr 19 05:52:37 UTC 2017 - coolo@suse.com
+
+- updated to 5.04
+ see /usr/share/doc/packages/perl-HTML-Tree/Changes
+
+ 5.04 2017--04-17
+ Release by Jeff Fearn
+
+ [FIXES]
+ * Remove Distzilla to fix RT #120521 #89820
+ * Add POD to htmltree RT #116367
+ * Speed up is_inside method RT #113415
+ - From Todd Rinaldo https://github.com/madsen/HTML-Tree/pull/5
+ * Fix extra spaces being added to comments RT #94311
+ - From Tomaz Solc
+ * Don't needlessly escape characters in element content RT #93431
+ - From Tomaz Solc
+
+-------------------------------------------------------------------
Old:
----
HTML-Tree-5.03.tar.gz
New:
----
HTML-Tree-5.06.tar.gz
cpanspec.yml
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-HTML-Tree.spec ++++++
--- /var/tmp/diff_new_pack.cVMJkb/_old 2017-05-10 20:34:53.427144957 +0200
+++ /var/tmp/diff_new_pack.cVMJkb/_new 2017-05-10 20:34:53.431144392 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-HTML-Tree
#
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,14 +17,15 @@
Name: perl-HTML-Tree
-Version: 5.03
+Version: 5.06
Release: 0
%define cpan_name HTML-Tree
-Summary: build and scan parse-trees of HTML
+Summary: Build and Scan Parse-Trees of Html
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/HTML-Tree/
-Source: http://www.cpan.org/authors/id/C/CJ/CJM/%{cpan_name}-%{version}.tar.gz
+Source0: https://cpan.metacpan.org/authors/id/K/KE/KENTNL/%{cpan_name}-%{version}.tar.gz
+Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
@@ -32,7 +33,7 @@
BuildRequires: perl(HTML::Entities)
BuildRequires: perl(HTML::Parser) >= 3.46
BuildRequires: perl(HTML::Tagset) >= 3.02
-BuildRequires: perl(Module::Build) >= 0.2808
+BuildRequires: perl(Module::Build) >= 0.280800
BuildRequires: perl(Test::Fatal)
Requires: perl(HTML::Entities)
Requires: perl(HTML::Parser) >= 3.46
@@ -61,15 +62,15 @@
* HTML::Tree::AboutObjects
- "User's View of Object-Oriented Modules" from TPJ17.
+"User's View of Object-Oriented Modules" from TPJ17.
* HTML::Tree::AboutTrees
- "Trees" from TPJ18
+"Trees" from TPJ18
* HTML::Tree::Scanning
- "Scanning HTML" from TPJ19
+"Scanning HTML" from TPJ19
Readers already familiar with object-oriented modules and tree-shaped data
structures should read just the last article. Readers without that
@@ -91,6 +92,7 @@
%files -f %{name}.files
%defattr(-,root,root,755)
-%doc Changes LICENSE README TODO
+%doc Changes README TODO
+%license LICENSE
%changelog
++++++ HTML-Tree-5.03.tar.gz -> HTML-Tree-5.06.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTML-Tree-5.03/Build.PL new/HTML-Tree-5.06/Build.PL
--- old/HTML-Tree-5.03/Build.PL 2012-09-23 03:11:20.000000000 +0200
+++ new/HTML-Tree-5.06/Build.PL 2017-04-28 13:27:46.000000000 +0200
@@ -1,6 +1,8 @@
use 5.008;
use strict;
use warnings;
+
+use lib '.';
use inc::My_Build;
my $builder = inc::My_Build->new(
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTML-Tree-5.03/Changes new/HTML-Tree-5.06/Changes
--- old/HTML-Tree-5.03/Changes 2012-09-23 03:11:20.000000000 +0200
+++ new/HTML-Tree-5.06/Changes 2017-04-28 13:27:46.000000000 +0200
@@ -1,5 +1,37 @@
Changelog for HTML-Tree
+5.06 2017-04-28
+ Release by Kent Fredric
+
+ * Revert XML escaping changes from 5.04 due to large numbers of
+ broken dependents
+ - RT#121310 https://rt.cpan.org/Ticket/Display.html?id=121310
+ - https://github.com/rjbs/MasonX-Resolver-WidgetFactory/issues/1
+ - https://github.com/kentfredric/HTML-Tree/issues/1
+
+5.05 2017-04-26
+
+ [FIXES]
+ * Revert Dist::Zilla Removal
+ - https://github.com/jfearn/HTML-Tree/issues/7
+ - Vendor note: It should be simpler to compare 5.03 and 5.05
+ than to compare 5.04 and 5.05, or 5.03 and 5.04.
+ - Fixes RT#12230: Undeclared dep on Test::Fatal
+ - https://rt.cpan.org/Ticket/Display.html?id=121230
+ * Proper fix for '.' in @INC
+ - https://rt.cpan.org/Ticket/Display.html?id=120521
+
+5.04 2017-04-17
+ Release by Jeff Fearn
+
+ [FIXES]
+ * Remove Distzilla to fix RT #120521 #89820
+ * Add POD to htmltree RT #116367
+ * Speed up is_inside method RT #113415
+ - From Todd Rinaldo https://github.com/madsen/HTML-Tree/pull/5
+ * Fix extra spaces being added to comments RT #94311
+ - From Tomaz Solc
+
5.03 2012-09-22
Release by Christopher J. Madsen
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTML-Tree-5.03/LICENSE new/HTML-Tree-5.06/LICENSE
--- old/HTML-Tree-5.03/LICENSE 2012-09-23 03:11:20.000000000 +0200
+++ new/HTML-Tree-5.06/LICENSE 2017-04-28 13:27:46.000000000 +0200
@@ -22,7 +22,7 @@
Version 1, February 1989
Copyright (C) 1989 Free Software Foundation, Inc.
- 51 Franklin St, Suite 500, Boston, MA 02110-1335 USA
+ 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTML-Tree-5.03/MANIFEST new/HTML-Tree-5.06/MANIFEST
--- old/HTML-Tree-5.03/MANIFEST 2012-09-23 03:11:20.000000000 +0200
+++ new/HTML-Tree-5.06/MANIFEST 2017-04-28 13:27:46.000000000 +0200
@@ -25,6 +25,7 @@
t/building.t
t/children.t
t/clonei.t
+t/comment.t
t/construct_tree.t
t/doctype.t
t/escape.t
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTML-Tree-5.03/META.json new/HTML-Tree-5.06/META.json
--- old/HTML-Tree-5.03/META.json 2012-09-23 03:11:20.000000000 +0200
+++ new/HTML-Tree-5.06/META.json 2017-04-28 13:27:46.000000000 +0200
@@ -5,7 +5,7 @@
"Jeff Fearn "
],
"dynamic_config" : 0,
- "generated_by" : "Dist::Zilla version 4.300023, CPAN::Meta::Converter version 2.120921",
+ "generated_by" : "Dist::Zilla version 4.300039, CPAN::Meta::Converter version 2.150010",
"license" : [
"perl_5"
],
@@ -31,6 +31,13 @@
"Module::Build" : "0.2808"
}
},
+ "develop" : {
+ "requires" : {
+ "Pod::Coverage::TrustPod" : "0",
+ "Test::Pod" : "1.41",
+ "Test::Pod::Coverage" : "1.08"
+ }
+ },
"runtime" : {
"recommends" : {
"HTML::FormatText" : "0",
@@ -64,207 +71,446 @@
"resources" : {
"repository" : {
"type" : "git",
- "url" : "git://github.com/madsen/HTML-Tree.git",
- "web" : "http://github.com/madsen/HTML-Tree"
+ "url" : "git://github.com/kentfredric/HTML-Tree.git",
+ "web" : "https://github.com/kentfredric/HTML-Tree"
}
},
- "version" : "5.03",
+ "version" : "5.06",
"x_Dist_Zilla" : {
+ "perl" : {
+ "version" : "5.025012"
+ },
"plugins" : [
{
"class" : "Dist::Zilla::Plugin::Git::GatherDir",
+ "config" : {
+ "Dist::Zilla::Plugin::Git::GatherDir" : {
+ "include_untracked" : 0
+ }
+ },
"name" : "Git::GatherDir",
- "version" : "1.122530"
+ "version" : "2.041"
},
{
"class" : "Dist::Zilla::Plugin::ManifestSkip",
"name" : "ManifestSkip",
- "version" : "4.300023"
+ "version" : "4.300039"
},
{
"class" : "Dist::Zilla::Plugin::MetaJSON",
"name" : "MetaJSON",
- "version" : "4.300023"
+ "version" : "4.300039"
},
{
"class" : "Dist::Zilla::Plugin::MetaYAML",
"name" : "MetaYAML",
- "version" : "4.300023"
+ "version" : "4.300039"
},
{
"class" : "Dist::Zilla::Plugin::MetaConfig",
"name" : "MetaConfig",
- "version" : "4.300023"
+ "version" : "4.300039"
},
{
"class" : "Dist::Zilla::Plugin::License",
"name" : "License",
- "version" : "4.300023"
+ "version" : "4.300039"
},
{
"class" : "Dist::Zilla::Plugin::MatchManifest",
"name" : "MatchManifest",
- "version" : "4.00"
+ "version" : "4.02"
},
{
"class" : "Dist::Zilla::Plugin::CheckChangesHasContent",
"name" : "CheckChangesHasContent",
- "version" : "0.005"
+ "version" : "0.010"
},
{
"class" : "Dist::Zilla::Plugin::Test::PrereqsFromMeta",
"name" : "Test::PrereqsFromMeta",
- "version" : "4.04"
+ "version" : "4.23"
},
{
"class" : "Dist::Zilla::Plugin::PodSyntaxTests",
"name" : "PodSyntaxTests",
- "version" : "4.300023"
+ "version" : "4.300039"
},
{
"class" : "Dist::Zilla::Plugin::PodCoverageTests",
"name" : "PodCoverageTests",
- "version" : "4.300023"
+ "version" : "4.300039"
},
{
"class" : "Dist::Zilla::Plugin::ModuleBuild::Custom",
"name" : "ModuleBuild::Custom",
- "version" : "4.07"
+ "version" : "4.26"
},
{
"class" : "Dist::Zilla::Plugin::RecommendedPrereqs",
"name" : "RecommendedPrereqs",
- "version" : "4.06"
+ "version" : "4.21"
},
{
"class" : "Dist::Zilla::Plugin::CheckPrereqsIndexed",
"name" : "CheckPrereqsIndexed",
- "version" : "0.006"
+ "version" : "0.020"
},
{
"class" : "Dist::Zilla::Plugin::OurPkgVersion",
"name" : "OurPkgVersion",
- "version" : "0.004000"
+ "version" : "0.10"
},
{
"class" : "Dist::Zilla::Plugin::TemplateCJM",
"name" : "TemplateCJM",
- "version" : "4.10"
+ "version" : "5.001"
},
{
"class" : "Dist::Zilla::Plugin::PodWeaver",
+ "config" : {
+ "Dist::Zilla::Plugin::PodWeaver" : {
+ "finder" : [
+ "FilesToWeave"
+ ],
+ "plugins" : [
+ {
+ "class" : "Pod::Weaver::Plugin::EnsurePod5",
+ "name" : "@CorePrep/EnsurePod5",
+ "version" : "4.015"
+ },
+ {
+ "class" : "Pod::Weaver::Plugin::H1Nester",
+ "name" : "@CorePrep/H1Nester",
+ "version" : "4.015"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Name",
+ "name" : "Name",
+ "version" : "4.015"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Version",
+ "name" : "Version",
+ "version" : "4.015"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Region",
+ "name" : "prelude",
+ "version" : "4.015"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Generic",
+ "name" : "SYNOPSIS",
+ "version" : "4.015"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Generic",
+ "name" : "DESCRIPTION",
+ "version" : "4.015"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Collect",
+ "name" : "ATTRIBUTES",
+ "version" : "4.015"
+ },
+ {
+ "class" : "Pod::Weaver::Section::AllowOverride",
+ "name" : "Over ATTRIBUTES",
+ "version" : "0.05"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Collect",
+ "name" : "METHODS",
+ "version" : "4.015"
+ },
+ {
+ "class" : "Pod::Weaver::Section::AllowOverride",
+ "name" : "Over METHODS",
+ "version" : "0.05"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Generic",
+ "name" : "HOW WE REPRESENT TREES",
+ "version" : "4.015"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Collect",
+ "name" : "BASIC METHODS",
+ "version" : "4.015"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Collect",
+ "name" : "STRUCTURE-MODIFYING METHODS",
+ "version" : "4.015"
+ },
+ {
+ "class" : "Pod::Weaver::Section::AllowOverride",
+ "name" : "Over STRUCTURE-MODIFYING METHODS",
+ "version" : "0.05"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Collect",
+ "name" : "DUMPING METHODS",
+ "version" : "4.015"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Collect",
+ "name" : "SECONDARY STRUCTURAL METHODS",
+ "version" : "4.015"
+ },
+ {
+ "class" : "Pod::Weaver::Section::AllowOverride",
+ "name" : "Over SECONDARY STRUCTURAL METHODS",
+ "version" : "0.05"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Collect",
+ "name" : "CLASS METHODS",
+ "version" : "4.015"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Collect",
+ "name" : "INTERNAL METHODS",
+ "version" : "4.015"
+ },
+ {
+ "class" : "Pod::Weaver::Section::AllowOverride",
+ "name" : "Over INTERNAL METHODS",
+ "version" : "0.05"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Collect",
+ "name" : "SUBROUTINES",
+ "version" : "4.015"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Leftovers",
+ "name" : "Leftovers",
+ "version" : "4.015"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Template",
+ "name" : "AUTHOR",
+ "version" : "0.04"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Template",
+ "name" : "COPYRIGHT AND LICENSE",
+ "version" : "0.04"
+ },
+ {
+ "class" : "Pod::Weaver::Section::AllowOverride",
+ "name" : "COPYRIGHT",
+ "version" : "0.05"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Region",
+ "name" : "postlude",
+ "version" : "4.015"
+ },
+ {
+ "class" : "Pod::Weaver::Plugin::EnsureUniqueSections",
+ "name" : "-EnsureUniqueSections",
+ "version" : "0.163250"
+ }
+ ]
+ }
+ },
"name" : "PodWeaver",
- "version" : "3.101641"
+ "version" : "4.008"
},
{
"class" : "Dist::Zilla::Plugin::FileFinder::Filter",
"name" : "FilesToWeave",
- "version" : "4.300023"
+ "version" : "4.300039"
},
{
"class" : "Dist::Zilla::Plugin::Repository",
"name" : "Repository",
- "version" : "0.18"
+ "version" : "0.20"
},
{
"class" : "Dist::Zilla::Plugin::NextRelease",
"name" : "NextRelease",
- "version" : "4.300023"
+ "version" : "4.300039"
},
{
"class" : "Dist::Zilla::Plugin::Git::NextVersion",
+ "config" : {
+ "Dist::Zilla::Plugin::Git::NextVersion" : {
+ "first_version" : "0.001",
+ "version_by_branch" : 0,
+ "version_regexp" : "(?^u:^(\\d+\\.[\\d_]+)(?:-TRIAL)?$)"
+ },
+ "Dist::Zilla::Role::Git::Repo" : {
+ "git --version" : "2.12.2",
+ "repo_root" : "."
+ }
+ },
"name" : "Git::NextVersion",
- "version" : "1.122530"
+ "version" : "2.041"
},
{
"class" : "Dist::Zilla::Plugin::Git::Check",
+ "config" : {
+ "Dist::Zilla::Plugin::Git::Check" : {
+ "untracked_files" : "die"
+ },
+ "Dist::Zilla::Role::Git::DirtyFiles" : {
+ "allow_dirty" : [
+ "Changes"
+ ],
+ "allow_dirty_match" : [],
+ "changelog" : "Changes"
+ },
+ "Dist::Zilla::Role::Git::Repo" : {
+ "git --version" : "2.12.2",
+ "repo_root" : "."
+ }
+ },
"name" : "@Git/Check",
- "version" : "1.122530"
+ "version" : "2.041"
},
{
"class" : "Dist::Zilla::Plugin::Git::Commit",
+ "config" : {
+ "Dist::Zilla::Plugin::Git::Commit" : {
+ "add_files_in" : [],
+ "commit_msg" : "Updated Changes for %{MMMM d, yyyy}d%{ trial}t release of %v"
+ },
+ "Dist::Zilla::Role::Git::DirtyFiles" : {
+ "allow_dirty" : [
+ "Changes"
+ ],
+ "allow_dirty_match" : [],
+ "changelog" : "Changes"
+ },
+ "Dist::Zilla::Role::Git::Repo" : {
+ "git --version" : "2.12.2",
+ "repo_root" : "."
+ },
+ "Dist::Zilla::Role::Git::StringFormatter" : {
+ "time_zone" : "local"
+ }
+ },
"name" : "@Git/Commit",
- "version" : "1.122530"
+ "version" : "2.041"
},
{
"class" : "Dist::Zilla::Plugin::Git::Tag",
+ "config" : {
+ "Dist::Zilla::Plugin::Git::Tag" : {
+ "branch" : null,
+ "changelog" : "Changes",
+ "signed" : 0,
+ "tag" : "5.06",
+ "tag_format" : "%v%t",
+ "tag_message" : "Tagged %N %v%{ (trial release)}t"
+ },
+ "Dist::Zilla::Role::Git::Repo" : {
+ "git --version" : "2.12.2",
+ "repo_root" : "."
+ },
+ "Dist::Zilla::Role::Git::StringFormatter" : {
+ "time_zone" : "local"
+ }
+ },
"name" : "@Git/Tag",
- "version" : "1.122530"
+ "version" : "2.041"
},
{
"class" : "Dist::Zilla::Plugin::Git::Push",
+ "config" : {
+ "Dist::Zilla::Plugin::Git::Push" : {
+ "push_to" : [
+ "github master"
+ ],
+ "remotes_must_exist" : 1
+ },
+ "Dist::Zilla::Role::Git::Repo" : {
+ "git --version" : "2.12.2",
+ "repo_root" : "."
+ }
+ },
"name" : "@Git/Push",
- "version" : "1.122530"
+ "version" : "2.041"
},
{
"class" : "Dist::Zilla::Plugin::Git::CheckFor::CorrectBranch",
+ "config" : {
+ "Dist::Zilla::Role::Git::Repo" : {
+ "git --version" : "2.12.2",
+ "repo_root" : "."
+ }
+ },
"name" : "GitBranch",
- "version" : "0.004"
+ "version" : "0.014"
},
{
"class" : "Dist::Zilla::Plugin::RunExtraTests",
"name" : "RunExtraTests",
- "version" : "0.007"
+ "version" : "0.029"
},
{
"class" : "Dist::Zilla::Plugin::TestRelease",
"name" : "TestRelease",
- "version" : "4.300023"
+ "version" : "4.300039"
},
{
"class" : "Dist::Zilla::Plugin::UploadToCPAN",
"name" : "UploadToCPAN",
- "version" : "4.300023"
+ "version" : "4.300039"
},
{
"class" : "Dist::Zilla::Plugin::ArchiveRelease",
"name" : "ArchiveRelease",
- "version" : "4.00"
+ "version" : "4.26"
},
{
"class" : "Dist::Zilla::Plugin::ConfirmRelease",
"name" : "ConfirmRelease",
- "version" : "4.300023"
+ "version" : "4.300039"
},
{
"class" : "Dist::Zilla::Plugin::AutoPrereqs",
"name" : "AutoPrereqs",
- "version" : "4.300023"
+ "version" : "4.300039"
},
{
"class" : "Dist::Zilla::Plugin::MetaNoIndex",
"name" : "MetaNoIndex",
- "version" : "4.300023"
+ "version" : "4.300039"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":InstallModules",
- "version" : "4.300023"
+ "version" : "4.300039"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":IncModules",
- "version" : "4.300023"
+ "version" : "4.300039"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":TestFiles",
- "version" : "4.300023"
+ "version" : "4.300039"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ExecFiles",
- "version" : "4.300023"
+ "version" : "4.300039"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ShareFiles",
- "version" : "4.300023"
+ "version" : "4.300039"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":MainModule",
- "version" : "4.300023"
+ "version" : "4.300039"
}
],
"zilla" : {
@@ -272,7 +518,7 @@
"config" : {
"is_trial" : "0"
},
- "version" : "4.300023"
+ "version" : "4.300039"
}
}
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTML-Tree-5.03/META.yml new/HTML-Tree-5.06/META.yml
--- old/HTML-Tree-5.03/META.yml 2012-09-23 03:11:20.000000000 +0200
+++ new/HTML-Tree-5.06/META.yml 2017-04-28 13:27:46.000000000 +0200
@@ -4,199 +4,379 @@
- 'Christopher J. Madsen '
- 'Jeff Fearn '
build_requires:
- Encode: 0
- Module::Build: 0.2808
- Test::Fatal: 0
- Test::More: 0
- base: 0
+ Encode: '0'
+ Module::Build: '0.2808'
+ Test::Fatal: '0'
+ Test::More: '0'
+ base: '0'
configure_requires:
- Module::Build: 0.2808
+ Module::Build: '0.2808'
dynamic_config: 0
-generated_by: 'Dist::Zilla version 4.300023, CPAN::Meta::Converter version 2.120921'
+generated_by: 'Dist::Zilla version 4.300039, CPAN::Meta::Converter version 2.150010'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
- version: 1.4
+ version: '1.4'
name: HTML-Tree
no_index:
directory:
- inc
- t
recommends:
- HTML::FormatText: 0
- LWP::UserAgent: 5.815
+ HTML::FormatText: '0'
+ LWP::UserAgent: '5.815'
requires:
- Carp: 0
- Exporter: 0
- HTML::Entities: 0
- HTML::Parser: 3.46
- HTML::Tagset: 3.02
- Scalar::Util: 0
- integer: 0
- perl: 5.008
+ Carp: '0'
+ Exporter: '0'
+ HTML::Entities: '0'
+ HTML::Parser: '3.46'
+ HTML::Tagset: '3.02'
+ Scalar::Util: '0'
+ integer: '0'
+ perl: '5.008'
resources:
- repository: git://github.com/madsen/HTML-Tree.git
-version: 5.03
+ repository: git://github.com/kentfredric/HTML-Tree.git
+version: '5.06'
x_Dist_Zilla:
+ perl:
+ version: '5.025012'
plugins:
-
class: Dist::Zilla::Plugin::Git::GatherDir
+ config:
+ Dist::Zilla::Plugin::Git::GatherDir:
+ include_untracked: 0
name: Git::GatherDir
- version: 1.122530
+ version: '2.041'
-
class: Dist::Zilla::Plugin::ManifestSkip
name: ManifestSkip
- version: 4.300023
+ version: '4.300039'
-
class: Dist::Zilla::Plugin::MetaJSON
name: MetaJSON
- version: 4.300023
+ version: '4.300039'
-
class: Dist::Zilla::Plugin::MetaYAML
name: MetaYAML
- version: 4.300023
+ version: '4.300039'
-
class: Dist::Zilla::Plugin::MetaConfig
name: MetaConfig
- version: 4.300023
+ version: '4.300039'
-
class: Dist::Zilla::Plugin::License
name: License
- version: 4.300023
+ version: '4.300039'
-
class: Dist::Zilla::Plugin::MatchManifest
name: MatchManifest
- version: 4.00
+ version: '4.02'
-
class: Dist::Zilla::Plugin::CheckChangesHasContent
name: CheckChangesHasContent
- version: 0.005
+ version: '0.010'
-
class: Dist::Zilla::Plugin::Test::PrereqsFromMeta
name: Test::PrereqsFromMeta
- version: 4.04
+ version: '4.23'
-
class: Dist::Zilla::Plugin::PodSyntaxTests
name: PodSyntaxTests
- version: 4.300023
+ version: '4.300039'
-
class: Dist::Zilla::Plugin::PodCoverageTests
name: PodCoverageTests
- version: 4.300023
+ version: '4.300039'
-
class: Dist::Zilla::Plugin::ModuleBuild::Custom
name: ModuleBuild::Custom
- version: 4.07
+ version: '4.26'
-
class: Dist::Zilla::Plugin::RecommendedPrereqs
name: RecommendedPrereqs
- version: 4.06
+ version: '4.21'
-
class: Dist::Zilla::Plugin::CheckPrereqsIndexed
name: CheckPrereqsIndexed
- version: 0.006
+ version: '0.020'
-
class: Dist::Zilla::Plugin::OurPkgVersion
name: OurPkgVersion
- version: 0.004000
+ version: '0.10'
-
class: Dist::Zilla::Plugin::TemplateCJM
name: TemplateCJM
- version: 4.10
+ version: '5.001'
-
class: Dist::Zilla::Plugin::PodWeaver
+ config:
+ Dist::Zilla::Plugin::PodWeaver:
+ finder:
+ - FilesToWeave
+ plugins:
+ -
+ class: Pod::Weaver::Plugin::EnsurePod5
+ name: '@CorePrep/EnsurePod5'
+ version: '4.015'
+ -
+ class: Pod::Weaver::Plugin::H1Nester
+ name: '@CorePrep/H1Nester'
+ version: '4.015'
+ -
+ class: Pod::Weaver::Section::Name
+ name: Name
+ version: '4.015'
+ -
+ class: Pod::Weaver::Section::Version
+ name: Version
+ version: '4.015'
+ -
+ class: Pod::Weaver::Section::Region
+ name: prelude
+ version: '4.015'
+ -
+ class: Pod::Weaver::Section::Generic
+ name: SYNOPSIS
+ version: '4.015'
+ -
+ class: Pod::Weaver::Section::Generic
+ name: DESCRIPTION
+ version: '4.015'
+ -
+ class: Pod::Weaver::Section::Collect
+ name: ATTRIBUTES
+ version: '4.015'
+ -
+ class: Pod::Weaver::Section::AllowOverride
+ name: 'Over ATTRIBUTES'
+ version: '0.05'
+ -
+ class: Pod::Weaver::Section::Collect
+ name: METHODS
+ version: '4.015'
+ -
+ class: Pod::Weaver::Section::AllowOverride
+ name: 'Over METHODS'
+ version: '0.05'
+ -
+ class: Pod::Weaver::Section::Generic
+ name: 'HOW WE REPRESENT TREES'
+ version: '4.015'
+ -
+ class: Pod::Weaver::Section::Collect
+ name: 'BASIC METHODS'
+ version: '4.015'
+ -
+ class: Pod::Weaver::Section::Collect
+ name: 'STRUCTURE-MODIFYING METHODS'
+ version: '4.015'
+ -
+ class: Pod::Weaver::Section::AllowOverride
+ name: 'Over STRUCTURE-MODIFYING METHODS'
+ version: '0.05'
+ -
+ class: Pod::Weaver::Section::Collect
+ name: 'DUMPING METHODS'
+ version: '4.015'
+ -
+ class: Pod::Weaver::Section::Collect
+ name: 'SECONDARY STRUCTURAL METHODS'
+ version: '4.015'
+ -
+ class: Pod::Weaver::Section::AllowOverride
+ name: 'Over SECONDARY STRUCTURAL METHODS'
+ version: '0.05'
+ -
+ class: Pod::Weaver::Section::Collect
+ name: 'CLASS METHODS'
+ version: '4.015'
+ -
+ class: Pod::Weaver::Section::Collect
+ name: 'INTERNAL METHODS'
+ version: '4.015'
+ -
+ class: Pod::Weaver::Section::AllowOverride
+ name: 'Over INTERNAL METHODS'
+ version: '0.05'
+ -
+ class: Pod::Weaver::Section::Collect
+ name: SUBROUTINES
+ version: '4.015'
+ -
+ class: Pod::Weaver::Section::Leftovers
+ name: Leftovers
+ version: '4.015'
+ -
+ class: Pod::Weaver::Section::Template
+ name: AUTHOR
+ version: '0.04'
+ -
+ class: Pod::Weaver::Section::Template
+ name: 'COPYRIGHT AND LICENSE'
+ version: '0.04'
+ -
+ class: Pod::Weaver::Section::AllowOverride
+ name: COPYRIGHT
+ version: '0.05'
+ -
+ class: Pod::Weaver::Section::Region
+ name: postlude
+ version: '4.015'
+ -
+ class: Pod::Weaver::Plugin::EnsureUniqueSections
+ name: -EnsureUniqueSections
+ version: '0.163250'
name: PodWeaver
- version: 3.101641
+ version: '4.008'
-
class: Dist::Zilla::Plugin::FileFinder::Filter
name: FilesToWeave
- version: 4.300023
+ version: '4.300039'
-
class: Dist::Zilla::Plugin::Repository
name: Repository
- version: 0.18
+ version: '0.20'
-
class: Dist::Zilla::Plugin::NextRelease
name: NextRelease
- version: 4.300023
+ version: '4.300039'
-
class: Dist::Zilla::Plugin::Git::NextVersion
+ config:
+ Dist::Zilla::Plugin::Git::NextVersion:
+ first_version: '0.001'
+ version_by_branch: 0
+ version_regexp: (?^u:^(\d+\.[\d_]+)(?:-TRIAL)?$)
+ Dist::Zilla::Role::Git::Repo:
+ 'git --version': 2.12.2
+ repo_root: .
name: Git::NextVersion
- version: 1.122530
+ version: '2.041'
-
class: Dist::Zilla::Plugin::Git::Check
+ config:
+ Dist::Zilla::Plugin::Git::Check:
+ untracked_files: die
+ Dist::Zilla::Role::Git::DirtyFiles:
+ allow_dirty:
+ - Changes
+ allow_dirty_match: []
+ changelog: Changes
+ Dist::Zilla::Role::Git::Repo:
+ 'git --version': 2.12.2
+ repo_root: .
name: '@Git/Check'
- version: 1.122530
+ version: '2.041'
-
class: Dist::Zilla::Plugin::Git::Commit
+ config:
+ Dist::Zilla::Plugin::Git::Commit:
+ add_files_in: []
+ commit_msg: 'Updated Changes for %{MMMM d, yyyy}d%{ trial}t release of %v'
+ Dist::Zilla::Role::Git::DirtyFiles:
+ allow_dirty:
+ - Changes
+ allow_dirty_match: []
+ changelog: Changes
+ Dist::Zilla::Role::Git::Repo:
+ 'git --version': 2.12.2
+ repo_root: .
+ Dist::Zilla::Role::Git::StringFormatter:
+ time_zone: local
name: '@Git/Commit'
- version: 1.122530
+ version: '2.041'
-
class: Dist::Zilla::Plugin::Git::Tag
+ config:
+ Dist::Zilla::Plugin::Git::Tag:
+ branch: ~
+ changelog: Changes
+ signed: 0
+ tag: '5.06'
+ tag_format: '%v%t'
+ tag_message: 'Tagged %N %v%{ (trial release)}t'
+ Dist::Zilla::Role::Git::Repo:
+ 'git --version': 2.12.2
+ repo_root: .
+ Dist::Zilla::Role::Git::StringFormatter:
+ time_zone: local
name: '@Git/Tag'
- version: 1.122530
+ version: '2.041'
-
class: Dist::Zilla::Plugin::Git::Push
+ config:
+ Dist::Zilla::Plugin::Git::Push:
+ push_to:
+ - 'github master'
+ remotes_must_exist: 1
+ Dist::Zilla::Role::Git::Repo:
+ 'git --version': 2.12.2
+ repo_root: .
name: '@Git/Push'
- version: 1.122530
+ version: '2.041'
-
class: Dist::Zilla::Plugin::Git::CheckFor::CorrectBranch
+ config:
+ Dist::Zilla::Role::Git::Repo:
+ 'git --version': 2.12.2
+ repo_root: .
name: GitBranch
- version: 0.004
+ version: '0.014'
-
class: Dist::Zilla::Plugin::RunExtraTests
name: RunExtraTests
- version: 0.007
+ version: '0.029'
-
class: Dist::Zilla::Plugin::TestRelease
name: TestRelease
- version: 4.300023
+ version: '4.300039'
-
class: Dist::Zilla::Plugin::UploadToCPAN
name: UploadToCPAN
- version: 4.300023
+ version: '4.300039'
-
class: Dist::Zilla::Plugin::ArchiveRelease
name: ArchiveRelease
- version: 4.00
+ version: '4.26'
-
class: Dist::Zilla::Plugin::ConfirmRelease
name: ConfirmRelease
- version: 4.300023
+ version: '4.300039'
-
class: Dist::Zilla::Plugin::AutoPrereqs
name: AutoPrereqs
- version: 4.300023
+ version: '4.300039'
-
class: Dist::Zilla::Plugin::MetaNoIndex
name: MetaNoIndex
- version: 4.300023
+ version: '4.300039'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':InstallModules'
- version: 4.300023
+ version: '4.300039'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':IncModules'
- version: 4.300023
+ version: '4.300039'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':TestFiles'
- version: 4.300023
+ version: '4.300039'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ExecFiles'
- version: 4.300023
+ version: '4.300039'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ShareFiles'
- version: 4.300023
+ version: '4.300039'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':MainModule'
- version: 4.300023
+ version: '4.300039'
zilla:
class: Dist::Zilla::Dist::Builder
config:
- is_trial: 0
- version: 4.300023
+ is_trial: '0'
+ version: '4.300039'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTML-Tree-5.03/README new/HTML-Tree-5.06/README
--- old/HTML-Tree-5.03/README 2012-09-23 03:11:20.000000000 +0200
+++ new/HTML-Tree-5.06/README 2017-04-28 13:27:46.000000000 +0200
@@ -1,4 +1,4 @@
-HTML-Tree version 5.03, released 2012-09-22
+HTML-Tree version 5.06, released 2017-04-28
This distribution contains a suite of modules for representing,
@@ -68,7 +68,7 @@
SOURCE
-The source is now kept at http://github.com/madsen/HTML-Tree
+The source is now kept at https://github.com/kentfredric/HTML-Tree
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTML-Tree-5.03/bin/htmltree new/HTML-Tree-5.06/bin/htmltree
--- old/HTML-Tree-5.03/bin/htmltree 2012-09-23 03:11:20.000000000 +0200
+++ new/HTML-Tree-5.06/bin/htmltree 2017-04-28 13:27:46.000000000 +0200
@@ -1,17 +1,28 @@
#!/usr/bin/perl
-# Time-stamp: "2000-10-02 14:48:15 MDT"
-#
-# Parse the given HTML file(s) and dump the parse tree
-# Usage:
-# htmltree -D3 -w file1 file2 file3
-# -D[number] sets HTML::TreeBuilder::Debug to that figure.
-# -w turns on $tree->warn(1) for the new tree
-require 5;
use warnings;
use strict;
+use 5.008;
+
+use Pod::Usage;
+
+=head1 NAME
+
+htmltree - Parse the given HTML file(s) and dump the parse tree
+
+=head1 SYNOPSIS
+
+htmltree -D3 -w file1 file2 file3
+
+ Options:
+ -D[number] sets HTML::TreeBuilder::Debug to that figure.
+ -w turns on $tree->warn(1) for the new tree
+ -h Help message
+
+=cut
my $warn;
+my $help;
BEGIN { # We have to set debug level before we use HTML::TreeBuilder.
$HTML::TreeBuilder::DEBUG = 0; # default debug level
@@ -24,12 +35,17 @@
} elsif ($ARGV[0] =~ m<^-w$>s) {
$warn = 1;
shift @ARGV;
+ } elsif ($ARGV[0] =~ m<^-h$>s) {
+ $help = 1;
+ shift @ARGV;
} else {
last;
}
}
}
+pod2usage({-exitval => 0, -verbose => 1}) if($help);
+
use HTML::TreeBuilder;
foreach my $file (grep( -f $_, @ARGV)) {
@@ -47,5 +63,5 @@
$h = $h->delete(); # nuke it!
print "\n\n";
}
+
exit;
-__END__
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTML-Tree-5.03/lib/HTML/AsSubs.pm new/HTML-Tree-5.06/lib/HTML/AsSubs.pm
--- old/HTML-Tree-5.03/lib/HTML/AsSubs.pm 2012-09-23 03:11:20.000000000 +0200
+++ new/HTML-Tree-5.06/lib/HTML/AsSubs.pm 2017-04-28 13:27:46.000000000 +0200
@@ -7,7 +7,7 @@
use strict;
use vars qw(@ISA @EXPORT);
-our $VERSION = '5.03'; # VERSION from OurPkgVersion
+our $VERSION = '5.06'; # VERSION from OurPkgVersion
require HTML::Element;
require Exporter;
@@ -72,8 +72,8 @@
=head1 VERSION
-This document describes version 5.03 of
-HTML::AsSubs, released September 22, 2012
+This document describes version 5.06 of
+HTML::AsSubs, released April 28, 2017
as part of L.
=head1 SYNOPSIS
@@ -185,7 +185,7 @@
=back
You can follow or contribute to HTML-Tree's development at
-L<< http://github.com/madsen/HTML-Tree >>.
+L<< https://github.com/kentfredric/HTML-Tree >>.
=head1 COPYRIGHT AND LICENSE
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTML-Tree-5.03/lib/HTML/Element/traverse.pm new/HTML-Tree-5.06/lib/HTML/Element/traverse.pm
--- old/HTML-Tree-5.03/lib/HTML/Element/traverse.pm 2012-09-23 03:11:20.000000000 +0200
+++ new/HTML-Tree-5.06/lib/HTML/Element/traverse.pm 2017-04-28 13:27:46.000000000 +0200
@@ -8,7 +8,7 @@
use warnings;
use strict;
-our $VERSION = '5.03'; # VERSION from OurPkgVersion
+our $VERSION = '5.06'; # VERSION from OurPkgVersion
use HTML::Element ();
1;
@@ -23,8 +23,8 @@
=head1 VERSION
-This document describes version 5.03 of
-HTML::Element::traverse, released September 22, 2012
+This document describes version 5.06 of
+HTML::Element::traverse, released April 28, 2017
as part of L.
=head1 SYNOPSIS
@@ -365,7 +365,7 @@
=back
You can follow or contribute to HTML-Tree's development at
-L<< http://github.com/madsen/HTML-Tree >>.
+L<< https://github.com/kentfredric/HTML-Tree >>.
=head1 COPYRIGHT
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTML-Tree-5.03/lib/HTML/Element.pm new/HTML-Tree-5.06/lib/HTML/Element.pm
--- old/HTML-Tree-5.03/lib/HTML/Element.pm 2012-09-23 03:11:20.000000000 +0200
+++ new/HTML-Tree-5.06/lib/HTML/Element.pm 2017-04-28 13:27:46.000000000 +0200
@@ -5,7 +5,7 @@
use strict;
use warnings;
-our $VERSION = '5.03'; # VERSION from OurPkgVersion
+our $VERSION = '5.06'; # VERSION from OurPkgVersion
use Carp ();
use HTML::Entities ();
@@ -1391,7 +1391,7 @@
$name = $self->{'text'};
}
$name =~ s/--/--/g; # can't have double --'s in XML comments
- return "<!-- $name -->";
+ return "<!--$name-->";
}
my $tag = "<$name";
@@ -1663,20 +1663,22 @@
return 0 unless @_; # if no items specified, I guess this is right.
my $current = $self;
-
# the loop starts by looking at the given element
- while ( defined $current and ref $current ) {
- for (@_) {
- if (ref) { # element
- return 1 if $_ eq $current;
- }
- else { # tag name
- return 1 if $_ eq $current->{'_tag'};
- }
+
+ if (scalar @_ == 1) {
+ while ( defined $current and ref $current ) {
+ return 1 if $current eq $_[0] || $current->{'_tag'} eq $_[0];
+ $current = $current->{'_parent'};
+ }
+ return 0;
+ } else {
+ my %elements = map { $_ => 1 } @_;
+ while ( defined $current and ref $current ) {
+ return 1 if $elements{$current} || $elements{ $current->{'_tag'} };
+ $current = $current->{'_parent'};
}
- $current = $current->{'_parent'};
}
- 0;
+ return 0;
}
@@ -2798,8 +2800,8 @@
=head1 VERSION
-This document describes version 5.03 of
-HTML::Element, released September 22, 2012
+This document describes version 5.06 of
+HTML::Element, released April 28, 2017
as part of L.
=head1 SYNOPSIS
@@ -4466,7 +4468,7 @@
=back
You can follow or contribute to HTML-Tree's development at
-L<< http://github.com/madsen/HTML-Tree >>.
+L<< https://github.com/kentfredric/HTML-Tree >>.
=head1 COPYRIGHT AND LICENSE
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTML-Tree-5.03/lib/HTML/Parse.pm new/HTML-Tree-5.06/lib/HTML/Parse.pm
--- old/HTML-Tree-5.03/lib/HTML/Parse.pm 2012-09-23 03:11:20.000000000 +0200
+++ new/HTML-Tree-5.06/lib/HTML/Parse.pm 2017-04-28 13:27:46.000000000 +0200
@@ -8,7 +8,7 @@
use warnings;
use strict;
-our $VERSION = '5.03'; # VERSION from OurPkgVersion
+our $VERSION = '5.06'; # VERSION from OurPkgVersion
use vars qw(@ISA @EXPORT
$IMPLICIT_TAGS $IGNORE_UNKNOWN $IGNORE_TEXT $WARN
@@ -63,8 +63,8 @@
=head1 VERSION
-This document describes version 5.03 of
-HTML::Parse, released September 22, 2012
+This document describes version 5.06 of
+HTML::Parse, released April 28, 2017
as part of L.
=head1 SYNOPSIS
@@ -178,7 +178,7 @@
=back
You can follow or contribute to HTML-Tree's development at
-L<< http://github.com/madsen/HTML-Tree >>.
+L<< https://github.com/kentfredric/HTML-Tree >>.
=head1 COPYRIGHT AND LICENSE
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTML-Tree-5.03/lib/HTML/Tree.pm new/HTML-Tree-5.06/lib/HTML/Tree.pm
--- old/HTML-Tree-5.03/lib/HTML/Tree.pm 2012-09-23 03:11:20.000000000 +0200
+++ new/HTML-Tree-5.06/lib/HTML/Tree.pm 2017-04-28 13:27:46.000000000 +0200
@@ -7,7 +7,7 @@
use warnings;
use strict;
-our $VERSION = '5.03'; # VERSION from OurPkgVersion
+our $VERSION = '5.06'; # VERSION from OurPkgVersion
use HTML::TreeBuilder ();
@@ -48,8 +48,8 @@
=head1 VERSION
-This document describes version 5.03 of
-HTML::Tree, released September 22, 2012
+This document describes version 5.06 of
+HTML::Tree, released April 28, 2017
as part of L.
=head1 SYNOPSIS
@@ -183,7 +183,7 @@
=head1 SOURCE REPOSITORY
HTML-Tree is now maintained using Git. The main public repository is
-L<< http://github.com/madsen/HTML-Tree >>.
+L<< https://github.com/kentfredric/HTML-Tree >>.
The best way to send a patch is to make a pull request there.
@@ -231,7 +231,7 @@
=back
You can follow or contribute to HTML-Tree's development at
-L<< http://github.com/madsen/HTML-Tree >>.
+L<< https://github.com/kentfredric/HTML-Tree >>.
=head1 COPYRIGHT AND LICENSE
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTML-Tree-5.03/lib/HTML/TreeBuilder.pm new/HTML-Tree-5.06/lib/HTML/TreeBuilder.pm
--- old/HTML-Tree-5.03/lib/HTML/TreeBuilder.pm 2012-09-23 03:11:20.000000000 +0200
+++ new/HTML-Tree-5.06/lib/HTML/TreeBuilder.pm 2017-04-28 13:27:46.000000000 +0200
@@ -7,7 +7,7 @@
use integer; # vroom vroom!
use Carp ();
-our $VERSION = '5.03'; # VERSION from OurPkgVersion
+our $VERSION = '5.06'; # VERSION from OurPkgVersion
#---------------------------------------------------------------------------
# Make a 'DEBUG' constant...
@@ -1682,8 +1682,8 @@
=head1 VERSION
-This document describes version 5.03 of
-HTML::TreeBuilder, released September 22, 2012
+This document describes version 5.06 of
+HTML::TreeBuilder, released April 28, 2017
as part of L.
=head1 SYNOPSIS
@@ -2279,7 +2279,7 @@
=back
You can follow or contribute to HTML-Tree's development at
-L<< http://github.com/madsen/HTML-Tree >>.
+L<< https://github.com/kentfredric/HTML-Tree >>.
=head1 COPYRIGHT AND LICENSE
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTML-Tree-5.03/t/00-all_prereqs.t new/HTML-Tree-5.06/t/00-all_prereqs.t
--- old/HTML-Tree-5.03/t/00-all_prereqs.t 2012-09-23 03:11:20.000000000 +0200
+++ new/HTML-Tree-5.06/t/00-all_prereqs.t 2017-04-28 13:27:46.000000000 +0200
@@ -7,6 +7,7 @@
# with modules that aren't prerequisites.
my $test = 0;
+my $tests_completed;
sub ok ($$)
{
@@ -18,8 +19,8 @@
} # end ok
END {
- ok(0, 'unknown failure') unless $test;
- print "1..$test\n";
+ ok(0, 'unknown failure') unless defined $tests_completed;
+ print "1..$tests_completed\n";
}
sub get_version
@@ -48,6 +49,7 @@
while (<META>) {
last if /^\s*\},?\s*\z/;
+ next if /^\s*"[^"]+"\s*:\s*\{\s*\},?\s*\z/;
ok(/^\s*"(.+)" : \{\s*\z/, "found relationship $phase $1") or last TEST;
my $rel = $1;
@@ -59,13 +61,20 @@
next if $phase ne 'runtime' or $prereq eq 'perl';
- my $loaded = eval "require $prereq; $prereq->VERSION($version); 1";
+ # Need a special case for if.pm, because "require if;" is a syntax error.
+ my $loaded = ($prereq eq 'if')
+ ? eval "require '$prereq.pm'; 1"
+ : eval "require $prereq; 1";
if ($rel eq 'requires') {
- ok($loaded, "loaded $prereq $version")
- or printf STDERR "\n# Got: %s %s\n# Wanted: %s %s\n",
- $prereq, get_version($prereq), $prereq, $version;
+ ok($loaded, "loaded $prereq") or
+ print STDERR "\n# ERROR: Wanted: $prereq $version\n";
} else {
- ok(1, ($loaded ? 'loaded' : 'failed to load') . " $prereq $version");
+ ok(1, ($loaded ? 'loaded' : 'failed to load') . " $prereq");
+ }
+ if ($loaded and not ($version eq '"0"' or
+ eval "'$prereq'->VERSION($version); 1")) {
+ printf STDERR "\n# WARNING: Got: %s %s\n# Wanted: %s %s\n",
+ $prereq, get_version($prereq), $prereq, $version;
}
} # end while <META> in prerequisites
} # end while <META> in relationship
@@ -74,7 +83,8 @@
close META;
# Print version of all loaded modules:
- if ($ENV{AUTOMATED_TESTING}) {
+ if ($ENV{AUTOMATED_TESTING} or
+ (@ARGV and ($ARGV[0] eq '-v' or $ARGV[0] eq '--verbose'))) {
print STDERR "# Listing %INC\n";
my @packages = grep { s/\.pm\Z// and do { s![\\/]!::!g; 1 } } sort keys %INC;
@@ -89,3 +99,5 @@
} # end if AUTOMATED_TESTING
} # end TEST
+$tests_completed = $test;
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTML-Tree-5.03/t/comment.t new/HTML-Tree-5.06/t/comment.t
--- old/HTML-Tree-5.03/t/comment.t 1970-01-01 01:00:00.000000000 +0100
+++ new/HTML-Tree-5.06/t/comment.t 2017-04-28 13:27:46.000000000 +0200
@@ -0,0 +1,27 @@
+#!/usr/bin/perl -T
+
+use warnings;
+use strict;
+use Test::More;
+
+BEGIN { plan tests => 1 }
+
+use HTML::TreeBuilder;
+
+sub same {
+ my ( $code ) = @_;
+
+ my $tree = HTML::TreeBuilder->new;
+ $tree->store_comments(1);
+ $tree->parse($code);
+ $tree->eof;
+
+ my $out = $tree->as_XML;
+
+ my $rv = ($code eq $out);
+
+ $tree->delete;
+ return $rv;
+}
+
+ok same("<html><head></head><body><!-- a --></body></html>\n");
++++++ cpanspec.yml ++++++
---
#description_paragraphs: 3
#description: |-
# override description from CPAN
#summary: override summary from CPAN
#no_testing: broken upstream
#sources:
# - source1
# - source2
#patches:
# foo.patch: -p1
# bar.patch:
#preamble: |-
# BuildRequires: gcc-c++
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
#post_build: |-
# rm unused.files
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module