aipp 0.2.4 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (86) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +2 -0
  3. data/CHANGELOG.md +38 -0
  4. data/README.md +222 -88
  5. data/exe/aip2aixm +2 -2
  6. data/exe/aip2ofmx +2 -2
  7. data/lib/aipp/aip.rb +113 -31
  8. data/lib/aipp/border.rb +77 -46
  9. data/lib/aipp/debugger.rb +101 -0
  10. data/lib/aipp/downloader.rb +39 -26
  11. data/lib/aipp/executable.rb +41 -22
  12. data/lib/aipp/parser.rb +94 -21
  13. data/lib/aipp/patcher.rb +5 -2
  14. data/lib/aipp/pdf.rb +1 -1
  15. data/lib/aipp/regions/LF/README.md +49 -0
  16. data/lib/aipp/regions/LF/aerodromes.rb +223 -0
  17. data/lib/aipp/regions/LF/d_p_r_airspaces.rb +56 -0
  18. data/lib/aipp/regions/LF/dangerous_activities.rb +49 -0
  19. data/lib/aipp/regions/LF/designated_points.rb +47 -0
  20. data/lib/aipp/regions/LF/fixtures/aerodromes.yml +608 -0
  21. data/lib/aipp/regions/LF/helipads.rb +122 -0
  22. data/lib/aipp/regions/LF/helpers/base.rb +218 -0
  23. data/lib/aipp/regions/LF/helpers/surface.rb +49 -0
  24. data/lib/aipp/regions/LF/helpers/usage_limitation.rb +20 -0
  25. data/lib/aipp/regions/LF/navigational_aids.rb +85 -0
  26. data/lib/aipp/regions/LF/obstacles.rb +153 -0
  27. data/lib/aipp/regions/LF/serviced_airspaces.rb +70 -0
  28. data/lib/aipp/regions/LF/services.rb +172 -0
  29. data/lib/aipp/t_hash.rb +4 -5
  30. data/lib/aipp/version.rb +1 -1
  31. data/lib/aipp.rb +11 -5
  32. data/lib/core_ext/enumerable.rb +9 -9
  33. data/lib/core_ext/hash.rb +21 -5
  34. data/lib/core_ext/nokogiri.rb +54 -0
  35. data/lib/core_ext/string.rb +38 -66
  36. data.tar.gz.sig +2 -0
  37. metadata +180 -188
  38. metadata.gz.sig +0 -0
  39. data/.gitignore +0 -8
  40. data/.ruby-version +0 -1
  41. data/.travis.yml +0 -8
  42. data/.yardopts +0 -3
  43. data/Guardfile +0 -7
  44. data/TODO.md +0 -6
  45. data/aipp.gemspec +0 -44
  46. data/gems.rb +0 -3
  47. data/lib/aipp/airac.rb +0 -55
  48. data/lib/aipp/regions/LF/AD-1.3.rb +0 -162
  49. data/lib/aipp/regions/LF/AD-1.6.rb +0 -31
  50. data/lib/aipp/regions/LF/AD-2.rb +0 -313
  51. data/lib/aipp/regions/LF/AD-3.1.rb +0 -185
  52. data/lib/aipp/regions/LF/ENR-2.1.rb +0 -92
  53. data/lib/aipp/regions/LF/ENR-4.1.rb +0 -97
  54. data/lib/aipp/regions/LF/ENR-4.3.rb +0 -28
  55. data/lib/aipp/regions/LF/ENR-5.1.rb +0 -75
  56. data/lib/aipp/regions/LF/ENR-5.5.rb +0 -53
  57. data/lib/aipp/regions/LF/fixtures/AD-1.3.yml +0 -511
  58. data/lib/aipp/regions/LF/fixtures/AD-2.yml +0 -185
  59. data/lib/aipp/regions/LF/fixtures/AD-3.1.yml +0 -10
  60. data/lib/aipp/regions/LF/helpers/AD_radio.rb +0 -90
  61. data/lib/aipp/regions/LF/helpers/URL.rb +0 -26
  62. data/lib/aipp/regions/LF/helpers/common.rb +0 -217
  63. data/lib/core_ext/object.rb +0 -43
  64. data/rakefile.rb +0 -12
  65. data/spec/fixtures/archive.zip +0 -0
  66. data/spec/fixtures/border.geojson +0 -201
  67. data/spec/fixtures/document.pdf +0 -0
  68. data/spec/fixtures/document.pdf.json +0 -1
  69. data/spec/fixtures/new.html +0 -6
  70. data/spec/fixtures/new.pdf +0 -0
  71. data/spec/fixtures/new.txt +0 -1
  72. data/spec/lib/aipp/airac_spec.rb +0 -98
  73. data/spec/lib/aipp/border_spec.rb +0 -135
  74. data/spec/lib/aipp/downloader_spec.rb +0 -81
  75. data/spec/lib/aipp/patcher_spec.rb +0 -46
  76. data/spec/lib/aipp/pdf_spec.rb +0 -124
  77. data/spec/lib/aipp/t_hash_spec.rb +0 -44
  78. data/spec/lib/aipp/version_spec.rb +0 -7
  79. data/spec/lib/core_ext/enumberable_spec.rb +0 -76
  80. data/spec/lib/core_ext/hash_spec.rb +0 -27
  81. data/spec/lib/core_ext/integer_spec.rb +0 -15
  82. data/spec/lib/core_ext/nil_class_spec.rb +0 -11
  83. data/spec/lib/core_ext/string_spec.rb +0 -112
  84. data/spec/sounds/failure.mp3 +0 -0
  85. data/spec/sounds/success.mp3 +0 -0
  86. data/spec/spec_helper.rb +0 -28
