Sha256: 480d73161826bb0f382cd48ee6e998390e6331e441676995e0fee8e4f9853b04
Contents?: true
Size: 677 Bytes
Versions: 27
Compression:
Stored size: 677 Bytes
Contents
# -*- encoding : utf-8 -*- class AddModStylesCard < Card::Migration::Core def up ensure_card "style: mods", codename: "style_mods", type_id: Card::PointerID ensure_card "style: libraries", codename: "style_libraries", type_id: Card::PointerID ensure_card "script: libraries", codename: "script_libraries", type_id: Card::PointerID if (card = Card.fetch(:all, :script)) card.insert_item 4, "script: libraries" card.drop_item "script: select2" card.drop_item "script: load select2" card.save! end Card::Cache.reset_all end end
Version data entries
27 entries across 27 versions & 1 rubygems