vnctools 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/lib/vnctools/server.rb +3 -3
- data/lib/vnctools/version.rb +1 -1
- metadata +2 -2
data/.gitignore
CHANGED
data/lib/vnctools/server.rb
CHANGED
@@ -48,11 +48,11 @@ module VncTools
|
|
48
48
|
end
|
49
49
|
|
50
50
|
def server(*args)
|
51
|
-
cmd = [self.class.executable, args, '2>&1'].flatten.compact
|
52
|
-
out = `#{cmd
|
51
|
+
cmd = [self.class.executable, args, '2>&1'].flatten.compact.join ' '
|
52
|
+
out = `#{cmd}`
|
53
53
|
|
54
54
|
unless last_status.success?
|
55
|
-
raise Error, "could not run #{
|
55
|
+
raise Error, "could not run #{cmd.inspect}:\n#{out}\ncurrent displays: #{self.class.displays.inspect}"
|
56
56
|
end
|
57
57
|
|
58
58
|
out
|
data/lib/vnctools/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vnctools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
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: 2012-
|
12
|
+
date: 2012-10-31 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: childprocess
|