metadata CHANGED
@@ -1,405 +1,397 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aipp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sven Schwyn
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
- cert_chain: []
11
- date: 2019-05-22 00:00:00.000000000 Z
10
+ cert_chain:
11
+ - |
12
+ -----BEGIN CERTIFICATE-----
13
+ MIIDcDCCAligAwIBAgIBATANBgkqhkiG9w0BAQUFADA/MQ0wCwYDVQQDDARydWJ5
14
+ MRkwFwYKCZImiZPyLGQBGRYJYml0Y2V0ZXJhMRMwEQYKCZImiZPyLGQBGRYDY29t
15
+ MB4XDTIxMTEwODE0MzIyM1oXDTIyMTEwODE0MzIyM1owPzENMAsGA1UEAwwEcnVi
16
+ eTEZMBcGCgmSJomT8ixkARkWCWJpdGNldGVyYTETMBEGCgmSJomT8ixkARkWA2Nv
17
+ bTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANwuD4geNdhpSVNJTtHb
18
+ fmVAoPxmER4oyGgaVJSidn/OjU5PcpdypMI/WIxfvjfFizq6kQYAsJZbCr6fG+UN
19
+ 2dZGMXcAC/uKQL5nYESjCPJ4IJP/SC+fiiEpxHQk7PNFoiUVRUieUZIAfHZAdnY3
20
+ ye1/niW7ud0vwKIMrysKWxjgkE0Y6Af1QLzV/6brVRRC5MvHIzYJd8BiSP+wY1O8
21
+ VElw1f6d90KEz2vaQfX7vCxrzIbvAnYiSvM0AIPy/zigTqpW6w3w4sQxQj81oQ9U
22
+ 9vDYtQzXj0c9VrSLvb0DgiGug2cU2bDjA4L3cBE1szX4tbfo8syYqMq51/kTGDxW
23
+ YNUCAwEAAaN3MHUwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAwHQYDVR0OBBYEFJ8r
24
+ wy1HraZDqg3Khf9UonMWMtJUMB0GA1UdEQQWMBSBEnJ1YnlAYml0Y2V0ZXJhLmNv
25
+ bTAdBgNVHRIEFjAUgRJydWJ5QGJpdGNldGVyYS5jb20wDQYJKoZIhvcNAQEFBQAD
26
+ ggEBACI7lJKRbnRjz0T4Wb9jH4SE0A2yaHAoBzj96luVDjNyoRT3688trEZS75Sg
27
+ GKfChxqKncBrSpxJ0YfWbymNHfUrKhcdSifJ/TtUrTasm6LSnJYLOnLKDO3v8eL3
28
+ gRTq8a5wA7Xtijx3MJEyzdeUh7N+UMKuPps/flPgH5yabUxgxrvuhrXF7Z96nrsP
29
+ EOmNMTc8H7wo4BAKfuMcI/Gh2oCf+tAhr0bGsXyBikmJ6XA45mrOMgv19M1+aMpn
30
+ 1+2Y1+i+4jd1B7qxIgOLxQTNIJiwE0sqU1itFfuesfgUACS7M0IV9u9Bp4hBGNEw
31
+ 5JcY2h7owdMxXIvgk1oakgldFJc=
32
+ -----END CERTIFICATE-----
33
+ date: 2022-03-05 00:00:00.000000000 Z
12
34
  dependencies:
