Sha256: b70709e665b27b58a7ee4ff582e98c95c5c5916ec28126e8fd7e4a6232485e07
Contents?: true
Size: 334 Bytes
Versions: 15
Compression:
Stored size: 334 Bytes
Contents
# -*- encoding : utf-8 -*- class MoveStylesToContent < Card::Migration::Core def up dir = File.join data_path, "1.12_stylesheets" %w(right_sidebar common classic_cards traditional).each do |sheetname| Card["style: #{sheetname}"].update! codename: nil, content: File.read("#{dir}/#{sheetname}.scss") end end end
Version data entries
15 entries across 15 versions & 1 rubygems