roast 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/roast/group.rb +1 -1
- data/lib/roast/hosts_file.rb +1 -1
- data/lib/roast/version.rb +1 -1
- metadata +2 -2
data/lib/roast/group.rb
CHANGED
data/lib/roast/hosts_file.rb
CHANGED
@@ -55,7 +55,7 @@ module Roast
|
|
55
55
|
temp_file << static_lines.join.sub(/\n{3,}\z/, "\n\n")
|
56
56
|
temp_file << groups.map { |g| g.to_hosts_file.chomp }.join("\n\n")
|
57
57
|
|
58
|
-
File.chmod(0644, temp_file)
|
58
|
+
File.chmod(0644, temp_file.path)
|
59
59
|
FileUtils.cp(path, path + '.bak') if output_path.eql?(path)
|
60
60
|
FileUtils.mv(temp_file.path, output_path, :force => true)
|
61
61
|
ensure
|
data/lib/roast/version.rb
CHANGED
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.
|
4
|
+
version: 0.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-03-
|
12
|
+
date: 2013-03-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|