notam 1.1.6 → 1.2.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: 4d76857c6db19fbcfed2a83126e2f1f8f20242299e881a4ff0af75d5b88bde11
4
- data.tar.gz: 951551a0a15ed048c14c74fb6cfc16b6159113fe273e1b6a33486a1d28e3ff3d
3
+ metadata.gz: d1f6ca70e125218801ceb20789fc4753e9c661f8a34c051959c440e67046fd96
4
+ data.tar.gz: 6a29b9451886c77b9b50e64308a4bf366281c5b37a36db3473d54e95ad9a1463
5
5
  SHA512:
6
- metadata.gz: 6d3854b8eabe13b30a372444f4eb997239a56c6819b1772dcaf6706e22189eef827686bb18fb29ae418ce0ed2dd53d97a97eed621ee0dfb732b1c820ae5b79cd
7
- data.tar.gz: 7bd00bdb01476879ef207403d9ffa2994d0408dafcf7d0453b5a483546db2ad75dd550b452d307ac300a7bd46b0243c9f1b3177bce11f9e4f50e19ca85ab5451
6
+ metadata.gz: 3f44de736e5a038b821feaf563bc928d91bd869c2d4678df4ec7cdd540f4f668fe628402870ff61f21dc44212a1c0117dd2524752673ebe67f12c30681f6faeb
7
+ data.tar.gz: 6414d39731b2472c88a45322deff941854fc486e35b44362bf23d453cb3b4e520a549dfd2c6e45910b81bd19693ca8cc0e4595d8111929d7fb57368a7b90eed8
data/CHANGELOG.md CHANGED
@@ -2,77 +2,84 @@
2
2
 
3
3
  Nothing so far
4
4
 
5
+ ## 1.2.0
6
+
7
+ ### Changes
8
+ * Drop certs
9
+ * Add action for trusted release
10
+ * Update Q codes as per AIRAC 2412
11
+
5
12
  ## 1.1.6
6
13
 
7
- #### Changes
14
+ ### Changes
8
15
  * Update Ruby to 3.4
9
16
  * Add ignore list for fixtures broken upstream
10
17
 
11
18
  ## 1.1.5
12
19
 
13
- #### Changes
20
+ ### Changes
14
21
  * Add support for Ruby 3.3
15
22
 
16
23
  ## 1.1.4
17
24
 
18
- #### Changes
25
+ ### Changes
19
26
  * Drop obsolete countries gem
20
27
 
21
28
  ## 1.1.3
22
29
 
23
- #### Changes
30
+ ### Changes
24
31
  * Don't wrap years when breaking down date ranges
25
32
  * Allow HJ and HN in schedules
26
33
 
27
34
  ## 1.1.2
28
35
 
29
- #### Fixes
36
+ ### Fixes
30
37
  * Carry over last base date instead of first base date
31
38
 
32
39
  ## 1.1.1
33
40
 
34
- #### Fixes
41
+ ### Fixes
35
42
  * Carry over base date for multiple D-item elements which partially omit to
36
43
  mention the month in every element
37
44
 
38
45
  ## 1.1.0
39
46
 
40
- #### Additions
47
+ ### Additions
41
48
  * Extract subject group and condition group on Q item
42
49
 
43
50
  ## 1.0.0
44
51
 
45
- #### Breaking Changes
52
+ ### Breaking Changes
46
53
  * `NOTAM::Schedule.parse` now returns an array of `NOTAM_Schedule` instances
47
54
  instead of just a single one.
48
55
 
49
- #### Changes
56
+ ### Changes
50
57
  * Edge case tolerant extraction of `PART n OF n` and `END PART n OF n` markers
51
58
 
52
- #### Additions
59
+ ### Additions
53
60
  * Support for datetime ranges (i.e. `1 APR 2000-20 MAY 2000`) as well as times
54
61
  across midnight (i.e. `1 APR 1900-0500`) on D items.
55
62
  * Wrap all exceptions raised while parsing items.
56
63
 
57
64
  ## 0.1.3
58
65
 
59
- #### Fixes
66
+ ### Fixes
60
67
  * Reverse accidentally flipped F and G item.
61
68
 
62
69
  ## 0.1.2
63
70
 
64
- #### Changes
71
+ ### Changes
65
72
  * The five day schedules are calculated starting today if `effective_at` is
66
73
  in the past.
67
74
 
68
75
  ## 0.1.1
69
76
 
70
- #### Changes
77
+ ### Changes
71
78
  * Update dependency on AIXM gem
72
79
 
73
80
  ## 0.1.0
74
81
 
