vnctools 0.0.5 → 0.0.6
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.
- 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
|