aixm 1.5.4 → 1.6.0

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: eef9764dda32859252dc13e400eb45e58f5e3b8a765cbec5c5e1dde2038c9a69
4
- data.tar.gz: d05058d84cbb2916292435baaab1d7e64c83802a5a83e2a34413313bbaab8d29
3
+ metadata.gz: 54fa0ff86d338bc2e723eefab1784296264f96559a107d2775b06b83ae329ed6
4
+ data.tar.gz: 944502868bc69709feb3fc88d02896ed5245f39f443a3cb8f08f91ed5f74d330
5
5
  SHA512:
6
- metadata.gz: 85a60666d01b5268b7755db8d4cf5fd0ded9a78a7b2ac30ed93e9fb0cfa3150aca90467f1f605e24c1c4fde6240997127958ddd882b78291621858c70592d88e
7
- data.tar.gz: 6763063eee8001ac2c036dbee523e86fcd4089e7910c394f7d502ae56cdbd4ed17769a89efa514dba4668a36ca5e0c141c0060a8858f2146ca33f5027fe29063
6
+ metadata.gz: aa2fea8d6108d69c3411fc67c5d05eb95f96fddfdcf5a0d0bfe183020b701aa990eb96c9e0d38d6b1906ccbd8da740a21a78bc10e28bb541ff2f278fd5b3c0bd
7
+ data.tar.gz: 176a246ea2c02f0ebd2ca3270cfb7ed1ed1676b94e0e380bcdb197ae4cd91b73aaf60abce4c1c89bbe614f3c32276d14485deefdeb73af69ed0a4a4d6bb5ea3b
data/CHANGELOG.md CHANGED
@@ -2,9 +2,15 @@
2
2
 
3
3
  Nothing so far
4
4
 
5
+ ## 1.6.0
6
+
7
+ ### Changes
8
+ * Drop certs
9
+ * Add action for trusted release
10
+
5
11
  ## 1.5.4
6
12
 
7
- #### Changes
13
+ ### Changes
8
14
  * Update Ruby to 3.4
9
15
 
10
16
  ## 1.5.3
@@ -37,17 +43,17 @@ Nothing so far
37
43
 
38
44
  ## 1.4.2
39
45
 
40
- #### Changes
46
+ ### Changes
41
47
  * Fix 00:00 vs. 24:00 calculation for times with time zones
42
48
 
43
49
  ## 1.4.1
44
50
 
45
- #### Changes
51
+ ### Changes
46
52
  * Update upstream OFMX schema
47
53
 
48
54
  ## 1.4.0
49
55
 
50
- #### Additions
56
+ ### Additions
51
57
  * Runways include the center line from edge to edge as two `Rcp` features if
52
58
  the center line is known (bidirectional runway) or can be calculated
53
59
  (unidirectional runway with known dimensions).
@@ -57,47 +63,47 @@ Nothing so far
57
63
  * Refinement `Numeric#to_deg`
58
64
  * `AIXM::XY#bearing` and `AIXM::XY@add_distance`
59
65
 
60
- #### Breaking Changes
66
+ ### Breaking Changes
61
67
  * Up until now, `Rdn->geoLat` and `Rdn->geoLong` were set to the THR. This
62
68
  change sets them to the DTHR if any.
63
69
  * `Runway::Direction#displaced_threshold=` fails when set as distance unless
64
70
  `Runway::Direction#xy` and `Runway::Direction#bearing` are known.
65
71
  * `Runway::Direction#displaced_threshold` always returns coordinates.
66
72
 
67
- #### Changes
73
+ ### Changes
68
74
  * `Document#created_at` and similar accept local times and convert them to UTC
69
75
  when the XML is generated.
70
76
  * Moved refinements `Float#to_dms` and `Float#to_rad` to `Numeric`
71
77
 
72
78
  ## 1.3.4
73
79
 
74
- #### Additions
80
+ ### Additions
75
81
  * `ckmid` skips XML schema validation if `-s` argument is set.
76
82
 
77
83
  ## 1.3.3
78
84
 
79
- #### Changes
85
+ ### Changes
80
86
  * Extend `ckmid` and `mkmid` to accept multiple files and globbing.
81
87
 
82
88
  ## 1.3.2
83
89
 
84
- #### Changes
90
+ ### Changes
85
91
  * Add `#pred` (aliased `#prev`) and `#succ` (alias `#next`) to both
86
92
  `AIXM::Date` and `AIXM::Day` in order to use them for iterations
87
93
  * Pretty print generic features only to prevent segfaults on large documents
88
94
 
89
95
  ## 1.3.1
90
96
 
91
- #### Changes
97
+ ### Changes
92
98
  * Update certificate
93
99
 
94
100
  ## 1.3.0
95
101
 
96
- #### Breaking Changes
102
+ ### Breaking Changes
97
103
  * `Document#created_at` no longer falls back to `Document#effective_at`
98
104
  * Renamed `AIXM::Date#succ` to `AIXM::Date#next`
99
105
 
100
- #### Additions
106
+ ### Additions
101
107
  * Refinement to pretty print Nokogiri XML documents
102
108
  * XML comments on features (e.g. to include raw NOTAM)
103
109
  * `Document#expiration_at` for OFMX
@@ -108,22 +114,22 @@ Nothing so far
108
114
 
109
115
  ## 1.2.1
110
116
 
111
- #### Additions
117
+ ### Additions
112
118
  * Rounding of `AIXM::Schedule::Time`
113
119
 
114
120
  ## 1.2.0
115
121
 
116
- #### Additions
122
+ ### Additions
117
123
  * `Timesheet` to add custom schedules to `Timetable`
118
124
  * `AIXM::Schedule::(Date|Day|Time)` for custom timetables
119
125
  * Interface to allow most class instances as Hash keys
120
126
 
121
- #### Fixes
127
+ ### Fixes
122
128
  * Fix typo in `GUESSED_UNIT_TYPES_MAP`
123
129
 
124
130
  ## 1.1.0
125
131
 
126
- #### Breaking Changes
132
+ ### Breaking Changes
127
133
  * `AIXM::Concerns::Association:Array#duplicates` now returns an array of arrays which
128
134
  group all duplicates together.
129
135
  * `VOR#associate_dme` and `VOR#associate_tacan` no longer take the channel
@@ -137,7 +143,7 @@ Nothing so far
137
143
  * Demoted `Address` to component
138
144
  * Fixed typo in `Service` type `:vdf_direction_finding_service`
139
145
 
140
- #### Additions
146
+ ### Additions
141
147
  * Associations from `Service` to `Airport` and `Airspace`
142
148
  * `AIXM::R` (rectangle)
143
149
  * `Runway#marking`
@@ -146,37 +152,37 @@ Nothing so far
146
152
  * `#meta` on every feature and component
147
153
  * `Document#regions` which is added to the root element for OFMX
148
154
 
149
- #### Changes
155
+ ### Changes
150
156
  * Nested memoization of the same method is now allowed and won't reset the
151
157
  memoization cache anymore.
152
158
  * Remove unit "mhz" from `Address` of type `:radio_frequency`.
153
159
 
154
160
  ## 1.0.0
155
161
 
156
- #### Breaking Changes
162
+ ### Breaking Changes
157
163
  * Move `Ase->txtLocalType` up into `AseUid` for OFMX
158
164
 
159
- #### Additions
165
+ ### Additions
160
166
  * Add rhumb line geometry
161
167
 
162
168
  ## 0.3.11
163
169
 
164
- #### Breaking Changes
170
+ ### Breaking Changes
165
171
  * Renamed default git branch to `main`
166
172
  * Require Ruby 3.0
167
173
  * `Address#address` requires and returns `AIXM::F` for type `:radio_frequency`
168
174
 
169
- #### Changes
175
+ ### Changes
170
176
  * Fix `Obstacle#source` for OFMX
171
177
 
172
- #### Additions
178
+ ### Additions
173
179
  * Add `f#voice?` and `AIXM.config.voice_channel_separation` to check whether a
174
180
  frequency belongs to the voice communication airband and use it to validate
175
181
  `Frequency`
176
182
 
177
183
  ## 0.3.10
178
184
 
179
- #### Additions
185
+ ### Additions
180
186
  * Proper `has_many` and `has_one` associations
181
187
  * `AIXM::Concerns::Association:Array#find_by|find|duplicates` on `has_many` associations
182
188
  * `AIXM.config.mid` now defines whether `mid` attributes are inserted or not
@@ -188,7 +194,7 @@ Nothing so far
188
194
  * Geometries respond to `#point?`, `#circle?` and `#polygon?`
189
195
  * `Layer#services`
190
196
 
191
- #### Breaking Changes
197
+ ### Breaking Changes
192
198
  * Require Ruby 2.7
193
199
  * Moved `region` attribute from `Document` back to features again
194
200
  * Use `Document#add_feature` instead of `Document@features#<<`
@@ -201,27 +207,27 @@ Nothing so far
201
207
  * Refinement `String#payload_hash` removed in favor of `AIXM::PayloadHash` class
202
208
  * Refinements `Array#find|duplicates` removed
203
209
 
204
- #### Changes
210
+ ### Changes
205
211
  * Renamed `AIXM.config.mid_region` to `AIXM.config.region`
206
212
 
207
213
  ## 0.3.8
208
214
 
209
- #### Additions
215
+ ### Additions
210
216
  * `AIXM.config.mid_region` to insert `mid` attributes
211
217
  * Refinement `String#insert_payload_hash`
212
218
 
213
- #### Changes
219
+ ### Changes
214
220
  * Fix calculation of magnetic bearing
215
221
 
216
222
  ## 0.3.7
217
223
 
218
- #### Additions
224
+ ### Additions
219
225
  * `Document#select_features`
220
226
  * `Document#group_obstacles!`
221
227
 
222
228
  ## 0.3.6
223
229
 
224
- #### Additions
230
+ ### Additions
225
231
  * `FATO`
226
232
  * `Helipad#helicopter_class` and `Helipad#marking`
227
233
  * `AIXM::XY#seconds?` to detect possibly rounded or estimated coordinates
@@ -231,23 +237,23 @@ Nothing so far
231
237
  * `Lighting` for use with runways, helipads and FATOs
232
238
  * Surface details `#siwl_weight`, `#siwl_tire_pressure` and `#auw_weight`
233
239
 
234
- #### Changes
240
+ ### Changes
235
241
  * Generate `Airport#id` from region and `Airport#name`
236
242
 
237
243
  ## 0.3.5
238
244
 
239
- #### Additions
245
+ ### Additions
240
246
  * Refinement `Object#then_if`
241
247
  * Airspace activity types `:aeromodelling` and `:glider_winch`
242
248
  * `AIXM::XY#to_point` convenience method
243
249
 
244
- #### Breaking Changes
250
+ ### Breaking Changes
245
251
  * Renamed airspace activity type "TOWING" from `:winch_activity` to `:towing_traffic`
246
252
  * Updated obstacles and obstacle groups to reflect recent changes in OFMX
247
253
 
248
254
  ## 0.3.4
249
255
 
250
- #### Additions
256
+ ### Additions
251
257
  * Address feature
252
258
  * `Runway#preparation`, `Runway#condition` and `Runway#vfr_pattern`
253
259
  * `Service#guessed_unit_type`
@@ -256,7 +262,7 @@ Nothing so far
256
262
  in texts
257
263
  * Refinements `Array#to_uuid` and `String#payload_hash`
258
264
 
259
- #### Breaking Changes
265
+ ### Breaking Changes
260
266
  * Require Ruby 2.6
261
267
  * Renamed `AIXM::H` to `AIXM::A` (angle) and add simple arithmetics to make it
262
268
  more versatile
@@ -264,26 +270,26 @@ Nothing so far
264
270
  * DMS notation `{-}{DD}DMMSS{.SS}[NESW]` now requires compulsory cardinal
265
271
  direction (N, E, S or W) at the end
266
272
 
267
- #### Changes
273
+ ### Changes
268
274
  * Service is a feature now
269
275
 
270
276
  ## 0.3.3
271
277
 
272
- #### Additions
278
+ ### Additions
273
279
  * `AIXM::H` (heading)
274
280
 
275
- #### Changes
281
+ ### Changes
276
282
  * Updated OFMX schema URI
277
283
  * Added `eql?` and `hash` to `AIXM::XY|Z|D|H|F` to allow for instances of these
278
284
  classes to be used as Hash keys.
279
285
 
280
286
  ## 0.3.2
281
287
 
282
- #### Additions
288
+ ### Additions
283
289
  * Obstacle and obstacle group features
284
290
  * `AIXM::D` (distance)
285
291
 
286
- #### Breaking Changes
292
+ ### Breaking Changes
287
293
  * All distances (circle geometry radius, helipad and runway length/width) must
288
294
  be `AIXM::D`.
289
295
  * `AIXM::XY#distance` now returns `AIXM::D`
@@ -291,27 +297,27 @@ Nothing so far
291
297
 
292
298
  ## 0.3.1
293
299
 
294
- #### Additions
300
+ ### Additions
295
301
  * `AIXM::Error` base error which reveals the `subject`
296
302
  * Consider single point geometries to be closed
297
303
  * Calculate `DME#ghost_f` from `DME#channel`
298
304
  * `Layer#location_indicator` and `Layer#activity`
299
305
 
300
- #### Breaking Changes
306
+ ### Breaking Changes
301
307
  * Renamed `Airport#code` to `Airport#id`
302
308
  * Renamed `Airspace#short_name` to `Airspace#local_type`
303
309
  * Moved `region` attribute from features to `Document`
304
310
 
305
- #### Changes
311
+ ### Changes
306
312
  * Be more permissive on `Airport#id` in order to accomodate generated codes
307
313
  built by concatting the `region` and `Airport#gps`.
308
314
 
309
315
  ## 0.3.0
310
316
 
311
- #### Breaking Additions
317
+ ### Breaking Additions
312
318
  * Global configuration with `AIXM.config`
313
319
 
314
- #### Breaking Changes
320
+ ### Breaking Changes
315
321
  * Switch from "AIXM with OFM extensions" to OFMX
316
322
  * `to_aixm` renamed to `to_xml` again
317
323
  * Removed signature `to_xml(extension)` in favor of `AIXM.schema`
@@ -320,7 +326,7 @@ Nothing so far
320
326
  * Renamed Schedule to Timetable
321
327
  * Timetable and remarks moved from Airspace to Layer (formerly known as class layer)
322
328
 
323
- #### Additions
329
+ ### Additions
324
330
  * Organization and Unit features
325
331
  * Airport feature
326
332
  * Refinement `Float#to_rad`
@@ -329,71 +335,71 @@ Nothing so far
329
335
 
330
336
  ## 0.2.3
331
337
 
332
- #### Breaking Changes
338
+ ### Breaking Changes
333
339
  * VOR types renamed from `:vor` to `:conventional` and `:doppler_vor` to `:doppler`
334
340
  * NBR types added
335
341
  * Marker types added
336
342
 
337
- #### Changes
343
+ ### Changes
338
344
  * `mid` attributes on all navigational aid features
339
345
 
340
346
  ## 0.2.2
341
347
 
342
- #### Changes
348
+ ### Changes
343
349
  * Bad error classes fixed
344
350
  * Allow navigational aids without name
345
351
 
346
352
  ## 0.2.1
347
353
 
348
- #### Breaking Changes
354
+ ### Breaking Changes
349
355
  * DVOR and VORDME confusion fixed
350
356
  * VOR can be associated with DME (-> VOR/DME) or TACAN (-> VORTAC) now
351
357
  * `to_xml` renamed to `to_aixm` everywhere
352
358
  * Removed `:other` from all value lists
353
359
 
354
- #### Changes
360
+ ### Changes
355
361
  * Schedule added to navigational aids
356
362
 
357
363
  ## 0.2.0
358
364
 
359
- #### Breaking Changes
365
+ ### Breaking Changes
360
366
  * Symbols such as `:qnh`, `:ofm` or `:mhz` are downcased now
361
367
 
362
- #### Additions
368
+ ### Additions
363
369
  * `AIXM::F` (frequency)
364
370
  * Navigational aids features
365
371
  * `AIXM::Z#qfe?` and friends
366
372
 
367
373
  ## 0.1.4
368
374
 
369
- #### Breaking Changes
375
+ ### Breaking Changes
370
376
  * `AIXM.z(alt: 123, code: :QNE)` is now `AIXM.z(123, :QNE)`
371
377
 
372
378
  ## 0.1.3
373
379
 
374
- #### Breaking Changes
380
+ ### Breaking Changes
375
381
  * Re-organization of classes in features and components
376
382
 
377
- #### Additions
383
+ ### Additions
378
384
  * Shortcut initializers e.g. `AIXM.airspace(...)`
379
385
 
380
386
  ## 0.1.2
381
387
 
382
- #### Breaking Additions
388
+ ### Breaking Additions
383
389
  * Class layers
384
390
 
385
- #### Breaking Changes
391
+ ### Breaking Changes
386
392
  * Use `document.features << (feature)` instead of `document << (feature)`
387
393
 
388
394
  ## 0.1.1
389
395
 
390
- #### Additions
396
+ ### Additions
391
397
  * Schedule (all but `TIMSH`)
392
398
  * Refinement `Float#to_km` and `String#uptrans`
393
399
  * Shortcut constants `AIXM::UNLIMITED` and `AIXM::H24`
394
400
  * `Airspace#short_name`
395
401
 
396
- #### Changes
402
+ ### Changes
397
403
  * `Document#created_at` and `#effective_at` accept Time, Date, String or *nil*
398
404
  * Separate `Document#valid?` from `#complete?`
399
405
  * Write coordinates in DD if extension `:OFM` is set
@@ -401,7 +407,7 @@ Nothing so far
401
407
 
402
408
  ## 0.1.0
403
409
 
404
- #### Initial Implementation
410
+ ### Initial Implementation
405
411
  * Require Ruby 2.5
406
412
  * `AIXM::XY` (coordinates)
407
413
  * `AIXM::Z` (altitude or elevation)
data/README.md CHANGED
@@ -17,14 +17,6 @@ Thank you for supporting free and open-source software by sponsoring on [GitHub]
17
17
 
18
18
  ## Install
19
19
 
20
- ### Security
21
-
22
- 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:
23
-
24
- ```
25
- gem cert --add <(curl -Ls https://raw.github.com/svoop/aixm/main/certs/svoop.pem)
26
- ```
27
-
28
20
  ### Bundler
29
21
 
30
22
  Add the following to the <tt>Gemfile</tt> or <tt>gems.rb</tt> of your [Bundler](https://bundler.io) powered Ruby project:
@@ -36,7 +28,7 @@ gem 'aixm'
36
28
  And then install the bundle:
37
29
 
38
30
  ```
39
- bundle install --trust-policy MediumSecurity
31
+ bundle install
40
32
  ```
41
33
 
42
34
  ### Standalone
@@ -44,7 +36,7 @@ bundle install --trust-policy MediumSecurity
44
36
  If you're only going to use [the executables](#executables), make sure to have the [latest version of Ruby](https://www.ruby-lang.org/en/documentation/installation/) and then install this gem:
45
37
 
46
38
  ```
47
- gem install aixm --trust-policy MediumSecurity
39
+ gem install aixm
48
40
  ```
49
41
 
50
42
  ## Usage
data/lib/aixm/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module AIXM
2
- VERSION = "1.5.4".freeze
2
+ VERSION = "1.6.0".freeze
3
3
  end
metadata CHANGED
@@ -1,34 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aixm
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.4
4
+ version: 1.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sven Schwyn
8
8
  bindir: exe
9
- cert_chain:
10
- - |
11
- -----BEGIN CERTIFICATE-----
12
- MIIDODCCAiCgAwIBAgIBATANBgkqhkiG9w0BAQsFADAjMSEwHwYDVQQDDBhydWJ5
13
- L0RDPWJpdGNldGVyYS9EQz1jb20wHhcNMjQxMTIwMjExMDIwWhcNMjUxMTIwMjEx
14
- MDIwWjAjMSEwHwYDVQQDDBhydWJ5L0RDPWJpdGNldGVyYS9EQz1jb20wggEiMA0G
15
- CSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDcLg+IHjXYaUlTSU7R235lQKD8ZhEe
16
- KMhoGlSUonZ/zo1OT3KXcqTCP1iMX743xYs6upEGALCWWwq+nxvlDdnWRjF3AAv7
17
- ikC+Z2BEowjyeCCT/0gvn4ohKcR0JOzzRaIlFUVInlGSAHx2QHZ2N8ntf54lu7nd
18
- L8CiDK8rClsY4JBNGOgH9UC81f+m61UUQuTLxyM2CXfAYkj/sGNTvFRJcNX+nfdC
19
- hM9r2kH1+7wsa8yG7wJ2IkrzNACD8v84oE6qVusN8OLEMUI/NaEPVPbw2LUM149H
20
- PVa0i729A4IhroNnFNmw4wOC93ARNbM1+LW36PLMmKjKudf5Exg8VmDVAgMBAAGj
21
- dzB1MAkGA1UdEwQCMAAwCwYDVR0PBAQDAgSwMB0GA1UdDgQWBBSfK8MtR62mQ6oN
22
- yoX/VKJzFjLSVDAdBgNVHREEFjAUgRJydWJ5QGJpdGNldGVyYS5jb20wHQYDVR0S
23
- BBYwFIEScnVieUBiaXRjZXRlcmEuY29tMA0GCSqGSIb3DQEBCwUAA4IBAQDSeB1x
24
- 8QK8F/ML37isgvwGiQxovDUqu6Sq14cQ1qE9y5prUBmL2AsDuCBpXXctcvamFqNC
25
- PgfJtj7ZZcXmY0SfKCog7T1btkr6zYxPXpxwUqB45n0I6v5qc0UCNvMEfBzxlak5
26
- VW7UMNlKD9qukeN55hxuLF2F/sLldMcHUo/ATgdV4zk1t3sK6A9+02wz5K5qfWdM
27
- Mi+XWXmGd57uojk3RcIXNwBRRP4DTKcKgVXhuyHb7q1vjTXrS6bw1Ortu0KmWOIk
28
- jTyRsT1gymASS2KHe+BaCTwD74GqO8q4woYLZgXnJ/PvgcFgY2FEi2Kn/sXLp4JE
29
- boIgxQCMT+nxBHCD
30
- -----END CERTIFICATE-----
31
- date: 2024-12-27 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
@@ -223,9 +202,9 @@ executables:
223
202
  - mkmid
224
203
  extensions: []
225
204
  extra_rdoc_files:
226
- - README.md
227
205
  - CHANGELOG.md
228
206
  - LICENSE.txt
207
+ - README.md
229
208
  files:
230
209
  - CHANGELOG.md
231
210
  - LICENSE.txt
@@ -344,7 +323,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
344
323
  - !ruby/object:Gem::Version
345
324
  version: '0'
346
325
  requirements: []
347
- rubygems_version: 3.6.2
326
+ rubygems_version: 3.6.9
348
327
  specification_version: 4
349
328
  summary: Builder for AIXM/OFMX aeronautical information
350
329
  test_files: []
checksums.yaml.gz.sig DELETED
Binary file
data.tar.gz.sig DELETED
Binary file
metadata.gz.sig DELETED
@@ -1,3 +0,0 @@
1
- �H��T� E��;@�(o�0,]OK���A-d�4UW�{A�͂{��}��7i_��:�(|�$ ~N���\�V^��v�A��uB=����;MP���>nO�&�^c
2
- (
3
- �d�%N}Z�����v�X���? �?�#ƪ<D�p��|uK��[�a8���?`�"԰�c:t��aI;֍�^_��)~Q�-