ztk 1.6.22 → 1.6.23

Sign up to get free protection for your applications and to get access to all the features.
@@ -14,12 +14,15 @@ module ZTK
14
14
  # config.host_name = "127.0.0.1"
15
15
  # end
16
16
  # ssh.console
17
- def console
17
+ def console(*arguments)
18
+ command = [console_command, *arguments].flatten.compact
19
+
18
20
  config.ui.logger.debug { "config=#{config.send(:table).inspect}" }
19
- config.ui.logger.info { "console(#{console_command.inspect})" }
21
+ config.ui.logger.info { "console(#{command.inspect})" }
20
22
 
21
23
  config.ui.logger.fatal { "REPLACING CURRENT PROCESS - GOODBYE!" }
22
- Kernel.exec(console_command)
24
+
25
+ Kernel.exec(command)
23
26
  end
24
27
 
25
28
  end
data/lib/ztk/version.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  module ZTK
2
2
 
3
3
  # ZTK Version String
4
- VERSION = "1.6.22"
4
+ VERSION = "1.6.23"
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.6.22
4
+ version: 1.6.23
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-07-12 00:00:00.000000000 Z
12
+ date: 2013-07-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
@@ -275,7 +275,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
275
275
  version: '0'
276
276
  segments:
277
277
  - 0
278
- hash: -4037562965285202835
278
+ hash: 1421885005495571693
279
279
  required_rubygems_version: !ruby/object:Gem::Requirement
280
280
  none: false
281
281
  requirements:
@@ -284,7 +284,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
284
284
  version: '0'
285
285
  segments:
286
286
  - 0
287
- hash: -4037562965285202835
287
+ hash: 1421885005495571693
288
288
  requirements: []
289
289
  rubyforge_project:
290
290
  rubygems_version: 1.8.25