ztk 1.0.7 → 1.0.8
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/ztk/ssh.rb +1 -3
- data/lib/ztk/version.rb +1 -1
- data/ztk.gemspec +20 -0
- metadata +3 -3
data/lib/ztk/ssh.rb
CHANGED
@@ -398,8 +398,7 @@ module ZTK
|
|
398
398
|
command << [ "-o", "ServerAliveInterval=60" ]
|
399
399
|
command << [ "-i", config.keys ] if config.keys
|
400
400
|
command << [ "-p", config.port ] if config.port
|
401
|
-
command << [ "-
|
402
|
-
command << [ "-o", "ProxyCommand=\"#{proxy_command}\"" ] if config.proxy_host_name
|
401
|
+
command << [ "-o", %(ProxyCommand="#{proxy_command}") ] if config.proxy_host_name
|
403
402
|
command << "#{config.user}@#{config.host_name}"
|
404
403
|
command = command.flatten.compact.join(" ")
|
405
404
|
config.ui.logger.debug { "console_command(#{command.inspect})" }
|
@@ -420,7 +419,6 @@ module ZTK
|
|
420
419
|
command << [ "-o", "ServerAliveInterval=60" ]
|
421
420
|
command << [ "-i", config.proxy_keys ] if config.proxy_keys
|
422
421
|
command << [ "-p", config.proxy_port ] if config.proxy_port
|
423
|
-
command << [ "-t" ] if config.request_pty
|
424
422
|
command << "#{config.proxy_user}@#{config.proxy_host_name}"
|
425
423
|
command << "nc %h %p"
|
426
424
|
command = command.flatten.compact.join(" ")
|
data/lib/ztk/version.rb
CHANGED
data/ztk.gemspec
CHANGED
@@ -1,3 +1,23 @@
|
|
1
|
+
################################################################################
|
2
|
+
#
|
3
|
+
# Author: Zachary Patten <zachary@jovelabs.net>
|
4
|
+
# Copyright: Copyright (c) Zachary Patten
|
5
|
+
# License: Apache License, Version 2.0
|
6
|
+
#
|
7
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
+
# you may not use this file except in compliance with the License.
|
9
|
+
# You may obtain a copy of the License at
|
10
|
+
#
|
11
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
12
|
+
#
|
13
|
+
# Unless required by applicable law or agreed to in writing, software
|
14
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
+
# See the License for the specific language governing permissions and
|
17
|
+
# limitations under the License.
|
18
|
+
#
|
19
|
+
################################################################################
|
20
|
+
|
1
21
|
lib = File.expand_path('../lib', __FILE__)
|
2
22
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
3
23
|
require 'ztk/version'
|
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.0.
|
4
|
+
version: 1.0.8
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -250,7 +250,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
250
250
|
version: '0'
|
251
251
|
segments:
|
252
252
|
- 0
|
253
|
-
hash:
|
253
|
+
hash: -656321979388275144
|
254
254
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
255
255
|
none: false
|
256
256
|
requirements:
|
@@ -259,7 +259,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
259
259
|
version: '0'
|
260
260
|
segments:
|
261
261
|
- 0
|
262
|
-
hash:
|
262
|
+
hash: -656321979388275144
|
263
263
|
requirements: []
|
264
264
|
rubyforge_project:
|
265
265
|
rubygems_version: 1.8.24
|