serialport_gps 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +3 -2
- data/lib/serialport_gps.rb +1 -0
- metadata +3 -4
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 83bac1c79739b19aa411b8c86b0916bcb24e0fe1
|
4
|
+
data.tar.gz: b14f646ba4d28fffd109dfcfb03032e779a5abcf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4686ea1cb27c84c378a930f2b30b52004379177a403eec34b123377fb1efa084a499f06ecfa28b7dcbe7f130afe4964a115d73a6764cd0bf87adfc3c157065e4
|
7
|
+
data.tar.gz: 9eec2e7f026e776ed19d52c47d0c1d56cb95175d7f50c2eb87f0f41d172d4d135031c3a14092ecd23bf639822e11ec82fdd617cd7d9488ed0807ff2c24df69d5
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
@@ -1,2 +1,3 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
�u>"B�o1��l�5ח&C<�?T�*�l�.�x�d���N�,���o���bQ�Mj$���ߘS��@�>�[�ᬨ8�0�YA�%?ų�����h4ë��!�[0@�K�q&��L�"�����?Œ+�)���?���<�_��\
|
2
|
+
�QH�Ł2��FR�c����4k~����KBO�c�U�15ѽ�8�3I2`�~���J�=�e
|
3
|
+
%�K�}����`{NbqՃC���adl*�S�
|
data/lib/serialport_gps.rb
CHANGED
@@ -18,6 +18,7 @@ class SerialPortGPS
|
|
18
18
|
# if the refresh rate is any less than 8 seconds the serial connection
|
19
19
|
# will have a higher probability of containing corrupted data
|
20
20
|
|
21
|
+
refresh_rate ||= 8
|
21
22
|
refresh_rate = 8 if refresh_rate < 8
|
22
23
|
@refresh_rate = refresh_rate - 4
|
23
24
|
@callback = callback
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: serialport_gps
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -31,7 +31,7 @@ cert_chain:
|
|
31
31
|
ewjgWJOdFqxFejbi9KWKC5p41B61CLUVpBaNg+MMy6q1GwkifCJIdi2tKu5b/O0K
|
32
32
|
Z4KfhyVeTsL078HV
|
33
33
|
-----END CERTIFICATE-----
|
34
|
-
date:
|
34
|
+
date: 2015-06-17 00:00:00.000000000 Z
|
35
35
|
dependencies:
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: nmea_parser
|
@@ -120,9 +120,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
120
120
|
version: '0'
|
121
121
|
requirements: []
|
122
122
|
rubyforge_project:
|
123
|
-
rubygems_version: 2.
|
123
|
+
rubygems_version: 2.4.6
|
124
124
|
signing_key:
|
125
125
|
specification_version: 4
|
126
126
|
summary: Fetches, and converts GPS coordinates using the SerialPort gem.
|
127
127
|
test_files: []
|
128
|
-
has_rdoc:
|
metadata.gz.sig
CHANGED
Binary file
|