From 295e38b6fe003baa7c750839e7181eb37c08e965 Mon Sep 17 00:00:00 2001 From: yasushiito Date: Tue, 20 Aug 2013 19:32:58 +0900 Subject: [PATCH] t#31902:add import migration --- .gitignore | 1 + script/sbt_helper.rb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 003cd7ac..603100a4 100644 --- a/.gitignore +++ b/.gitignore @@ -25,3 +25,4 @@ db/migrate/*_unknown_v??_licenses_attributes.rb db/migrate/*_speech_balloon_speech_balloons.rb db/migrate/*_speech_balloon_balloons.rb db/migrate/*_speech_balloon_speeches.rb +db/migrate/*_speech_balloon_import_*.rb diff --git a/script/sbt_helper.rb b/script/sbt_helper.rb index bdfa029d..2dd5120c 100644 --- a/script/sbt_helper.rb +++ b/script/sbt_helper.rb @@ -32,5 +32,5 @@ replace_system_picture json, wd puts "generating " + outputfile File.open(outputfile, 'w') do |f| - f.write json.to_json.to_s + f.write JSON.pretty_generate(json) end -- 2.11.0