Sha256: c51ab5e368b1b1382c58a12afc2fc355045298232b0fc9ca1d3cae40614df21e
Contents?: true
Size: 540 Bytes
Versions: 20
Compression:
Stored size: 540 Bytes
Contents
# -*- encoding : utf-8 -*- class FixSkinCodenames < Cardio::Migration::Core def up # This is needed because the bootswatch_themes migration removed codenames. # They were no longer needed for style handling but are still needed for images %w[bootstrap_default cerulean cosmo cyborg darkly flatly journal lumen paper readable sandstone simplex slate spacelab superhero united yeti].each do |theme_name| theme_name = "#{theme_name}_skin" Card.fetch(theme_name).update! codename: theme_name end end end
Version data entries
20 entries across 20 versions & 1 rubygems