savant-scenes 1.0.195 → 1.0.196

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/src/SceneManager.rb +5 -3
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 314c3d239440b224bbe2a1b514ca0b5d49716b36
4
- data.tar.gz: 495f6d5e07c7f7074723aca7112e6e5ecb5b6287
3
+ metadata.gz: 771321e68027960a4427c10a9ca9515a1392d99f
4
+ data.tar.gz: 440e23c32435c73a731ac8a09c68be015bed94d7
5
5
  SHA512:
6
- metadata.gz: 0b35709e47b467efc3d42d10eaa230a7fb737d19c88ae1ba0521ac458a27d37017a72a848b7ff6218c3fc984ec3ba80af87f340639b36556a690fe8ddf499d9b
7
- data.tar.gz: a45e045164fb21f859d008616e6ca75ea27c89c1f57526bb6524dd1ada8d0abcd8d5b0f8c62183ed1c33696e6e3f00f6e2d403293d7bc4e65746b77ba82d55f9
6
+ metadata.gz: 67a7fd172f34d1e06d94a5154f7634e4c15baccb00df05b5d18533ce416a4c5f18cd66ec65519289d3e834bee87b01fa18dedcebe8ccc10ea78d555b511ca7bd
7
+ data.tar.gz: 191778518170464c5384eb1cb9cb440493ee6aefb00dc5974343160cf83a3d5c9bd24784452a3c0cdb6e8e96a7b1d66dd93cd2cf226d99f5a4f88ba3b152aadf
@@ -107,8 +107,9 @@ class SceneManager
107
107
  @scliBridge = "~/Applications/RacePointMedia/sclibridge "
108
108
  @dis = "/Users/RPM/Library/Application Support/RacePointMedia/statusfiles/dis/dashboard.sqlite"
109
109
  else
110
- @scliBridge = "source ~/.zshrc && /usr/local/bin/sclibridge "
110
+ @scliBridge = "source ~/.zshrc && /usr/local/bin/sclibridge "
111
111
  @dis = "GNUstep/Library/ApplicationSupport/RacePointMedia/statusfiles/dis/dashboard.sqlite"
112
+ alert @scliBridge
112
113
  end
113
114
  end
114
115
  end
@@ -141,7 +142,7 @@ class SceneManager
141
142
  end
142
143
  ssh.loop
143
144
  #parse the rpmSystemInfo.plist from the smart host to get host name
144
- elsif @scliBridge == "source ~/.zshrc && /usr/local/bin/sclibridge "
145
+ elsif @scliBridge == "source ~/.zshrc && /usr/local/bin/sclibridge "
145
146
  ssh.open_channel do |ch, success|
146
147
  ch.exec("strings 'GNUstep/Library/ApplicationSupport/RacePointMedia/userConfig.rpmConfig/rpmSystemInfo.plist'")
147
148
  ch.on_data do |ch, data|
@@ -157,6 +158,7 @@ class SceneManager
157
158
  x = data.split('module')
158
159
  x = x[1].split("\n")
159
160
  @savantHostName = x[0][1..-1]
161
+ alert @savantHostName
160
162
  @str = @scliBridge + "readstate \'" + @savantHostName + ".SoftwareVersion\'"
161
163
  alert @str
162
164
  end
@@ -164,7 +166,7 @@ class SceneManager
164
166
  end
165
167
  ssh.loop
166
168
  #Get version from file on smart host
167
- @savantHostVersion = ssh.exec(@str)
169
+ @savantHostVersion = ssh.exec!(@str)
168
170
  # ssh.open_channel do |ch, success|
169
171
  # alert "in channel"
170
172
  # ch.exec("strings 'GNUstep/Library/ApplicationSupport/RacePointMedia/statusfiles/scsCredentials.plist'")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: savant-scenes
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.195
4
+ version: 1.0.196
5
5
  platform: ruby
6
6
  authors:
7
7
  - Corey Miller