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

Version Path
cloudinary-1.16.1 lib/tasks/cloudinary/sync_static.rake
cloudinary-1.16.0 lib/tasks/cloudinary/sync_static.rake
cloudinary-1.15.0 lib/tasks/cloudinary.rake
cloudinary-1.14.0 lib/tasks/cloudinary.rake
cloudinary-1.13.2 lib/tasks/cloudinary.rake
cloudinary-1.13.1 lib/tasks/cloudinary.rake
cloudinary-1.13.0 lib/tasks/cloudinary.rake
cloudinary-1.12.0 lib/tasks/cloudinary.rake
cloudinary-1.11.1 lib/tasks/cloudinary.rake
cloudinary-1.11.0 lib/tasks/cloudinary.rake
cloudinary-1.10.1.pre.rc lib/tasks/cloudinary.rake
cloudinary-1.10.0 lib/tasks/cloudinary.rake
cloudinary-1.9.1 lib/tasks/cloudinary.rake
cloudinary-1.9.0 lib/tasks/cloudinary.rake
cloudinary-1.8.3 lib/tasks/cloudinary.rake
cloudinary-1.8.2 lib/tasks/cloudinary.rake