gpsd_baud_rate 0.1.15 → 0.1.16

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: 7edbb900b945ba5b1c98f95180fbee52539825772ac20e7721a4a2144fe89b2c
4
- data.tar.gz: 3c8244a6189cfbfe055a3c1e6fb8c1429f542a594410e5e7efbe19c7399f223c
3
+ metadata.gz: c2fb192f036b4f0db6eb2793863c154272f7c76f0cfd45b492324156a18aba1e
4
+ data.tar.gz: b0db4f3bac4e2d769361172d37c77284850030efbad370c70bb741d5fc66e9bd
5
5
  SHA512:
6
- metadata.gz: 3dfffb5e3d285fbbcda0eb2681345bfb0e62628167fe1cfb7ce62cf100d31da72cb3dd2637c38b5d000a55562bc90755eff34082e4692fc02530328b6592a9d6
7
- data.tar.gz: 96ad8b521beb30ec7090beae1b254ce79d3db75280fa192c9e9a1a70bf60ee873137912163da65e11d72ae2581cbf1eb1b6ef3970618008eb5f8d1e7964740ae
6
+ metadata.gz: 3794b039fcc73db51ebaadab8692ee36b5c9f14e2d57beb6d2f191e4be616a6c08a46e47b4a83357dd7d6a432136be0a5c35ceeccb8f28964ab4f4cbc9c59966
7
+ data.tar.gz: 1bc181c62103e70c24197ae251fef229f1105b00e25c01cd1762ea03163e3ed7a5bb24700601b073eb5179bf8b6eeb4d5b2514bd3b2c8afffc2427624d413d0d
@@ -35,13 +35,13 @@ class GpsdBaudRate
35
35
  end #initiallize
36
36
 
37
37
  def set_baud_rate b_rate = @goal_rate
38
- gpsd_start unless gpsd_active? #make sure it's running
38
+ gpsd_start unless self.gpsd_active? #make sure it's running
39
39
 
40
- @logger.debug "Service Status: #{gpsd_active?}"
41
- @logger.debug "Baud Rate: #{active_rate = baud_rate}"
42
- gpsd_stop
43
- @logger.debug "Service Status: #{gpsd_active?}"
44
- @logger.debug "Baud Rate: #{inactive_rate = baud_rate}"
40
+ @logger.debug "Service Status: #{self.gpsd_active?}"
41
+ @logger.debug "Baud Rate: #{active_rate = self.baud_rate}"
42
+ self.gpsd_stop
43
+ @logger.debug "Service Status: #{self.gpsd_active?}"
44
+ @logger.debug "Baud Rate: #{inactive_rate = self.baud_rate}"
45
45
 
46
46
  @logger.debug "\n~~~~~~~~~~~~ Read at #{active_rate} baud ~~~~~~~~~~~~~~"
47
47
  if (read_from_device active_rate) && (active_rate != b_rate)
@@ -1,3 +1,3 @@
1
1
  class GpsdBaudRate
2
- VERSION = "0.1.15"
2
+ VERSION = "0.1.16"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gpsd_baud_rate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.15
4
+ version: 0.1.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steven Finnegan