Debian Codegraph @

debian/patches/drop-www-mechanize-decodedcontent.patch

raw symbols SCIP
1 Descriptionscip-debian debian libwww-mechanize-autopager-perl 0.02-3 libwww-mechanize-autopager-perl/patches/`drop-www-mechanize-decodedcontent.patch`#Description.: drop WWW::Mechanize::DecodedContent, WWW::Mechanize's content() decodes since 1.50
2 Originscip-debian debian libwww-mechanize-autopager-perl 0.02-3 libwww-mechanize-autopager-perl/patches/`drop-www-mechanize-decodedcontent.patch`#Origin.: vendor
3 Bug-Debianscip-debian debian libwww-mechanize-autopager-perl 0.02-3 libwww-mechanize-autopager-perl/patches/`drop-www-mechanize-decodedcontent.patch`#Bug-Debian.: https://bugs.debian.org/636690scip-debian-bts debian-bts . . 636690:
4 Forwardedscip-debian debian libwww-mechanize-autopager-perl 0.02-3 libwww-mechanize-autopager-perl/patches/`drop-www-mechanize-decodedcontent.patch`#Forwarded.: no
5 Authorscip-debian debian libwww-mechanize-autopager-perl 0.02-3 libwww-mechanize-autopager-perl/patches/`drop-www-mechanize-decodedcontent.patch`#Author.: gregor herrmann <[email protected]scip-debian . . . identity/`[email protected]`.>
6
7 --- a/META.ymlscip-debian debian libwww-mechanize-autopager-perl 0.02-3 libwww-mechanize-autopager-perl/upstream/`META.yml`:
8 +++ b/META.ymlscip-debian debian libwww-mechanize-autopager-perl 0.02-3 libwww-mechanize-autopager-perl/upstream/`META.yml`:
9 @@ -18,7 +18,6 @@
10 requires:
11 HTML::AutoPagerize: 0
12 JSON: 2.09
13 - WWW::Mechanize: 0
14 - WWW::Mechanize::DecodedContent: 0
15 + WWW::Mechanize: 1.50
16 perl: 5.8.1
17 version: 0.02
18 --- a/Makefile.PLscip-debian debian libwww-mechanize-autopager-perl 0.02-3 libwww-mechanize-autopager-perl/upstream/`Makefile.PL`:
19 +++ b/Makefile.PLscip-debian debian libwww-mechanize-autopager-perl 0.02-3 libwww-mechanize-autopager-perl/upstream/`Makefile.PL`:
20 @@ -3,8 +3,7 @@
21 all_from 'lib/WWW/Mechanize/AutoPager.pm';
22
23 requires 'HTML::AutoPagerize';
24 -requires 'WWW::Mechanize';
25 -requires 'WWW::Mechanize::DecodedContent';
26 +requires 'WWW::Mechanize' => '1.50';
27 requires 'JSON' => 2.09;
28
29 build_requires 'Test::More';
30 --- a/lib/WWW/Mechanize/AutoPager.pmscip-debian debian libwww-mechanize-autopager-perl 0.02-3 libwww-mechanize-autopager-perl/upstream/`lib/WWW/Mechanize/AutoPager.pm`:
31 +++ b/lib/WWW/Mechanize/AutoPager.pmscip-debian debian libwww-mechanize-autopager-perl 0.02-3 libwww-mechanize-autopager-perl/upstream/`lib/WWW/Mechanize/AutoPager.pm`:
32 @@ -6,7 +6,7 @@
33
34 use HTML::AutoPagerize;
35 use Scalar::Util qw( weaken );
36 -use WWW::Mechanize::DecodedContent;
37 +use WWW::Mechanize;
38 use JSON;
39
40 sub WWW::Mechanize::autopager {
41 @@ -72,7 +72,7 @@
42 sub next_link {
43 my $self = shift;
44
45 - my $res = $self->{autopager}->handle($self->{mech}->uri, $self->{mech}->decoded_content)
46 + my $res = $self->{autopager}->handle($self->{mech}->uri, $self->{mech}->content)
47 or return;
48
49 return $res->{next_link};
50 @@ -81,7 +81,7 @@
51 sub page_element {
52 my $self = shift;
53
54 - my $res = $self->{autopager}->handle($self->{mech}->uri, $self->{mech}->decoded_content)
55 + my $res = $self->{autopager}->handle($self->{mech}->uri, $self->{mech}->content)
56 or return;
57
58 return $res->{page_element};