ztk 1.4.10 → 1.4.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8,7 +8,9 @@ module ZTK
8
8
  def console_command
9
9
  verbosity = ((ENV['LOG_LEVEL'] == "DEBUG") ? '-vv' : '-q')
10
10
 
11
- command = [ "/usr/bin/env ssh" ]
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 = ["/usr/bin/env ssh"]
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
@@ -1,6 +1,6 @@
1
1
  module ZTK
2
2
 
3
3
  # ZTK Version String
4
- VERSION = "1.4.10"
4
+ VERSION = "1.4.11"
5
5
 
6
6
  end
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.10
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-05 00:00:00.000000000 Z
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: 3276748823603867943
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: 3276748823603867943
277
+ hash: -2911001684246105394
278
278
  requirements: []
279
279
  rubyforge_project:
280
280
  rubygems_version: 1.8.25