serialport_gps 0.2.0 → 0.2.1

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
  SHA1:
3
- metadata.gz: a0e0eef60801891ee89b180d662fef988393e5bc
4
- data.tar.gz: f7d166226c6655ddad6dc8acf7864d0682608bc8
3
+ metadata.gz: 83bac1c79739b19aa411b8c86b0916bcb24e0fe1
4
+ data.tar.gz: b14f646ba4d28fffd109dfcfb03032e779a5abcf
5
5
  SHA512:
6
- metadata.gz: 4bb593b90ceb7001ef06e29a67a04039cd1858ed5a40709399b210aa11fdb1b5c7965bc4fc9cc62454a2e3b807f02d368c4013b2aa376f684e791002f1416cf6
7
- data.tar.gz: 29cf3e98f79edee2de7b2efac8ce55aa677754577a5f44aefd908a234cebeaab9b206f47d9a05fc6f4a3a4fa84e5c1f567e0ecc96bde3fdea72eb74da423bf42
6
+ metadata.gz: 4686ea1cb27c84c378a930f2b30b52004379177a403eec34b123377fb1efa084a499f06ecfa28b7dcbe7f130afe4964a115d73a6764cd0bf87adfc3c157065e4
7
+ data.tar.gz: 9eec2e7f026e776ed19d52c47d0c1d56cb95175d7f50c2eb87f0f41d172d4d135031c3a14092ecd23bf639822e11ec82fdd617cd7d9488ed0807ff2c24df69d5
Binary file
data.tar.gz.sig CHANGED
@@ -1,2 +1,3 @@
1
- :KϚ:�FYc0{R�E���!�c#uG��&�*rֹvr���:�ޛ�7H��� QJ������h���֡ �+a ~9�my��yk}U�U[[5�]D�\$A\
2
- JaNSk-�fW��F��oy���~$@�&
1
+ u>"Bo1��l�5ח&C<�?T�*�l�.�x�d���N�,���o���bQMj$���ߘS��@�>�[�ᬨ80YA�%?ų�����h4ë��!�[0@�K�q&��L"�����?Œ+�)���?���<�_��\
2
+ QH�Ł2��FRc����4k~����KBO�c�U�15ѽ�8�3I2`�~���J�=�e
3
+ %�K�}����`{NbqՃC���adl*�S�
@@ -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.0
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: 2014-07-07 00:00:00.000000000 Z
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.2.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