savant-scenes 1.0.196 → 1.0.197
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/src/SceneManager.rb +7 -4
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0007c1e9f3e8d20ce5c408b5779ebdbbe8ee1e27
|
4
|
+
data.tar.gz: dc1c8d35fe5b4c13176f04153a2380590dcb161b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c36428e925283652eccf8d6e6437e1d57ae3daec7c2fd656e884fae7648715f70cba1e4b6af3dc5a892f63f4459f993546ef9291fdeabfee1fb3b576b21c2035
|
7
|
+
data.tar.gz: b0899d0e9bd7d4a8e06da7ca2436b1a3673e029a68677dd94d2ff6313cc248020fe2a4d006b4a7df2f321426f32660a8ce3f60eded3b158f5ba980c7eaaf873e
|
data/bin/src/SceneManager.rb
CHANGED
@@ -109,9 +109,11 @@ class SceneManager
|
|
109
109
|
else
|
110
110
|
@scliBridge = "source ~/.zshrc && /usr/local/bin/sclibridge "
|
111
111
|
@dis = "GNUstep/Library/ApplicationSupport/RacePointMedia/statusfiles/dis/dashboard.sqlite"
|
112
|
-
alert @scliBridge
|
113
112
|
end
|
114
113
|
end
|
114
|
+
ch.on_extended_data do |ch, type, data|
|
115
|
+
alert "Error: #{data.inspect}"
|
116
|
+
end
|
115
117
|
end
|
116
118
|
ssh.loop
|
117
119
|
#parse the rpmSystemInfo.plist form the pro host to get host name
|
@@ -133,7 +135,7 @@ class SceneManager
|
|
133
135
|
ssh.open_channel do |ch, success|
|
134
136
|
ch.exec(@str)
|
135
137
|
ch.on_data do |ch, data|
|
136
|
-
alert data.inspect
|
138
|
+
#alert data.inspect
|
137
139
|
@savantHostVersion = data
|
138
140
|
end
|
139
141
|
ch.on_extended_data do |ch, type, data|
|
@@ -158,11 +160,12 @@ class SceneManager
|
|
158
160
|
x = data.split('module')
|
159
161
|
x = x[1].split("\n")
|
160
162
|
@savantHostName = x[0][1..-1]
|
161
|
-
alert @savantHostName
|
162
163
|
@str = @scliBridge + "readstate \'" + @savantHostName + ".SoftwareVersion\'"
|
163
|
-
alert @str
|
164
164
|
end
|
165
165
|
end
|
166
|
+
ch.on_extended_data do |ch, type, data|
|
167
|
+
alert "Error: #{data.inspect}"
|
168
|
+
end
|
166
169
|
end
|
167
170
|
ssh.loop
|
168
171
|
#Get version from file on smart host
|