nmea_plus 1.0.20 → 1.0.21
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +6 -6
- data/lib/nmea_plus/generated_parser/parser.rb +0 -0
- data/lib/nmea_plus/generated_parser/tokenizer.rb +0 -0
- data/lib/nmea_plus/version.rb +1 -1
- metadata +42 -42
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: db0e4959ebe3bd2d2f46175a6cbd052f5b99a5c1b7d461d7f635ef6a65452d7e
|
4
|
+
data.tar.gz: 7594efb6386c115204299607570ec261d0d74b4b19f1a692c055324299637e64
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b7878dc5548c2d9778ba96bbed2944969704ae8c8d0ba21facc21374618913c14c74d62718061e2dad5ed687edc1d7e948f15341f29f4e8495154e3a82997630
|
7
|
+
data.tar.gz: 60836811880f70a3060edabe8bab457a97c06846e8bf8f8ca14f7a9b681c4dd1f7bcfa130e52aa02dbae080e3cf0f03d5c8add6aa1396cb67bc147a357e69465
|
data/README.md
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
# NMEA (GPS) and AIS Parser / Decoder for Ruby (nmea_plus)
|
2
2
|
|
3
3
|
[![Gem Version](https://badge.fury.io/rb/nmea_plus.svg)](https://rubygems.org/gems/nmea_plus)
|
4
|
-
[![Build Status](https://travis-ci.org/
|
5
|
-
[![Documentation](http://img.shields.io/badge/docs-rdoc.info-blue.svg)](http://www.rubydoc.info/gems/nmea_plus/1.0.
|
4
|
+
[![Build Status](https://travis-ci.org/ianfixes/nmea_plus.svg)](https://travis-ci.org/ianfixes/nmea_plus)
|
5
|
+
[![Documentation](http://img.shields.io/badge/docs-rdoc.info-blue.svg)](http://www.rubydoc.info/gems/nmea_plus/1.0.21)
|
6
6
|
|
7
|
-
[NMEA Plus](https://github.com/
|
7
|
+
[NMEA Plus](https://github.com/ianfixes/nmea_plus) is a Ruby gem for parsing and decoding "GPS" messages: NMEA, AIS, and any other similar formats of short messaging typically used by marine equipment. It provides convenient access (by name) to the fields of each message type, and a stream reader designed for use with Ruby Blocks.
|
8
8
|
|
9
9
|
|
10
10
|
## Install
|
@@ -59,8 +59,8 @@ io_source = StringIO.new("#{input1}\n#{input2}") # source decoder works on any
|
|
59
59
|
|
60
60
|
source_decoder = NMEAPlus::SourceDecoder.new(io_source)
|
61
61
|
source_decoder.each_complete_message do |message|
|
62
|
-
puts
|
63
|
-
puts
|
62
|
+
puts message.all_checksums_ok? # prints true -- the full message set has good checksums
|
63
|
+
puts message.all_messages_received? # prints true -- taken care of by each_complete_message
|
64
64
|
if "AIVDM" == message.data_type
|
65
65
|
puts message.ais.message_type # prints 5
|
66
66
|
puts message.ais.repeat_indicator # prints 0
|
@@ -139,7 +139,7 @@ This module was written primarily from information scraped together on the web,
|
|
139
139
|
|
140
140
|
## Author
|
141
141
|
|
142
|
-
This gem was written by Ian Katz (
|
142
|
+
This gem was written by Ian Katz (ianfixes@gmail.com) in 2015. It's released under the Apache 2.0 license.
|
143
143
|
|
144
144
|
|
145
145
|
## See Also
|
File without changes
|
File without changes
|
data/lib/nmea_plus/version.rb
CHANGED
metadata
CHANGED
@@ -1,181 +1,181 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nmea_plus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.21
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ian Katz
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-04-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: racc
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - ~>
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '1.4'
|
20
|
-
- -
|
20
|
+
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: '1.0'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
|
-
- - ~>
|
27
|
+
- - "~>"
|
28
28
|
- !ruby/object:Gem::Version
|
29
29
|
version: '1.4'
|
30
|
-
- -
|
30
|
+
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: '1.0'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: bundler
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
36
36
|
requirements:
|
37
|
-
- - ~>
|
37
|
+
- - "~>"
|
38
38
|
- !ruby/object:Gem::Version
|
39
39
|
version: '1.3'
|
40
|
-
- -
|
40
|
+
- - ">="
|
41
41
|
- !ruby/object:Gem::Version
|
42
42
|
version: 1.3.6
|
43
43
|
type: :development
|
44
44
|
prerelease: false
|
45
45
|
version_requirements: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
|
-
- - ~>
|
47
|
+
- - "~>"
|
48
48
|
- !ruby/object:Gem::Version
|
49
49
|
version: '1.3'
|
50
|
-
- -
|
50
|
+
- - ">="
|
51
51
|
- !ruby/object:Gem::Version
|
52
52
|
version: 1.3.6
|
53
53
|
- !ruby/object:Gem::Dependency
|
54
54
|
name: rake
|
55
55
|
requirement: !ruby/object:Gem::Requirement
|
56
56
|
requirements:
|
57
|
-
- - ~>
|
57
|
+
- - "~>"
|
58
58
|
- !ruby/object:Gem::Version
|
59
59
|
version: '10.0'
|
60
60
|
type: :development
|
61
61
|
prerelease: false
|
62
62
|
version_requirements: !ruby/object:Gem::Requirement
|
63
63
|
requirements:
|
64
|
-
- - ~>
|
64
|
+
- - "~>"
|
65
65
|
- !ruby/object:Gem::Version
|
66
66
|
version: '10.0'
|
67
67
|
- !ruby/object:Gem::Dependency
|
68
68
|
name: rubocop
|
69
69
|
requirement: !ruby/object:Gem::Requirement
|
70
70
|
requirements:
|
71
|
-
- - ~>
|
71
|
+
- - "~>"
|
72
72
|
- !ruby/object:Gem::Version
|
73
73
|
version: '0'
|
74
|
-
- -
|
74
|
+
- - ">="
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: 0.46.0
|
77
77
|
type: :development
|
78
78
|
prerelease: false
|
79
79
|
version_requirements: !ruby/object:Gem::Requirement
|
80
80
|
requirements:
|
81
|
-
- - ~>
|
81
|
+
- - "~>"
|
82
82
|
- !ruby/object:Gem::Version
|
83
83
|
version: '0'
|
84
|
-
- -
|
84
|
+
- - ">="
|
85
85
|
- !ruby/object:Gem::Version
|
86
86
|
version: 0.46.0
|
87
87
|
- !ruby/object:Gem::Dependency
|
88
88
|
name: rspec
|
89
89
|
requirement: !ruby/object:Gem::Requirement
|
90
90
|
requirements:
|
91
|
-
- - ~>
|
91
|
+
- - "~>"
|
92
92
|
- !ruby/object:Gem::Version
|
93
93
|
version: '3.0'
|
94
94
|
type: :development
|
95
95
|
prerelease: false
|
96
96
|
version_requirements: !ruby/object:Gem::Requirement
|
97
97
|
requirements:
|
98
|
-
- - ~>
|
98
|
+
- - "~>"
|
99
99
|
- !ruby/object:Gem::Version
|
100
100
|
version: '3.0'
|
101
101
|
- !ruby/object:Gem::Dependency
|
102
102
|
name: simplecov
|
103
103
|
requirement: !ruby/object:Gem::Requirement
|
104
104
|
requirements:
|
105
|
-
- - ~>
|
105
|
+
- - "~>"
|
106
106
|
- !ruby/object:Gem::Version
|
107
107
|
version: '0.10'
|
108
|
-
- -
|
108
|
+
- - ">="
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: 0.10.0
|
111
111
|
type: :development
|
112
112
|
prerelease: false
|
113
113
|
version_requirements: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
|
-
- - ~>
|
115
|
+
- - "~>"
|
116
116
|
- !ruby/object:Gem::Version
|
117
117
|
version: '0.10'
|
118
|
-
- -
|
118
|
+
- - ">="
|
119
119
|
- !ruby/object:Gem::Version
|
120
120
|
version: 0.10.0
|
121
121
|
- !ruby/object:Gem::Dependency
|
122
122
|
name: simplecov-json
|
123
123
|
requirement: !ruby/object:Gem::Requirement
|
124
124
|
requirements:
|
125
|
-
- - ~>
|
125
|
+
- - "~>"
|
126
126
|
- !ruby/object:Gem::Version
|
127
127
|
version: '0.2'
|
128
|
-
- -
|
128
|
+
- - ">="
|
129
129
|
- !ruby/object:Gem::Version
|
130
130
|
version: 0.2.0
|
131
131
|
type: :development
|
132
132
|
prerelease: false
|
133
133
|
version_requirements: !ruby/object:Gem::Requirement
|
134
134
|
requirements:
|
135
|
-
- - ~>
|
135
|
+
- - "~>"
|
136
136
|
- !ruby/object:Gem::Version
|
137
137
|
version: '0.2'
|
138
|
-
- -
|
138
|
+
- - ">="
|
139
139
|
- !ruby/object:Gem::Version
|
140
140
|
version: 0.2.0
|
141
141
|
- !ruby/object:Gem::Dependency
|
142
142
|
name: rexical
|
143
143
|
requirement: !ruby/object:Gem::Requirement
|
144
144
|
requirements:
|
145
|
-
- - ~>
|
145
|
+
- - "~>"
|
146
146
|
- !ruby/object:Gem::Version
|
147
147
|
version: '1.0'
|
148
|
-
- -
|
148
|
+
- - ">="
|
149
149
|
- !ruby/object:Gem::Version
|
150
150
|
version: '1.0'
|
151
151
|
type: :development
|
152
152
|
prerelease: false
|
153
153
|
version_requirements: !ruby/object:Gem::Requirement
|
154
154
|
requirements:
|
155
|
-
- - ~>
|
155
|
+
- - "~>"
|
156
156
|
- !ruby/object:Gem::Version
|
157
157
|
version: '1.0'
|
158
|
-
- -
|
158
|
+
- - ">="
|
159
159
|
- !ruby/object:Gem::Version
|
160
160
|
version: '1.0'
|
161
161
|
- !ruby/object:Gem::Dependency
|
162
162
|
name: yard
|
163
163
|
requirement: !ruby/object:Gem::Requirement
|
164
164
|
requirements:
|
165
|
-
- - ~>
|
165
|
+
- - "~>"
|
166
166
|
- !ruby/object:Gem::Version
|
167
167
|
version: '0.8'
|
168
|
-
- -
|
168
|
+
- - ">="
|
169
169
|
- !ruby/object:Gem::Version
|
170
170
|
version: '0.8'
|
171
171
|
type: :development
|
172
172
|
prerelease: false
|
173
173
|
version_requirements: !ruby/object:Gem::Requirement
|
174
174
|
requirements:
|
175
|
-
- - ~>
|
175
|
+
- - "~>"
|
176
176
|
- !ruby/object:Gem::Version
|
177
177
|
version: '0.8'
|
178
|
-
- -
|
178
|
+
- - ">="
|
179
179
|
- !ruby/object:Gem::Version
|
180
180
|
version: '0.8'
|
181
181
|
description: "A pure-ruby parser and decoder toolkit for NMEA messages (GPS, AIS,
|
@@ -183,13 +183,14 @@ description: "A pure-ruby parser and decoder toolkit for NMEA messages (GPS, AIS
|
|
183
183
|
to all data fields. All standard NMEA messages,\n nearly
|
184
184
|
all AIS messages, and some proprietary NMEA messages are supported.\n "
|
185
185
|
email:
|
186
|
-
-
|
186
|
+
- ianfixes@gmail.com
|
187
187
|
executables: []
|
188
188
|
extensions: []
|
189
189
|
extra_rdoc_files: []
|
190
190
|
files:
|
191
|
+
- ".yardopts"
|
191
192
|
- README.md
|
192
|
-
- .
|
193
|
+
- lib/nmea_plus.rb
|
193
194
|
- lib/nmea_plus/ais_message_factory.rb
|
194
195
|
- lib/nmea_plus/generated_parser/parser.rb
|
195
196
|
- lib/nmea_plus/generated_parser/tokenizer.rb
|
@@ -394,10 +395,9 @@ files:
|
|
394
395
|
- lib/nmea_plus/message_factory.rb
|
395
396
|
- lib/nmea_plus/nmea_message_factory.rb
|
396
397
|
- lib/nmea_plus/version.rb
|
397
|
-
|
398
|
-
homepage: http://github.com/ifreecarve/nmea_plus
|
398
|
+
homepage: http://github.com/ianfixes/nmea_plus
|
399
399
|
licenses:
|
400
|
-
- Apache
|
400
|
+
- Apache-2.0
|
401
401
|
metadata: {}
|
402
402
|
post_install_message:
|
403
403
|
rdoc_options: []
|
@@ -405,17 +405,17 @@ require_paths:
|
|
405
405
|
- lib
|
406
406
|
required_ruby_version: !ruby/object:Gem::Requirement
|
407
407
|
requirements:
|
408
|
-
- - ~>
|
408
|
+
- - "~>"
|
409
409
|
- !ruby/object:Gem::Version
|
410
410
|
version: '2.0'
|
411
411
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
412
412
|
requirements:
|
413
|
-
- -
|
413
|
+
- - ">="
|
414
414
|
- !ruby/object:Gem::Version
|
415
415
|
version: '0'
|
416
416
|
requirements: []
|
417
417
|
rubyforge_project:
|
418
|
-
rubygems_version: 2.
|
418
|
+
rubygems_version: 2.7.4
|
419
419
|
signing_key:
|
420
420
|
specification_version: 4
|
421
421
|
summary: Parse and decode NMEA (GPS) and AIS messages
|