ztk 1.4.10 → 1.4.11
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/ztk/ssh/command.rb +6 -2
- data/lib/ztk/version.rb +1 -1
- metadata +4 -4
data/lib/ztk/ssh/command.rb
CHANGED
@@ -8,7 +8,9 @@ module ZTK
|
|
8
8
|
def console_command
|
9
9
|
verbosity = ((ENV['LOG_LEVEL'] == "DEBUG") ? '-vv' : '-q')
|
10
10
|
|
11
|
-
command =
|
11
|
+
command = Array.new
|
12
|
+
command << [ %(sshpass -p '#{config.password}') ] if config.password
|
13
|
+
command << [ %(ssh) ]
|
12
14
|
command << [ verbosity ]
|
13
15
|
command << [ "-x" ]
|
14
16
|
command << [ "-a" ]
|
@@ -32,7 +34,9 @@ module ZTK
|
|
32
34
|
|
33
35
|
verbosity = ((ENV['LOG_LEVEL'] == "DEBUG") ? '-vv' : '-q')
|
34
36
|
|
35
|
-
command =
|
37
|
+
command = Array.new
|
38
|
+
command << [ %(sshpass -p '#{config.proxy_password}') ] if config.proxy_password
|
39
|
+
command << [ %(ssh) ]
|
36
40
|
command << [ verbosity ]
|
37
41
|
command << [ "-x" ]
|
38
42
|
command << [ "-a" ]
|
data/lib/ztk/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ztk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.11
|
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-05-
|
12
|
+
date: 2013-05-06 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: erubis
|
@@ -265,7 +265,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
265
265
|
version: '0'
|
266
266
|
segments:
|
267
267
|
- 0
|
268
|
-
hash:
|
268
|
+
hash: -2911001684246105394
|
269
269
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
270
270
|
none: false
|
271
271
|
requirements:
|
@@ -274,7 +274,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
274
274
|
version: '0'
|
275
275
|
segments:
|
276
276
|
- 0
|
277
|
-
hash:
|
277
|
+
hash: -2911001684246105394
|
278
278
|
requirements: []
|
279
279
|
rubyforge_project:
|
280
280
|
rubygems_version: 1.8.25
|