ogn_client-ruby 0.3.0 → 0.3.2
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 +4 -4
- data/CHANGELOG.md +10 -0
- data/lib/ogn_client/message.rb +2 -2
- data/lib/ogn_client/version.rb +1 -1
- metadata +3 -16
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ed375f3881abd54c1f80881b755e046051bf5a3df6410b1d6ad9b1930933dc8f
|
|
4
|
+
data.tar.gz: 0bc2bd42a5e892a9707fda81f9a538ab368ac6517966ed5f7525fa52bb172844
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7222c6f3232c756ab7bd1f69382a1db9b8ef08ebaea7534923d1fcfec7ddd0bec288ff52dbc4acdcddf010adbd135a20cce9cf13ce8a21f7308296e41530f901
|
|
7
|
+
data.tar.gz: 63248c1b9136d7e291544b959e0e9ba98c069f574747cadd3865655bdc62f2fb24d691b1b918ffefd0b3d9c084aa8f69c6cc6c02bb18ee97718fa39b30b86dbf
|
data/CHANGELOG.md
CHANGED
data/lib/ogn_client/message.rb
CHANGED
|
@@ -94,12 +94,12 @@ module OGNClient
|
|
|
94
94
|
end
|
|
95
95
|
|
|
96
96
|
def longitude=(raw)
|
|
97
|
-
raw.first.match
|
|
97
|
+
raw.first.match(/(\d{3})([\d.]+)([EW])/)
|
|
98
98
|
@longitude = (($1.to_f + ("#{$2}#{raw.last}".to_f / 60)) * ($3 == 'E' ? 1 : -1)).round(6)
|
|
99
99
|
end
|
|
100
100
|
|
|
101
101
|
def latitude=(raw)
|
|
102
|
-
raw.first.match
|
|
102
|
+
raw.first.match(/(\d{2})([\d.]+)([NS])/)
|
|
103
103
|
@latitude = (($1.to_f + ("#{$2}#{raw.last}".to_f / 60)) * ($3 == 'N' ? 1 : -1)).round(6)
|
|
104
104
|
end
|
|
105
105
|
|
data/lib/ogn_client/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ogn_client-ruby
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sven Schwyn
|
|
@@ -79,20 +79,6 @@ dependencies:
|
|
|
79
79
|
- - ">="
|
|
80
80
|
- !ruby/object:Gem::Version
|
|
81
81
|
version: '0'
|
|
82
|
-
- !ruby/object:Gem::Dependency
|
|
83
|
-
name: minitest-focus
|
|
84
|
-
requirement: !ruby/object:Gem::Requirement
|
|
85
|
-
requirements:
|
|
86
|
-
- - ">="
|
|
87
|
-
- !ruby/object:Gem::Version
|
|
88
|
-
version: '0'
|
|
89
|
-
type: :development
|
|
90
|
-
prerelease: false
|
|
91
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
92
|
-
requirements:
|
|
93
|
-
- - ">="
|
|
94
|
-
- !ruby/object:Gem::Version
|
|
95
|
-
version: '0'
|
|
96
82
|
- !ruby/object:Gem::Dependency
|
|
97
83
|
name: guard
|
|
98
84
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -161,6 +147,7 @@ metadata:
|
|
|
161
147
|
source_code_uri: https://github.com/svoop/ogn_client-ruby
|
|
162
148
|
documentation_uri: https://www.rubydoc.info/gems/ogn_client-ruby
|
|
163
149
|
bug_tracker_uri: https://github.com/svoop/ogn_client-ruby/issues
|
|
150
|
+
rubygems_mfa_required: 'true'
|
|
164
151
|
rdoc_options:
|
|
165
152
|
- "--title"
|
|
166
153
|
- OGN Subscriber and Parser
|
|
@@ -182,7 +169,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
182
169
|
- !ruby/object:Gem::Version
|
|
183
170
|
version: '0'
|
|
184
171
|
requirements: []
|
|
185
|
-
rubygems_version:
|
|
172
|
+
rubygems_version: 4.0.6
|
|
186
173
|
specification_version: 4
|
|
187
174
|
summary: Subscriber and parser for APRS messages from OGN
|
|
188
175
|
test_files: []
|