aipp 2.1.6 → 2.1.8
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 +10 -0
- data/lib/aipp/downloader.rb +6 -0
- data/lib/aipp/regions/LS/notam/ENR.rb +1 -0
- data/lib/aipp/regions/LS/shoot/shooting_grounds.rb +2 -1
- data/lib/aipp/version.rb +1 -1
- data.tar.gz.sig +2 -3
- metadata +4 -4
- metadata.gz.sig +2 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6b76829b311b71b94d62ae6bf4ea39d1b8fef07401f4426bfebabdcf68b27858
|
4
|
+
data.tar.gz: d63290914e8686d43276e8d89329e02447c611671ff9a0663530fac2f85fc9dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fb43878464afd4ca6d5c94fa8f60805997732e03181c67658ace7a1fffdb9e0b9c8f59c265475a3beb6120bf1188b4eadc83b0b40278ed47538972686b1ecc4f
|
7
|
+
data.tar.gz: 967c970b996e7bc8b95dc739e8640929a5695c2a32a4af8836204d4474e9635ecdbdae27350379346c75f0b5350bbf975e1430d51e12c398d001187c89e31e11
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/CHANGELOG.md
CHANGED
data/lib/aipp/downloader.rb
CHANGED
@@ -162,6 +162,12 @@ module AIPP
|
|
162
162
|
end
|
163
163
|
|
164
164
|
def convert(file)
|
165
|
+
# TODO: temporary workaround for broken CSV - see https://github.com/svoop/aipp/issues/28
|
166
|
+
if file.basename.to_s == 'schiessanzeigen.csv'
|
167
|
+
contents = file.read
|
168
|
+
contents.gsub!(';Blindgänger Sprengung, Aufräumaktion "SÄNTIS 23";', ';"Blindgänger Sprengung, Aufräumaktion SÄNTIS 23";')
|
169
|
+
file.write(contents)
|
170
|
+
end
|
165
171
|
case file.extname
|
166
172
|
when '.xml', '.ofmx' then Nokogiri.XML(::File.open(file), &:noblanks)
|
167
173
|
when '.html' then Nokogiri.HTML5(::File.open(file))
|
@@ -12,6 +12,7 @@ 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]
|
15
16
|
next unless row[:notamRaw].match? /^Q\) LS/ # only parse national NOTAM
|
16
17
|
|
17
18
|
# HACK: try to add missing commas to D-item of A- and B-series NOTAM
|
@@ -35,7 +35,7 @@ module AIPP::LS::SHOOT
|
|
35
35
|
end
|
36
36
|
end
|
37
37
|
shooting_grounds.each do |id, data|
|
38
|
-
data in csv_line:, details:, url:, upper_z:, schedules:, dabs:, feature: { geometry: polygons, properties: { bezeichnung: name, infotelefonnr: phone, infoemail: email } }
|
38
|
+
data in csv_line:, details:, url:, upper_z:, schedules:, dabs:, feature: { geometry: polygons, properties: { bezeichnung: name, infobezeichnung: contact, infotelefonnr: phone, infoemail: email } }
|
39
39
|
schedules = consolidate(schedules)
|
40
40
|
if schedules.any?
|
41
41
|
geometries = geometries_for polygons
|
@@ -43,6 +43,7 @@ module AIPP::LS::SHOOT
|
|
43
43
|
geometries.each_with_index do |geometry, index|
|
44
44
|
remarks = {
|
45
45
|
details: details,
|
46
|
+
contact: contact,
|
46
47
|
phone: phone,
|
47
48
|
email: email,
|
48
49
|
bulletin: url
|
data/lib/aipp/version.rb
CHANGED
data.tar.gz.sig
CHANGED
@@ -1,3 +1,2 @@
|
|
1
|
-
��
|
2
|
-
|
3
|
-
|xo�XJ5�D⡿3D~��0���Y\�Oo&�$|���H/-b"C;�S��$�`��A���|;���JMK~����
|
1
|
+
2ʓ�6�C�`�U4�]�P��]�N�7�x����~r����V�l��ߊErg^���̊$�����R��Vf�TW��d'��ե�֜�"cה0���HL���Q���Y(E�F�І"��:随fss�g�Cai��$?�B��겝9�;������b=���t\4��*Q6��l��Ќ�|�G�&^�~��ƚ�Ft��m
|
2
|
+
���J�5���z\�e�ŀ��'˕9>hRWy�86!y6@��
|
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.8
|
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: 2023-
|
32
|
+
date: 2023-08-22 00:00:00.000000000 Z
|
33
33
|
dependencies:
|
34
34
|
- !ruby/object:Gem::Dependency
|
35
35
|
name: airac
|
@@ -266,7 +266,7 @@ dependencies:
|
|
266
266
|
- !ruby/object:Gem::Version
|
267
267
|
version: '0'
|
268
268
|
- !ruby/object:Gem::Dependency
|
269
|
-
name: minitest-
|
269
|
+
name: minitest-flash
|
270
270
|
requirement: !ruby/object:Gem::Requirement
|
271
271
|
requirements:
|
272
272
|
- - ">="
|
@@ -442,7 +442,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
442
442
|
- !ruby/object:Gem::Version
|
443
443
|
version: '0'
|
444
444
|
requirements: []
|
445
|
-
rubygems_version: 3.4.
|
445
|
+
rubygems_version: 3.4.19
|
446
446
|
signing_key:
|
447
447
|
specification_version: 4
|
448
448
|
summary: Parser for aeronautical information publications
|
metadata.gz.sig
CHANGED
@@ -1,3 +1,2 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
�����X�����^��d�GkOjx����9so5 e�OV����U5���V���DD'�ڑ��
|
1
|
+
_8��@�=��W�vֈ{���-vzU
|
2
|
+
Ko�cL60�
|