Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Make sure to require rack/test from asset_hash

  • Loading branch information...
commit 52819cd239d362e446221eeff7d4ce77104f2140 1 parent 3a4c063
@bhollis bhollis authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.