Hello community,
here is the log from the commit of package perl-Test-WWW-Mechanize for
openSUSE:Factory checked in at 2020-12-11 20:16:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Test-WWW-Mechanize (Old)
and /work/SRC/openSUSE:Factory/.perl-Test-WWW-Mechanize.new.2328 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Test-WWW-Mechanize"
Fri Dec 11 20:16:55 2020 rev:11 rq:854849 version:1.54
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-Test-WWW-Mechanize/perl-Test-WWW-Mechanize.changes
2018-12-12 17:27:49.930926522 +0100
+++
/work/SRC/openSUSE:Factory/.perl-Test-WWW-Mechanize.new.2328/perl-Test-WWW-Mechanize.changes
2020-12-11 20:16:57.936665851 +0100
@@ -1,0 +2,17 @@
+Fri Dec 11 03:08:55 UTC 2020 - Tina Müller <[email protected]>
+
+- updated to 1.54
+ see /usr/share/doc/packages/perl-Test-WWW-Mechanize/Changes
+
+
+ 1.54 Tue Dec 8 23:25:06 CST 2020
+ ------------------------------------
+ [ENHANCEMENTS]
+ Use ok() instead of cmp_ok() inside of lacks_uncapped_inputs().
+ This output makes more sense.
+ lacks_uncapped_inputs() now has a a default message if one isn't supplied.
+ [FIXES]
+ Fixed the subtest name inside of C<lacks_ids_ok>.
+ Fixed the minimum version of Carp::Assert::More in Makefile.PL.
+
+-------------------------------------------------------------------
Old:
----
Test-WWW-Mechanize-1.52.tar.gz
New:
----
Test-WWW-Mechanize-1.54.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Test-WWW-Mechanize.spec ++++++
--- /var/tmp/diff_new_pack.5wQZ07/_old 2020-12-11 20:16:58.768666196 +0100
+++ /var/tmp/diff_new_pack.5wQZ07/_new 2020-12-11 20:16:58.772666197 +0100
@@ -1,7 +1,7 @@
#
# spec file for package perl-Test-WWW-Mechanize
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,20 +17,20 @@
Name: perl-Test-WWW-Mechanize
-Version: 1.52
+Version: 1.54
Release: 0
%define cpan_name Test-WWW-Mechanize
Summary: Testing-specific WWW::Mechanize subclass
License: Artistic-2.0
Group: Development/Libraries/Perl
-Url: https://metacpan.org/release/%{cpan_name}
+URL: https://metacpan.org/release/%{cpan_name}
Source0:
https://cpan.metacpan.org/authors/id/P/PE/PETDANCE/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
-BuildRequires: perl(Carp::Assert::More)
+BuildRequires: perl(Carp::Assert::More) >= 1.16
BuildRequires: perl(HTML::Form)
BuildRequires: perl(HTML::TokeParser)
BuildRequires: perl(HTTP::Server::Simple) >= 0.42
@@ -42,7 +42,7 @@
BuildRequires: perl(URI::file)
BuildRequires: perl(WWW::Mechanize) >= 1.68
BuildRequires: perl(parent)
-Requires: perl(Carp::Assert::More)
+Requires: perl(Carp::Assert::More) >= 1.16
Requires: perl(HTML::Form)
Requires: perl(HTML::TokeParser)
Requires: perl(HTTP::Server::Simple) >= 0.42
++++++ Test-WWW-Mechanize-1.52.tar.gz -> Test-WWW-Mechanize-1.54.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-WWW-Mechanize-1.52/Changes
new/Test-WWW-Mechanize-1.54/Changes
--- old/Test-WWW-Mechanize-1.52/Changes 2018-12-05 17:02:19.000000000 +0100
+++ new/Test-WWW-Mechanize-1.54/Changes 2020-12-09 06:25:19.000000000 +0100
@@ -4,6 +4,21 @@
bug tracking. They are now being tracked via GitHub at
https://github.com/petdance/test-www-mechanize/issues
+
+1.54 Tue Dec 8 23:25:06 CST 2020
+------------------------------------
+[ENHANCEMENTS]
+Use ok() instead of cmp_ok() inside of lacks_uncapped_inputs().
+This output makes more sense.
+
+lacks_uncapped_inputs() now has a a default message if one isn't supplied.
+
+[FIXES]
+Fixed the subtest name inside of C<lacks_ids_ok>.
+
+Fixed the minimum version of Carp::Assert::More in Makefile.PL.
+
+
1.52 Wed Dec 5 10:00:56 CST 2018
------------------------------------
[ENHANCEMENTS]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-WWW-Mechanize-1.52/META.json
new/Test-WWW-Mechanize-1.54/META.json
--- old/Test-WWW-Mechanize-1.52/META.json 2018-12-05 17:02:26.000000000
+0100
+++ new/Test-WWW-Mechanize-1.54/META.json 2020-12-09 06:25:32.000000000
+0100
@@ -4,13 +4,13 @@
"Andy Lester <[email protected]>"
],
"dynamic_config" : 1,
- "generated_by" : "ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter
version 2.150010",
+ "generated_by" : "ExtUtils::MakeMaker version 7.16, CPAN::Meta::Converter
version 2.150005",
"license" : [
"artistic_2"
],
"meta-spec" : {
"url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
- "version" : 2
+ "version" : "2"
},
"name" : "Test-WWW-Mechanize",
"no_index" : {
@@ -33,7 +33,7 @@
"runtime" : {
"requires" : {
"Carp" : "0",
- "Carp::Assert::More" : "0",
+ "Carp::Assert::More" : "1.16",
"HTML::Form" : "0",
"HTML::TokeParser" : "0",
"HTTP::Server::Simple" : "0.42",
@@ -56,12 +56,12 @@
},
"homepage" : "https://github.com/petdance/test-www-mechanize",
"license" : [
- "http://www.opensource.org/licenses/artistic-license-2.0"
+ "https://opensource.org/licenses/artistic-license-2.0"
],
"repository" : {
"url" : "https://github.com/petdance/test-www-mechanize"
}
},
- "version" : "1.52",
- "x_serialization_backend" : "JSON::PP version 2.97001"
+ "version" : "1.54",
+ "x_serialization_backend" : "JSON::PP version 2.27400"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-WWW-Mechanize-1.52/META.yml
new/Test-WWW-Mechanize-1.54/META.yml
--- old/Test-WWW-Mechanize-1.52/META.yml 2018-12-05 17:02:25.000000000
+0100
+++ new/Test-WWW-Mechanize-1.54/META.yml 2020-12-09 06:25:32.000000000
+0100
@@ -7,7 +7,7 @@
configure_requires:
ExtUtils::MakeMaker: '0'
dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter version
2.150010'
+generated_by: 'ExtUtils::MakeMaker version 7.16, CPAN::Meta::Converter version
2.150005'
license: artistic_2
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -19,7 +19,7 @@
- inc
requires:
Carp: '0'
- Carp::Assert::More: '0'
+ Carp::Assert::More: '1.16'
HTML::Form: '0'
HTML::TokeParser: '0'
HTTP::Server::Simple: '0.42'
@@ -35,7 +35,7 @@
resources:
bugtracker: https://github.com/petdance/test-www-mechanize/issues
homepage: https://github.com/petdance/test-www-mechanize
- license: http://www.opensource.org/licenses/artistic-license-2.0
+ license: https://opensource.org/licenses/artistic-license-2.0
repository: https://github.com/petdance/test-www-mechanize
-version: '1.52'
-x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
+version: '1.54'
+x_serialization_backend: 'CPAN::Meta::YAML version 0.012'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-WWW-Mechanize-1.52/Makefile.PL
new/Test-WWW-Mechanize-1.54/Makefile.PL
--- old/Test-WWW-Mechanize-1.52/Makefile.PL 2018-12-04 18:43:18.000000000
+0100
+++ new/Test-WWW-Mechanize-1.54/Makefile.PL 2020-12-09 06:24:21.000000000
+0100
@@ -11,7 +11,7 @@
PREREQ_PM => {
'parent' => 0,
'Carp' => 0,
- 'Carp::Assert::More' => 0,
+ 'Carp::Assert::More' => '1.16',
'HTML::Form' => 0,
'HTTP::Server::Simple' => '0.42',
'HTTP::Server::Simple::CGI' => 0,
@@ -34,7 +34,7 @@
if ( $ExtUtils::MakeMaker::VERSION ge '6.46' ) {
$parms->{META_MERGE} = {
resources => {
- license =>
'http://www.opensource.org/licenses/artistic-license-2.0',
+ license =>
'https://opensource.org/licenses/artistic-license-2.0',
homepage => 'https://github.com/petdance/test-www-mechanize',
bugtracker =>
'https://github.com/petdance/test-www-mechanize/issues',
repository => 'https://github.com/petdance/test-www-mechanize',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-WWW-Mechanize-1.52/Mechanize.pm
new/Test-WWW-Mechanize-1.54/Mechanize.pm
--- old/Test-WWW-Mechanize-1.52/Mechanize.pm 2018-12-05 17:02:19.000000000
+0100
+++ new/Test-WWW-Mechanize-1.54/Mechanize.pm 2020-12-09 06:24:55.000000000
+0100
@@ -9,11 +9,11 @@
=head1 VERSION
-Version 1.52
+Version 1.54
=cut
-our $VERSION = '1.52';
+our $VERSION = '1.54';
=head1 SYNOPSIS
@@ -978,7 +978,7 @@
When your page contains HTML which is difficult, unimportant, or
unlikely to match over time as designers alter markup, use
-C<text_contains> instead of L</content_contains>.
+C<text_contains> instead of C<content_contains>.
# <b>Hi, <i><a href="some/path">User</a></i>!</b>
$mech->content_contains('Hi, User'); # Fails.
@@ -1754,7 +1754,7 @@
assert_arrayref( $ids );
- my $subtest_name = 'lacks_id_ok( [' . join( ', ', @{$ids} ) . ']';
+ my $subtest_name = 'lacks_ids_ok( [' . join( ', ', @{$ids} ) . ']';
$subtest_name .= ", $msg" if defined $msg;
$subtest_name .= ' )';
@@ -2152,6 +2152,8 @@
my $self = shift;
my $comment = shift;
+ $comment = 'All text inputs should have maxlength attributes' unless
defined($comment);
+
local $Test::Builder::Level = $Test::Builder::Level + 1;
my @uncapped;
@@ -2172,7 +2174,7 @@
}
}
- my $ok = $TB->cmp_ok( scalar @uncapped, '==', 0, $comment );
+ my $ok = $TB->ok( @uncapped == 0, $comment );
$TB->diag( $_ ) for @uncapped;
return $ok;
@@ -2207,10 +2209,6 @@
L<https://github.com/petdance/test-www-mechanize>
-=item * AnnoCPAN: Annotated CPAN documentation
-
-L<http://annocpan.org/dist/Test-WWW-Mechanize>
-
=item * CPAN Ratings
L<http://cpanratings.perl.org/d/Test-WWW-Mechanize>
@@ -2245,7 +2243,7 @@
=head1 COPYRIGHT & LICENSE
-Copyright 2004-2018 Andy Lester.
+Copyright 2004-2020 Andy Lester.
This library is free software; you can redistribute it and/or modify it
under the terms of the Artistic License version 2.0.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-WWW-Mechanize-1.52/t/autotidy.t
new/Test-WWW-Mechanize-1.54/t/autotidy.t
--- old/Test-WWW-Mechanize-1.52/t/autotidy.t 2018-12-04 19:32:26.000000000
+0100
+++ new/Test-WWW-Mechanize-1.54/t/autotidy.t 2020-12-09 06:24:21.000000000
+0100
@@ -127,24 +127,22 @@
# Test via get_ok
test_out( "not ok 1 - GET $uri" );
- test_fail( +7 );
+ test_fail( +6 );
test_err( "# HTML::Tidy5 messages for $uri" );
test_err( '# (1:1) Warning: missing <!DOCTYPE> declaration' );
test_err( '# (8:33) Warning: discarding unexpected </b>' );
test_err( '# (8:9) Warning: missing </a>' );
- #test_err( '# (7:9) Warning: <a> proprietary attribute "hrex"' );
test_err( '# 3 messages on the page' );
$mech->get_ok( $uri, "GET $uri" );
test_test( 'get_ok complains about bad HTML' );
# Test via follow_link_ok
test_out( 'not ok 1 - Following link back to bad.html' );
- test_fail( +7 );
+ test_fail( +6 );
test_err( "# HTML::Tidy5 messages for $uri" );
test_err( '# (1:1) Warning: missing <!DOCTYPE> declaration' );
test_err( '# (8:33) Warning: discarding unexpected </b>' );
test_err( '# (8:9) Warning: missing </a>' );
- #test_err( '# (7:9) Warning: <a> proprietary attribute "hrex"' );
test_err( '# 3 messages on the page' );
$mech->follow_link_ok( { text => 'Back to bad' }, 'Following link back to
bad.html' );
test_test( 'follow_link_ok complains about bad HTML' );
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-WWW-Mechanize-1.52/t/lacks_uncapped_inputs.t
new/Test-WWW-Mechanize-1.54/t/lacks_uncapped_inputs.t
--- old/Test-WWW-Mechanize-1.52/t/lacks_uncapped_inputs.t 2016-07-09
04:56:03.000000000 +0200
+++ new/Test-WWW-Mechanize-1.54/t/lacks_uncapped_inputs.t 2020-12-09
06:24:21.000000000 +0100
@@ -26,9 +26,7 @@
$mech->get_ok( $uri ) or die;
test_out( 'not ok 1 - This should have three errors found' );
- test_fail( +6 );
- test_diag( q{ got: 3} );
- test_diag( q{ expected: 0} );
+ test_fail( +4 );
test_diag( q{foo has no maxlength attribute} );
test_diag( q{quux has an invalid maxlength attribute of "dogs"} );
test_diag( q{crunchy has an invalid maxlength attribute of "-1"} );
_______________________________________________
openSUSE Commits mailing list -- [email protected]
To unsubscribe, email [email protected]
List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette
List Archives:
https://lists.opensuse.org/archives/list/[email protected]