Sha256: 140b2026519361e79c31b108d95cea81b5f800915af25c9a925513f5c7c49318

Contents?: true

Size: 274 Bytes

Versions: 11

Compression:

Stored size: 274 Bytes

Contents

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

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
cloudinary-1.7.0 lib/tasks/cloudinary.rake
cloudinary-1.6.0 lib/tasks/cloudinary.rake
cloudinary-1.5.2 lib/tasks/cloudinary.rake
cloudinary-1.4.0 lib/tasks/cloudinary.rake
cloudinary-1.3.0 lib/tasks/cloudinary.rake
cloudinary-1.2.4 lib/tasks/cloudinary.rake
cloudinary-1.2.3 lib/tasks/cloudinary.rake
cloudinary-1.2.2 lib/tasks/cloudinary.rake
cloudinary-1.2.1 lib/tasks/cloudinary.rake
cloudinary-1.2.0 lib/tasks/cloudinary.rake
cloudinary-1.1.7 lib/tasks/cloudinary.rake