tweak some checksums, something slightly changed file output upstream

This commit is contained in:
Thomas Reynolds 2016-01-21 10:50:44 -08:00
parent 92d96f6604
commit 4e8273295b
4 changed files with 40 additions and 35 deletions

View file

@ -1,5 +1,10 @@
require 'sass'
begin
require 'sassc'
rescue LoadError
end
module Middleman
module Renderers
# Sass renderer

View file

@ -35,11 +35,11 @@ module Middleman
# @return [Boolean]
Contract Or[String, Pathname] => Bool
def binary?(filename)
@@binary_cache ||= {}
@binary_cache ||= {}
return @@binary_cache[filename] if @@binary_cache.key?(filename)
return @binary_cache[filename] if @binary_cache.key?(filename)
@@binary_cache[filename] = begin
@binary_cache[filename] = begin
path = Pathname(filename)
ext = path.extname