lib/dassets/source_proxy.rb in dassets-0.13.0 vs lib/dassets/source_proxy.rb in dassets-0.13.1

- old
+ new

@@ -33,9 +33,13 @@ def mtime @source_files.map{ |f| f.mtime }.compact.max end + def response_headers + @source_files.inject(Hash.new){ |hash, f| hash.merge!(f.response_headers) } + end + def exists? @source_files.inject(true){ |res, f| res && f.exists? } end private