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 +4 -4
- data/lib/my_gpsd_client.rb +5 -1
- data/lib/my_gpsd_client/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '096fa3d4b6b58846f87925834aee7c05d46301e6ef76aa10350870f977931470'
|
4
|
+
data.tar.gz: 0c551f03daa20cd290f57d1941015402e5f23ae08787205995dca6b553f179a0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8bd6857e8065d4de4ad3e0aff6555940bb08ffc5c462ece1f8f6f3493eeaad984352e099676da47eb7c0eac86352f5beb5bb07078d15ccc85a0382c26c41ed3f
|
7
|
+
data.tar.gz: f75b8d76245d80cf44742ab629e72a81c9d6897c5c08962dbf1ea9ebed3fef06b25ae6ea015ad5c99f6803de3f19b921102a320385981dfe2ace0156a7502f6e
|
data/lib/my_gpsd_client.rb
CHANGED
@@ -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
|
-
|
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
|
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.
|
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:
|
11
|
+
date: 2020-06-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|