13
35
  - !ruby/object:Gem::Dependency
14
- name: rake
36
+ name: airac
15
37
  requirement: !ruby/object:Gem::Requirement
16
38
  requirements:
17
- - - ">="
39
+ - - "~>"
18
40
  - !ruby/object:Gem::Version
19
- version: '0'
20
- type: :development
41
+ version: '1.0'
42
+ type: :runtime
21
43
  prerelease: false
22
44
  version_requirements: !ruby/object:Gem::Requirement
23
45
  requirements:
24
- - - ">="
46
+ - - "~>"
25
47
  - !ruby/object:Gem::Version
26
- version: '0'
48
+ version: '1.0'
27
49
  - !ruby/object:Gem::Dependency
28
- name: minitest
50
+ name: aixm
29
51
  requirement: !ruby/object:Gem::Requirement
30
52
  requirements:
31
- - - ">="
53
+ - - "~>"
32
54
  - !ruby/object:Gem::Version
33
- version: '0'
34
- type: :development
55
+ version: '1.1'
56
+ type: :runtime
35
57
  prerelease: false
36
58
  version_requirements: !ruby/object:Gem::Requirement
37
59
  requirements:
38
- - - ">="
60
+ - - "~>"
39
61
  - !ruby/object:Gem::Version
40
- version: '0'
62
+ version: '1.1'
41
63
  - !ruby/object:Gem::Dependency
42
- name: minitest-reporters
64
+ name: activesupport
43
65
  requirement: !ruby/object:Gem::Requirement
44
66
  requirements:
45
- - - ">="
67
+ - - "~>"
46
68
  - !ruby/object:Gem::Version
47
- version: '0'
48
- type: :development
69
+ version: '7'
70
+ type: :runtime
49
71
  prerelease: false
50
72
  version_requirements: !ruby/object:Gem::Requirement
51
73
  requirements:
52
- - - ">="
74
+ - - "~>"
53
75
  - !ruby/object:Gem::Version
54
- version: '0'
76
+ version: '7'
55
77
  - !ruby/object:Gem::Dependency
56
- name: minitest-sound
78
+ name: nokogiri
57
79
  requirement: !ruby/object:Gem::Requirement
58
80
  requirements:
81
+ - - "~>"
82
+ - !ruby/object:Gem::Version
83
+ version: '1'
59
84
  - - ">="
60
85
  - !ruby/object:Gem::Version
61
- version: '0'
62
- type: :development
86
+ version: 1.12.0
87
+ type: :runtime
63
88
  prerelease: false
64
89
  version_requirements: !ruby/object:Gem::Requirement
65
90
  requirements:
91
+ - - "~>"
92
+ - !ruby/object:Gem::Version
93
+ version: '1'
66
94
  - - ">="
67
95
  - !ruby/object:Gem::Version
68
- version: '0'
96
+ version: 1.12.0
69
97
  - !ruby/object:Gem::Dependency
70
- name: minitest-matchers
98
+ name: roo
71
99
  requirement: !ruby/object:Gem::Requirement
72
100
  requirements:
73
- - - ">="
101
+ - - "~>"
74
102
  - !ruby/object:Gem::Version
75
- version: '0'
76
- type: :development
103
+ version: '2'
104
+ type: :runtime
77
105
  prerelease: false
78
106
  version_requirements: !ruby/object:Gem::Requirement
79
107
  requirements:
80
- - - ">="
108
+ - - "~>"
81
109
  - !ruby/object:Gem::Version
82
- version: '0'
110
+ version: '2'
83
111
  - !ruby/object:Gem::Dependency
84
- name: spy
112
+ name: pdf-reader
85
113
  requirement: !ruby/object:Gem::Requirement
86
114
  requirements:
87
- - - ">="
115
+ - - "~>"
88
116
  - !ruby/object:Gem::Version
