Sha256: f68a5dd1a7b7905c4fbd0447d27e07c34e1c878776a83385a6e69abf80416435
Contents?: true
Size: 531 Bytes
Versions: 15
Compression:
Stored size: 531 Bytes
Contents
# -*- encoding : utf-8 -*- class FixSkinCodenames < Card::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
15 entries across 15 versions & 1 rubygems