Sha256: 97e46d38aaf28a85cd0007740e829dcab22222ad9cffb4d913ca38b84ea9b87d
Contents?: true
Size: 259 Bytes
Versions: 4
Compression:
Stored size: 259 Bytes
Contents
namespace :images do task :optimize do puts "Start of images optimizing" files = Dir.glob("#{Rails.root}/app/assets/images/**/*") files.each do |file| ImageOptimizer.new(file).optimize end puts "Images optimizing done" end end
Version data entries
4 entries across 4 versions & 1 rubygems