89
- version: '0'
90
- type: :development
117
+ version: '2'
118
+ type: :runtime
91
119
  prerelease: false
92
120
  version_requirements: !ruby/object:Gem::Requirement
93
121
  requirements:
94
- - - ">="
122
+ - - "~>"
95
123
  - !ruby/object:Gem::Version
96
- version: '0'
124
+ version: '2'
97
125
  - !ruby/object:Gem::Dependency
98
- name: guard
126
+ name: json
99
127
  requirement: !ruby/object:Gem::Requirement
100
128
  requirements:
101
- - - ">="
129
+ - - "~>"
102
130
  - !ruby/object:Gem::Version
103
- version: '0'
104
- type: :development
131
+ version: '2'
132
+ type: :runtime
105
133
  prerelease: false
106
134
  version_requirements: !ruby/object:Gem::Requirement
107
135
  requirements:
108
- - - ">="
136
+ - - "~>"
109
137
  - !ruby/object:Gem::Version
110
- version: '0'
138
+ version: '2'
111
139
  - !ruby/object:Gem::Dependency
112
- name: guard-minitest
140
+ name: rubyzip
113
141
  requirement: !ruby/object:Gem::Requirement
114
142
  requirements:
115
- - - ">="
143
+ - - "~>"
116
144
  - !ruby/object:Gem::Version
117
- version: '0'
118
- type: :development
145
+ version: '2'
146
+ type: :runtime
119
147
  prerelease: false
120
148
  version_requirements: !ruby/object:Gem::Requirement
121
149
  requirements:
122
- - - ">="
150
+ - - "~>"
123
151
  - !ruby/object:Gem::Version
124
- version: '0'
152
+ version: '2'
125
153
  - !ruby/object:Gem::Dependency
126
- name: aixm
154
+ name: colorize
127
155
  requirement: !ruby/object:Gem::Requirement
128
156
  requirements:
129
- - - ">="
157
+ - - "~>"
130
158
  - !ruby/object:Gem::Version
131
- version: 0.3.6
159
+ version: '0'
132
160
  type: :runtime
133
161
  prerelease: false
134
162
  version_requirements: !ruby/object:Gem::Requirement
135
163
  requirements:
136
- - - ">="
164
+ - - "~>"
137
165
  - !ruby/object:Gem::Version
138
- version: 0.3.6
166
+ version: '0'
139
167
  - !ruby/object:Gem::Dependency
140
- name: activesupport
168
+ name: debug
141
169
  requirement: !ruby/object:Gem::Requirement
142
170
  requirements:
143
- - - "~>"
171
+ - - ">="
144
172
  - !ruby/object:Gem::Version
145
- version: '5'
173
+ version: 1.0.0
146
174
  type: :runtime
147
175
  prerelease: false
148
176
  version_requirements: !ruby/object:Gem::Requirement
149
177
  requirements:
150
- - - "~>"
178
+ - - ">="
151
179
  - !ruby/object:Gem::Version
152
- version: '5'
180
+ version: 1.0.0
153
181
  - !ruby/object:Gem::Dependency
154
- name: nokogiri
182
+ name: rake
155
183
  requirement: !ruby/object:Gem::Requirement
156
184
  requirements:
157
- - - "~>"
185
+ - - ">="
158
186
  - !ruby/object:Gem::Version
159
- version: '1'
160
- type: :runtime
187
+ version: '0'
188
+ type: :development
161
189
  prerelease: false
162
190
  version_requirements: !ruby/object:Gem::Requirement
163
191
  requirements:
164
- - - "~>"
192
+ - - ">="
165
193
  - !ruby/object:Gem::Version
166
- version: '1'
194
+ version: '0'
167
195
  - !ruby/object:Gem::Dependency
168
- name: nokogumbo
196
+ name: minitest
169
197
  requirement: !ruby/object:Gem::Requirement
170
198
  requirements:
171
- - - "~>"
199
+ - - ">="
172
200
  - !ruby/object:Gem::Version
173
- version: '2'
174
- type: :runtime
201
+ version: '0'
202
+ type: :development
175
203
  prerelease: false
176
204
  version_requirements: !ruby/object:Gem::Requirement
177
205
  requirements:
178
- - - "~>"
206
+ - - ">="
179
207
  - !ruby/object:Gem::Version
180
- version: '2'
208
+ version: '0'
181
209
  - !ruby/object:Gem::Dependency
182
- name: pdf-reader
210
+ name: minitest-reporters
183
211
  requirement: !ruby/object:Gem::Requirement
184
212
  requirements:
185
- - - "~>"
213
+ - - ">="
186
214
  - !ruby/object:Gem::Version
187
- version: '2'
188
- type: :runtime
215
+ version: '0'
216
+ type: :development
189
217
  prerelease: false
190
218
  version_requirements: !ruby/object:Gem::Requirement
191
219
  requirements:
192
- - - "~>"
220
+ - - ">="
193
221
  - !ruby/object:Gem::Version
194
- version: '2'
222
+ version: '0'
195
223
  - !ruby/object:Gem::Dependency
196
- name: json
224
+ name: minitest-sound
197
225
  requirement: !ruby/object:Gem::Requirement
198
226
  requirements:
199
- - - "~>"
227
+ - - ">="
200
228
  - !ruby/object:Gem::Version
201
- version: '2'
202
- type: :runtime
229
+ version: '0'
230
+ type: :development
203
231
  prerelease: false
204
232
  version_requirements: !ruby/object:Gem::Requirement
205
233
  requirements:
206
- - - "~>"
234
+ - - ">="
207
235
  - !ruby/object:Gem::Version
208
- version: '2'
236
+ version: '0'
209
237
  - !ruby/object:Gem::Dependency
210
- name: rubyzip
238
+ name: minitest-focus
211
239
  requirement: !ruby/object:Gem::Requirement
212
240
  requirements:
213
- - - "~>"
241
+ - - ">="
214
242
  - !ruby/object:Gem::Version
215
- version: '1'
216
- type: :runtime
243
+ version: '0'
244
+ type: :development
217
245
  prerelease: false
218
246
  version_requirements: !ruby/object:Gem::Requirement
219
247
  requirements:
220
- - - "~>"
248
+ - - ">="
221
249
  - !ruby/object:Gem::Version
222
- version: '1'
250
+ version: '0'
223
251
  - !ruby/object:Gem::Dependency
224
- name: colorize
252
+ name: minitest-matchers
225
253
  requirement: !ruby/object:Gem::Requirement
226
254
  requirements:
227
- - - "~>"
255
+ - - ">="
228
256
  - !ruby/object:Gem::Version
229
257
  version: '0'
230
- type: :runtime
258
+ type: :development
231
259
  prerelease: false
232
260
  version_requirements: !ruby/object:Gem::Requirement
233
261
  requirements:
234
- - - "~>"
262
+ - - ">="
235
263
  - !ruby/object:Gem::Version
236
264
  version: '0'
237
265
  - !ruby/object:Gem::Dependency
238
- name: pry
266
+ name: spy
239
267
  requirement: !ruby/object:Gem::Requirement
240
268
  requirements:
241
- - - "~>"
269
+ - - ">="
242
270
  - !ruby/object:Gem::Version
243
271
  version: '0'
244
- type: :runtime
272
+ type: :development
245
273
  prerelease: false
246
274
  version_requirements: !ruby/object:Gem::Requirement
247
275
  requirements:
248
- - - "~>"
276
+ - - ">="
249
277
  - !ruby/object:Gem::Version
250
278
  version: '0'
251
279
  - !ruby/object:Gem::Dependency
252
- name: pry-rescue
280
+ name: guard
253
281
  requirement: !ruby/object:Gem::Requirement
254
282
  requirements:
255
- - - "~>"
283
+ - - ">="
256
284
  - !ruby/object:Gem::Version
257
- version: '1'
258
- type: :runtime
285
+ version: '0'
286
+ type: :development
259
287
  prerelease: false
260
288
  version_requirements: !ruby/object:Gem::Requirement
261
289
  requirements:
262
- - - "~>"
290
+ - - ">="
263
291
  - !ruby/object:Gem::Version
264
- version: '1'
292
+ version: '0'
265
293
  - !ruby/object:Gem::Dependency
266
- name: pry-stack_explorer
294
+ name: guard-minitest
267
295
  requirement: !ruby/object:Gem::Requirement
268
296
  requirements:
