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