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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 61e8bc78d56e7b428056aafff01871dd50b1d495
4
- data.tar.gz: d006724c06381685bd67e242d52b19a939618a24
3
+ metadata.gz: 0089de07e47e1d4188d3fd412528d63ac8db7a62
4
+ data.tar.gz: 55f4a70abc494d8a80134b013db25dfa93f9c5c8
5
5
  SHA512:
6
- metadata.gz: 9bb00f7e01dd78f52ae6abd126aba1ccfe51fb5e5659fc99bf419cb4120de55e70e6fd49283c74a8ab796a1a6082e740f416e2ab10929c7aae28bf52a8ddecfa
7
- data.tar.gz: 47e46ae2ac9014b27425e99a4f35f69120bb846d39c13fb6d8d48c4b06092d96d266bddfd5d7d64de77378735be308ac83eee449d11ac3c5c17d09eb9f544ead
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.digest(OpenSSL::Digest.new('sha1'), secret, payload)
25
+ hmac = OpenSSL::HMAC.hexdigest(OpenSSL::Digest.new('sha1'), secret, payload)
26
+ "sha1=#{hmac}"
26
27
  end
27
28
  end
28
29
  end
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Pubsubhubbub
3
- VERSION = '0.2.3'
3
+ VERSION = '0.2.4'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pubsubhubbub-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eugen Rochko