269
- - - "~>"
297
+ - - ">="
270
298
  - !ruby/object:Gem::Version
271
299
  version: '0'
272
- type: :runtime
300
+ type: :development
273
301
  prerelease: false
274
302
  version_requirements: !ruby/object:Gem::Requirement
275
303
  requirements:
276
- - - "~>"
304
+ - - ">="
277
305
  - !ruby/object:Gem::Version
278
306
  version: '0'
279
- description: Parser for Aeronautical Information Publications (AIP).
307
+ description: |
308
+ Parse public AIP (Aeronautical Information Publication) and convert the data
309
+ to either AIXM (Aeronautical Information Exchange Model) or OFMX (Open
310
+ FlightMaps eXchange).
280
311
  email:
281
312
  - ruby@bitcetera.com
282
313
  executables:
283
314
  - aip2aixm
284
315
  - aip2ofmx
285
316
  extensions: []
286
- extra_rdoc_files: []
317
+ extra_rdoc_files:
318
+ - README.md
319
+ - CHANGELOG.md
320
+ - LICENSE.txt
287
321
  files:
288
- - ".gitignore"
289
- - ".ruby-version"
290
- - ".travis.yml"
291
- - ".yardopts"
292
322
  - CHANGELOG.md
293
- - Guardfile
294
323
  - LICENSE.txt
295
324
  - README.md
296
- - TODO.md
297
- - aipp.gemspec
298
325
  - exe/aip2aixm
299
326
  - exe/aip2ofmx
300
- - gems.rb
301
327
  - lib/aipp.rb
302
328
  - lib/aipp/aip.rb
303
- - lib/aipp/airac.rb
304
329
  - lib/aipp/border.rb
330
+ - lib/aipp/debugger.rb
305
331
  - lib/aipp/downloader.rb
306
332
  - lib/aipp/executable.rb
307
333
  - lib/aipp/parser.rb
308
334
  - lib/aipp/patcher.rb
309
335
  - lib/aipp/pdf.rb
310
- - lib/aipp/regions/LF/AD-1.3.rb
311
- - lib/aipp/regions/LF/AD-1.6.rb
312
- - lib/aipp/regions/LF/AD-2.rb
313
- - lib/aipp/regions/LF/AD-3.1.rb
314
- - lib/aipp/regions/LF/ENR-2.1.rb
315
- - lib/aipp/regions/LF/ENR-4.1.rb
316
- - lib/aipp/regions/LF/ENR-4.3.rb
317
- - lib/aipp/regions/LF/ENR-5.1.rb
318
- - lib/aipp/regions/LF/ENR-5.5.rb
336
+ - lib/aipp/regions/LF/README.md
337
+ - lib/aipp/regions/LF/aerodromes.rb
319
338
  - lib/aipp/regions/LF/borders/france_atlantic_coast.geojson
320
339
  - lib/aipp/regions/LF/borders/france_atlantic_territorial_sea.geojson
321
340
  - lib/aipp/regions/LF/borders/france_ecrins_national_park.geojson
322
341
  - lib/aipp/regions/LF/borders/france_mediterranean_coast.geojson
323
- - lib/aipp/regions/LF/fixtures/AD-1.3.yml
324
- - lib/aipp/regions/LF/fixtures/AD-2.yml
325
- - lib/aipp/regions/LF/fixtures/AD-3.1.yml
326
- - lib/aipp/regions/LF/helpers/AD_radio.rb
327
- - lib/aipp/regions/LF/helpers/URL.rb
328
- - lib/aipp/regions/LF/helpers/common.rb
342
+ - lib/aipp/regions/LF/d_p_r_airspaces.rb
343
+ - lib/aipp/regions/LF/dangerous_activities.rb
344
+ - lib/aipp/regions/LF/designated_points.rb
345
+ - lib/aipp/regions/LF/fixtures/aerodromes.yml
346
+ - lib/aipp/regions/LF/helipads.rb
347
+ - lib/aipp/regions/LF/helpers/base.rb
348
+ - lib/aipp/regions/LF/helpers/surface.rb
349
+ - lib/aipp/regions/LF/helpers/usage_limitation.rb
350
+ - lib/aipp/regions/LF/navigational_aids.rb
351
+ - lib/aipp/regions/LF/obstacles.rb
352
+ - lib/aipp/regions/LF/serviced_airspaces.rb
353
+ - lib/aipp/regions/LF/services.rb
329
354
  - lib/aipp/t_hash.rb
