Skip to content
Browse files

Make sure to require rack/test from asset_hash

  • Loading branch information...
1 parent 3a4c063 commit 52819cd239d362e446221eeff7d4ce77104f2140 @bhollis bhollis committed Sep 30, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 middleman-more/lib/middleman-more/extensions/asset_hash.rb
View
3 middleman-more/lib/middleman-more/extensions/asset_hash.rb
@@ -4,6 +4,9 @@ module AssetHash
class << self
def registered(app, options={})
require 'digest/sha1'
+ require 'rack/test'
+ require 'uri'
+
exts = options[:exts] || %w(.jpg .jpeg .png .gif .js .css)
# Allow specifying regexes to ignore, plus always ignore apple touch icons

0 comments on commit 52819cd

Please sign in to comment.
Something went wrong with that request. Please try again.