Sha256: 272896efdae9886cc31832d3b1511a0ef3593cb71a3585fa72eb5d5ab2804573
Contents?: true
Size: 1.05 KB
Versions: 43
Compression:
Stored size: 1.05 KB
Contents
# Cover Component # ================ # # V3 # ----- # # { # image: { # id: undefined, # name: '' # }, # searchable_surtitle: '', # searchable_title: '', # searchable_subtitle: '' # } # module Promethee::StructureUpgrader::Components class Cover < Base def upgraded_attributes { 'image' => { 'searchable' => false, 'translatable' => false, 'type' => 'blob', 'value' => attribute('image') }, 'surtitle' => { 'searchable' => true, 'translatable' => true, 'type' => 'string', 'value' => string_attribute('searchable_surtitle') }, 'title' => { 'searchable' => true, 'translatable' => true, 'type' => 'string', 'value' => string_attribute('searchable_title') }, 'subtitle' => { 'searchable' => true, 'translatable' => true, 'type' => 'string', 'value' => string_attribute('searchable_subtitle') } } end end end
Version data entries
43 entries across 43 versions & 1 rubygems