lib/dassets/source_file.rb in dassets-0.13.0 vs lib/dassets/source_file.rb in dassets-0.13.1
- old
+ new
@@ -58,9 +58,13 @@
def mtime
File.mtime(@file_path)
end
+ def response_headers
+ self.source.nil? ? Hash.new : self.source.response_headers
+ end
+
def ==(other_source_file)
self.file_path == other_source_file.file_path
end
private