lib/wrongdoc/changelog.rb in wrongdoc-1.6.1 vs lib/wrongdoc/changelog.rb in wrongdoc-1.6.2

- old
+ new

@@ -17,9 +17,10 @@ io.each { |line| fp.write prefix fp.write line } end + fp.chmod(0666 & ~File.umask) File.rename(fp.path, 'ChangeLog') fp.close! end end