notam 1.1.5 → 1.1.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f06e13965826e0726d6173f12ef55d15f66b683e868e10576547901935044be9
4
- data.tar.gz: 549209eab0d8ba3a04550af0ebbf851ef8d38b5cfb23d5db303789bb1ecd1257
3
+ metadata.gz: 4d76857c6db19fbcfed2a83126e2f1f8f20242299e881a4ff0af75d5b88bde11
4
+ data.tar.gz: 951551a0a15ed048c14c74fb6cfc16b6159113fe273e1b6a33486a1d28e3ff3d
5
5
  SHA512:
6
- metadata.gz: cabf5ba3d903aabe6f49a2d29a4bf5d9efe938ad29cc5af2147c23b5904c325d4dc7a0b9527f62ef3326d05f7d62f0465d4d0e2b034c4d4bc5645c69fd0bffe6
7
- data.tar.gz: 4d1d621b39980b07b30c219a1875010fa67386b45cb41059ca2054ed438efd05c45f1aed3b359f57abf9b0ec69813376d6f1d7e3e5ec28695064b121e0e0e0e8
6
+ metadata.gz: 6d3854b8eabe13b30a372444f4eb997239a56c6819b1772dcaf6706e22189eef827686bb18fb29ae418ce0ed2dd53d97a97eed621ee0dfb732b1c820ae5b79cd
7
+ data.tar.gz: 7bd00bdb01476879ef207403d9ffa2994d0408dafcf7d0453b5a483546db2ad75dd550b452d307ac300a7bd46b0243c9f1b3177bce11f9e4f50e19ca85ab5451
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  Nothing so far
4
4
 
5
+ ## 1.1.6
6
+
7
+ #### Changes
8
+ * Update Ruby to 3.4
9
+ * Add ignore list for fixtures broken upstream
10
+
5
11
  ## 1.1.5
6
12
 
7
13
  #### Changes
data/README.md CHANGED
@@ -1,16 +1,18 @@
1
1
  [![Version](https://img.shields.io/gem/v/notam.svg?style=flat)](https://rubygems.org/gems/notam)
2
2
  [![Tests](https://img.shields.io/github/actions/workflow/status/svoop/notam/test.yml?style=flat&label=tests)](https://github.com/svoop/notam/actions?workflow=Test)
3
3
  [![Code Climate](https://img.shields.io/codeclimate/maintainability/svoop/notam.svg?style=flat)](https://codeclimate.com/github/svoop/notam/)
4
- [![Donorbox](https://img.shields.io/badge/donate-on_donorbox-yellow.svg)](https://donorbox.org/bitcetera)
4
+ [![GitHub Sponsors](https://img.shields.io/github/sponsors/svoop.svg)](https://github.com/sponsors/svoop)
5
5
 
6
6
  # NOTAM
7
7
 
8
- Parser for [NOTAM (Notice to Airmen)](https://www.icao.int/safety/istars/pages/notams.aspx) messages in Ruby.
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
- notice_to_airmen_publication: "notice to airmen publication"
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"
@@ -966,7 +966,7 @@ module NOTAM
966
966
  'NONSTD' => :nonstandard,
967
967
  'NOPT' => :no_procedure_turn_required,
968
968
  'NR' => :number,
969
- 'NTAP' => :notice_to_airmen_publication,
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module NOTAM
4
- VERSION = "1.1.5".freeze
4
+ VERSION = "1.1.6".freeze
5
5
  end
@@ -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
- id = message.split(/\s/, 2).first.sub(/\W+/, '_')
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 "Clean current test NOTAM fixtures"
50
- task :clean do
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.5
4
+ version: 1.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sven Schwyn
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain:
11
10
  - |
12
11
  -----BEGIN CERTIFICATE-----
13
- MIIC+jCCAeKgAwIBAgIBAjANBgkqhkiG9w0BAQsFADAjMSEwHwYDVQQDDBhydWJ5
14
- L0RDPWJpdGNldGVyYS9EQz1jb20wHhcNMjMxMTEwMTgyMzM2WhcNMjQxMTA5MTgy
15
- MzM2WjAjMSEwHwYDVQQDDBhydWJ5L0RDPWJpdGNldGVyYS9EQz1jb20wggEiMA0G
12
+ MIIDODCCAiCgAwIBAgIBATANBgkqhkiG9w0BAQsFADAjMSEwHwYDVQQDDBhydWJ5
13
+ L0RDPWJpdGNldGVyYS9EQz1jb20wHhcNMjQxMTIwMjExMDIwWhcNMjUxMTIwMjEx
14
+ MDIwWjAjMSEwHwYDVQQDDBhydWJ5L0RDPWJpdGNldGVyYS9EQz1jb20wggEiMA0G
16
15
  CSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDcLg+IHjXYaUlTSU7R235lQKD8ZhEe
17
16
  KMhoGlSUonZ/zo1OT3KXcqTCP1iMX743xYs6upEGALCWWwq+nxvlDdnWRjF3AAv7
18
17
  ikC+Z2BEowjyeCCT/0gvn4ohKcR0JOzzRaIlFUVInlGSAHx2QHZ2N8ntf54lu7nd
19
18
  L8CiDK8rClsY4JBNGOgH9UC81f+m61UUQuTLxyM2CXfAYkj/sGNTvFRJcNX+nfdC
20
19
  hM9r2kH1+7wsa8yG7wJ2IkrzNACD8v84oE6qVusN8OLEMUI/NaEPVPbw2LUM149H
21
20
  PVa0i729A4IhroNnFNmw4wOC93ARNbM1+LW36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CMT+nxBHCD
29
30
  -----END CERTIFICATE-----
30
- date: 2024-01-13 00:00:00.000000000 Z
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 Airmen) messages in Ruby.
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.5.4
259
- signing_key:
258
+ rubygems_version: 3.6.2
260
259
  specification_version: 4
261
- summary: Parser for NOTAM (Notice to Airmen) messages
260
+ summary: Parser for NOTAM (Notice to Air Missions) messages
262
261
  test_files: []
metadata.gz.sig CHANGED
Binary file