From 128da07fc2801d7f0d3827b0916ec6fdaa975c1e Mon Sep 17 00:00:00 2001 From: Reinier Balt Date: Fri, 11 Apr 2014 22:46:10 +0200 Subject: [PATCH] remove Digest deprecation warning --- app/controllers/mailgun_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/mailgun_controller.rb b/app/controllers/mailgun_controller.rb index 83e6fe78..614d185e 100644 --- a/app/controllers/mailgun_controller.rb +++ b/app/controllers/mailgun_controller.rb @@ -25,7 +25,7 @@ class MailgunController < ApplicationController def verify unless params['signature'] == OpenSSL::HMAC.hexdigest( - OpenSSL::Digest::Digest.new('sha256'), + OpenSSL::Digest.new('sha256'), SITE_CONFIG['mailgun_api_key'], '%s%s' % [params['timestamp'], params['token']] )