dokku-installer-cli 0.0.9.2 → 0.0.9.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dokku_installer/config.rb +10 -6
- data/lib/dokku_installer/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: efdbbf29a6689ac47ae2789202110a8e53ef1217
|
4
|
+
data.tar.gz: 7d40bd2280a82dda73ed896f8d824fe034e0a7b0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 73d9b44e5313b70c54ec8019bb3f75c0f3c13dc773a29337db9eb1dbdcf07cd303a15022ffd8cbc3bbac16ce526573c11e3c7bf040c3ab4b8f806e9d6860d37a
|
7
|
+
data.tar.gz: 200f2d17a313e5ecc85b52e61cd03f4b8a72fb1a136b4a38f8e944b45d3e0536d8ec0043ebe8a5c76157e24c415da749714de67e8040b96b90dd7a24662b5943
|
@@ -19,12 +19,16 @@ module DokkuInstaller
|
|
19
19
|
args = args.map{|arg|
|
20
20
|
key_value = arg.split("=")
|
21
21
|
if key_value.length == 2
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
22
|
+
if key_value[1].index(" ")
|
23
|
+
user = "root"
|
24
|
+
return_value = "#{key_value[0]}="
|
25
|
+
return_value += '\"'
|
26
|
+
return_value += key_value[1].gsub(/"|'/, "")
|
27
|
+
return_value += '\"'
|
28
|
+
return_value
|
29
|
+
else
|
30
|
+
"#{key_value[0]}=#{key_value[1].gsub(/"|'/, "")}"
|
31
|
+
end
|
28
32
|
else
|
29
33
|
arg
|
30
34
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dokku-installer-cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.9.
|
4
|
+
version: 0.0.9.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Pattison
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-11-
|
11
|
+
date: 2014-11-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|