aipp 2.0.0 → 2.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +1 -2
- data/CHANGELOG.md +14 -0
- data/README.md +1 -1
- data/lib/aipp/regions/LS/notam/ENR.rb +9 -1
- data/lib/aipp/version.rb +1 -1
- data/lib/aipp.rb +0 -7
- data.tar.gz.sig +0 -0
- metadata +3 -3
- 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: aae45b128912df9df9109e73ba42eaa08491b28811f2aa4cd0d9ce0a703407a3
|
4
|
+
data.tar.gz: ff736ac780721e9829bfdcbaa4dd55fb303adef8832a8a0a48aeba14f6ee94af
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c9dfd3da655aa728bd3794b2c66ae9bfda2a62ebf13a03c2e88e82c329245532e00e3204ff3fa8f16a800f6531b0717a0eb026318e96a92537594c349ecf0e23
|
7
|
+
data.tar.gz: d51724f671e855b6ff396fe3e2dcc84440db2685092c28a8d8d9e08e2cf3ee5f4faf61a2720abccf45d5e8b5944cbaed9d1aa41944b7777d6cee9dacdbd6aece
|
checksums.yaml.gz.sig
CHANGED
@@ -1,2 +1 @@
|
|
1
|
-
|
2
|
-
Oʼn�7������E��F���H��;[fp�=���3���%�bS��TP̥��)���,s����Q���d#�Ku�� ����[N���byN{�'TR�i��p��/+S�b�U͂����d:V8��zw
|
1
|
+
��O�i��Ib�f��x�����~�;�c&(��W�@4���W1O"��<v�����T�GM�V2��vo����ު�~1�����Q� Rc2��O�*h ���j�,�M�kz^��SX�F��A�*��y@Y�[<S�[i��g�Ԥ�u���j�������ᙛK����f�:q��H��/)��Y[Mx��U~��3~l%Dף��X!��3�aq�Ҵ�U6Y�U��Z��h
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,20 @@
|
|
2
2
|
|
3
3
|
Nothing so far
|
4
4
|
|
5
|
+
## 2.0.2
|
6
|
+
|
7
|
+
#### Additions
|
8
|
+
* Support for Ruby 3.2
|
9
|
+
|
10
|
+
#### Fixes
|
11
|
+
* Improve hack to fix braindead years on D-items
|
12
|
+
|
13
|
+
## 2.0.1
|
14
|
+
|
15
|
+
#### Fixes
|
16
|
+
* Fix ineffective rescue when parsing a NOTAM fails in force mode
|
17
|
+
* Hack to fix braindead years on D-items
|
18
|
+
|
5
19
|
## 2.0.0
|
6
20
|
|
7
21
|
#### Additions
|
data/README.md
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
[![Version](https://img.shields.io/gem/v/aipp.svg?style=flat)](https://rubygems.org/gems/aipp)
|
2
|
-
[![Tests](https://img.shields.io/github/workflow/status/svoop/aipp/
|
2
|
+
[![Tests](https://img.shields.io/github/actions/workflow/status/svoop/aipp/test.yml?style=flat&label=tests)](https://github.com/svoop/aipp/actions?workflow=Test)
|
3
3
|
[![Donorbox](https://img.shields.io/badge/donate-on_donorbox-yellow.svg)](https://donorbox.org/bitcetera)
|
4
4
|
|
5
5
|
# AIPP
|
@@ -21,6 +21,14 @@ if row['notamRaw'].match? /\A[AB]/
|
|
21
21
|
end
|
22
22
|
end
|
23
23
|
|
24
|
+
# HACK: remove braindead years from D-item of W-series NOTAM
|
25
|
+
if row['notamRaw'].match? /\AW/
|
26
|
+
year = Time.now.year
|
27
|
+
if row['notamRaw'].gsub!(/\s*(?:#{year}|#{year+1})\s*(#{NOTAM::Schedule::MONTH_RE})/, ' \1')
|
28
|
+
warn("HACK: removed braindead years from D item")
|
29
|
+
end
|
30
|
+
end
|
31
|
+
|
24
32
|
(notam = notam_for(row['notamRaw'])) or next
|
25
33
|
if respect? notam
|
26
34
|
next if notam.data[:five_day_schedules] == []
|
@@ -80,7 +88,7 @@ end
|
|
80
88
|
NOTAM.parse(raw_notam)
|
81
89
|
rescue
|
82
90
|
warn "cannot parse #{notam_id}"
|
83
|
-
raise
|
91
|
+
raise unless AIPP.options.force
|
84
92
|
end
|
85
93
|
|
86
94
|
# @return [Boolean] whether to respect this NOTAM or ignore it
|
data/lib/aipp/version.rb
CHANGED
data/lib/aipp.rb
CHANGED
@@ -60,10 +60,3 @@ require_relative 'aipp/aip/parser'
|
|
60
60
|
require_relative 'aipp/notam/executable'
|
61
61
|
require_relative 'aipp/notam/runner'
|
62
62
|
require_relative 'aipp/notam/parser'
|
63
|
-
|
64
|
-
# Disable "did you mean?" suggestions
|
65
|
-
#
|
66
|
-
# @!visibility private
|
67
|
-
module DidYouMean::Correctable
|
68
|
-
remove_method :to_s
|
69
|
-
end
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aipp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sven Schwyn
|
@@ -29,7 +29,7 @@ cert_chain:
|
|
29
29
|
kAyiRqgxF4dJviwtqI7mZIomWL63+kXLgjOjMe1SHxfIPo/0ji6+r1p4KYa7o41v
|
30
30
|
fwIwU1MKlFBdsjkd
|
31
31
|
-----END CERTIFICATE-----
|
32
|
-
date:
|
32
|
+
date: 2023-01-02 00:00:00.000000000 Z
|
33
33
|
dependencies:
|
34
34
|
- !ruby/object:Gem::Dependency
|
35
35
|
name: airac
|
@@ -441,7 +441,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
441
441
|
- !ruby/object:Gem::Version
|
442
442
|
version: '0'
|
443
443
|
requirements: []
|
444
|
-
rubygems_version: 3.
|
444
|
+
rubygems_version: 3.4.2
|
445
445
|
signing_key:
|
446
446
|
specification_version: 4
|
447
447
|
summary: Parser for aeronautical information publications
|
metadata.gz.sig
CHANGED
Binary file
|