Skip to content

Commit

Permalink
Make sure to require rack/test from asset_hash
Browse files Browse the repository at this point in the history
  • Loading branch information
bhollis committed Oct 1, 2012
1 parent 3a4c063 commit 52819cd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions middleman-more/lib/middleman-more/extensions/asset_hash.rb
Expand Up @@ -4,6 +4,9 @@ module AssetHash
class << self class << self
def registered(app, options={}) def registered(app, options={})
require 'digest/sha1' require 'digest/sha1'
require 'rack/test'
require 'uri'

exts = options[:exts] || %w(.jpg .jpeg .png .gif .js .css) exts = options[:exts] || %w(.jpg .jpeg .png .gif .js .css)


# Allow specifying regexes to ignore, plus always ignore apple touch icons # Allow specifying regexes to ignore, plus always ignore apple touch icons
Expand Down

0 comments on commit 52819cd

Please sign in to comment.