Sha256: 21b41e806e89ba122f97c24b6d923f8fb1a3bf197e35cbb9c49c15bc2e020d16

Contents?: true

Size: 254 Bytes

Versions: 12

Compression:

Stored size: 254 Bytes

Contents

# -*- encoding : utf-8 -*-

class CommonCssPatch < Cardio::Migration::Core
  def up
    dir = File.join data_path, "1.12_stylesheets"
    card = Card["style: common"]
    card.update! content: File.read("#{dir}/common.scss") if card&.pristine?
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
card-1.104.2 db/migrate_core_cards/20131016172445_common_css_patch.rb
card-1.104.1 db/migrate_core_cards/20131016172445_common_css_patch.rb
card-1.104.0 db/migrate_core_cards/20131016172445_common_css_patch.rb
card-1.103.4 db/migrate_core_cards/20131016172445_common_css_patch.rb
card-1.103.3 db/migrate_core_cards/20131016172445_common_css_patch.rb
card-1.103.2 db/migrate_core_cards/20131016172445_common_css_patch.rb
card-1.103.1 db/migrate_core_cards/20131016172445_common_css_patch.rb
card-1.103.0 db/migrate_core_cards/20131016172445_common_css_patch.rb
card-1.101.7 db/migrate_core_cards/20131016172445_common_css_patch.rb
card-1.102.0 db/migrate_core_cards/20131016172445_common_css_patch.rb
card-1.101.6 db/migrate_core_cards/20131016172445_common_css_patch.rb
card-1.101.5 db/migrate_core_cards/20131016172445_common_css_patch.rb