aipp 2.1.9 → 2.1.10

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: 27f2a285ad4f587471940250db03cbb5c7fa8db05193d00fa82f5c01f27ec2f1
4
- data.tar.gz: 9e696c9ba6ed6607a2332e16ed1f237aea49fe7536f235b2faf1e99d3ffc05c7
3
+ metadata.gz: 990f2f967ee3dba62bb824e80229908985520e95c0797fc53cba5fee30e704d1
4
+ data.tar.gz: 37104d39d21f4e35e7cc9730bb0b9edcf3b383ff2fe46a2feb965d20f02882f0
5
5
  SHA512:
6
- metadata.gz: 0e9051d82e52e5ca7916132b7a23dbc0c62a089540194a34b5346b69cb5b87fab96b6fd5c089c5d2e8443d298a2a2f625de3d9fce7a3d30de4b4d876274e6b13
7
- data.tar.gz: 6cb49348ca49d3514d1bcc451561a779f8ddfc5a2bb623cce7aedcce9f832fdbb76edfa0bd0457eaf41b6a504aed8f0581f7450413ca13b2a4e80215a06dc587
6
+ metadata.gz: 8d854f0ec0d98ad690ef43c0a504e8a85cd22fbd392181073a35a9c4541995610c217a064e4d37192e4e526316e1f2db96581fd8ef1b10a14426973f71424191
7
+ data.tar.gz: 7ed179844f5093236aee066d03a4330e61054397769ae78a885033955bb19596966880ef9076aceae17082e7dc932330776c2dae9dc28e8111499403a2cc12b3
checksums.yaml.gz.sig CHANGED
@@ -1 +1,3 @@
1
- ���ۘ�0�����i,���``�g�*ǏŐ���/�������n'`1m$w�-�+�$،!/��ׇ���{�%͡òK�������%�wm�I��������:H��E�.6� T4$1��oC6����@���Յ��}�jo*p�yL��v^T��*ꞹP"v�ȱ��-g[�F�03� V�=�����A��hr
1
+ ����s����RR.��`q�됔�CZ�b{i1�yg'��q 9[z����}ek���x�$�De]-���^��� *GQXð�&l
2
+ ���Y{�)/�D�[Lf�X��^9�A3/���� ������K|ɁP?eU !q% |P�&/z�:
3
+ �ә�7������Zs˸�
data/CHANGELOG.md CHANGED
@@ -2,6 +2,14 @@
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
+
5
13
  ## 2.1.9
6
14
 
7
15
  #### Additions
@@ -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 organisation_lf
78
- unless AIPP.cache.organisation_lf
79
- AIPP.cache.organisation_lf = AIXM.organisation(
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'
@@ -15,13 +15,13 @@ module AIPP::LS::NOTAM
15
15
  next unless row[:notamRaw].match? /^Q\) LS/ # only parse national NOTAM
16
16
 
17
17
  # HACK: try to add missing commas to D-item of A- and B-series NOTAM
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
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
25
25
 
26
26
  # HACK: remove braindead years from D-item of W-series NOTAM
27
27
  if row[:notamRaw].match? /\AW/
@@ -105,7 +105,7 @@ end
105
105
  case notam.data[:content]
106
106
  when /(?<type>TMA) ((SECT )?(?<section>\d+) )?ACT/
107
107
  'Ase:has(codeType:contains("%s") + codeId:contains("%s %s"))' % [$~['type'], notam.data[:locations].first, $~['section']]
108
- when /[DR].AREA (?<name>LS-[DR]\d+[A-Z]?).+ACT/
108
+ when /[DR].AREA (?<name>LS-?[DR]\d+[A-Z]?).+ACT/
109
109
  'Ase:has(codeId:matches("^%s( .+)?$"))' % [$~['name']]
110
110
  else
111
111
  return
data/lib/aipp/runner.rb CHANGED
@@ -66,6 +66,7 @@ module AIPP
66
66
 
67
67
  # Read the configuration from config.yml.
68
68
  def read_config
69
+ info("using gem aipp-#{AIPP::VERSION}")
69
70
  info("reading config.yml")
70
71
  AIPP.config.read! config_file
71
72
  @aixm.namespace = AIPP.config.namespace
data/lib/aipp/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module AIPP
2
- VERSION = "2.1.9".freeze
2
+ VERSION = "2.1.10".freeze
3
3
  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.9
4
+ version: 2.1.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sven Schwyn
@@ -27,7 +27,7 @@ cert_chain:
27
27
  k/QvZU05f6HMYBrPogJgIzHC/C5N/yeE4BVEuBDn+10Zb1iu3aDk8sd0uMgukCY8
28
28
  TUmlP5A6NeGdeDJIoLgromAKs+nvI7TWzhQq9ODs51XhxgUFRCvBqUTpjTQigw==
29
29
  -----END CERTIFICATE-----
30
- date: 2024-01-13 00:00:00.000000000 Z
30
+ date: 2024-03-08 00:00:00.000000000 Z
31
31
  dependencies:
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: airac
@@ -121,16 +121,16 @@ dependencies:
121
121
  name: graphql
122
122
  requirement: !ruby/object:Gem::Requirement
123
123
  requirements:
124
- - - "<"
124
+ - - "~>"
125
125
  - !ruby/object:Gem::Version
126
- version: '2.1'
126
+ version: '2'
127
127
  type: :runtime
128
128
  prerelease: false
129
129
  version_requirements: !ruby/object:Gem::Requirement
130
130
  requirements:
131
- - - "<"
131
+ - - "~>"
132
132
  - !ruby/object:Gem::Version
133
- version: '2.1'
133
+ version: '2'
134
134
  - !ruby/object:Gem::Dependency
135
135
  name: graphql-client
136
136
  requirement: !ruby/object:Gem::Requirement
@@ -138,6 +138,9 @@ dependencies:
138
138
  - - "~>"
139
139
  - !ruby/object:Gem::Version
140
140
  version: '0'
141
+ - - ">="
142
+ - !ruby/object:Gem::Version
143
+ version: 0.19.0
141
144
  type: :runtime
142
145
  prerelease: false
143
146
  version_requirements: !ruby/object:Gem::Requirement
@@ -145,6 +148,9 @@ dependencies:
145
148
  - - "~>"
146
149
  - !ruby/object:Gem::Version
147
150
  version: '0'
151
+ - - ">="
152
+ - !ruby/object:Gem::Version
153
+ version: 0.19.0
148
154
  - !ruby/object:Gem::Dependency
149
155
  name: nokogiri
150
156
  requirement: !ruby/object:Gem::Requirement
@@ -468,7 +474,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
468
474
  - !ruby/object:Gem::Version
469
475
  version: '0'
470
476
  requirements: []
471
- rubygems_version: 3.5.4
477
+ rubygems_version: 3.5.6
472
478
  signing_key:
473
479
  specification_version: 4
474
480
  summary: Parser for aeronautical information publications
metadata.gz.sig CHANGED
Binary file