roast 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/roast/hosts_file.rb +1 -1
- data/lib/roast/version.rb +1 -1
- metadata +1 -1
data/lib/roast/hosts_file.rb
CHANGED
@@ -56,7 +56,7 @@ module Roast
|
|
56
56
|
temp_file << groups.map { |g| g.to_hosts_file.chomp }.join("\n\n")
|
57
57
|
|
58
58
|
File.chmod(0644, temp_file.path)
|
59
|
-
FileUtils.cp(path, path + '.bak') if output_path.eql?(path)
|
59
|
+
FileUtils.cp(path, path + '.roast.bak') if output_path.eql?(path)
|
60
60
|
FileUtils.mv(temp_file.path, output_path, :force => true)
|
61
61
|
ensure
|
62
62
|
temp_file.close
|
data/lib/roast/version.rb
CHANGED