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.0.9 config/initializers/active_storage.rb
spree_core-4.1.15 config/initializers/active_storage.rb
spree_core-4.2.7 config/initializers/active_storage.rb
spree_core-4.2.6 config/initializers/active_storage.rb
spree_core-4.2.5 config/initializers/active_storage.rb
spree_core-4.1.14 config/initializers/active_storage.rb
spree_core-4.0.8 config/initializers/active_storage.rb
spree_core-4.2.4 config/initializers/active_storage.rb
spree_core-3.7.14.1 config/initializers/active_storage.rb
spree_core-4.2.3.1 config/initializers/active_storage.rb
spree_core-4.1.13.1 config/initializers/active_storage.rb
spree_core-4.0.7.1 config/initializers/active_storage.rb
spree_core-4.2.3 config/initializers/active_storage.rb
spree_core-4.2.2 config/initializers/active_storage.rb
spree_core-4.2.1 config/initializers/active_storage.rb
spree_core-4.0.7 config/initializers/active_storage.rb
spree_core-3.7.14 config/initializers/active_storage.rb
spree_core-4.2.0 config/initializers/active_storage.rb
spree_core-4.2.0.rc5 config/initializers/active_storage.rb
spree_core-4.2.0.rc4 config/initializers/active_storage.rb