lib/juicer/css_cache_buster.rb in juicer-0.2.5 vs lib/juicer/css_cache_buster.rb in juicer-0.2.6
- old
+ new
@@ -47,10 +47,10 @@
used << path
basename = File.basename(Juicer::CacheBuster.path(path, @type))
@contents.gsub!(url, File.join(File.dirname(url), basename))
end
rescue Errno::ENOENT
- puts "Unable to locate file #{path || url}, skipping"
+ puts "Unable to locate file #{path || url}, skipping cache buster"
end
end
File.open(output || file, "w") { |f| f.puts @contents }
@contents = nil