OSDN Git Service

t#31902:add import migration
authoryasushiito <yas@pen-chan.jp>
Tue, 20 Aug 2013 10:32:58 +0000 (19:32 +0900)
committeryasushiito <yas@pen-chan.jp>
Tue, 20 Aug 2013 10:32:58 +0000 (19:32 +0900)
.gitignore
script/sbt_helper.rb

index 003cd7a..603100a 100644 (file)
@@ -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
index bdfa029..2dd5120 100644 (file)
@@ -32,5 +32,5 @@ replace_system_picture json, wd
 \r
 puts "generating " + outputfile\r
 File.open(outputfile, 'w') do |f|\r
-  f.write json.to_json.to_s\r
+  f.write JSON.pretty_generate(json)\r
 end\r