ztk 1.10.1 → 1.10.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -164,9 +164,7 @@ module ZTK
164
164
  :ignore_exit_status => false,
165
165
  :request_pty => true,
166
166
  :exit_code => 0,
167
- :silence => false,
168
- :keys => Array.new,
169
- :proxy_keys => Array.new
167
+ :silence => false
170
168
  }.merge(configuration))
171
169
 
172
170
  config.ui.logger.debug { "config=#{config.send(:table).inspect}" }
@@ -53,12 +53,16 @@ module ZTK
53
53
 
54
54
  # Iterate the keys and proxy_keys, converting them as needed.
55
55
  def process_keys
56
- config.keys = [config.keys].flatten.compact.collect do |key|
57
- process_key(key)
56
+ if (!config.keys.nil? && !config.keys.empty?)
57
+ config.keys = [config.keys].flatten.compact.collect do |key|
58
+ process_key(key)
59
+ end
58
60
  end
59
61
 
60
- config.proxy_keys = [config.proxy_keys].flatten.compact.collect do |proxy_key|
61
- process_key(proxy_key)
62
+ if (!config.proxy_keys.nil? && !config.proxy_keys.empty?)
63
+ config.proxy_keys = [config.proxy_keys].flatten.compact.collect do |proxy_key|
64
+ process_key(proxy_key)
65
+ end
62
66
  end
63
67
  end
64
68
 
@@ -1,6 +1,6 @@
1
1
  module ZTK
2
2
 
3
3
  # ZTK Version String
4
- VERSION = "1.10.1"
4
+ VERSION = "1.10.2"
5
5
 
6
6
  end
@@ -39,3 +39,7 @@ cat $HOME/.ssh/id_rsa.pub | tee $HOME/.ssh/authorized_keys2
39
39
 
40
40
  ssh-add $HOME/.ssh/id_rsa
41
41
  ssh-add -L
42
+
43
+ ps aux | grep -i [s]sh
44
+
45
+ sudo iptables --list -v
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.10.1
4
+ version: 1.10.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -307,7 +307,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
307
307
  version: '0'
308
308
  segments:
309
309
  - 0
310
- hash: 2541131187377809140
310
+ hash: -1699314525836609404
311
311
  required_rubygems_version: !ruby/object:Gem::Requirement
312
312
  none: false
313
313
  requirements:
@@ -316,7 +316,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
316
316
  version: '0'
317
317
  segments:
318
318
  - 0
319
- hash: 2541131187377809140
319
+ hash: -1699314525836609404
320
320
  requirements: []
321
321
  rubyforge_project:
322
322
  rubygems_version: 1.8.25