lib/linner/asset.rb in linner-0.6.1 vs lib/linner/asset.rb in linner-0.6.2
- old
+ new
@@ -26,9 +26,13 @@
def relative_digest_path
digest_path.gsub /#{Linner.env.public_folder}/, ""
end
+ def revable?
+ javascript? or stylesheet?
+ end
+
def revision!
File.rename path, digest_path
end
def content