summary refs log tree commit
diff options
context:
space:
mode:
authorMatthew Draper <matthew@trebex.net>2017-05-30 19:44:21 +0930
committerMatthew Draper <matthew@trebex.net>2017-05-30 19:44:21 +0930
commitc1437097dcdf92d53a692ca8135a3391791fbca3 (patch)
tree8d8da8f01833ee693095e6d502d2e098d044a7d2
parentd4793a0707efa9011ded6ebc88154ac9d7f98c8a (diff)
downloadrack-c1437097dcdf92d53a692ca8135a3391791fbca3.tar.gz
Require the right file for the digest we're using
-rw-r--r--lib/rack/etag.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rack/etag.rb b/lib/rack/etag.rb
index a0041062..5a8c6452 100644
--- a/lib/rack/etag.rb
+++ b/lib/rack/etag.rb
@@ -1,5 +1,5 @@
 require 'rack'
-require 'digest/md5'
+require 'digest/sha2'
 
 module Rack
   # Automatically sets the ETag header on all String bodies.