Sha256: 95134f3b1151550681c48fdb05bb9fdfa9e5b1b94fd20e644edd2a985e202cd7

Contents?: true

Size: 133 Bytes

Versions: 77

Compression:

Stored size: 133 Bytes

Contents

class ActiveStorage::PurgeJob < ActiveStorage::BaseJob
  def perform(blob)
    blob.purge unless blob.attachments.present?
  end
end

Version data entries

77 entries across 77 versions & 1 rubygems

Version Path
spree_core-4.2.0.rc3 config/initializers/active_storage.rb
spree_core-4.1.13 config/initializers/active_storage.rb
spree_core-4.0.6 config/initializers/active_storage.rb
spree_core-4.2.0.rc2 config/initializers/active_storage.rb
spree_core-3.7.13 config/initializers/active_storage.rb
spree_core-4.0.5 config/initializers/active_storage.rb
spree_core-4.1.12 config/initializers/active_storage.rb
spree_core-3.7.12 config/initializers/active_storage.rb
spree_core-4.2.0.rc1 config/initializers/active_storage.rb
spree_core-4.0.4 config/initializers/active_storage.rb
spree_core-3.7.11 config/initializers/active_storage.rb
spree_core-4.1.11 config/initializers/active_storage.rb
spree_core-4.1.10 config/initializers/active_storage.rb
spree_core-4.2.0.beta config/initializers/active_storage.rb
spree_core-4.1.9 config/initializers/active_storage.rb
spree_core-4.1.8 config/initializers/active_storage.rb
spree_core-4.1.7 config/initializers/active_storage.rb
spree_core-4.1.6 config/initializers/active_storage.rb
spree_core-4.1.5 config/initializers/active_storage.rb
spree_core-4.1.4 config/initializers/active_storage.rb