fulmar 2.1.1 → 2.1.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: 48f13381dfd883f6eb5f0c44a15aae30a4625914
|
4
|
+
data.tar.gz: 52c89009ba658dc348df94c69e47940afd99f76b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 34b44d1c3f492b53a15b8481d11d9bb33fde77a17e51ae2a72fb25f5560ee856f985ff84e96123c4306e976b6d18cdec949c11e259fe12cb8b8b836c37d80a0d
|
7
|
+
data.tar.gz: 1717d95355ec5ed3800809f2712477872f72380525f7d8b1132ab9a4fab522af94581613d12e3bf1192287ce72787b7f2ff5fa27baf469d7c0f0d4e8695c04ec
|
@@ -27,7 +27,7 @@ module Fulmar
|
|
27
27
|
@config[:rsync][:exclude_file] = @config[:local_path] + '/.rsyncignore'
|
28
28
|
end
|
29
29
|
|
30
|
-
fail 'Hostname not set. Cannot initialize sync.' if @config[:hostname].empty?
|
30
|
+
fail 'Hostname not set. Cannot initialize sync.' if @config[:hostname].nil? || @config[:hostname].empty?
|
31
31
|
|
32
32
|
super(@config)
|
33
33
|
end
|
@@ -116,14 +116,14 @@ module Fulmar
|
|
116
116
|
'', # Add some space between this and the second last entry
|
117
117
|
"Host #{hostname}"
|
118
118
|
]
|
119
|
-
ssh_config.keys.each { |key| entry << " #{key} #{escape_value(ssh_config[key])}" }
|
119
|
+
ssh_config.keys.each { |key| entry << " #{key} #{escape_value(key, ssh_config[key])}" }
|
120
120
|
entry << ''
|
121
121
|
entry
|
122
122
|
end
|
123
123
|
|
124
|
-
def escape_value(value)
|
124
|
+
def escape_value(key, value)
|
125
125
|
value = value.to_s
|
126
|
-
value = "\"#{value.gsub('"', '\\"')}\"" if value.include?(' ')
|
126
|
+
value = "\"#{value.gsub('"', '\\"')}\"" if value.include?(' ') && key.to_s != 'ProxyCommand'
|
127
127
|
value
|
128
128
|
end
|
129
129
|
|
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: 2.1.
|
4
|
+
version: 2.1.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-08-
|
12
|
+
date: 2017-08-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|