Sha256: 814352ae750d532f012adbc075eae5a7584b0ecfef8fb2fe5162b006862b05d2

Contents?: true

Size: 643 Bytes

Versions: 18

Compression:

Stored size: 643 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.count_cards_with_attachment }
    # 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

18 entries across 18 versions & 2 rubygems

Version Path
card-mod-carrierwave-0.13.2 set/self/admin.rb
card-mod-carrierwave-0.13.1 set/self/admin.rb
card-mod-carrierwave-0.13.0 set/self/admin.rb
card-mod-carrierwave-0.11.7 set/self/admin.rb
card-mod-carrierwave-0.12.0 set/self/admin.rb
card-mod-carrierwave-0.11.6 set/self/admin.rb
card-mod-carrierwave-0.11.5 set/self/admin.rb
card-mod-carrierwave-0.11.4 set/self/admin.rb
card-mod-carrierwave-0.11.3 set/self/admin.rb
card-mod-carrierwave-0.11.2 set/self/admin.rb
card-mod-carrierwave-0.11.1 set/self/admin.rb
card-mod-carrierwave-0.11.0 set/self/admin.rb
card-1.100.0 mod/carrierwave/set/self/admin.rb
card-1.99.6 mod/carrierwave/set/self/admin.rb
card-1.99.5 mod/carrierwave/set/self/admin.rb
card-1.99.4 mod/carrierwave/set/self/admin.rb
card-1.99.3 mod/carrierwave/set/self/admin.rb
card-1.99.2 mod/carrierwave/set/self/admin.rb