330
355
  - lib/aipp/version.rb
331
356
  - lib/core_ext/enumerable.rb
332
357
  - lib/core_ext/hash.rb
333
358
  - lib/core_ext/integer.rb
334
359
  - lib/core_ext/nil_class.rb
335
- - lib/core_ext/object.rb
360
+ - lib/core_ext/nokogiri.rb
336
361
  - lib/core_ext/string.rb
337
- - rakefile.rb
338
- - spec/fixtures/archive.zip
339
- - spec/fixtures/border.geojson
340
- - spec/fixtures/document.pdf
341
- - spec/fixtures/document.pdf.json
342
- - spec/fixtures/new.html
343
- - spec/fixtures/new.pdf
344
- - spec/fixtures/new.txt
345
- - spec/lib/aipp/airac_spec.rb
346
- - spec/lib/aipp/border_spec.rb
347
- - spec/lib/aipp/downloader_spec.rb
348
- - spec/lib/aipp/patcher_spec.rb
349
- - spec/lib/aipp/pdf_spec.rb
350
- - spec/lib/aipp/t_hash_spec.rb
351
- - spec/lib/aipp/version_spec.rb
352
- - spec/lib/core_ext/enumberable_spec.rb
353
- - spec/lib/core_ext/hash_spec.rb
354
- - spec/lib/core_ext/integer_spec.rb
355
- - spec/lib/core_ext/nil_class_spec.rb
356
- - spec/lib/core_ext/string_spec.rb
357
- - spec/sounds/failure.mp3
358
- - spec/sounds/success.mp3
359
- - spec/spec_helper.rb
360
362
  homepage: https://github.com/svoop/aipp
361
363
  licenses:
362
364
  - MIT
363
- metadata: {}
364
- post_install_message:
365
- rdoc_options: []
365
+ metadata:
366
+ homepage_uri: https://github.com/svoop/aipp
367
+ changelog_uri: https://github.com/svoop/aipp/blob/main/CHANGELOG.md
368
+ source_code_uri: https://github.com/svoop/aipp
369
+ documentation_uri: https://www.rubydoc.info/gems/aipp
370
+ bug_tracker_uri: https://github.com/svoop/aipp/issues
371
+ post_install_message:
372
+ rdoc_options:
373
+ - "--title"
374
+ - AIP Parser and Converter
375
+ - "--main"
376
+ - README.md
377
+ - "--line-numbers"
378
+ - "--inline-source"
379
+ - "--quiet"
366
380
  require_paths:
367
381
  - lib
368
382
  required_ruby_version: !ruby/object:Gem::Requirement
369
383
  requirements:
370
384
  - - ">="
371
385
  - !ruby/object:Gem::Version
372
- version: '2.6'
386
+ version: 3.0.0
373
387
  required_rubygems_version: !ruby/object:Gem::Requirement
374
388
  requirements:
375
389
  - - ">="
376
390
  - !ruby/object:Gem::Version
377
391
  version: '0'
378
392
  requirements: []
379
- rubygems_version: 3.0.3
380
- signing_key:
393
+ rubygems_version: 3.3.8
394
+ signing_key:
381
395
  specification_version: 4
