pubsubhubbub-rails 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/jobs/pubsubhubbub/deliver_payload_job.rb +2 -1
- data/lib/pubsubhubbub/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0089de07e47e1d4188d3fd412528d63ac8db7a62
|
4
|
+
data.tar.gz: 55f4a70abc494d8a80134b013db25dfa93f9c5c8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e3110acf162b100760ea380b50fc5bc5c1bd8b92cab042342925dab855826d2e7bfe17e21587631c27a9194868341e0079bf54507c7d734fb2cb2c81bcf73688
|
7
|
+
data.tar.gz: c75c434a292e12adb2e650e728a23862b14c3aaa2d7c1d48d6e737ed01dbfd3ac2d8ef9d3a22cd91162c2fa6e9f435fc06496bd959bb44ced4faad6c35136b60
|
@@ -22,7 +22,8 @@ module Pubsubhubbub
|
|
22
22
|
private
|
23
23
|
|
24
24
|
def sign_payload(secret, payload)
|
25
|
-
OpenSSL::HMAC.
|
25
|
+
hmac = OpenSSL::HMAC.hexdigest(OpenSSL::Digest.new('sha1'), secret, payload)
|
26
|
+
"sha1=#{hmac}"
|
26
27
|
end
|
27
28
|
end
|
28
29
|
end
|
data/lib/pubsubhubbub/version.rb
CHANGED