Sha256: 2f4f2b2779dd6feb550e196e87b084ed374ff38d4b99af7bf6aac700141c7512

Contents?: true

Size: 752 Bytes

Versions: 4

Compression:

Stored size: 752 Bytes

Contents

# -*- encoding : utf-8 -*-

class PointerOverhaul < Cardio::Migration::Transform
  def up
    unless Card::Codename[:mirrored_list]
      update "List", name: "Mirrored List",
                     codename: "mirrored_list"
    end
    unless Card::Codename[:mirror_list]
      update "Listed by", name: "Mirror List",
                          codename: "mirror_list"
    end
    update "Pointer", name: "List", codename: "list" unless Card::Codename[:list]
    Card::Cache.reset_all
    ensure_list_card "list+*input+*type plus right+*options",
                     content: ["List", "Multiselect", "Checkbox", "Filtered list"]

    ensure_list_card "pointer+*input+*type plus right+*options",
                     content: %w[Select Radio]
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
card-1.108.1 mod/core/data/transform/20190625153616_pointer_overhaul.rb
card-1.108.0 mod/core/data/transform/20190625153616_pointer_overhaul.rb
card-1.107.0 mod/core/data/transform/20190625153616_pointer_overhaul.rb
card-1.106.0 mod/core/data/transform/20190625153616_pointer_overhaul.rb