Sha256: bc791bb40ccab0cc346361010ebe7fbd48596dcd0c74f53655351e832491535c

Contents?: true

Size: 398 Bytes

Versions: 1

Compression:

Stored size: 398 Bytes

Contents

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

class ConfigCardUpdates < ActiveRecord::Migration
  include Wagn::MigrationHelper
  def up
    contentedly do
      raw_json = File.read( File.join Wagn.gem_root, 'db/migrate_cards/data/1.13_config_text.json' )
      json = JSON.parse raw_json
      Card.merge_list json["card"]["value"], :output_file=>"tmp/unmerged_config_text.json", :pristine=>true
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
wagn-1.13.0 db/migrate_cards/20140725180118_config_card_updates.rb