aipp 2.1.9.pre1 → 2.1.10
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 +0 -0
- data/CHANGELOG.md +13 -0
- data/lib/aipp/regions/LF/aip/dangerous_activities.rb +2 -2
- data/lib/aipp/regions/LF/fixtures/aerodromes.yml +5 -0
- data/lib/aipp/regions/LS/README.md +1 -0
- data/lib/aipp/regions/LS/helpers/base.rb +3 -3
- data/lib/aipp/regions/LS/notam/ENR.rb +8 -9
- data/lib/aipp/runner.rb +1 -0
- data/lib/aipp/version.rb +1 -1
- data/lib/core_ext/enumerable.rb +2 -2
- data.tar.gz.sig +0 -0
- metadata +45 -27
- 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: 990f2f967ee3dba62bb824e80229908985520e95c0797fc53cba5fee30e704d1
|
4
|
+
data.tar.gz: 37104d39d21f4e35e7cc9730bb0b9edcf3b383ff2fe46a2feb965d20f02882f0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8d854f0ec0d98ad690ef43c0a504e8a85cd22fbd392181073a35a9c4541995610c217a064e4d37192e4e526316e1f2db96581fd8ef1b10a14426973f71424191
|
7
|
+
data.tar.gz: 7ed179844f5093236aee066d03a4330e61054397769ae78a885033955bb19596966880ef9076aceae17082e7dc932330776c2dae9dc28e8111499403a2cc12b3
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,19 @@
|
|
2
2
|
|
3
3
|
Nothing so far
|
4
4
|
|
5
|
+
## 2.1.10
|
6
|
+
|
7
|
+
#### Additions
|
8
|
+
* Show the gem version used in order to verify deployments
|
9
|
+
|
10
|
+
#### Changes
|
11
|
+
* Make dash between LS and DPR zone optional in NOTAM
|
12
|
+
|
13
|
+
## 2.1.9
|
14
|
+
|
15
|
+
#### Additions
|
16
|
+
* Support for Ruby 3.3
|
17
|
+
|
5
18
|
## 2.1.8
|
6
19
|
|
7
20
|
#### Additions
|
@@ -19,8 +19,8 @@ module AIPP::LF::AIP
|
|
19
19
|
ACTIVITIES.each do |code, type|
|
20
20
|
verbose_info("processing #{code}")
|
21
21
|
AIPP.cache.espace.css(%Q(Espace[lk^="[LF][#{code} "])).each do |espace_node|
|
22
|
-
# HACK: Missing partie/volume as of AIRAC
|
23
|
-
next if espace_node['pk'] == '
|
22
|
+
# HACK: Missing partie/volume as of AIRAC 2312 (reported)
|
23
|
+
next if espace_node['pk'] == '302508'
|
24
24
|
partie_node = AIPP.cache.partie.at_css(%Q(Partie:has(Espace[pk="#{espace_node['pk']}"])))
|
25
25
|
volume_node = AIPP.cache.volume.at_css(%Q(Volume:has(Partie[pk="#{partie_node['pk']}"])))
|
26
26
|
add(
|
@@ -118,6 +118,7 @@ Any output on STDERR should trigger an alert.
|
|
118
118
|
## References
|
119
119
|
|
120
120
|
* [skybriefing](https://www.skybriefing.com)
|
121
|
+
* [skybriefing contact (aka: LS NOF)](https://www.skybriefing.com/support)
|
121
122
|
* [AIM Data Catalogue](https://www.aerodatacat.ch)
|
122
123
|
* [DABS](https://www.skybriefing.com/de/dabs)
|
123
124
|
* [NOTAM Info](https://notaminfo.com/switzerlandmap)
|
@@ -74,9 +74,9 @@ module AIPP
|
|
74
74
|
|
75
75
|
# Templates
|
76
76
|
|
77
|
-
def
|
78
|
-
unless AIPP.cache.
|
79
|
-
AIPP.cache.
|
77
|
+
def organisation_ls
|
78
|
+
unless AIPP.cache.organisation_ls
|
79
|
+
AIPP.cache.organisation_ls = AIXM.organisation(
|
80
80
|
source: source(position: 1, document: "GEN-3.1"),
|
81
81
|
name: 'SWITZERLAND',
|
82
82
|
type: 'S'
|
@@ -12,17 +12,16 @@ module AIPP::LS::NOTAM
|
|
12
12
|
fail "malformed JSON received from API" unless json.has_key?(:queryNOTAMs)
|
13
13
|
added_notam_ids = []
|
14
14
|
json[:queryNOTAMs].each do |row|
|
15
|
-
puts row[:notamRaw][0,9]
|
16
15
|
next unless row[:notamRaw].match? /^Q\) LS/ # only parse national NOTAM
|
17
16
|
|
18
17
|
# HACK: try to add missing commas to D-item of A- and B-series NOTAM
|
19
|
-
if row[:notamRaw].match? /\A[AB]/
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
end
|
18
|
+
# if row[:notamRaw].match? /\A[AB]/
|
19
|
+
# if row[:notamRaw].gsub!(/(#{NOTAM::Schedule::HOUR_RE.decapture}-#{NOTAM::Schedule::HOUR_RE.decapture})/, '\1,')
|
20
|
+
# row[:notamRaw].gsub!(/,+/, ',')
|
21
|
+
# row[:notamRaw].sub!(/,\n/, "\n")
|
22
|
+
# warn("HACK: added missing commas to D item")
|
23
|
+
# end
|
24
|
+
# end
|
26
25
|
|
27
26
|
# HACK: remove braindead years from D-item of W-series NOTAM
|
28
27
|
if row[:notamRaw].match? /\AW/
|
@@ -106,7 +105,7 @@ end
|
|
106
105
|
case notam.data[:content]
|
107
106
|
when /(?<type>TMA) ((SECT )?(?<section>\d+) )?ACT/
|
108
107
|
'Ase:has(codeType:contains("%s") + codeId:contains("%s %s"))' % [$~['type'], notam.data[:locations].first, $~['section']]
|
109
|
-
when /[DR].AREA (?<name>LS
|
108
|
+
when /[DR].AREA (?<name>LS-?[DR]\d+[A-Z]?).+ACT/
|
110
109
|
'Ase:has(codeId:matches("^%s( .+)?$"))' % [$~['name']]
|
111
110
|
else
|
112
111
|
return
|
data/lib/aipp/runner.rb
CHANGED
data/lib/aipp/version.rb
CHANGED
data/lib/core_ext/enumerable.rb
CHANGED
@@ -20,9 +20,9 @@ module Enumerable
|
|
20
20
|
# @yield [Object] element to analyze
|
21
21
|
# @yieldreturn [Boolean] whether to split at this element or not
|
22
22
|
# @return [Array]
|
23
|
-
def split(*args, &)
|
23
|
+
def split(*args, &block)
|
24
24
|
[].tap do |array|
|
25
|
-
while index = slice((start ||= 0)...length).find_index(*args, &)
|
25
|
+
while index = slice((start ||= 0)...length).find_index(*args, &block)
|
26
26
|
array << slice(start...start+index)
|
27
27
|
start += index + 1
|
28
28
|
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.1.
|
4
|
+
version: 2.1.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sven Schwyn
|
@@ -10,26 +10,24 @@ bindir: exe
|
|
10
10
|
cert_chain:
|
11
11
|
- |
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MIIC+jCCAeKgAwIBAgIBAjANBgkqhkiG9w0BAQsFADAjMSEwHwYDVQQDDBhydWJ5
|
14
|
+
L0RDPWJpdGNldGVyYS9EQz1jb20wHhcNMjMxMTEwMTgyMzM2WhcNMjQxMTA5MTgy
|
15
|
+
MzM2WjAjMSEwHwYDVQQDDBhydWJ5L0RDPWJpdGNldGVyYS9EQz1jb20wggEiMA0G
|
16
16
|
CSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDcLg+IHjXYaUlTSU7R235lQKD8ZhEe
|
17
17
|
KMhoGlSUonZ/zo1OT3KXcqTCP1iMX743xYs6upEGALCWWwq+nxvlDdnWRjF3AAv7
|
18
18
|
ikC+Z2BEowjyeCCT/0gvn4ohKcR0JOzzRaIlFUVInlGSAHx2QHZ2N8ntf54lu7nd
|
19
19
|
L8CiDK8rClsY4JBNGOgH9UC81f+m61UUQuTLxyM2CXfAYkj/sGNTvFRJcNX+nfdC
|
20
20
|
hM9r2kH1+7wsa8yG7wJ2IkrzNACD8v84oE6qVusN8OLEMUI/NaEPVPbw2LUM149H
|
21
21
|
PVa0i729A4IhroNnFNmw4wOC93ARNbM1+LW36PLMmKjKudf5Exg8VmDVAgMBAAGj
|
22
|
-
|
23
|
-
yoX/
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
kAyiRqgxF4dJviwtqI7mZIomWL63+kXLgjOjMe1SHxfIPo/0ji6+r1p4KYa7o41v
|
30
|
-
fwIwU1MKlFBdsjkd
|
22
|
+
OTA3MAkGA1UdEwQCMAAwCwYDVR0PBAQDAgSwMB0GA1UdDgQWBBSfK8MtR62mQ6oN
|
23
|
+
yoX/VKJzFjLSVDANBgkqhkiG9w0BAQsFAAOCAQEAXhT/LpMArF3JRcZSRkJDY+dU
|
24
|
+
GKCRqOefi2iydqh1yIqXyTA9PGR1w5O6O+WS1FvF+sHCwh8fFjCuStg2L8V2RSeo
|
25
|
+
aDtfZ5s80sL8wRFxg3kek69cBuI6ozU+rf9DaXlMES4i8+zASsdv9Y4a2BsbhEdE
|
26
|
+
9AtuMcWn5a45TOO0S4Q8OuV0v705V38Ow15J2RDRvkFRySt+//8/Vd57XAJxPXU0
|
27
|
+
k/QvZU05f6HMYBrPogJgIzHC/C5N/yeE4BVEuBDn+10Zb1iu3aDk8sd0uMgukCY8
|
28
|
+
TUmlP5A6NeGdeDJIoLgromAKs+nvI7TWzhQq9ODs51XhxgUFRCvBqUTpjTQigw==
|
31
29
|
-----END CERTIFICATE-----
|
32
|
-
date:
|
30
|
+
date: 2024-03-08 00:00:00.000000000 Z
|
33
31
|
dependencies:
|
34
32
|
- !ruby/object:Gem::Dependency
|
35
33
|
name: airac
|
@@ -40,7 +38,7 @@ dependencies:
|
|
40
38
|
version: '1.0'
|
41
39
|
- - ">="
|
42
40
|
- !ruby/object:Gem::Version
|
43
|
-
version: 1.0.
|
41
|
+
version: 1.0.3
|
44
42
|
type: :runtime
|
45
43
|
prerelease: false
|
46
44
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -50,7 +48,7 @@ dependencies:
|
|
50
48
|
version: '1.0'
|
51
49
|
- - ">="
|
52
50
|
- !ruby/object:Gem::Version
|
53
|
-
version: 1.0.
|
51
|
+
version: 1.0.3
|
54
52
|
- !ruby/object:Gem::Dependency
|
55
53
|
name: aixm
|
56
54
|
requirement: !ruby/object:Gem::Requirement
|
@@ -60,7 +58,7 @@ dependencies:
|
|
60
58
|
version: '1'
|
61
59
|
- - ">="
|
62
60
|
- !ruby/object:Gem::Version
|
63
|
-
version: 1.4.
|
61
|
+
version: 1.4.3
|
64
62
|
type: :runtime
|
65
63
|
prerelease: false
|
66
64
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -70,7 +68,7 @@ dependencies:
|
|
70
68
|
version: '1'
|
71
69
|
- - ">="
|
72
70
|
- !ruby/object:Gem::Version
|
73
|
-
version: 1.4.
|
71
|
+
version: 1.4.3
|
74
72
|
- !ruby/object:Gem::Dependency
|
75
73
|
name: notam
|
76
74
|
requirement: !ruby/object:Gem::Requirement
|
@@ -80,7 +78,7 @@ dependencies:
|
|
80
78
|
version: '1'
|
81
79
|
- - ">="
|
82
80
|
- !ruby/object:Gem::Version
|
83
|
-
version: 1.1.
|
81
|
+
version: 1.1.5
|
84
82
|
type: :runtime
|
85
83
|
prerelease: false
|
86
84
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -90,7 +88,7 @@ dependencies:
|
|
90
88
|
version: '1'
|
91
89
|
- - ">="
|
92
90
|
- !ruby/object:Gem::Version
|
93
|
-
version: 1.1.
|
91
|
+
version: 1.1.5
|
94
92
|
- !ruby/object:Gem::Dependency
|
95
93
|
name: activesupport
|
96
94
|
requirement: !ruby/object:Gem::Requirement
|
@@ -123,16 +121,16 @@ dependencies:
|
|
123
121
|
name: graphql
|
124
122
|
requirement: !ruby/object:Gem::Requirement
|
125
123
|
requirements:
|
126
|
-
- - "
|
124
|
+
- - "~>"
|
127
125
|
- !ruby/object:Gem::Version
|
128
|
-
version: '2
|
126
|
+
version: '2'
|
129
127
|
type: :runtime
|
130
128
|
prerelease: false
|
131
129
|
version_requirements: !ruby/object:Gem::Requirement
|
132
130
|
requirements:
|
133
|
-
- - "
|
131
|
+
- - "~>"
|
134
132
|
- !ruby/object:Gem::Version
|
135
|
-
version: '2
|
133
|
+
version: '2'
|
136
134
|
- !ruby/object:Gem::Dependency
|
137
135
|
name: graphql-client
|
138
136
|
requirement: !ruby/object:Gem::Requirement
|
@@ -140,6 +138,9 @@ dependencies:
|
|
140
138
|
- - "~>"
|
141
139
|
- !ruby/object:Gem::Version
|
142
140
|
version: '0'
|
141
|
+
- - ">="
|
142
|
+
- !ruby/object:Gem::Version
|
143
|
+
version: 0.19.0
|
143
144
|
type: :runtime
|
144
145
|
prerelease: false
|
145
146
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -147,6 +148,9 @@ dependencies:
|
|
147
148
|
- - "~>"
|
148
149
|
- !ruby/object:Gem::Version
|
149
150
|
version: '0'
|
151
|
+
- - ">="
|
152
|
+
- !ruby/object:Gem::Version
|
153
|
+
version: 0.19.0
|
150
154
|
- !ruby/object:Gem::Dependency
|
151
155
|
name: nokogiri
|
152
156
|
requirement: !ruby/object:Gem::Requirement
|
@@ -195,6 +199,20 @@ dependencies:
|
|
195
199
|
- - "~>"
|
196
200
|
- !ruby/object:Gem::Version
|
197
201
|
version: '2'
|
202
|
+
- !ruby/object:Gem::Dependency
|
203
|
+
name: csv
|
204
|
+
requirement: !ruby/object:Gem::Requirement
|
205
|
+
requirements:
|
206
|
+
- - "~>"
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: '3'
|
209
|
+
type: :runtime
|
210
|
+
prerelease: false
|
211
|
+
version_requirements: !ruby/object:Gem::Requirement
|
212
|
+
requirements:
|
213
|
+
- - "~>"
|
214
|
+
- !ruby/object:Gem::Version
|
215
|
+
version: '3'
|
198
216
|
- !ruby/object:Gem::Dependency
|
199
217
|
name: json
|
200
218
|
requirement: !ruby/object:Gem::Requirement
|
@@ -452,11 +470,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
452
470
|
version: 3.1.0
|
453
471
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
454
472
|
requirements:
|
455
|
-
- - "
|
473
|
+
- - ">="
|
456
474
|
- !ruby/object:Gem::Version
|
457
|
-
version:
|
475
|
+
version: '0'
|
458
476
|
requirements: []
|
459
|
-
rubygems_version: 3.
|
477
|
+
rubygems_version: 3.5.6
|
460
478
|
signing_key:
|
461
479
|
specification_version: 4
|
462
480
|
summary: Parser for aeronautical information publications
|
metadata.gz.sig
CHANGED
Binary file
|