lib/dassets.rb in dassets-0.14.1 vs lib/dassets.rb in dassets-0.14.2
- old
+ new
@@ -13,9 +13,14 @@
def self.init
@asset_files ||= {}
@source_files = SourceFiles.new(self.config.sources)
end
+ def self.reset
+ @asset_files = {}
+ self.config.reset
+ end
+
def self.[](digest_path)
@asset_files[digest_path] ||= AssetFile.new(digest_path)
end
def self.source_files