my_gpsd_client 0.02.00 → 0.02.01

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 55ba906b7dbaf8ff492fb7a06409f631e4365f28afbad9ce304feb8c7be1e000
4
- data.tar.gz: 72381fa6a0ee53da5880cba4e4c7d414296b9beab632890e6858814897f3eb4a
3
+ metadata.gz: 0bf724ca9a22125086a4bca0663a86a0e8429ec8572eda9e90d237155d74ef4c
4
+ data.tar.gz: c8db37075c61c42f159caaf707ff5035f9f92cfd2ff3b561cbe504c70a0d380d
5
5
  SHA512:
6
- metadata.gz: 2a827c3021083ac68f84e622dad8812695e69ed8219f1bc7cb1e95dda40106efa3373715c4ecaec53ad2b335128110117b404b8bb99c075e9a08d99475314f32
7
- data.tar.gz: cb009e38a29b6e0d2b2826a1d234d9b0e4c579d20025d52714844413fb74d18c33490d54672f7818677b4e13a191c8813d87a99c255c38005e379f86df1b94d3
6
+ metadata.gz: 05ff6625e0c4e0436a818e31c33ebe65a3b0d85e94d22675ff7de495d552bd11d18a0b24dbc52968e93bf8e9dacefd831ed04f3ece8250da92d2e15676a523ab
7
+ data.tar.gz: d62a9fabcb1f58880b71308a8a487fde582eebf374c1e63f2bdb95eb0602c2dd6026829f7c17fde929ddea64cbbd10af1bfc929d4a353dda1d7cad477c77f711
@@ -92,6 +92,17 @@ class MyGpsdClient
92
92
  my_logger level: level, msg: "~~~~~~~~~~~~~~~~~~~~~~~ #{msg} ~~~~~~~~~~~~~~~~~~~~~~~"
93
93
  end
94
94
 
95
+ def on_raw_send(options:{}, &block)
96
+ @sent_raw_callback = block
97
+ end
98
+
99
+ # @param [Object] options Possible options to pass (not used yet)
100
+ # @param [Block] block Block to call when new json object comes from gpsd
101
+ def on_raw_change(options:{}, &block)
102
+ @json_raw_callback = block
103
+ end
104
+
105
+
95
106
  private
96
107
 
97
108
  def send_cmmd
@@ -392,16 +403,6 @@ class MyGpsdClient
392
403
  return "waiting for connection with gpsd" if @socket_ready == false
393
404
  end
394
405
 
395
- def on_raw_send(options:{}, &block)
396
- @sent_raw_callback = block
397
- end
398
-
399
- # @param [Object] options Possible options to pass (not used yet)
400
- # @param [Block] block Block to call when new json object comes from gpsd
401
- def on_raw_change(options:{}, &block)
402
- @json_raw_callback = block
403
- end
404
-
405
406
  # @param [Object] options Possible options to pass (not used yet)
406
407
  # @param [Block] block Block to call when new gps position json object comes from gpsd
407
408
  def on_position_change(options:{}, &block)
@@ -1,3 +1,3 @@
1
1
  class MyGpsdClient_version
2
- VERSION = "0.02.00"
2
+ VERSION = "0.02.01"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: my_gpsd_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.02.00
4
+ version: 0.02.01
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steven Finnegan