Sha256: 0fc674100f79d753cc522e57abf5e7c2896a3f11d805e5a1cdfb04d602487853

Contents?: true

Size: 454 Bytes

Versions: 10

Compression:

Stored size: 454 Bytes

Contents

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

class ConfigDescriptionsEtc < Wagn::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

10 entries across 10 versions & 1 rubygems

Version Path
wagn-1.14.9 db/migrate_core_cards/20141115034214_config_descriptions_etc.rb
wagn-1.14.8 db/migrate_core_cards/20141115034214_config_descriptions_etc.rb
wagn-1.14.7 db/migrate_core_cards/20141115034214_config_descriptions_etc.rb
wagn-1.14.6 db/migrate_core_cards/20141115034214_config_descriptions_etc.rb
wagn-1.14.5 db/migrate_core_cards/20141115034214_config_descriptions_etc.rb
wagn-1.14.4 db/migrate_core_cards/20141115034214_config_descriptions_etc.rb
wagn-1.14.3 db/migrate_core_cards/20141115034214_config_descriptions_etc.rb
wagn-1.14.2 db/migrate_core_cards/20141115034214_config_descriptions_etc.rb
wagn-1.14.1 db/migrate_core_cards/20141115034214_config_descriptions_etc.rb
wagn-1.14.0 db/migrate_core_cards/20141115034214_config_descriptions_etc.rb