lib/deliver/setup.rb in deliver-1.14.3 vs lib/deliver/setup.rb in deliver-1.14.4
- old
+ new
@@ -43,11 +43,11 @@
if UploadMetadata::LOCALISED_VERSION_VALUES.include?(key)
content = v.send(key)[language]
else
content = app_details.send(key)[language]
end
-
+ content << "\n"
resulting_path = File.join(path, language, "#{key}.txt")
FileUtils.mkdir_p(File.expand_path('..', resulting_path))
File.write(resulting_path, content)
UI.message("Writing to '#{resulting_path}'")
end
@@ -58,10 +58,10 @@
if UploadMetadata::NON_LOCALISED_VERSION_VALUES.include?(key)
content = v.send(key)
else
content = app_details.send(key)
end
-
+ content << "\n"
resulting_path = File.join(path, "#{key}.txt")
File.write(resulting_path, content)
UI.message("Writing to '#{resulting_path}'")
end