roast 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Roast
2
- VERSION = '0.1.1'
2
+ VERSION = '0.1.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: roast
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: