ogn_client-ruby 0.2.6 → 0.3.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
  SHA256:
3
- metadata.gz: 9d15ec2bb431d9789d191c86f1a3c5a8db293c18c28d2dedec3151fb5233f83e
4
- data.tar.gz: 744ff61006ae3f00c21322af371eaa75d8fd93de66ddc5920df85030d4a9168b
3
+ metadata.gz: 0c194d13176e37d09fea3953586ac5cae009d7b62b22d712b741df48f64abc33
4
+ data.tar.gz: 208629c77ffe3965d19e11ae119fd28a62fca6e56b2d33f56cc99937c6986647
5
5
  SHA512:
6
- metadata.gz: 22d57f6c7735e2215009f4611837ccc45fc6018aef7a102d5252e0ddfc2e1d4b34265c6948e3ea53981147f92ded0903eb64bc05724336b8bf1ce4c91ae64438
7
- data.tar.gz: 1ef656bfb3129ee5b5b17b348a27474b10143ebf4ee66841933eeda174ab5b4789408551616e6b4f857625883afe7342cfd7e5bb95a3d3b258561c40206e08d5
6
+ metadata.gz: b0d7904e6812f3b37d5b5ac9bb064c9a6e0ac6a0ecce0f224693a8fcd049d92a23bb6082b8dbf5cb0ade4989d9222f9ac8d563c77ed8e85b4c190e335e8ed7e2
7
+ data.tar.gz: ed933b68728583e3d6d2d973ec85080c02df1d0c4f8574dfe93c617d751a199bf10d6eb0a4054b985e55b802397eaf9bd03e5fc7cff986e017893b20d1d0bc98
data/CHANGELOG.md CHANGED
@@ -2,41 +2,61 @@
2
2
 
3
3
  Nothing so far
4
4
 
5
+ ## 0.3.1
6
+
7
+ ### Changes
8
+ * Update Ruby to 4.0
9
+
10
+ ## 0.3.0
11
+
12
+ ### Changes
13
+ * Drop certs
14
+ * Add action for trusted release
15
+
5
16
  ## 0.2.6
6
17
 
7
- * update Ruby to 3.4
18
+ ### Changes
19
+ * Update Ruby to 3.4
8
20
 
9
21
  ## 0.2.5
10
22
 
11
- * skip live tests by default
12
- * update certificate
23
+ ### Changes
24
+ * Skip live tests by default
25
+ * Update certificate
13
26
 
14
27
  ## 0.2.4
15
28
 
16
- * add ogn2geojson
17
- * sign gem and add checksums
29
+ ### Additions
30
+ * Add ogn2geojson
31
+ * Sign gem and add checksums
18
32
 
19
33
  ## 0.2.3
20
34
 
21
- * add support for explicit message date
22
- * fix ogn2kml for larger tracks
35
+ ### Additions
36
+ * Add support for explicit message date
37
+
38
+ ### Fixes
39
+ * Fix ogn2kml for larger tracks
23
40
 
24
41
  ## 0.2.2
25
42
 
26
- * add example executables
43
+ ### Additions
44
+ * Add example executables
27
45
  * ognlogd
28
46
  * ogn2kml
29
47
 
30
48
  ## 0.2.0
31
49
 
32
- * support for receiver versions <= 0.2.6
33
- * renamed `Sender` to `SenderBeacon`
34
- * devided `Receiver` to `ReceiverBeacon` and `ReceiverStatus`
50
+ ### Additions
51
+ * Support for receiver versions <= 0.2.6
52
+ * Renamed `Sender` to `SenderBeacon`
53
+ * Devided `Receiver` to `ReceiverBeacon` and `ReceiverStatus`
35
54
  * `ReceiverStatus` is *not* available for receiver versions < 0.2.6
36
55
 
37
56
  ## 0.1.3
38
57
 
39
- * renamed sender and receiver attributes
58
+ ### Changes
59
+ * Renamed sender and receiver attributes
40
60
  * `Sender#signal` -> `Sender#signal_quality`
41
61
  * `Sender#power` -> `Sender#signal_power`
42
62
  * `Receiver#signal` -> `Receiver#signal_quality`
@@ -45,9 +65,9 @@ Nothing so far
45
65
 
46
66
  ## 0.1.2
47
67
 
48
- * support for receiver versions <= 0.2.5
49
- * faster message parsing
50
- * new sender and receiver attributes
68
+ ### Additions
69
+ * Support for receiver versions <= 0.2.5
70
+ * New sender and receiver attributes
51
71
  * `Sender#power`
52
72
  * `Receiver#voltage`
53
73
  * `Receiver#amperage`
@@ -60,30 +80,39 @@ Nothing so far
60
80
  * `Receiver#good_and_bad_senders`
61
81
  * `Receiver#good_senders`
62
82
  * `Receiver#bad_senders`
63
- * renamed receiver attributes
83
+
84
+ ### Changes
85
+ * Faster message parsing
86
+ * Renamed receiver attributes
64
87
  * `Receiver#manual_correction` -> `Receiver#rf_correction_manual`
65
88
  * `Receiver#automatic_correction` -> `Receiver#rf_correction_automatic`
66
89
 
67
90
  ## 0.1.1
68
91
 
69
- * supported receiver versions <= 0.2.4
70
- * remove debug support and raise errors instead
71
- * convert raw messages to UTF-8 before parsing
72
- * new sender and receiver attributes
92
+ ### Additions
93
+ * New sender and receiver attributes
73
94
  * `Sender#flight_level
74
95
  * `Sender#flarm_software_version`
75
96
  * `Sender#flarm_hardware_version`
76
97
  * `Sender#flarm_id`
77
98
  * `Receiver#manual_correction`
78
99
  * `Receiver#automatic_correction`
79
- * renamed message attribute
100
+ * Verification of supported receiver version
101
+
102
+ ### Changes
103
+ * Supported receiver versions <= 0.2.4
104
+ * Convert raw messages to UTF-8 before parsing
105
+ * Renamed message attribute
80
106
  * `Message#speed` -> `Message#ground_speed`
81
- * verification of supported receiver version
107
+
108
+ ### Removals
109
+ * Remove debug support and raise errors instead
82
110
 
83
111
  ## 0.1.0
84
112
 
113
+ ### Additions
85
114
  * OGN subscription
86
- * parser for senders, receivers and comments with attributes
115
+ * Parser for senders, receivers and comments with attributes
87
116
  * `Message#raw`
88
117
  * `Message#callsign`
89
118
  * `Message#receiver`
data/README.md CHANGED
@@ -14,14 +14,6 @@ Thank you for supporting free and open-source software by sponsoring on [GitHub]
14
14
 
15
15
  ## Installation
16
16
 
17
- ### Security
18
-
19
- This gem is [cryptographically signed](https://guides.rubygems.org/security/#using-gems) in order to assure it hasn't been tampered with. Unless already done, please add the author's public key as a trusted certificate now:
20
-
21
- ```
22
- gem cert --add <(curl -Ls https://raw.github.com/svoop/ogn_client-ruby/master/certs/svoop.pem)
23
- ```
24
-
25
17
  ### Bundler
26
18
 
27
19
  Add the following to the <tt>Gemfile</tt> or <tt>gems.rb</tt> of your [Bundler](https://bundler.io) powered Ruby project:
@@ -33,7 +25,7 @@ gem 'ogn_client-ruby', require: 'ogn_client'
33
25
  And then install the bundle:
34
26
 
35
27
  ```
36
- bundle install --trust-policy MediumSecurity
28
+ bundle install
37
29
  ```
38
30
 
39
31
  ### Standalone
@@ -41,7 +33,7 @@ bundle install --trust-policy MediumSecurity
41
33
  If you're only going to use [the executables](#executables):
42
34
 
43
35
  ```
44
- gem install ogn_client-ruby --trust-policy MediumSecurity
36
+ gem install ogn_client-ruby
45
37
  ```
46
38
 
47
39
  ## Usage
@@ -232,7 +224,7 @@ To install the development dependencies and then run the test suite:
232
224
  bundle install
233
225
  bundle exec rake # run tests once
234
226
  bundle exec guard # run tests whenever files are modified
235
-
227
+
236
228
  The test suite may run against live OGN data if you set the `SPEC_SCOPE` environment variable, by default, these tests are skipped.
237
229
 
238
230
  ```
@@ -94,12 +94,12 @@ module OGNClient
94
94
  end
95
95
 
96
96
  def longitude=(raw)
97
- raw.first.match /(\d{3})([\d.]+)([EW])/
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 /(\d{2})([\d.]+)([NS])/
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
 
@@ -1,3 +1,3 @@
1
1
  module OGNClient
2
- VERSION = "0.2.6".freeze
2
+ VERSION = "0.3.1".freeze
3
3
  end
metadata CHANGED
@@ -1,34 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ogn_client-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sven Schwyn
8
8
  bindir: exe
9
- cert_chain:
10
- - |
11
- -----BEGIN CERTIFICATE-----
12
- MIIDODCCAiCgAwIBAgIBATANBgk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ymASS2KHe+BaCTwD74GqO8q4woYLZgXnJ/PvgcFgY2FEi2Kn/sXLp4JE
29
- boIgxQCMT+nxBHCD
30
- -----END CERTIFICATE-----
31
- date: 2024-12-26 00:00:00.000000000 Z
9
+ cert_chain: []
10
+ date: 1980-01-02 00:00:00.000000000 Z
32
11
  dependencies:
33
12
  - !ruby/object:Gem::Dependency
34
13
  name: ostruct
@@ -154,9 +133,9 @@ executables:
154
133
  - ognlogd
155
134
  extensions: []
156
135
  extra_rdoc_files:
157
- - README.md
158
136
  - CHANGELOG.md
159
137
  - LICENSE.txt
138
+ - README.md
160
139
  files:
161
140
  - CHANGELOG.md
162
141
  - LICENSE.txt
@@ -203,7 +182,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
203
182
  - !ruby/object:Gem::Version
204
183
  version: '0'
205
184
  requirements: []
206
- rubygems_version: 3.6.2
185
+ rubygems_version: 4.0.3
207
186
  specification_version: 4
208
187
  summary: Subscriber and parser for APRS messages from OGN
209
188
  test_files: []
checksums.yaml.gz.sig DELETED
Binary file
data.tar.gz.sig DELETED
@@ -1,4 +0,0 @@
1
- �͏�.�+!�P��ݽ���H窇'�Z��"��x��z
2
- b������Z-��'��Q�PT��V� ��[�E�$�
3
- ���:��[���˒����(���
4
- R�h��V.DU,<oMy����A� l
metadata.gz.sig DELETED
@@ -1,2 +0,0 @@
1
- Q���&��P�51���<AL��+:���h��Otn�~z��1���u�L��fj
2
- �+�����'�Ş��u���ǴWa���p�d���d�� m�vn��3|j�~��Q�&z�03�7�?K�%�C���O���(n� +Ix5�<;�aB�Z�ͻ���0J������ך�����gT� t,3�/,������W U��UFT