aipp 2.1.6 → 2.1.8

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fb10330fe5ad73a53c80a2ac74dd8bbd638c733f3edc2f5d4a981ff44e653bc0
4
- data.tar.gz: 7e2ec47628d3bdb9f35fd4957e2c4d64b659d3c7f58cc9344a90c9a5b3b0a739
3
+ metadata.gz: 6b76829b311b71b94d62ae6bf4ea39d1b8fef07401f4426bfebabdcf68b27858
4
+ data.tar.gz: d63290914e8686d43276e8d89329e02447c611671ff9a0663530fac2f85fc9dd
5
5
  SHA512:
6
- metadata.gz: e16e87e679c269861f087a4e0cf255674778a17e5bb1509105d677c63182253e8f846430c8221a808b55fa3eb430a08848fe581ff07d2d0324e7475abd14cac8
7
- data.tar.gz: 98ab387735fc9dbc2a2835480246d0d073f7dcaacd51817ac1726d904770ddc730f03a5b1e021c1b408bcc945798d83e48874caed43d7a1c791cdbdfc367a721
6
+ metadata.gz: fb43878464afd4ca6d5c94fa8f60805997732e03181c67658ace7a1fffdb9e0b9c8f59c265475a3beb6120bf1188b4eadc83b0b40278ed47538972686b1ecc4f
7
+ data.tar.gz: 967c970b996e7bc8b95dc739e8640929a5695c2a32a4af8836204d4474e9635ecdbdae27350379346c75f0b5350bbf975e1430d51e12c398d001187c89e31e11
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -2,6 +2,16 @@
2
2
 
3
3
  Nothing so far
4
4
 
5
+ ## 2.1.8
6
+
7
+ #### Additions
8
+ * Include contact name to remarks in LS SHOOT
9
+
10
+ ## 2.1.7
11
+
12
+ #### Fixes
13
+ * Workaround for temporary upstream CSV quoting error
14
+
5
15
  ## 2.1.6
6
16
 
7
17
  #### Fixes
@@ -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
@@ -1,3 +1,3 @@
1
1
  module AIPP
2
- VERSION = "2.1.6".freeze
2
+ VERSION = "2.1.8".freeze
3
3
  end
data.tar.gz.sig CHANGED
@@ -1,3 +1,2 @@
1
- ��u-��ɸ�(r����
2
- .��K^�Y��L���_n�{溦W��sw] 2���,cVKBM��gΞ�:��7kAI��DzD.V߁q��k�+��A{����P��ir���U Y�"�����)��B�� ��W�8��
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
+ ���J5���z\�e�ŀ��'˕9>hRWy86!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.6
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-06-30 00:00:00.000000000 Z
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-sound
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.15
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
- ���\h5|E��p���+dvU#����C9�ύ���C��GGG3���.�
3
- �����X�����^��d�GkOjx����9so5 e�OV����U5���V���DD'�ڑ��
1
+ _8��@�=��W�vֈ{���-vzU
2
+ KocL60