notam 1.1.5 → 1.1.6
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
- checksums.yaml.gz.sig +0 -0
- data/CHANGELOG.md +6 -0
- data/README.md +8 -2
- data/lib/locales/en.yml +1 -1
- data/lib/notam/translation.rb +1 -1
- data/lib/notam/version.rb +1 -1
- data/lib/tasks/fixtures.rake +9 -4
- data.tar.gz.sig +0 -0
- metadata +17 -18
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4d76857c6db19fbcfed2a83126e2f1f8f20242299e881a4ff0af75d5b88bde11
|
4
|
+
data.tar.gz: 951551a0a15ed048c14c74fb6cfc16b6159113fe273e1b6a33486a1d28e3ff3d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6d3854b8eabe13b30a372444f4eb997239a56c6819b1772dcaf6706e22189eef827686bb18fb29ae418ce0ed2dd53d97a97eed621ee0dfb732b1c820ae5b79cd
|
7
|
+
data.tar.gz: 7bd00bdb01476879ef207403d9ffa2994d0408dafcf7d0453b5a483546db2ad75dd550b452d307ac300a7bd46b0243c9f1b3177bce11f9e4f50e19ca85ab5451
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -1,16 +1,18 @@
|
|
1
1
|
[](https://rubygems.org/gems/notam)
|
2
2
|
[](https://github.com/svoop/notam/actions?workflow=Test)
|
3
3
|
[](https://codeclimate.com/github/svoop/notam/)
|
4
|
-
[](https://github.com/sponsors/svoop)
|
5
5
|
|
6
6
|
# NOTAM
|
7
7
|
|
8
|
-
Parser for [NOTAM (Notice to
|
8
|
+
Parser for [NOTAM (Notice to Air Missions)](https://www.icao.int/safety/istars/pages/notams.aspx) messages in Ruby.
|
9
9
|
|
10
10
|
* [Homepage](https://github.com/svoop/notam)
|
11
11
|
* [API](https://www.rubydoc.info/gems/notam)
|
12
12
|
* Author: [Sven Schwyn - Bitcetera](https://bitcetera.com)
|
13
13
|
|
14
|
+
Thank you for supporting free and open-source software by sponsoring on [GitHub](https://github.com/sponsors/svoop) or on [Donorbox](https://donorbox.com/bitcetera). Any gesture is appreciated, from a single Euro for a ☕️ cup of coffee to 🍹 early retirement.
|
15
|
+
|
14
16
|
## Install
|
15
17
|
|
16
18
|
### Security
|
@@ -254,6 +256,10 @@ bundle exec guard # run tests whenever files are modified
|
|
254
256
|
|
255
257
|
You're welcome to [submit issues](https://github.com/svoop/notam/issues) and contribute code by [forking the project and submitting pull requests](https://docs.github.com/en/get-started/quickstart/fork-a-repo).
|
256
258
|
|
259
|
+
## Trivia
|
260
|
+
|
261
|
+
In the early days, the acronym [NOTAM](https://en.wikipedia.org/wiki/NOTAM) ment "Notice to Airmen". As many women roam the skies these days as well, it has finally been redefined as "Notice to Air Missions".
|
262
|
+
|
257
263
|
## License
|
258
264
|
|
259
265
|
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
data/lib/locales/en.yml
CHANGED
@@ -829,7 +829,7 @@ en:
|
|
829
829
|
nonstandard: "nonstandard"
|
830
830
|
no_procedure_turn_required: "no procedure turn required"
|
831
831
|
number: "number"
|
832
|
-
|
832
|
+
notice_to_air_missions_publication: "notice to air missions publication"
|
833
833
|
northwest: "northwest"
|
834
834
|
obscured: "obscured/obscure/obscuring"
|
835
835
|
obstacle: "obstacle/obstruction"
|
data/lib/notam/translation.rb
CHANGED
@@ -966,7 +966,7 @@ module NOTAM
|
|
966
966
|
'NONSTD' => :nonstandard,
|
967
967
|
'NOPT' => :no_procedure_turn_required,
|
968
968
|
'NR' => :number,
|
969
|
-
'NTAP' => :
|
969
|
+
'NTAP' => :notice_to_air_missions_publication,
|
970
970
|
'NW' => :northwest,
|
971
971
|
'OBSC' => :obscured,
|
972
972
|
'OBST' => :obstacle,
|
data/lib/notam/version.rb
CHANGED
data/lib/tasks/fixtures.rake
CHANGED
@@ -5,6 +5,9 @@ require_relative '../notam/translation'
|
|
5
5
|
|
6
6
|
namespace :fixtures do
|
7
7
|
DEFAULT_FIRS = 'ED,LF,LO,LS'
|
8
|
+
IGNORE = [
|
9
|
+
'LFBB_R0188_24' # broken - duplicate F item
|
10
|
+
]
|
8
11
|
|
9
12
|
desc "Fetch new NOTAM fixtures for comma separated informal two letter ICAO FIR codes (default: #{DEFAULT_FIRS})"
|
10
13
|
task :fetch, [:firs] do |_, args|
|
@@ -21,9 +24,11 @@ namespace :fixtures do
|
|
21
24
|
response.body.scan(/<pre>(.+?)<\/pre>/im) do |message|
|
22
25
|
message = message.first
|
23
26
|
if NOTAM::Message.supported_format? message
|
27
|
+
next unless message.match %r{^(\w+?)/(\w+?)\s+\w+\s+Q\)\s+(\w+?)/}
|
28
|
+
name = [$3, $1, $2].join('_')
|
29
|
+
next if IGNORE.include? name
|
24
30
|
counter += 1
|
25
|
-
|
26
|
-
File.write(fixtures_path.join("#{id}.txt"), message)
|
31
|
+
File.write(fixtures_path.join(name + '.txt'), message)
|
27
32
|
end
|
28
33
|
end
|
29
34
|
puts "#{counter} fixtures downloaded"
|
@@ -46,8 +51,8 @@ namespace :fixtures do
|
|
46
51
|
end
|
47
52
|
end
|
48
53
|
|
49
|
-
desc "
|
50
|
-
task :
|
54
|
+
desc "Clear current test NOTAM fixtures"
|
55
|
+
task :clear do
|
51
56
|
fixtures_path.rmtree
|
52
57
|
end
|
53
58
|
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,33 +1,34 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: notam
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sven Schw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ML37isgvwGiQxovDUqu6Sq14cQ1qE9y5prUBmL2AsDuCBpXXctcvamFqNC
|
25
|
+
PgfJtj7ZZcXmY0SfKCog7T1btkr6zYxPXpxwUqB45n0I6v5qc0UCNvMEfBzxlak5
|
26
|
+
VW7UMNlKD9qukeN55hxuLF2F/sLldMcHUo/ATgdV4zk1t3sK6A9+02wz5K5qfWdM
|
27
|
+
Mi+XWXmGd57uojk3RcIXNwBRRP4DTKcKgVXhuyHb7q1vjTXrS6bw1Ortu0KmWOIk
|
28
|
+
jTyRsT1gymASS2KHe+BaCTwD74GqO8q4woYLZgXnJ/PvgcFgY2FEi2Kn/sXLp4JE
|
29
|
+
boIgxQCMT+nxBHCD
|
29
30
|
-----END CERTIFICATE-----
|
30
|
-
date: 2024-
|
31
|
+
date: 2024-12-27 00:00:00.000000000 Z
|
31
32
|
dependencies:
|
32
33
|
- !ruby/object:Gem::Dependency
|
33
34
|
name: aixm
|
@@ -189,7 +190,7 @@ dependencies:
|
|
189
190
|
- - ">="
|
190
191
|
- !ruby/object:Gem::Version
|
191
192
|
version: '0'
|
192
|
-
description: 'Parser for NOTAM (Notice to
|
193
|
+
description: 'Parser for NOTAM (Notice to Air Missions) messages in Ruby.
|
193
194
|
|
194
195
|
'
|
195
196
|
email:
|
@@ -233,7 +234,6 @@ metadata:
|
|
233
234
|
source_code_uri: https://github.com/svoop/notam
|
234
235
|
documentation_uri: https://www.rubydoc.info/gems/notam
|
235
236
|
bug_tracker_uri: https://github.com/svoop/notam/issues
|
236
|
-
post_install_message:
|
237
237
|
rdoc_options:
|
238
238
|
- "--title"
|
239
239
|
- NOTAM Parser
|
@@ -255,8 +255,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
255
255
|
- !ruby/object:Gem::Version
|
256
256
|
version: '0'
|
257
257
|
requirements: []
|
258
|
-
rubygems_version: 3.
|
259
|
-
signing_key:
|
258
|
+
rubygems_version: 3.6.2
|
260
259
|
specification_version: 4
|
261
|
-
summary: Parser for NOTAM (Notice to
|
260
|
+
summary: Parser for NOTAM (Notice to Air Missions) messages
|
262
261
|
test_files: []
|
metadata.gz.sig
CHANGED
Binary file
|