75
- #### Initial Implementation
82
+ ### Initial Implementation
76
83
  * Require Ruby 3.0
77
84
  * `NOTAM::Message` and `NOTAM::Item` (Header, Q, A-G, Footer)
78
85
  * `NOTAM::Schedule` with useful tools like `slice` and `resolve`
data/README.md CHANGED
@@ -15,16 +15,6 @@ Thank you for supporting free and open-source software by sponsoring on [GitHub]
15
15
 
16
16
  ## Install
17
17
 
18
- ### Security
19
-
20
- 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:
21
-
22
- ```
23
- gem cert --add <(curl -Ls https://raw.github.com/svoop/notam/main/certs/svoop.pem)
24
- ```
25
-
26
- ### Bundler
27
-
28
18
  Add the following to the `Gemfile` or `gems.rb` of your [Bundler](https://bundler.io) powered Ruby project:
29
19
 
30
20
  ```ruby
@@ -34,7 +24,7 @@ gem 'notam'
34
24
  And then install the bundle:
35
25
 
36
26
  ```
37
- bundle install --trust-policy MediumSecurity
27
+ bundle install
38
28
  ```
39
29
 
40
30
  ## Usage
@@ -213,10 +203,9 @@ Parsed | `00:00` | `24:00` | the Ruby way
213
203
 
214
204
  ### References
215
205
 
216
- * [ICAO Doc 8126: Aeronautical Information Services Manual](https://www.icao.int/NACC/Documents/eDOCS/AIM/8126_unedited_en%20Jul2021.pdf)
206
+ * [ICAO Doc 8126: Aeronautical Information Services Manual](https://www.bazl.admin.ch/dam/bazl/de/dokumente/Fachleute/Regulationen_und_Grundlagen/icao-annex/ICAO%20doc%208126%20Aeronautical%20Information%20Services%20Manual%20%20.pdf.download.pdf/ICAO%20Doc%208126%20Aeronautical%20Information%20Services%20Manual.pdf)
217
207
  * [ICAO Doc 10066: Aeronautical Information Management](https://ffac.ch/wp-content/uploads/2020/11/ICAO-Doc-10066-Aeronautical-Information-Management.pdf)
218
208
  * [EUROCONTROL Guidelines Operating Procedures AIS Dynamic Data (OPADD)](https://www.eurocontrol.int/sites/default/files/2021-07/eurocontrol-guidelines-opadd-ed4-1.pdf)
219
- * [NOTAM Q Codes](https://www.faa.gov/air_traffic/publications/atpubs/notam_html/appendix_b.html)
220
209
  * [NOTAM Contractions](https://www.notams.faa.gov/downloads/contractions.pdf)
221
210
  * [NOTAM format cheat sheet](http://vat-air.dk/files/ICAO%20NOTAM%20format.pdf)
222
211
  * [Introduction on Wikipedia](https://en.wikipedia.org/wiki/NOTAM)
data/lib/locales/en.yml CHANGED
@@ -431,7 +431,6 @@ en:
431
431
  rapid_exit_taxiway: "rapid exit taxiway"
432
432
  all_radio_navigation_facilities: "all radio navigation facilities"
433
433
  nondirectional_radio_beacon: "nondirectional radio beacon"
434
- decca: "DECCA"
435
434
  dme: "distance measuring equipment (DME)"
436
435
  fan_marker: "fan marker"
437
436
  locator: "locator"
@@ -494,6 +493,7 @@ en:
494
493
  banner_towing: "banner/target towing"
495
494
  ascent_of_free_balloon: "ascent of free balloon"
496
495
  missile_gun_firing: "missile/gun/rocket firing"
496
+ laser_emission: "laser emission"
497
497
  parachute_paragliding_or_hang_gliding: "parachute jumping/paragliding/hang gliding"
498
498
  radioactive_or_toxic_materials: "radioactive materials or toxic chemicals"
499
499
  blowing_gas: "burning or blowing gas"
@@ -502,7 +502,7 @@ en:
502
502
  formation_flight: "formation flight"
503
503
  volcanic_activity: "significant volcanic activity"
504
504
  aerial_survey: "aerial survey"
505
- model_flying: "model flying"
505
+ fireworks: "fireworks"
506
506
  other: "other"
507
507
  condition_groups:
508
508
  availability: "availabiity"
@@ -594,21 +594,21 @@ en:
594
594
  trigger: "trigger NOTAM"
595
595
  other: "other subject as specified in plain language"
596
596
  traffic:
597
- ifr_and_vfr: "IFR and VFR"
598
- ifr: "IFR"
599
- vfr: "VFR"
600
- checklist: "checklist of NOTAM"
597
+ ifr_and_vfr: "IFR and VFR"
598
+ ifr: "IFR"
599
+ vfr: "VFR"
600
+ checklist: "checklist of NOTAM"
601
601
  purposes:
602
- immediate_attention: "immediate attention of flight crews"
603
- operational_significance: "operational significance (PIB entry)"
604
- flight_operations: "concerning flight operations"
605
- miscellaneous: "miscellaneous (no PIB entry)"
606
- checklist: "checklist of NOTAM"
602
+ immediate_attention: "immediate attention of flight crews"
603
+ operational_significance: "operational significance (PIB entry)"
604
+ flight_operations: "concerning flight operations"
605
+ miscellaneous: "miscellaneous (no PIB entry)"
606
+ checklist: "checklist of NOTAM"
607
607
  scopes:
608
- aerodrome: "aerodrome"
609
- en_route: "en-route"
610
- navigation_warning: "navigation warning"
611
- checklist: "checklist of NOTAM"
608
+ aerodrome: "aerodrome"
609
+ en_route: "en-route"
610
+ navigation_warning: "navigation warning"
611
+ checklist: "checklist of NOTAM"
612
612
  contractions:
613
613
  airport_lighting: "airport lighting"
614
614
  braking_action_fair: "braking action fair"
@@ -118,9 +118,9 @@ module NOTAM
118
118
  # @return [String]
119
119
  def cleanup(string)
120
120
  string
121
- .gsub(/\s+/, ' ') # collapse whitespaces to single space
122
- .gsub(/ *- */, '-') # remove spaces around dashes
123
- .strip
121
+ .gsub(/\s+/, ' ') # collapse whitespaces to single space
122
+ .gsub(/ *- */, '-') # remove spaces around dashes
123
+ .strip
124
124
  end
125
125
 
126
126
  # @return [AIXM::Schedule::DateTime]
@@ -541,7 +541,6 @@ module NOTAM
541
541
  'MY' => :rapid_exit_taxiway,
542
542
  'NA' => :all_radio_navigation_facilities,
543
543
  'NB' => :nondirectional_radio_beacon,
544
- 'NC' => :decca,
545
544
  'ND' => :dme,
546
545
  'NF' => :fan_marker,
547
546
  'NL' => :locator,
@@ -604,6 +603,7 @@ module NOTAM
604
603
  'WJ' => :banner_towing,
605
604
  'WL' => :ascent_of_free_balloon,
606
605
  'WM' => :missile_gun_firing,
606
+ 'WO' => :laser_emission,
607
607
  'WP' => :parachute_paragliding_or_hang_gliding,
608
608
  'WR' => :radioactive_or_toxic_materials,
609
609
  'WS' => :blowing_gas,
@@ -612,7 +612,7 @@ module NOTAM
612
612
  'WV' => :formation_flight,
613
613
  'WW' => :volcanic_activity,
614
614
  'WY' => :aerial_survey,
615
- 'WZ' => :model_flying,
615
+ 'WZ' => :fireworks,
616
616
  'XX' => :other
617
617
  }.freeze
618
618
 
@@ -1109,5 +1109,3 @@ module NOTAM
1109
1109
  }.freeze
1110
1110
 
1111
1111
  end
1112
-
1113
-
data/lib/notam/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module NOTAM
4
- VERSION = "1.1.6".freeze
4
+ VERSION = "1.2.0".freeze
5
5
  end
metadata CHANGED
@@ -1,34 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: notam
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.6
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sven Schwyn
8
8
  bindir: bin
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: aixm
@@ -198,9 +177,9 @@ email:
198
177
  executables: []
199
178
  extensions: []
200
179
  extra_rdoc_files:
201
- - README.md
202
180
  - CHANGELOG.md
203
181
  - LICENSE.txt
182
+ - README.md
204
183
  files:
205
184
  - CHANGELOG.md
206
185
  - LICENSE.txt
@@ -255,7 +234,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
255
234
  - !ruby/object:Gem::Version
256
235
  version: '0'
257
236
  requirements: []
258
- rubygems_version: 3.6.2
237
+ rubygems_version: 3.6.9
259
238
  specification_version: 4
260
239
  summary: Parser for NOTAM (Notice to Air Missions) messages
261
240
  test_files: []
checksums.yaml.gz.sig DELETED
Binary file
data.tar.gz.sig DELETED
@@ -1 +0,0 @@
1
- U]��/v�"w�O�ݩ4C�yp�s����7o� լh"��z�'8I뙲�����9�&
metadata.gz.sig DELETED
Binary file