ztk 0.0.15 → 0.0.16

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.
Files changed (3) hide show
  1. data/lib/ztk/ssh.rb +2 -0
  2. data/lib/ztk/version.rb +1 -1
  3. metadata +2 -2
data/lib/ztk/ssh.rb CHANGED
@@ -291,6 +291,7 @@ module ZTK
291
291
  command << [ "-o", "KeepAlive=yes" ]
292
292
  command << [ "-o", "ServerAliveInterval=60" ]
293
293
  command << [ "-i", @config.keys ] if @config.keys
294
+ command << [ "-p", @config.port ] if @config.port
294
295
  command << [ "-o", "ProxyCommand=\"#{proxy_command}\"" ] if @config.proxy_host_name
295
296
  command << "#{@config.user}@#{@config.host_name}"
296
297
  command = command.flatten.compact.join(" ")
@@ -323,6 +324,7 @@ module ZTK
323
324
  command << [ "-o", "KeepAlive=yes" ]
324
325
  command << [ "-o", "ServerAliveInterval=60" ]
325
326
  command << [ "-i", @config.proxy_keys ] if @config.proxy_keys
327
+ command << [ "-p", @config.proxy_port ] if @config.proxy_port
326
328
  command << "#{@config.proxy_user}@#{@config.proxy_host_name}"
327
329
  command << "nc %h %p"
328
330
  command = command.flatten.compact.join(" ")
data/lib/ztk/version.rb CHANGED
@@ -19,5 +19,5 @@
19
19
  ################################################################################
20
20
 
21
21
  module ZTK
22
- VERSION = "0.0.15" unless const_defined?(:VERSION)
22
+ VERSION = "0.0.16" unless const_defined?(:VERSION)
23
23
  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: 0.0.15
4
+ version: 0.0.16
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-01-21 00:00:00.000000000 Z
12
+ date: 2013-01-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: erubis