Hello community, here is the log from the commit of package perl-IO-HTML for openSUSE:Factory checked in at 2015-04-22 01:07:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-IO-HTML (Old) and /work/SRC/openSUSE:Factory/.perl-IO-HTML.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-IO-HTML" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-IO-HTML/perl-IO-HTML.changes 2013-08-07 20:49:39.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.perl-IO-HTML.new/perl-IO-HTML.changes 2015-04-22 01:07:49.000000000 +0200 @@ -1,0 +2,6 @@ +Tue Apr 14 18:19:46 UTC 2015 - [email protected] + +- updated to 1.001 + see /usr/share/doc/packages/perl-IO-HTML/Changes + +------------------------------------------------------------------- Old: ---- IO-HTML-1.00.tar.gz New: ---- IO-HTML-1.001.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-IO-HTML.spec ++++++ --- /var/tmp/diff_new_pack.pGFOV6/_old 2015-04-22 01:07:50.000000000 +0200 +++ /var/tmp/diff_new_pack.pGFOV6/_new 2015-04-22 01:07:50.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-IO-HTML # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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,7 +17,7 @@ Name: perl-IO-HTML -Version: 1.00 +Version: 1.001 Release: 0 %define cpan_name IO-HTML Summary: Open an HTML file with automatic charset detection @@ -30,13 +30,12 @@ BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Test::More) >= 0.88 -#BuildRequires: perl(IO::HTML) %{perl_requires} %description IO::HTML provides an easy way to open a file containing HTML while automatically determining its encoding. It uses the HTML5 encoding sniffing -algorithm specified in section 8.2.2.1 of the draft standard. +algorithm specified in section 8.2.2.2 of the draft standard. The algorithm as implemented here is: ++++++ IO-HTML-1.00.tar.gz -> IO-HTML-1.001.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/IO-HTML-1.00/Changes new/IO-HTML-1.001/Changes --- old/IO-HTML-1.00/Changes 2013-02-23 21:35:51.000000000 +0100 +++ new/IO-HTML-1.001/Changes 2014-06-28 19:03:42.000000000 +0200 @@ -1,20 +1,24 @@ Revision history for IO-HTML -1.00 February 23, 2013 +1.001 2014-06-28 + - No code changes, just documentation improvements + - Update links to the HTML5 draft specification + +1.00 2013-02-23 - No code changes, just documentation improvements - Document filehandle position set by sniff_encoding -0.04 February 4, 2012 +0.04 2012-02-04 - Require Encode 2.10 to get the utf-8-strict encoding. This is only an issue with Perl 5.8.6 and earlier. -0.03 January 30, 2012 +0.03 2012-01-30 - Fix 10-find.t to work on Perl 5.8.8 (mime_name wasn't introduced until Encode 2.21; 5.8.8 has 2.12.) -0.02 January 29, 2012 +0.02 2012-01-29 - Fix 20-open.t to work on Perl < 5.14.0 (Using "<:raw" on in-memory files didn't work until then.) -0.01 January 28, 2012 +0.01 2012-01-28 - Initial release diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/IO-HTML-1.00/LICENSE new/IO-HTML-1.001/LICENSE --- old/IO-HTML-1.00/LICENSE 2013-02-23 21:35:51.000000000 +0100 +++ new/IO-HTML-1.001/LICENSE 2014-06-28 19:03:42.000000000 +0200 @@ -1,4 +1,4 @@ -This software is copyright (c) 2013 by Christopher J. Madsen. +This software is copyright (c) 2014 by Christopher J. Madsen. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. @@ -12,7 +12,7 @@ --- The GNU General Public License, Version 1, February 1989 --- -This software is Copyright (c) 2013 by Christopher J. Madsen. +This software is Copyright (c) 2014 by Christopher J. Madsen. This is free software, licensed under: @@ -272,7 +272,7 @@ --- The Artistic License 1.0 --- -This software is Copyright (c) 2013 by Christopher J. Madsen. +This software is Copyright (c) 2014 by Christopher J. Madsen. This is free software, licensed under: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/IO-HTML-1.00/MANIFEST new/IO-HTML-1.001/MANIFEST --- old/IO-HTML-1.00/MANIFEST 2013-02-23 21:35:51.000000000 +0100 +++ new/IO-HTML-1.001/MANIFEST 2014-06-28 19:03:42.000000000 +0200 @@ -11,5 +11,5 @@ t/10-find.t t/20-open.t t/30-outfile.t -t/release-pod-coverage.t -t/release-pod-syntax.t +xt/release/pod-coverage.t +xt/release/pod-syntax.t diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/IO-HTML-1.00/META.json new/IO-HTML-1.001/META.json --- old/IO-HTML-1.00/META.json 2013-02-23 21:35:51.000000000 +0100 +++ new/IO-HTML-1.001/META.json 2014-06-28 19:03:42.000000000 +0200 @@ -4,7 +4,7 @@ "Christopher J. Madsen <[email protected]>" ], "dynamic_config" : 0, - "generated_by" : "Dist::Zilla version 4.300029, CPAN::Meta::Converter version 2.120921", + "generated_by" : "Dist::Zilla version 5.009, CPAN::Meta::Converter version 2.120921", "license" : [ "perl_5" ], @@ -47,13 +47,13 @@ "repository" : { "type" : "git", "url" : "git://github.com/madsen/io-html.git", - "web" : "http://github.com/madsen/io-html" + "web" : "https://github.com/madsen/io-html" } }, - "version" : "1.00", + "version" : "1.001", "x_Dist_Zilla" : { "perl" : { - "version" : "5.014002" + "version" : "5.018002" }, "plugins" : [ { @@ -64,130 +64,186 @@ { "class" : "Dist::Zilla::Plugin::GatherDir", "name" : "CJM/GatherDir", - "version" : "4.300029" + "version" : "5.009" }, { "class" : "Dist::Zilla::Plugin::PruneCruft", "name" : "CJM/PruneCruft", - "version" : "4.300029" + "version" : "5.009" }, { "class" : "Dist::Zilla::Plugin::ManifestSkip", "name" : "CJM/ManifestSkip", - "version" : "4.300029" + "version" : "5.009" }, { "class" : "Dist::Zilla::Plugin::MetaJSON", "name" : "CJM/MetaJSON", - "version" : "4.300029" + "version" : "5.009" }, { "class" : "Dist::Zilla::Plugin::MetaYAML", "name" : "CJM/MetaYAML", - "version" : "4.300029" + "version" : "5.009" }, { "class" : "Dist::Zilla::Plugin::License", "name" : "CJM/License", - "version" : "4.300029" + "version" : "5.009" }, { "class" : "Dist::Zilla::Plugin::Test::PrereqsFromMeta", "name" : "CJM/Test::PrereqsFromMeta", - "version" : "4.04" + "version" : "4.21" }, { "class" : "Dist::Zilla::Plugin::PodSyntaxTests", "name" : "CJM/PodSyntaxTests", - "version" : "4.300029" + "version" : "5.009" }, { "class" : "Dist::Zilla::Plugin::PodCoverageTests", "name" : "CJM/PodCoverageTests", - "version" : "4.300029" - }, - { - "class" : "Dist::Zilla::Plugin::ExtraTests", - "name" : "CJM/ExtraTests", - "version" : "4.300029" + "version" : "5.009" }, { "class" : "Dist::Zilla::Plugin::PodLoom", "config" : { - "Pod::Loom version" : "0.06" + "Pod::Loom version" : "0.08" }, "name" : "CJM/PodLoom", - "version" : "4.10" + "version" : "5.00" }, { "class" : "Dist::Zilla::Plugin::MakeMaker", "name" : "CJM/MakeMaker", - "version" : "4.300029" + "version" : "5.009" + }, + { + "class" : "Dist::Zilla::Plugin::RunExtraTests", + "name" : "CJM/RunExtraTests", + "version" : "0.011" }, { "class" : "Dist::Zilla::Plugin::MetaConfig", "name" : "CJM/MetaConfig", - "version" : "4.300029" + "version" : "5.009" }, { "class" : "Dist::Zilla::Plugin::MatchManifest", "name" : "CJM/MatchManifest", - "version" : "4.00" + "version" : "4.01" }, { "class" : "Dist::Zilla::Plugin::RecommendedPrereqs", "name" : "CJM/RecommendedPrereqs", - "version" : "4.06" + "version" : "4.21" }, { "class" : "Dist::Zilla::Plugin::CheckPrereqsIndexed", "name" : "CJM/CheckPrereqsIndexed", - "version" : "0.006" + "version" : "0.009" }, { "class" : "Dist::Zilla::Plugin::GitVersionCheckCJM", "name" : "CJM/GitVersionCheckCJM", - "version" : "4.03" + "version" : "4.13" }, { "class" : "Dist::Zilla::Plugin::TemplateCJM", "name" : "CJM/TemplateCJM", - "version" : "4.12" + "version" : "4.22" }, { "class" : "Dist::Zilla::Plugin::Repository", "name" : "CJM/Repository", - "version" : "0.18" + "version" : "0.19" }, { "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" : { + "repo_root" : "." + } + }, "name" : "CJM/@Git/Check", - "version" : "2.005" + "version" : "2.022" }, { "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", + "time_zone" : "local" + }, + "Dist::Zilla::Role::Git::DirtyFiles" : { + "allow_dirty" : [ + "Changes" + ], + "allow_dirty_match" : [], + "changelog" : "Changes" + }, + "Dist::Zilla::Role::Git::Repo" : { + "repo_root" : "." + } + }, "name" : "CJM/@Git/Commit", - "version" : "2.005" + "version" : "2.022" }, { "class" : "Dist::Zilla::Plugin::Git::Tag", + "config" : { + "Dist::Zilla::Plugin::Git::Tag" : { + "branch" : null, + "signed" : 0, + "tag" : "1.001", + "tag_format" : "%v%t", + "tag_message" : "Tagged %N %v%{ (trial release)}t", + "time_zone" : "local" + }, + "Dist::Zilla::Role::Git::Repo" : { + "repo_root" : "." + } + }, "name" : "CJM/@Git/Tag", - "version" : "2.005" + "version" : "2.022" }, { "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" : { + "repo_root" : "." + } + }, "name" : "CJM/@Git/Push", - "version" : "2.005" + "version" : "2.022" }, { "class" : "Dist::Zilla::Plugin::TestRelease", "name" : "CJM/TestRelease", - "version" : "4.300029" + "version" : "5.009" }, { "class" : "Dist::Zilla::Plugin::UploadToCPAN", "name" : "CJM/UploadToCPAN", - "version" : "4.300029" + "version" : "5.009" }, { "class" : "Dist::Zilla::Plugin::ArchiveRelease", @@ -197,37 +253,47 @@ { "class" : "Dist::Zilla::Plugin::AutoPrereqs", "name" : "AutoPrereqs", - "version" : "4.300029" + "version" : "5.009" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":InstallModules", - "version" : "4.300029" + "version" : "5.009" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":IncModules", - "version" : "4.300029" + "version" : "5.009" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":TestFiles", - "version" : "4.300029" + "version" : "5.009" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ExecFiles", - "version" : "4.300029" + "version" : "5.009" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ShareFiles", - "version" : "4.300029" + "version" : "5.009" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":MainModule", - "version" : "4.300029" + "version" : "5.009" + }, + { + "class" : "Dist::Zilla::Plugin::FinderCode", + "name" : ":AllFiles", + "version" : "5.009" + }, + { + "class" : "Dist::Zilla::Plugin::FinderCode", + "name" : ":NoFiles", + "version" : "5.009" } ], "zilla" : { @@ -235,7 +301,7 @@ "config" : { "is_trial" : "0" }, - "version" : "4.300029" + "version" : "5.009" } } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/IO-HTML-1.00/META.yml new/IO-HTML-1.001/META.yml --- old/IO-HTML-1.00/META.yml 2013-02-23 21:35:51.000000000 +0100 +++ new/IO-HTML-1.001/META.yml 2014-06-28 19:03:42.000000000 +0200 @@ -9,7 +9,7 @@ configure_requires: ExtUtils::MakeMaker: 6.30 dynamic_config: 0 -generated_by: 'Dist::Zilla version 4.300029, CPAN::Meta::Converter version 2.120921' +generated_by: 'Dist::Zilla version 5.009, CPAN::Meta::Converter version 2.120921' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -22,10 +22,10 @@ perl: 5.008 resources: repository: git://github.com/madsen/io-html.git -version: 1.00 +version: 1.001 x_Dist_Zilla: perl: - version: 5.014002 + version: 5.018002 plugins: - class: Dist::Zilla::Plugin::VersionFromModule @@ -34,105 +34,144 @@ - class: Dist::Zilla::Plugin::GatherDir name: CJM/GatherDir - version: 4.300029 + version: 5.009 - class: Dist::Zilla::Plugin::PruneCruft name: CJM/PruneCruft - version: 4.300029 + version: 5.009 - class: Dist::Zilla::Plugin::ManifestSkip name: CJM/ManifestSkip - version: 4.300029 + version: 5.009 - class: Dist::Zilla::Plugin::MetaJSON name: CJM/MetaJSON - version: 4.300029 + version: 5.009 - class: Dist::Zilla::Plugin::MetaYAML name: CJM/MetaYAML - version: 4.300029 + version: 5.009 - class: Dist::Zilla::Plugin::License name: CJM/License - version: 4.300029 + version: 5.009 - class: Dist::Zilla::Plugin::Test::PrereqsFromMeta name: CJM/Test::PrereqsFromMeta - version: 4.04 + version: 4.21 - class: Dist::Zilla::Plugin::PodSyntaxTests name: CJM/PodSyntaxTests - version: 4.300029 + version: 5.009 - class: Dist::Zilla::Plugin::PodCoverageTests name: CJM/PodCoverageTests - version: 4.300029 - - - class: Dist::Zilla::Plugin::ExtraTests - name: CJM/ExtraTests - version: 4.300029 + version: 5.009 - class: Dist::Zilla::Plugin::PodLoom config: - Pod::Loom version: 0.06 + Pod::Loom version: 0.08 name: CJM/PodLoom - version: 4.10 + version: 5.00 - class: Dist::Zilla::Plugin::MakeMaker name: CJM/MakeMaker - version: 4.300029 + version: 5.009 + - + class: Dist::Zilla::Plugin::RunExtraTests + name: CJM/RunExtraTests + version: 0.011 - class: Dist::Zilla::Plugin::MetaConfig name: CJM/MetaConfig - version: 4.300029 + version: 5.009 - class: Dist::Zilla::Plugin::MatchManifest name: CJM/MatchManifest - version: 4.00 + version: 4.01 - class: Dist::Zilla::Plugin::RecommendedPrereqs name: CJM/RecommendedPrereqs - version: 4.06 + version: 4.21 - class: Dist::Zilla::Plugin::CheckPrereqsIndexed name: CJM/CheckPrereqsIndexed - version: 0.006 + version: 0.009 - class: Dist::Zilla::Plugin::GitVersionCheckCJM name: CJM/GitVersionCheckCJM - version: 4.03 + version: 4.13 - class: Dist::Zilla::Plugin::TemplateCJM name: CJM/TemplateCJM - version: 4.12 + version: 4.22 - class: Dist::Zilla::Plugin::Repository name: CJM/Repository - version: 0.18 + version: 0.19 - 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: + repo_root: '.' name: CJM/@Git/Check - version: 2.005 + version: 2.022 - 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' + time_zone: local + Dist::Zilla::Role::Git::DirtyFiles: + allow_dirty: + - Changes + allow_dirty_match: [] + changelog: Changes + Dist::Zilla::Role::Git::Repo: + repo_root: '.' name: CJM/@Git/Commit - version: 2.005 + version: 2.022 - class: Dist::Zilla::Plugin::Git::Tag + config: + Dist::Zilla::Plugin::Git::Tag: + branch: ~ + signed: 0 + tag: 1.001 + tag_format: '%v%t' + tag_message: 'Tagged %N %v%{ (trial release)}t' + time_zone: local + Dist::Zilla::Role::Git::Repo: + repo_root: '.' name: CJM/@Git/Tag - version: 2.005 + version: 2.022 - 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: + repo_root: '.' name: CJM/@Git/Push - version: 2.005 + version: 2.022 - class: Dist::Zilla::Plugin::TestRelease name: CJM/TestRelease - version: 4.300029 + version: 5.009 - class: Dist::Zilla::Plugin::UploadToCPAN name: CJM/UploadToCPAN - version: 4.300029 + version: 5.009 - class: Dist::Zilla::Plugin::ArchiveRelease name: CJM/ArchiveRelease @@ -140,33 +179,41 @@ - class: Dist::Zilla::Plugin::AutoPrereqs name: AutoPrereqs - version: 4.300029 + version: 5.009 - class: Dist::Zilla::Plugin::FinderCode name: ':InstallModules' - version: 4.300029 + version: 5.009 - class: Dist::Zilla::Plugin::FinderCode name: ':IncModules' - version: 4.300029 + version: 5.009 - class: Dist::Zilla::Plugin::FinderCode name: ':TestFiles' - version: 4.300029 + version: 5.009 - class: Dist::Zilla::Plugin::FinderCode name: ':ExecFiles' - version: 4.300029 + version: 5.009 - class: Dist::Zilla::Plugin::FinderCode name: ':ShareFiles' - version: 4.300029 + version: 5.009 - class: Dist::Zilla::Plugin::FinderCode name: ':MainModule' - version: 4.300029 + version: 5.009 + - + class: Dist::Zilla::Plugin::FinderCode + name: ':AllFiles' + version: 5.009 + - + class: Dist::Zilla::Plugin::FinderCode + name: ':NoFiles' + version: 5.009 zilla: class: Dist::Zilla::Dist::Builder config: is_trial: 0 - version: 4.300029 + version: 5.009 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/IO-HTML-1.00/Makefile.PL new/IO-HTML-1.001/Makefile.PL --- old/IO-HTML-1.00/Makefile.PL 2013-02-23 21:35:51.000000000 +0100 +++ new/IO-HTML-1.001/Makefile.PL 2014-06-28 19:03:42.000000000 +0200 @@ -1,4 +1,5 @@ +# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v5.009. use strict; use warnings; @@ -11,11 +12,7 @@ my %WriteMakefileArgs = ( "ABSTRACT" => "Open an HTML file with automatic charset detection", "AUTHOR" => "Christopher J. Madsen <perl\@cjmweb.net>", - "BUILD_REQUIRES" => { - "File::Temp" => 0, - "Scalar::Util" => 0, - "Test::More" => "0.88" - }, + "BUILD_REQUIRES" => {}, "CONFIGURE_REQUIRES" => { "ExtUtils::MakeMaker" => "6.30" }, @@ -28,24 +25,32 @@ "Encode" => "2.10", "Exporter" => "5.57" }, - "VERSION" => "1.00", + "TEST_REQUIRES" => { + "File::Temp" => 0, + "Scalar::Util" => 0, + "Test::More" => "0.88" + }, + "VERSION" => "1.001", "test" => { "TESTS" => "t/*.t" } ); -unless ( eval { ExtUtils::MakeMaker->VERSION(6.56) } ) { - my $br = delete $WriteMakefileArgs{BUILD_REQUIRES}; - my $pp = $WriteMakefileArgs{PREREQ_PM}; - for my $mod ( keys %$br ) { - if ( exists $pp->{$mod} ) { - $pp->{$mod} = $br->{$mod} if $br->{$mod} > $pp->{$mod}; - } - else { - $pp->{$mod} = $br->{$mod}; - } - } +my %FallbackPrereqs = ( + "Carp" => 0, + "Encode" => "2.10", + "Exporter" => "5.57", + "File::Temp" => 0, + "Scalar::Util" => 0, + "Test::More" => "0.88" +); + + +unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) { + delete $WriteMakefileArgs{TEST_REQUIRES}; + delete $WriteMakefileArgs{BUILD_REQUIRES}; + $WriteMakefileArgs{PREREQ_PM} = \%FallbackPrereqs; } delete $WriteMakefileArgs{CONFIGURE_REQUIRES} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/IO-HTML-1.00/README new/IO-HTML-1.001/README --- old/IO-HTML-1.00/README 2013-02-23 21:35:51.000000000 +0100 +++ new/IO-HTML-1.001/README 2014-06-28 19:03:42.000000000 +0200 @@ -1,4 +1,4 @@ -IO-HTML version 1.00, released February 23, 2013 +IO-HTML version 1.001, released June 28, 2014 This module opens a file and performs automatic charset detection @@ -30,17 +30,17 @@ CHANGES - Here's what's new in version 1.00 of IO-HTML: + Here's what's new in version 1.001 of IO-HTML: (See the file "Changes" for the full revision history.) - No code changes, just documentation improvements - - Document filehandle position set by sniff_encoding + - Update links to the HTML5 draft specification COPYRIGHT AND LICENSE -This software is copyright (c) 2013 by Christopher J. Madsen. +This software is copyright (c) 2014 by Christopher J. Madsen. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/IO-HTML-1.00/lib/IO/HTML.pm new/IO-HTML-1.001/lib/IO/HTML.pm --- old/IO-HTML-1.00/lib/IO/HTML.pm 2013-02-23 21:35:51.000000000 +0100 +++ new/IO-HTML-1.001/lib/IO/HTML.pm 2014-06-28 19:03:42.000000000 +0200 @@ -1,7 +1,7 @@ #--------------------------------------------------------------------- package IO::HTML; # -# Copyright 2012 Christopher J. Madsen +# Copyright 2014 Christopher J. Madsen # # Author: Christopher J. Madsen <[email protected]> # Created: 14 Jan 2012 @@ -25,8 +25,8 @@ use Encode 2.10 qw(decode find_encoding); # need utf-8-strict encoding use Exporter 5.57 'import'; -our $VERSION = '1.00'; -# This file is part of IO-HTML 1.00 (February 23, 2013) +our $VERSION = '1.001'; +# This file is part of IO-HTML 1.001 (June 28, 2014) our $default_encoding ||= 'cp1252'; @@ -155,7 +155,7 @@ } # end sniff_encoding #===================================================================== -# Based on HTML5 8.2.2.1 Determining the character encoding: +# Based on HTML5 8.2.2.2 Determining the character encoding: # Get attribute from current position of $_ sub _get_attribute @@ -264,8 +264,8 @@ =head1 VERSION -This document describes version 1.00 of -IO::HTML, released February 23, 2013. +This document describes version 1.001 of +IO::HTML, released June 28, 2014. =head1 SYNOPSIS @@ -284,7 +284,7 @@ IO::HTML provides an easy way to open a file containing HTML while automatically determining its encoding. It uses the HTML5 encoding -sniffing algorithm specified in section 8.2.2.1 of the draft standard. +sniffing algorithm specified in section 8.2.2.2 of the draft standard. The algorithm as implemented here is: @@ -479,8 +479,8 @@ =head1 SEE ALSO -The HTML5 specification, section 8.2.2.1 Determining the character encoding: -L<http://www.w3.org/TR/html5/parsing.html#determining-the-character-encoding> +The HTML5 specification, section 8.2.2.2 Determining the character encoding: +L<http://www.w3.org/TR/html5/syntax.html#determining-the-character-encoding> =head1 DIAGNOSTICS @@ -540,11 +540,11 @@ L<< http://rt.cpan.org/Public/Bug/Report.html?Queue=IO-HTML >>. You can follow or contribute to IO-HTML's development at -L<< http://github.com/madsen/io-html >>. +L<< https://github.com/madsen/io-html >>. =head1 COPYRIGHT AND LICENSE -This software is copyright (c) 2013 by Christopher J. Madsen. +This software is copyright (c) 2014 by Christopher J. Madsen. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/IO-HTML-1.00/t/00-all_prereqs.t new/IO-HTML-1.001/t/00-all_prereqs.t --- old/IO-HTML-1.00/t/00-all_prereqs.t 2013-02-23 21:35:51.000000000 +0100 +++ new/IO-HTML-1.001/t/00-all_prereqs.t 2014-06-28 19:03:42.000000000 +0200 @@ -48,6 +48,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,7 +60,10 @@ 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'; '$prereq'->VERSION($version); 1" + : eval "require $prereq; $prereq->VERSION($version); 1"; if ($rel eq 'requires') { ok($loaded, "loaded $prereq $version") or printf STDERR "\n# Got: %s %s\n# Wanted: %s %s\n", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/IO-HTML-1.00/t/release-pod-coverage.t new/IO-HTML-1.001/t/release-pod-coverage.t --- old/IO-HTML-1.00/t/release-pod-coverage.t 2013-02-23 21:35:51.000000000 +0100 +++ new/IO-HTML-1.001/t/release-pod-coverage.t 1970-01-01 01:00:00.000000000 +0100 @@ -1,21 +0,0 @@ -#!perl - -BEGIN { - unless ($ENV{RELEASE_TESTING}) { - require Test::More; - Test::More::plan(skip_all => 'these tests are for release candidate testing'); - } -} - - -use Test::More; - -eval "use Test::Pod::Coverage 1.08"; -plan skip_all => "Test::Pod::Coverage 1.08 required for testing POD coverage" - if $@; - -eval "use Pod::Coverage::TrustPod"; -plan skip_all => "Pod::Coverage::TrustPod required for testing POD coverage" - if $@; - -all_pod_coverage_ok({ coverage_class => 'Pod::Coverage::TrustPod' }); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/IO-HTML-1.00/t/release-pod-syntax.t new/IO-HTML-1.001/t/release-pod-syntax.t --- old/IO-HTML-1.00/t/release-pod-syntax.t 2013-02-23 21:35:51.000000000 +0100 +++ new/IO-HTML-1.001/t/release-pod-syntax.t 1970-01-01 01:00:00.000000000 +0100 @@ -1,15 +0,0 @@ -#!perl - -BEGIN { - unless ($ENV{RELEASE_TESTING}) { - require Test::More; - Test::More::plan(skip_all => 'these tests are for release candidate testing'); - } -} - -use Test::More; - -eval "use Test::Pod 1.41"; -plan skip_all => "Test::Pod 1.41 required for testing POD" if $@; - -all_pod_files_ok(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/IO-HTML-1.00/xt/release/pod-coverage.t new/IO-HTML-1.001/xt/release/pod-coverage.t --- old/IO-HTML-1.00/xt/release/pod-coverage.t 1970-01-01 01:00:00.000000000 +0100 +++ new/IO-HTML-1.001/xt/release/pod-coverage.t 2014-06-28 19:03:42.000000000 +0200 @@ -0,0 +1,14 @@ +#!perl +# This file was automatically generated by Dist::Zilla::Plugin::PodCoverageTests. + +use Test::More; + +eval "use Test::Pod::Coverage 1.08"; +plan skip_all => "Test::Pod::Coverage 1.08 required for testing POD coverage" + if $@; + +eval "use Pod::Coverage::TrustPod"; +plan skip_all => "Pod::Coverage::TrustPod required for testing POD coverage" + if $@; + +all_pod_coverage_ok({ coverage_class => 'Pod::Coverage::TrustPod' }); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/IO-HTML-1.00/xt/release/pod-syntax.t new/IO-HTML-1.001/xt/release/pod-syntax.t --- old/IO-HTML-1.00/xt/release/pod-syntax.t 1970-01-01 01:00:00.000000000 +0100 +++ new/IO-HTML-1.001/xt/release/pod-syntax.t 2014-06-28 19:03:42.000000000 +0200 @@ -0,0 +1,8 @@ +#!perl +# This file was automatically generated by Dist::Zilla::Plugin::PodSyntaxTests. +use Test::More; + +eval "use Test::Pod 1.41"; +plan skip_all => "Test::Pod 1.41 required for testing POD" if $@; + +all_pod_files_ok();
