lib/aigu/rails_importer.rb in aigu-0.5.1 vs lib/aigu/rails_importer.rb in aigu-0.6
- old
+ new
@@ -16,10 +16,10 @@
protected
def parse_json
json = File.read(@input_file)
- @object = JSON.parse(json)
+ @object = JSON.parse(json).sort_with_keys
@object = expand_content_values(@object)
@object = localize_content_keys(@object)
end
def write_yaml_files