File: replace_digest-sha1_with_digest-sha

package info (click to toggle)
libanyevent-feed-perl 0.3-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 152 kB
  • sloc: perl: 165; makefile: 2
file content (41 lines) | stat: -rw-r--r-- 2,188 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
Description: Use Digest::SHA core Perl module in lieu of Digest::SHA1
Author: Nick Morrott <knowledgejunkie@gmail.com>
Bug: https://rt.cpan.org/Public/Bug/Display.html?id=112963
Last-Update: 2016-03-12
---
--- a/lib/AnyEvent/Feed.pm
+++ b/lib/AnyEvent/Feed.pm
@@ -7,7 +7,7 @@
 use XML::Feed;
 use MIME::Base64;
 use AnyEvent::HTTP;
-use Digest::SHA1 qw/sha1_base64/;
+use Digest::SHA qw/sha1_base64/;
 use Scalar::Util qw/weaken/;
 
 our $VERSION = '0.3';
--- a/META.json
+++ b/META.json
@@ -1 +1 @@
-{"no_index":{"directory":["t","inc"]},"meta-spec":{"version":1.4,"url":"http://module-build.sourceforge.net/META-spec-v1.4.html"},"generated_by":"ExtUtils::MakeMaker version 6.56","distribution_type":"module","version":"0.3","name":"AnyEvent-Feed","author":["Robin Redeker <elmex@x-paste.de>"],"license":"perl","build_requires":{"ExtUtils::MakeMaker":0},"requires":{"Scalar::Util":0,"Test::More":0,"AnyEvent":3.5,"XML::Feed":0,"Digest::SHA1":0,"MIME::Base64":0,"AnyEvent::HTTP":0,"Encode":0},"abstract":"Receiving RSS/Atom Feed reader with XML::Feed","configure_requires":{"ExtUtils::MakeMaker":0}}
+{"no_index":{"directory":["t","inc"]},"meta-spec":{"version":1.4,"url":"http://module-build.sourceforge.net/META-spec-v1.4.html"},"generated_by":"ExtUtils::MakeMaker version 6.56","distribution_type":"module","version":"0.3","name":"AnyEvent-Feed","author":["Robin Redeker <elmex@x-paste.de>"],"license":"perl","build_requires":{"ExtUtils::MakeMaker":0},"requires":{"Scalar::Util":0,"Test::More":0,"AnyEvent":3.5,"XML::Feed":0,"MIME::Base64":0,"AnyEvent::HTTP":0,"Encode":0},"abstract":"Receiving RSS/Atom Feed reader with XML::Feed","configure_requires":{"ExtUtils::MakeMaker":0}}
--- a/META.yml
+++ b/META.yml
@@ -25,7 +25,6 @@
       "Test::More" : 0,
       "AnyEvent" : 3.5,
       "XML::Feed" : 0,
-      "Digest::SHA1" : 0,
       "MIME::Base64" : 0,
       "AnyEvent::HTTP" : 0,
       "Encode" : 0
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -15,7 +15,6 @@
         'AnyEvent'       => 3.5,
         'MIME::Base64'   => 0,
         'AnyEvent::HTTP' => 0,
-        'Digest::SHA1'   => 0,
         'Scalar::Util'   => 0,
         'XML::Feed'      => 0,
         'Encode'         => 0,