nmea_gps 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +22 -0
- data/.travis.yml +3 -0
- data/Gemfile +4 -0
- data/Guardfile +18 -0
- data/LICENSE.txt +22 -0
- data/README.md +80 -0
- data/Rakefile +7 -0
- data/lib/nmea_gps/config.rb +11 -0
- data/lib/nmea_gps/gps.rb +82 -0
- data/lib/nmea_gps/sentence_base.rb +37 -0
- data/lib/nmea_gps/sentences/gga.rb +70 -0
- data/lib/nmea_gps/sentences/gll.rb +34 -0
- data/lib/nmea_gps/sentences/gsa.rb +57 -0
- data/lib/nmea_gps/sentences/gsv.rb +34 -0
- data/lib/nmea_gps/sentences/rmc.rb +65 -0
- data/lib/nmea_gps/sentences/vtg.rb +27 -0
- data/lib/nmea_gps/sentences/zda.rb +31 -0
- data/lib/nmea_gps/version.rb +3 -0
- data/lib/nmea_gps.rb +40 -0
- data/nmea_gps.gemspec +29 -0
- data/spec/ddd_formatable_spec.rb +18 -0
- data/spec/lib/gps_spec.rb +97 -0
- data/spec/lib/nmea_gps/gps_spec.rb +138 -0
- data/spec/lib/nmea_gps/sentence_base_spec.rb +25 -0
- data/spec/lib/nmea_gps/sentences/gga_spec.rb +59 -0
- data/spec/lib/nmea_gps/sentences/gll_spec.rb +37 -0
- data/spec/lib/nmea_gps/sentences/gsa_spec.rb +44 -0
- data/spec/lib/nmea_gps/sentences/gsv_spec.rb +36 -0
- data/spec/lib/nmea_gps/sentences/rmc_spec.rb +62 -0
- data/spec/lib/nmea_gps/sentences/vtg_spec.rb +28 -0
- data/spec/lib/nmea_gps/sentences/zda_spec.rb +32 -0
- data/spec/nmea_gps_spec.rb +8 -0
- data/spec/spec_helper.rb +11 -0
- data/spec/utc_timeable_spec.rb +32 -0
- metadata +205 -0
metadata
ADDED
@@ -0,0 +1,205 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: nmea_gps
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- ore
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2014-12-18 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.6'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.6'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rspec
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: factory_girl
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: guard-rspec
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: timecop
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: serialport
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: activesupport
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
description: add your serialport object, and you'll get callbacks every time the serialport
|
126
|
+
gets logs.
|
127
|
+
email:
|
128
|
+
- orenoimac@gmail.com
|
129
|
+
executables: []
|
130
|
+
extensions: []
|
131
|
+
extra_rdoc_files: []
|
132
|
+
files:
|
133
|
+
- ".gitignore"
|
134
|
+
- ".travis.yml"
|
135
|
+
- Gemfile
|
136
|
+
- Guardfile
|
137
|
+
- LICENSE.txt
|
138
|
+
- README.md
|
139
|
+
- Rakefile
|
140
|
+
- lib/nmea_gps.rb
|
141
|
+
- lib/nmea_gps/config.rb
|
142
|
+
- lib/nmea_gps/gps.rb
|
143
|
+
- lib/nmea_gps/sentence_base.rb
|
144
|
+
- lib/nmea_gps/sentences/gga.rb
|
145
|
+
- lib/nmea_gps/sentences/gll.rb
|
146
|
+
- lib/nmea_gps/sentences/gsa.rb
|
147
|
+
- lib/nmea_gps/sentences/gsv.rb
|
148
|
+
- lib/nmea_gps/sentences/rmc.rb
|
149
|
+
- lib/nmea_gps/sentences/vtg.rb
|
150
|
+
- lib/nmea_gps/sentences/zda.rb
|
151
|
+
- lib/nmea_gps/version.rb
|
152
|
+
- nmea_gps.gemspec
|
153
|
+
- spec/ddd_formatable_spec.rb
|
154
|
+
- spec/lib/gps_spec.rb
|
155
|
+
- spec/lib/nmea_gps/gps_spec.rb
|
156
|
+
- spec/lib/nmea_gps/sentence_base_spec.rb
|
157
|
+
- spec/lib/nmea_gps/sentences/gga_spec.rb
|
158
|
+
- spec/lib/nmea_gps/sentences/gll_spec.rb
|
159
|
+
- spec/lib/nmea_gps/sentences/gsa_spec.rb
|
160
|
+
- spec/lib/nmea_gps/sentences/gsv_spec.rb
|
161
|
+
- spec/lib/nmea_gps/sentences/rmc_spec.rb
|
162
|
+
- spec/lib/nmea_gps/sentences/vtg_spec.rb
|
163
|
+
- spec/lib/nmea_gps/sentences/zda_spec.rb
|
164
|
+
- spec/nmea_gps_spec.rb
|
165
|
+
- spec/spec_helper.rb
|
166
|
+
- spec/utc_timeable_spec.rb
|
167
|
+
homepage: ''
|
168
|
+
licenses:
|
169
|
+
- MIT
|
170
|
+
metadata: {}
|
171
|
+
post_install_message:
|
172
|
+
rdoc_options: []
|
173
|
+
require_paths:
|
174
|
+
- lib
|
175
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
176
|
+
requirements:
|
177
|
+
- - ">="
|
178
|
+
- !ruby/object:Gem::Version
|
179
|
+
version: '0'
|
180
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
181
|
+
requirements:
|
182
|
+
- - ">="
|
183
|
+
- !ruby/object:Gem::Version
|
184
|
+
version: '0'
|
185
|
+
requirements: []
|
186
|
+
rubyforge_project:
|
187
|
+
rubygems_version: 2.2.2
|
188
|
+
signing_key:
|
189
|
+
specification_version: 4
|
190
|
+
summary: NMEA GPS logs to trigger a callback on each NMEA 0183 sentence.
|
191
|
+
test_files:
|
192
|
+
- spec/ddd_formatable_spec.rb
|
193
|
+
- spec/lib/gps_spec.rb
|
194
|
+
- spec/lib/nmea_gps/gps_spec.rb
|
195
|
+
- spec/lib/nmea_gps/sentence_base_spec.rb
|
196
|
+
- spec/lib/nmea_gps/sentences/gga_spec.rb
|
197
|
+
- spec/lib/nmea_gps/sentences/gll_spec.rb
|
198
|
+
- spec/lib/nmea_gps/sentences/gsa_spec.rb
|
199
|
+
- spec/lib/nmea_gps/sentences/gsv_spec.rb
|
200
|
+
- spec/lib/nmea_gps/sentences/rmc_spec.rb
|
201
|
+
- spec/lib/nmea_gps/sentences/vtg_spec.rb
|
202
|
+
- spec/lib/nmea_gps/sentences/zda_spec.rb
|
203
|
+
- spec/nmea_gps_spec.rb
|
204
|
+
- spec/spec_helper.rb
|
205
|
+
- spec/utc_timeable_spec.rb
|