Subject: | please use Digest::SHA instead of Digest::SHA1 |
Hi
Attached patch changes the module to use Digest::SHA instead of
Digest::SHA1. Digest::SHA is part of the standard perl distribution
since perl v5.9.3 so this reduces the number of external
dependencies by one.
Please consider applying it for the next release.
Florian
--- a/META.yml
+++ b/META.yml
@@ -24,7 +24,7 @@
requires:
Carp: 0
Digest::MD5: 0
- Digest::SHA1: 0
+ Digest::SHA: 0
HTTP::LRDD: 0.104
HTTP::Link::Parser: 0.102
JSON: 2.00
--- a/lib/WWW/Finger/Fingerpoint.pm
+++ b/lib/WWW/Finger/Fingerpoint.pm
@@ -5,7 +5,7 @@
use utf8;
use Carp 0;
-use Digest::SHA1 0 qw[sha1_hex];
+use Digest::SHA 0 qw[sha1_hex];
use HTTP::Link::Parser 0.102 qw[:standard];
use LWP::UserAgent 0;
use RDF::Query::Client 0.106;
--- a/lib/WWW/Finger/_GenericRDF.pm
+++ b/lib/WWW/Finger/_GenericRDF.pm
@@ -7,7 +7,7 @@
use common::sense;
use utf8;
-use Digest::SHA1 0 qw(sha1_hex);
+use Digest::SHA 0 qw(sha1_hex);
use HTTP::Link::Parser 0.102 qw();
use LWP::UserAgent 0;
use RDF::Query 2.900;
--- a/meta/makefile.ttl
+++ b/meta/makefile.ttl
@@ -17,7 +17,7 @@
"parent",
"Carp",
"Digest::MD5",
- "Digest::SHA1",
+ "Digest::SHA",
"HTTP::Link::Parser 0.102",
"HTTP::LRDD 0.104",
"JSON 2.00",