my_gpsd_client 0.02.06 → 0.02.07

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9c577d0ba9315021ca23b684867bc0f71a06857db67fba072ce7596476ef8052
4
- data.tar.gz: 4b1dd67f9308e19d8178a66130e026cdf1b3c13880d3a8ce16dd274d019f0a28
3
+ metadata.gz: '096fa3d4b6b58846f87925834aee7c05d46301e6ef76aa10350870f977931470'
4
+ data.tar.gz: 0c551f03daa20cd290f57d1941015402e5f23ae08787205995dca6b553f179a0
5
5
  SHA512:
6
- metadata.gz: c163a09685bf76e214077e8c384869301a8973e40dfa6781fb61affbffb1547cd466e09c81d0bf39f11292520d0886705761acef436c27c99a2c702ddb5dbabd
7
- data.tar.gz: 50b1e484087406e494d9ddf93af56e37a02a5bba95c6a6866b688d143cc2044c4cb73e74f9913cf7f6563a835831040e10f98d34c713c6b182183afcab32cc5e
6
+ metadata.gz: 8bd6857e8065d4de4ad3e0aff6555940bb08ffc5c462ece1f8f6f3493eeaad984352e099676da47eb7c0eac86352f5beb5bb07078d15ccc85a0382c26c41ed3f
7
+ data.tar.gz: f75b8d76245d80cf44742ab629e72a81c9d6897c5c08962dbf1ea9ebed3fef06b25ae6ea015ad5c99f6803de3f19b921102a320385981dfe2ace0156a7502f6e
@@ -160,7 +160,11 @@ class MyGpsdClient
160
160
  else
161
161
  # it's ready, tell it to start watching and passing
162
162
  my_logger msg: "Send_cmmd: socket ready, send cmmd"
163
- str = "?#{@command[:class].upcase}=#{@command.to_json}"
163
+ if @command.size > 1
164
+ str = "?#{@command[:class].upcase}=#{@command.to_json}"
165
+ else
166
+ str = "?#{@command[:class].upcase};"
167
+ end
164
168
  my_logger level: 'info', msg: "Send_cmmd: sending: #{str}"
165
169
  @sent_raw_callback.call( str) if @sent_raw_callback
166
170
  @socket.puts str
@@ -1,3 +1,3 @@
1
1
  class MyGpsdClient_version
2
- VERSION = "0.02.06"
2
+ VERSION = "0.02.07"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: my_gpsd_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.02.06
4
+ version: 0.02.07
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steven Finnegan
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-10-31 00:00:00.000000000 Z
11
+ date: 2020-06-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler