Sha256: 4316227761a8f6b8f307b192738942428c1b6fb76c3992ba31ccca75abf947bc

Contents?: true

Size: 669 Bytes

Versions: 32

Compression:

Stored size: 669 Bytes

Contents

add_to_basket(
  :tasks,
  name: :update_file_storage_locations,
  execute_policy: -> { Card.update_all_storage_locations },
  stats: {
    title: "cards with attachment",
    count: -> { Card.search(type_id: ["in", FileID, ImageID], return: :count) },
    link_text: "update storage locations",
    task: "update_file_storage_locations"
  }
)

add_to_basket(
  :tasks,
  name: :delete_upload_tmp_files,
  execute_policy: -> { Card.delete_tmp_files_of_cached_uploads },
  stats: {
    title: "tmp files of canceled uploads",
    count: -> { ::Card.draft_actions_with_attachment },
    link_text: "delete tmp files",
    task: "delete_tmp_files_of_cached_uploads"
  }
)

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
card-1.94.1 mod/carrierwave/set/self/admin.rb
card-1.94.0 mod/carrierwave/set/self/admin.rb
card-1.93.13 mod/carrierwave/set/self/admin.rb
card-1.93.12 mod/carrierwave/set/self/admin.rb
card-1.93.11 mod/carrierwave/set/self/admin.rb
card-1.93.10 mod/carrierwave/set/self/admin.rb
card-1.93.9 mod/carrierwave/set/self/admin.rb
card-1.93.8 mod/carrierwave/set/self/admin.rb
card-1.93.7 mod/carrierwave/set/self/admin.rb
card-1.93.6 mod/carrierwave/set/self/admin.rb
card-1.93.5 mod/carrierwave/set/self/admin.rb
card-1.93.4 mod/carrierwave/set/self/admin.rb
card-1.93.3 mod/carrierwave/set/self/admin.rb
card-1.93.2 mod/carrierwave/set/self/admin.rb
card-1.93.1 mod/carrierwave/set/self/admin.rb
card-1.93.0 mod/carrierwave/set/self/admin.rb
card-1.92.2 mod/carrierwave/set/self/admin.rb
card-1.92.1 mod/carrierwave/set/self/admin.rb
card-1.92 mod/carrierwave/set/self/admin.rb
card-1.91 mod/carrierwave/set/self/admin.rb