Sha256: 65272cb1317befc2ab08cd798d89dcea8ab271ad1d3f717ed4e754c9f06147df
Contents?: true
Size: 446 Bytes
Versions: 7
Compression:
Stored size: 446 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
7 entries across 7 versions & 1 rubygems