Sha256: 89b479d0d3a4fd4bbfb02b1349751a3b4fc645aa858b5746d53425154d6d132b
Contents?: true
Size: 1006 Bytes
Versions: 37
Compression:
Stored size: 1006 Bytes
Contents
# -*- encoding : utf-8 -*- class Card; module Set; class Self; module Admin; extend Card::Set # ~~ above autogenerated; below pulled from /Users/ethan/dev/wagn/gem/card/mod/carrierwave/set/self/admin.rb ~~ 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" } ) # ~~ below autogenerated; above pulled from /Users/ethan/dev/wagn/gem/card/mod/carrierwave/set/self/admin.rb ~~ end;end;end;end;
Version data entries
37 entries across 37 versions & 1 rubygems