Sha256: 1e0e67fda758d049201554c62af0a873f0f174a7f7cedd60632d32a415c55b51
Contents?: true
Size: 389 Bytes
Versions: 36
Compression:
Stored size: 389 Bytes
Contents
unless Rake::Task.task_defined?('cloudinary:sync_static') # prevent double-loading/execution namespace :cloudinary do desc "Sync static resources with cloudinary" task :sync_static => :environment do delete_missing = ENV['DELETE_MISSING'] == 'true' || ENV['DELETE_MISSING'] == '1' Cloudinary::Static.sync(:delete_missing => delete_missing) end end end
Version data entries
36 entries across 36 versions & 1 rubygems