gpsd_baud_rate 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gpsd_baud_rate.rb +4 -2
- data/lib/gpsd_baud_rate/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8f0c1ba9617119a0d8538ad374e97e5c4fd43819bd5842e63b0371c4872edfd5
|
4
|
+
data.tar.gz: 5966238bd00c471eb263930d7ba89fffef8cb507d9e40d4f1a03b89fbe5ee1b5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '09a188da5f3d082dab6588eb2c3bb0060651042a37f7cdf77eb831a9cfaa2118b39226b98aa25ce1478a5343c876162f895a805e4ec09e6fb441f52c28339d03'
|
7
|
+
data.tar.gz: 712116ad4c7a8b7ec8b2f7c43e3dbd413b1b0ce2bcd540b00ee7e98af3c6aacd435c9d923772a542e92d2f6a7c9d5eb613731d4842fe1eb9039b93d194b93c94
|
data/lib/gpsd_baud_rate.rb
CHANGED
@@ -16,13 +16,15 @@ class GpsdBaudRate
|
|
16
16
|
def initialize goal_rate = @@baud_rates[0]
|
17
17
|
@version =GpsdBaudRate::VERSION
|
18
18
|
|
19
|
-
puts "\n\n\n"
|
19
|
+
# puts "\n\n\n"
|
20
20
|
|
21
21
|
# pid= %x|pgrep -f "ruby /home/deploy/bin/set_baud.rb"|
|
22
22
|
# puts "Pid: #{pid}, $$: #{$$}, $BASHPID: #{$BASHPID}"
|
23
23
|
|
24
24
|
@goal_rate = goal_rate.to_i
|
25
|
-
|
25
|
+
logger.debug "Hello from gpsd_baud_rate!"
|
26
|
+
Rails.logger.debug "Goal_rate: #{@goal_rate}"
|
27
|
+
|
26
28
|
=begin
|
27
29
|
gpsd_start unless gpsd_active? #make sure it's running
|
28
30
|
|