lib/hmac_auth/signature.rb in hmac_auth-0.1.0 vs lib/hmac_auth/signature.rb in hmac_auth-0.1.1

- old
+ new

@@ -33,10 +33,10 @@ private def calculated_signature OpenSSL::HMAC.hexdigest( - OpenSSL::Digest::Digest.new('sha256'), + OpenSSL::Digest.new('sha256'), secret, deep_sort(params_without_signature).to_json) end def deep_sort(hash)