382
- summary: Parser for Aeronautical Information Publications (AIP).
383
- test_files:
384
- - spec/fixtures/archive.zip
385
- - spec/fixtures/border.geojson
386
- - spec/fixtures/document.pdf
387
- - spec/fixtures/document.pdf.json
388
- - spec/fixtures/new.html
389
- - spec/fixtures/new.pdf
390
- - spec/fixtures/new.txt
391
- - spec/lib/aipp/airac_spec.rb
392
- - spec/lib/aipp/border_spec.rb
393
- - spec/lib/aipp/downloader_spec.rb
394
- - spec/lib/aipp/patcher_spec.rb
395
- - spec/lib/aipp/pdf_spec.rb
396
- - spec/lib/aipp/t_hash_spec.rb
397
- - spec/lib/aipp/version_spec.rb
398
- - spec/lib/core_ext/enumberable_spec.rb
399
- - spec/lib/core_ext/hash_spec.rb
400
- - spec/lib/core_ext/integer_spec.rb
401
- - spec/lib/core_ext/nil_class_spec.rb
402
- - spec/lib/core_ext/string_spec.rb
403
- - spec/sounds/failure.mp3
404
- - spec/sounds/success.mp3
405
- - spec/spec_helper.rb
396
+ summary: Parser for aeronautical information publications
397
+ test_files: []
metadata.gz.sig ADDED
Binary file
data/.gitignore DELETED
@@ -1,8 +0,0 @@
1
- .DS_Store
2
- gems.locked
3
- pkg/*
4
- *.gem
5
- .bundle
6
- .yardoc
7
- *.aixm
8
- *.ofmx
data/.ruby-version DELETED
@@ -1 +0,0 @@
1
- ruby-2.6.3
data/.travis.yml DELETED
@@ -1,8 +0,0 @@
1
- ---
2
- language: ruby
3
- rvm:
4
- - 2.6.3
5
- before_install:
6
- - gem update --system
7
- - gem install bundler
8
- - bundle install
data/.yardopts DELETED
@@ -1,3 +0,0 @@
1
- --no-private
2
- lib/**/*.rb -
3
- README.md CHANGELOG.md LICENSE.txt
data/Guardfile DELETED
@@ -1,7 +0,0 @@
1
- clearing :on
2
-
3
- guard :minitest do
4
- watch(%r{^spec/(.+)_spec\.rb})
5
- watch(%r{^lib/(.+)\.rb}) { |m| "spec/lib/#{m[1]}_spec.rb" }
6
- watch(%r{^spec/spec_helper\.rb}) { 'spec' }
7
- end
data/TODO.md DELETED
@@ -1,6 +0,0 @@
1
- ## LF
2
-
3
- * ENR-5.4: obstacles
4
- * ENR-5.2: military and training areas
5
- * ENR-2.2: TMZ and RMZ
6
- * AD-2: landing aids (LOC/GP/DME) as of section 2.19
data/aipp.gemspec DELETED
@@ -1,44 +0,0 @@
1
- # coding: utf-8
2
- lib = File.expand_path('../lib', __FILE__)
3
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require 'aipp/version'
5
-
6
- Gem::Specification.new do |spec|
7
- spec.name = 'aipp'
8
- spec.version = AIPP::VERSION
9
- spec.authors = ['Sven Schwyn']
10
- spec.email = ['ruby@bitcetera.com']
11
- spec.description = %q(Parser for Aeronautical Information Publications (AIP).)
12
- spec.summary = %q(Parser for Aeronautical Information Publications (AIP).)
13
- spec.homepage = 'https://github.com/svoop/aipp'
14
- spec.license = 'MIT'
15
-
16
- spec.files = `git ls-files`.split($/)
17
- spec.bindir = 'exe'
18
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
19
- spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
20
- spec.require_paths = ['lib']
21
-
22
- spec.required_ruby_version = '>= 2.6'
23
-
24
- spec.add_development_dependency 'rake'
25
- spec.add_development_dependency 'minitest'
26
- spec.add_development_dependency 'minitest-reporters'
27
- spec.add_development_dependency 'minitest-sound'
28
- spec.add_development_dependency 'minitest-matchers'
29
- spec.add_development_dependency 'spy'
30
- spec.add_development_dependency 'guard'
31
- spec.add_development_dependency 'guard-minitest'
32
-
33
- spec.add_runtime_dependency 'aixm', '>= 0.3.6'
34
- spec.add_runtime_dependency 'activesupport', '~> 5'
35
- spec.add_runtime_dependency 'nokogiri', '~> 1'
36
- spec.add_runtime_dependency 'nokogumbo', '~> 2'
37
- spec.add_runtime_dependency 'pdf-reader', '~> 2'
38
- spec.add_runtime_dependency 'json', '~> 2'
39
- spec.add_runtime_dependency 'rubyzip', '~> 1'
40
- spec.add_runtime_dependency 'colorize', '~> 0'
41
- spec.add_runtime_dependency 'pry', '~> 0'
42
- spec.add_runtime_dependency 'pry-rescue', '~> 1'
43
- spec.add_runtime_dependency 'pry-stack_explorer', '~> 0'
44
- end
data/gems.rb DELETED
@@ -1,3 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gemspec