fulmar 1.9.1 → 1.9.2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6c0254651c027ef775ad9e568f66d86aad0ae858
|
4
|
+
data.tar.gz: eaac4a6a2a32db19ce421432f4151bac017ba12f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c3a2380798df491fc87e15ceb44d7d48576df1c98d015c91101f35ae86878e32424395098d48cfd1c322fc2a1a9b18d60b9802671ee84bc0e3324b4135d0c314
|
7
|
+
data.tar.gz: 89334e747f73215ec35e5b7f733c5f6dbfe9d89815bcd72987beb0bb7fdff2c1dafc5720dbc6f84b0948ca887a0b07339de5932627d095bca7c6be1bf899350c
|
@@ -77,7 +77,7 @@ module Fulmar
|
|
77
77
|
config_file.puts "Host #{hostname}"
|
78
78
|
CONFIG_MAP.keys.each do |key|
|
79
79
|
unless ssh_config[key].blank?
|
80
|
-
config_file.puts " #{CONFIG_MAP[key]} \"#{ssh_config[key].gsub('"', '\\"')}\""
|
80
|
+
config_file.puts " #{CONFIG_MAP[key]} \"#{ssh_config[key].to_s.gsub('"', '\\"')}\""
|
81
81
|
end
|
82
82
|
end
|
83
83
|
|
@@ -24,7 +24,7 @@ module Fulmar
|
|
24
24
|
exclude_file: nil,
|
25
25
|
chown: nil,
|
26
26
|
chmod: nil,
|
27
|
-
delete:
|
27
|
+
delete: true
|
28
28
|
},
|
29
29
|
symlinks: {},
|
30
30
|
limit_releases: 5,
|
@@ -193,7 +193,7 @@ module Fulmar
|
|
193
193
|
@config[:shared].each do |path|
|
194
194
|
commands << "mkdir -p \"#{release_dir}/#{File.dirname(path)}\""
|
195
195
|
|
196
|
-
unless
|
196
|
+
unless remote_path_exists?("#{@config[:shared_dir]}/#{path}")
|
197
197
|
commands << "mkdir -p \"#{@config[:shared_dir]}/#{path}\""
|
198
198
|
end
|
199
199
|
|
@@ -205,8 +205,8 @@ module Fulmar
|
|
205
205
|
@remote_shell.run commands if commands.length > 0
|
206
206
|
end
|
207
207
|
|
208
|
-
def
|
209
|
-
@remote_shell.run "test -
|
208
|
+
def remote_path_exists?(dir)
|
209
|
+
@remote_shell.run "test -e \"#{dir}\""
|
210
210
|
end
|
211
211
|
end
|
212
212
|
end
|
data/lib/fulmar/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fulmar
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.9.
|
4
|
+
version: 1.9.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonas Siegl
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-01
|
12
|
+
date: 2017-02-01 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|