Sha256: 88dd49d309b9ac5294f103f188ad6588f44cecf623bbb6eccfcba80c643ea606

Contents?: true

Size: 454 Bytes

Versions: 17

Compression:

Stored size: 454 Bytes

Contents

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

class ConfigDescriptionsEtc < Card::CoreMigration
  def up
    raw_json = File.read( data_path '1.14_config_descriptions_etc.json' )
    json = JSON.parse raw_json
    Card.merge_list json["card"]["value"], :output_file=>"tmp/unmerged_config_text.json"
    
    # fix missing +*from card
    c = Card.fetch "follower notification email+#{Card[:from].name}", :new=>{}
    c.content = Card[:wagn_bot].name
    c.save!
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
card-1.16.6 db/migrate_core_cards/20141115034214_config_descriptions_etc.rb
card-1.16.5 db/migrate_core_cards/20141115034214_config_descriptions_etc.rb
card-1.16.4 db/migrate_core_cards/20141115034214_config_descriptions_etc.rb
card-1.16.3 db/migrate_core_cards/20141115034214_config_descriptions_etc.rb
card-1.16.2 db/migrate_core_cards/20141115034214_config_descriptions_etc.rb
card-1.16.1 db/migrate_core_cards/20141115034214_config_descriptions_etc.rb
card-1.16.0 db/migrate_core_cards/20141115034214_config_descriptions_etc.rb
card-1.15.7 db/migrate_core_cards/20141115034214_config_descriptions_etc.rb
card-1.15.6 db/migrate_core_cards/20141115034214_config_descriptions_etc.rb
card-1.15.5 db/migrate_core_cards/20141115034214_config_descriptions_etc.rb
card-1.15.4 db/migrate_core_cards/20141115034214_config_descriptions_etc.rb
card-1.15.3 db/migrate_core_cards/20141115034214_config_descriptions_etc.rb
card-1.15.2 db/migrate_core_cards/20141115034214_config_descriptions_etc.rb
card-1.15.1 db/migrate_core_cards/20141115034214_config_descriptions_etc.rb
card-1.15.0 db/migrate_core_cards/20141115034214_config_descriptions_etc.rb
card-1.15.pre2 db/migrate_core_cards/20141115034214_config_descriptions_etc.rb
card-1.15.pre db/migrate_core_cards/20141115034214_config_descriptions_etc.rb