Skip to content

Commit ce35c2e

Browse files
michal-josef-spaceksimbabque
authored andcommitted
Remove dependency to IO::Uncompress::Bunzip2
Was replaced by Compress::Raw::Bzip2
1 parent f483c2c commit ce35c2e

7 files changed

Lines changed: 4 additions & 8 deletions

File tree

Changes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
Revision history for HTTP-Message
22

33
{{$NEXT}}
4+
- Remove dependency to IO::Uncompress::Bunzip2. (Michal Josef Spacek)
45
- Remove dependency to IO::Uncompress::Gunzip. (Michal Josef Spacek)
56

67
6.42 2022-10-18 13:53:22Z

META.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@
6363
"IO::Compress::Deflate" : "0",
6464
"IO::Compress::Gzip" : "0",
6565
"IO::HTML" : "0",
66-
"IO::Uncompress::Bunzip2" : "2.021",
6766
"IO::Uncompress::Inflate" : "0",
6867
"IO::Uncompress::RawInflate" : "0",
6968
"LWP::MediaTypes" : "6",

Makefile.PL

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ my %WriteMakefileArgs = (
2929
"IO::Compress::Deflate" => 0,
3030
"IO::Compress::Gzip" => 0,
3131
"IO::HTML" => 0,
32-
"IO::Uncompress::Bunzip2" => "2.021",
3332
"IO::Uncompress::Inflate" => 0,
3433
"IO::Uncompress::RawInflate" => 0,
3534
"LWP::MediaTypes" => 6,
@@ -75,7 +74,6 @@ my %FallbackPrereqs = (
7574
"IO::Compress::Deflate" => 0,
7675
"IO::Compress::Gzip" => 0,
7776
"IO::HTML" => 0,
78-
"IO::Uncompress::Bunzip2" => "2.021",
7977
"IO::Uncompress::Inflate" => 0,
8078
"IO::Uncompress::RawInflate" => 0,
8179
"LWP::MediaTypes" => 6,

cpanfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ requires "IO::Compress::Bzip2" => "2.021";
1313
requires "IO::Compress::Deflate" => "0";
1414
requires "IO::Compress::Gzip" => "0";
1515
requires "IO::HTML" => "0";
16-
requires "IO::Uncompress::Bunzip2" => "2.021";
1716
requires "IO::Uncompress::Inflate" => "0";
1817
requires "IO::Uncompress::RawInflate" => "0";
1918
requires "LWP::MediaTypes" => "6";

dist.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ HTTP::Date = 6
1818
IO::Compress::Brotli = 0.004001
1919
IO::Compress::Bzip2 = 2.021
2020
IO::Uncompress::Brotli = 0.004001
21-
IO::Uncompress::Bunzip2 = 2.021
2221
LWP::MediaTypes = 6
2322
MIME::Base64 = 2.1
2423
perl = 5.008001

lib/HTTP/Message.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ sub decodable
502502
push(@enc, "deflate");
503503
};
504504
eval {
505-
require IO::Uncompress::Bunzip2;
505+
require Compress::Raw::Bzip2;
506506
push(@enc, "x-bzip2", "bzip2");
507507
};
508508
eval {

t/message.t

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ is($m->decoded_content, "Hello World!");
500500
ok(!$m->header("Client-Warning"));
501501

502502

503-
if (eval "require IO::Uncompress::Bunzip2") {
503+
if (eval "require Compress::Raw::Bzip2") {
504504
for my $encoding (qw/x-bzip2 bzip2/) {
505505
$m = HTTP::Message->new([
506506
"Content-Type" => "text/plain",
@@ -531,7 +531,7 @@ if (eval "require IO::Uncompress::Bunzip2") {
531531
}
532532
}
533533
else {
534-
skip("Need IO::Uncompress::Bunzip2", undef) for 1..18;
534+
skip("Need Compress::Raw::Bzip2", undef) for 1..18;
535535
}
536536

537537
# test decoding of XML content

0 commit comments

Comments
 (0)