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