aixm 0.2.3 → 0.3.0

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.
Files changed (97) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/.ruby-version +1 -1
  4. data/.yardopts +3 -0
  5. data/CHANGELOG.md +34 -14
  6. data/Guardfile +1 -0
  7. data/README.md +64 -257
  8. data/lib/aixm.rb +16 -7
  9. data/lib/aixm/component.rb +6 -0
  10. data/lib/aixm/component/frequency.rb +135 -0
  11. data/lib/aixm/component/geometry.rb +34 -23
  12. data/lib/aixm/component/geometry/arc.rb +37 -22
  13. data/lib/aixm/component/geometry/border.rb +29 -20
  14. data/lib/aixm/component/geometry/circle.rb +39 -22
  15. data/lib/aixm/component/geometry/point.rb +29 -13
  16. data/lib/aixm/component/helipad.rb +154 -0
  17. data/lib/aixm/component/layer.rb +91 -0
  18. data/lib/aixm/component/runway.rb +294 -0
  19. data/lib/aixm/component/service.rb +170 -0
  20. data/lib/aixm/component/timetable.rb +65 -0
  21. data/lib/aixm/component/vertical_limits.rb +65 -29
  22. data/lib/aixm/config.rb +87 -0
  23. data/lib/aixm/document.rb +66 -42
  24. data/lib/aixm/errors.rb +11 -0
  25. data/lib/aixm/f.rb +34 -20
  26. data/lib/aixm/feature.rb +38 -0
  27. data/lib/aixm/feature/airport.rb +473 -0
  28. data/lib/aixm/feature/airspace.rb +145 -92
  29. data/lib/aixm/feature/navigational_aid.rb +94 -0
  30. data/lib/aixm/feature/navigational_aid/designated_point.rb +50 -54
  31. data/lib/aixm/feature/navigational_aid/dme.rb +48 -40
  32. data/lib/aixm/feature/navigational_aid/marker.rb +55 -45
  33. data/lib/aixm/feature/navigational_aid/ndb.rb +54 -50
  34. data/lib/aixm/feature/navigational_aid/tacan.rb +38 -31
  35. data/lib/aixm/feature/navigational_aid/vor.rb +84 -76
  36. data/lib/aixm/feature/organisation.rb +97 -0
  37. data/lib/aixm/feature/unit.rb +152 -0
  38. data/lib/aixm/refinements.rb +132 -47
  39. data/lib/aixm/shortcuts.rb +11 -6
  40. data/lib/aixm/version.rb +1 -1
  41. data/lib/aixm/xy.rb +64 -20
  42. data/lib/aixm/z.rb +51 -22
  43. data/{lib/aixm/schemas → schemas/aixm}/4.5/AIXM-DataTypes.xsd +0 -0
  44. data/{lib/aixm/schemas → schemas/aixm}/4.5/AIXM-Features.xsd +0 -0
  45. data/{lib/aixm/schemas → schemas/aixm}/4.5/AIXM-Snapshot.xsd +0 -0
  46. data/schemas/ofmx/0/OFMX-DataTypes.xsd +5077 -0
  47. data/schemas/ofmx/0/OFMX-Features.xsd +9955 -0
  48. data/schemas/ofmx/0/OFMX-Snapshot.xsd +217 -0
  49. data/spec/factory.rb +209 -33
  50. data/spec/lib/aixm/component/frequency_spec.rb +75 -0
  51. data/spec/lib/aixm/component/geometry/arc_spec.rb +28 -22
  52. data/spec/lib/aixm/component/geometry/border_spec.rb +23 -20
  53. data/spec/lib/aixm/component/geometry/circle_spec.rb +31 -22
  54. data/spec/lib/aixm/component/geometry/point_spec.rb +11 -14
  55. data/spec/lib/aixm/component/geometry_spec.rb +150 -69
  56. data/spec/lib/aixm/component/helipad_spec.rb +136 -0
  57. data/spec/lib/aixm/component/layer_spec.rb +110 -0
  58. data/spec/lib/aixm/component/runway_spec.rb +402 -0
  59. data/spec/lib/aixm/component/service_spec.rb +61 -0
  60. data/spec/lib/aixm/component/timetable_spec.rb +49 -0
  61. data/spec/lib/aixm/component/vertical_limits_spec.rb +39 -20
  62. data/spec/lib/aixm/config_spec.rb +41 -0
  63. data/spec/lib/aixm/document_spec.rb +637 -147
  64. data/spec/lib/aixm/errors_spec.rb +14 -0
  65. data/spec/lib/aixm/f_spec.rb +17 -10
  66. data/spec/lib/aixm/feature/airport_spec.rb +546 -0
  67. data/spec/lib/aixm/feature/airspace_spec.rb +349 -226
  68. data/spec/lib/aixm/feature/navigational_aid/designated_point_spec.rb +47 -36
  69. data/spec/lib/aixm/feature/navigational_aid/dme_spec.rb +61 -36
  70. data/spec/lib/aixm/feature/navigational_aid/marker_spec.rb +61 -113
  71. data/spec/lib/aixm/feature/navigational_aid/ndb_spec.rb +65 -79
  72. data/spec/lib/aixm/feature/navigational_aid/tacan_spec.rb +57 -36
  73. data/spec/lib/aixm/feature/navigational_aid/vor_spec.rb +86 -112
  74. data/spec/lib/aixm/feature/navigational_aid_spec.rb +52 -0
  75. data/spec/lib/aixm/feature/organisation_spec.rb +77 -0
  76. data/spec/lib/aixm/feature/unit_spec.rb +227 -0
  77. data/spec/lib/aixm/feature_spec.rb +58 -0
  78. data/spec/lib/aixm/refinements_spec.rb +187 -178
  79. data/spec/lib/aixm/xy_spec.rb +45 -34
  80. data/spec/lib/aixm/z_spec.rb +19 -21
  81. data/spec/macros/organisation.rb +11 -0
  82. data/spec/macros/remarks.rb +12 -0
  83. data/spec/macros/timetable.rb +11 -0
  84. data/spec/macros/xy.rb +11 -0
  85. data/spec/macros/z_qnh.rb +11 -0
  86. data/spec/spec_helper.rb +26 -0
  87. metadata +60 -19
  88. data/lib/aixm/base.rb +0 -10
  89. data/lib/aixm/component/base.rb +0 -6
  90. data/lib/aixm/component/class_layer.rb +0 -46
  91. data/lib/aixm/component/geometry/base.rb +0 -8
  92. data/lib/aixm/component/schedule.rb +0 -43
  93. data/lib/aixm/feature/base.rb +0 -6
  94. data/lib/aixm/feature/navigational_aid/base.rb +0 -79
  95. data/spec/lib/aixm/component/class_layer_spec.rb +0 -74
  96. data/spec/lib/aixm/component/schedule_spec.rb +0 -33
  97. data/spec/lib/aixm/feature/navigational_aid/base_spec.rb +0 -41
@@ -1,35 +1,22 @@
1
1
  require_relative '../../spec_helper'
2
2
 
3
3
  describe AIXM::XY do
4
- describe :initialize do
5
- it "must parse valid DD" do
6
- subject = AIXM.xy(lat: 11.2233, long: 22.3344)
7
- subject.lat.must_equal 11.2233
8
- subject.long.must_equal 22.3344
9
- end
10
-
11
- it "must parse valid DMS N/E" do
12
- subject = AIXM.xy(lat: %q(11°22'33"N), long: %q(22°33'44"E))
13
- subject.lat.must_equal 11.37583333
14
- subject.long.must_equal 22.56222222
15
- end
16
-
17
- it "must parse valid DMS S/W" do
18
- subject = AIXM.xy(lat: %q(11°22'33"S), long: %q(22°33'44"W))
19
- subject.lat.must_equal(-11.37583333)
20
- subject.long.must_equal(-22.56222222)
21
- end
4
+ subject do
5
+ AIXM::Factory.xy
6
+ end
22
7
 
23
- it "won't parse invalid latitude" do
24
- -> { AIXM.xy(lat: 91, long: 22.3344) }.must_raise ArgumentError
8
+ describe :lat= do
9
+ it "fails on invalid values" do
10
+ [91, "foobar"].wont_be_written_to subject, :lat
25
11
  end
26
12
 
27
- it "won't parse invalid longitude" do
28
- -> { AIXM.xy(lat: 11.2233, long: 181) }.must_raise ArgumentError
13
+ it "parses valid DD values" do
14
+ subject.tap { |s| s.lat = 11.2233 }.lat.must_equal 11.2233
29
15
  end
30
16
 
31
- it "won't parse invalid DMS" do
32
- -> { AIXM.xy(lat: "foo", long: "bar") }.must_raise ArgumentError
17
+ it "parses valid DMS values" do
18
+ subject.tap { |s| s.lat = %q(11°22'33"N) }.lat.must_equal(11.37583333)
19
+ subject.tap { |s| s.lat = %q(11°22'33"S) }.lat.must_equal(-11.37583333)
33
20
  end
34
21
  end
35
22
 
@@ -48,7 +35,7 @@ describe AIXM::XY do
48
35
  end
49
36
 
50
37
  it "must format OFM correctly" do
51
- subject.lat(:ofm).must_equal '1.12340000N'
38
+ subject.lat(:ofmx).must_equal '01.12340000N'
52
39
  end
53
40
  end
54
41
 
@@ -66,11 +53,26 @@ describe AIXM::XY do
66
53
  end
67
54
 
68
55
  it "must format OFM correctly" do
69
- subject.lat(:ofm).must_equal '1.12340000S'
56
+ subject.lat(:ofmx).must_equal '01.12340000S'
70
57
  end
71
58
  end
72
59
  end
73
60
 
61
+ describe :long= do
62
+ it "fails on invalid values" do
63
+ [181, "foobar"].wont_be_written_to subject, :lat
64
+ end
65
+
66
+ it "parses valid DD values" do
67
+ subject.tap { |s| s.long = 22.3344 }.long.must_equal 22.3344
68
+ end
69
+
70
+ it "parses valid DMS values" do
71
+ subject.tap { |s| s.long = %q(22°33'44"E) }.long.must_equal(22.56222222)
72
+ subject.tap { |s| s.long = %q(22°33'44"W) }.long.must_equal(-22.56222222)
73
+ end
74
+ end
75
+
74
76
  describe :long do
75
77
  context "east" do
76
78
  subject do
@@ -86,7 +88,7 @@ describe AIXM::XY do
86
88
  end
87
89
 
88
90
  it "must format OFM correctly" do
89
- subject.long(:ofm).must_equal '1.12340000E'
91
+ subject.long(:ofmx).must_equal '001.12340000E'
90
92
  end
91
93
  end
92
94
 
@@ -104,17 +106,11 @@ describe AIXM::XY do
104
106
  end
105
107
 
106
108
  it "must format OFM correctly" do
107
- subject.long(:ofm).must_equal '1.12340000W'
109
+ subject.long(:ofmx).must_equal '001.12340000W'
108
110
  end
109
111
  end
110
112
  end
111
113
 
112
- describe :to_digest do
113
- it "must return digest of payload" do
114
- AIXM::Factory.xy.to_digest.must_equal 783044788
115
- end
116
- end
117
-
118
114
  describe :== do
119
115
  it "recognizes objects with identical latitude and longitude as equal" do
120
116
  a = AIXM.xy(lat: "112233N", long: "0223344E")
@@ -134,4 +130,19 @@ describe AIXM::XY do
134
130
  a.wont_equal b
135
131
  end
136
132
  end
133
+
134
+ describe :distance do
135
+ subject do
136
+ AIXM.xy(lat: %q(44°00'07.63"N), long: %q(004°45'07.81"E))
137
+ end
138
+
139
+ it "calculates the distance between the same point as zero" do
140
+ subject.distance(subject).must_equal 0
141
+ end
142
+
143
+ it "calculates the distance between two points correctly in meters" do
144
+ other = AIXM.xy(lat: %q(43°59'25.31"N), long: %q(004°45'23.24"E))
145
+ subject.distance(other).must_equal 1351
146
+ end
147
+ end
137
148
  end
@@ -1,21 +1,27 @@
1
1
  require_relative '../../spec_helper'
2
2
 
3
3
  describe AIXM::Z do
4
- describe :initialize do
5
- it "must parse valid Q code" do
6
- subject = AIXM.z(111, 'QNH')
7
- subject.alt.must_equal 111
8
- subject.code.must_equal :qnh
4
+ subject do
5
+ AIXM::Factory.z
6
+ end
7
+
8
+ describe :alt= do
9
+ it "fails on invalid values" do
10
+ [:foobar].wont_be_written_to subject, :alt
9
11
  end
10
12
 
11
- it "won't parse invalid Q code" do
12
- -> { AIXM.z(111, :FOO) }.must_raise ArgumentError
13
+ it "converts Numeric to Integer" do
14
+ subject.tap { |s| s.alt = 5.5 }.alt.must_equal 5
13
15
  end
14
16
  end
15
17
 
16
- describe :to_digest do
17
- it "must return digest of payload" do
18
- AIXM.z(111, :qnh).to_digest.must_equal 606000673
18
+ describe :code= do
19
+ it "fails on invalid values" do
20
+ [nil, :foobar].wont_be_written_to subject, :code
21
+ end
22
+
23
+ it "symbolizes and downcases values" do
24
+ subject.tap { |s| s.code = "QFE" }.code.must_equal :qfe
19
25
  end
20
26
  end
21
27
 
@@ -57,19 +63,11 @@ describe AIXM::Z do
57
63
  end
58
64
  end
59
65
 
60
- describe :base do
61
- it "must return the correct base" do
62
- AIXM.z(0, :qfe).base.must_equal :ASFC
63
- AIXM.z(0, :qnh).base.must_equal :AMSL
64
- AIXM.z(0, :qne).base.must_equal :AMSL
65
- end
66
- end
67
-
68
66
  describe :unit do
69
67
  it "must return the correct unit" do
70
- AIXM.z(0, :qfe).unit.must_equal :FT
71
- AIXM.z(0, :qnh).unit.must_equal :FT
72
- AIXM.z(0, :qne).unit.must_equal :FL
68
+ AIXM.z(0, :qfe).unit.must_equal :ft
69
+ AIXM.z(0, :qnh).unit.must_equal :ft
70
+ AIXM.z(0, :qne).unit.must_equal :fl
73
71
  end
74
72
  end
75
73
  end
@@ -0,0 +1,11 @@
1
+ describe nil do
2
+
3
+ it "fails on invalid values" do
4
+ [:foobar, 123].wont_be_written_to subject, :organisation
5
+ end
6
+
7
+ it "accepts valid values" do
8
+ [AIXM::Factory.organisation].must_be_written_to subject, :organisation
9
+ end
10
+
11
+ end
@@ -0,0 +1,12 @@
1
+ describe nil do
2
+
3
+ it "accepts nil value" do
4
+ [nil].must_be_written_to subject, :remarks
5
+ end
6
+
7
+ it "stringifies valid values" do
8
+ subject.tap { |s| s.remarks = 'foobar' }.remarks.must_equal 'foobar'
9
+ subject.tap { |s| s.remarks = 123 }.remarks.must_equal '123'
10
+ end
11
+
12
+ end
@@ -0,0 +1,11 @@
1
+ describe nil do
2
+
3
+ it "fails on invalid values" do
4
+ [:foobar, 123].wont_be_written_to subject, :timetable
5
+ end
6
+
7
+ it "accepts nil values" do
8
+ [nil].must_be_written_to subject, :timetable
9
+ end
10
+
11
+ end
@@ -0,0 +1,11 @@
1
+ describe nil do
2
+
3
+ it "fails on invalid values" do
4
+ [:foobar, 123].wont_be_written_to subject, :xy
5
+ end
6
+
7
+ it "accepts valid values" do
8
+ [AIXM::Factory.xy].must_be_written_to subject, :xy
9
+ end
10
+
11
+ end
@@ -0,0 +1,11 @@
1
+ describe nil do
2
+
3
+ it "fails on invalid values" do
4
+ [:foobar, 123, AIXM.z(123, :qfe)].wont_be_written_to subject, :z
5
+ end
6
+
7
+ it "accepts valid values" do
8
+ [AIXM.z(123, :qnh)].must_be_written_to subject, :z
9
+ end
10
+
11
+ end
@@ -1,3 +1,5 @@
1
+ $VERBOSE = nil # silence warnings
2
+
1
3
  gem 'minitest'
2
4
 
3
5
  require 'pathname'
@@ -24,5 +26,29 @@ end
24
26
  class MiniTest::Spec
25
27
  class << self
26
28
  alias_method :context, :describe
29
+
30
+ def macro(name)
31
+ load Pathname(__dir__).join("macros/#{name}.rb")
32
+ end
33
+ end
34
+ end
35
+
36
+ module Minitest::Assertions
37
+ def assert_write(values, subject, attribute, msg=nil)
38
+ values.each do |value|
39
+ msg = message(msg) { "Expected #{mu_pp(value)} to be written to #{subject.class}##{attribute}" }
40
+ subject.send("#{attribute}=", value)
41
+ assert(subject.send(attribute) == value, msg)
42
+ end
43
+ end
44
+
45
+ def refute_write(values, subject, attribute, msg=nil)
46
+ values.each do |value|
47
+ msg = "Expected #{mu_pp(value)} to raise ArgumentError when written to #{subject.class}##{attribute}"
48
+ assert_raises(ArgumentError, msg) { subject.send("#{attribute}=", value) }
49
+ end
27
50
  end
28
51
  end
52
+
53
+ Array.infect_an_assertion :assert_write, :must_be_written_to, :reverse
54
+ Array.infect_an_assertion :refute_write, :wont_be_written_to, :reverse
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aixm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sven Schwyn
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-01-29 00:00:00.000000000 Z
11
+ date: 2018-04-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -160,6 +160,7 @@ files:
160
160
  - ".gitignore"
161
161
  - ".ruby-version"
162
162
  - ".travis.yml"
163
+ - ".yardopts"
163
164
  - CHANGELOG.md
164
165
  - Gemfile
165
166
  - Guardfile
@@ -168,59 +169,84 @@ files:
168
169
  - Rakefile
169
170
  - aixm.gemspec
170
171
  - lib/aixm.rb
171
- - lib/aixm/base.rb
172
- - lib/aixm/component/base.rb
173
- - lib/aixm/component/class_layer.rb
172
+ - lib/aixm/component.rb
173
+ - lib/aixm/component/frequency.rb
174
174
  - lib/aixm/component/geometry.rb
175
175
  - lib/aixm/component/geometry/arc.rb
176
- - lib/aixm/component/geometry/base.rb
177
176
  - lib/aixm/component/geometry/border.rb
178
177
  - lib/aixm/component/geometry/circle.rb
179
178
  - lib/aixm/component/geometry/point.rb
180
- - lib/aixm/component/schedule.rb
179
+ - lib/aixm/component/helipad.rb
180
+ - lib/aixm/component/layer.rb
181
+ - lib/aixm/component/runway.rb
182
+ - lib/aixm/component/service.rb
183
+ - lib/aixm/component/timetable.rb
181
184
  - lib/aixm/component/vertical_limits.rb
185
+ - lib/aixm/config.rb
182
186
  - lib/aixm/document.rb
187
+ - lib/aixm/errors.rb
183
188
  - lib/aixm/f.rb
189
+ - lib/aixm/feature.rb
190
+ - lib/aixm/feature/airport.rb
184
191
  - lib/aixm/feature/airspace.rb
185
- - lib/aixm/feature/base.rb
186
- - lib/aixm/feature/navigational_aid/base.rb
192
+ - lib/aixm/feature/navigational_aid.rb
187
193
  - lib/aixm/feature/navigational_aid/designated_point.rb
188
194
  - lib/aixm/feature/navigational_aid/dme.rb
189
195
  - lib/aixm/feature/navigational_aid/marker.rb
190
196
  - lib/aixm/feature/navigational_aid/ndb.rb
191
197
  - lib/aixm/feature/navigational_aid/tacan.rb
192
198
  - lib/aixm/feature/navigational_aid/vor.rb
199
+ - lib/aixm/feature/organisation.rb
200
+ - lib/aixm/feature/unit.rb
193
201
  - lib/aixm/refinements.rb
194
- - lib/aixm/schemas/4.5/AIXM-DataTypes.xsd
195
- - lib/aixm/schemas/4.5/AIXM-Features.xsd
196
- - lib/aixm/schemas/4.5/AIXM-Snapshot.xsd
197
202
  - lib/aixm/shortcuts.rb
198
203
  - lib/aixm/version.rb
199
204
  - lib/aixm/xy.rb
200
205
  - lib/aixm/z.rb
206
+ - schemas/aixm/4.5/AIXM-DataTypes.xsd
207
+ - schemas/aixm/4.5/AIXM-Features.xsd
208
+ - schemas/aixm/4.5/AIXM-Snapshot.xsd
209
+ - schemas/ofmx/0/OFMX-DataTypes.xsd
210
+ - schemas/ofmx/0/OFMX-Features.xsd
211
+ - schemas/ofmx/0/OFMX-Snapshot.xsd
201
212
  - spec/factory.rb
202
- - spec/lib/aixm/component/class_layer_spec.rb
213
+ - spec/lib/aixm/component/frequency_spec.rb
203
214
  - spec/lib/aixm/component/geometry/arc_spec.rb
204
215
  - spec/lib/aixm/component/geometry/border_spec.rb
205
216
  - spec/lib/aixm/component/geometry/circle_spec.rb
206
217
  - spec/lib/aixm/component/geometry/point_spec.rb
207
218
  - spec/lib/aixm/component/geometry_spec.rb
208
- - spec/lib/aixm/component/schedule_spec.rb
219
+ - spec/lib/aixm/component/helipad_spec.rb
220
+ - spec/lib/aixm/component/layer_spec.rb
221
+ - spec/lib/aixm/component/runway_spec.rb
222
+ - spec/lib/aixm/component/service_spec.rb
223
+ - spec/lib/aixm/component/timetable_spec.rb
209
224
  - spec/lib/aixm/component/vertical_limits_spec.rb
225
+ - spec/lib/aixm/config_spec.rb
210
226
  - spec/lib/aixm/document_spec.rb
227
+ - spec/lib/aixm/errors_spec.rb
211
228
  - spec/lib/aixm/f_spec.rb
229
+ - spec/lib/aixm/feature/airport_spec.rb
212
230
  - spec/lib/aixm/feature/airspace_spec.rb
213
- - spec/lib/aixm/feature/navigational_aid/base_spec.rb
214
231
  - spec/lib/aixm/feature/navigational_aid/designated_point_spec.rb
215
232
  - spec/lib/aixm/feature/navigational_aid/dme_spec.rb
216
233
  - spec/lib/aixm/feature/navigational_aid/marker_spec.rb
217
234
  - spec/lib/aixm/feature/navigational_aid/ndb_spec.rb
218
235
  - spec/lib/aixm/feature/navigational_aid/tacan_spec.rb
219
236
  - spec/lib/aixm/feature/navigational_aid/vor_spec.rb
237
+ - spec/lib/aixm/feature/navigational_aid_spec.rb
238
+ - spec/lib/aixm/feature/organisation_spec.rb
239
+ - spec/lib/aixm/feature/unit_spec.rb
240
+ - spec/lib/aixm/feature_spec.rb
220
241
  - spec/lib/aixm/refinements_spec.rb
221
242
  - spec/lib/aixm/version_spec.rb
222
243
  - spec/lib/aixm/xy_spec.rb
223
244
  - spec/lib/aixm/z_spec.rb
245
+ - spec/macros/organisation.rb
246
+ - spec/macros/remarks.rb
247
+ - spec/macros/timetable.rb
248
+ - spec/macros/xy.rb
249
+ - spec/macros/z_qnh.rb
224
250
  - spec/sounds/failure.mp3
225
251
  - spec/sounds/success.mp3
226
252
  - spec/spec_helper.rb
@@ -244,34 +270,49 @@ required_rubygems_version: !ruby/object:Gem::Requirement
244
270
  version: '0'
245
271
  requirements: []
246
272
  rubyforge_project:
247
- rubygems_version: 2.7.3
273
+ rubygems_version: 2.7.6
248
274
  signing_key:
249
275
  specification_version: 4
250
276
  summary: Aeronautical Information Exchange Model (AIXM 4.5).
251
277
  test_files:
252
278
  - spec/factory.rb
253
- - spec/lib/aixm/component/class_layer_spec.rb
279
+ - spec/lib/aixm/component/frequency_spec.rb
254
280
  - spec/lib/aixm/component/geometry/arc_spec.rb
255
281
  - spec/lib/aixm/component/geometry/border_spec.rb
256
282
  - spec/lib/aixm/component/geometry/circle_spec.rb
257
283
  - spec/lib/aixm/component/geometry/point_spec.rb
258
284
  - spec/lib/aixm/component/geometry_spec.rb
259
- - spec/lib/aixm/component/schedule_spec.rb
285
+ - spec/lib/aixm/component/helipad_spec.rb
286
+ - spec/lib/aixm/component/layer_spec.rb
287
+ - spec/lib/aixm/component/runway_spec.rb
288
+ - spec/lib/aixm/component/service_spec.rb
289
+ - spec/lib/aixm/component/timetable_spec.rb
260
290
  - spec/lib/aixm/component/vertical_limits_spec.rb
291
+ - spec/lib/aixm/config_spec.rb
261
292
  - spec/lib/aixm/document_spec.rb
293
+ - spec/lib/aixm/errors_spec.rb
262
294
  - spec/lib/aixm/f_spec.rb
295
+ - spec/lib/aixm/feature/airport_spec.rb
263
296
  - spec/lib/aixm/feature/airspace_spec.rb
264
- - spec/lib/aixm/feature/navigational_aid/base_spec.rb
265
297
  - spec/lib/aixm/feature/navigational_aid/designated_point_spec.rb
266
298
  - spec/lib/aixm/feature/navigational_aid/dme_spec.rb
267
299
  - spec/lib/aixm/feature/navigational_aid/marker_spec.rb
268
300
  - spec/lib/aixm/feature/navigational_aid/ndb_spec.rb
269
301
  - spec/lib/aixm/feature/navigational_aid/tacan_spec.rb
270
302
  - spec/lib/aixm/feature/navigational_aid/vor_spec.rb
303
+ - spec/lib/aixm/feature/navigational_aid_spec.rb
304
+ - spec/lib/aixm/feature/organisation_spec.rb
305
+ - spec/lib/aixm/feature/unit_spec.rb
306
+ - spec/lib/aixm/feature_spec.rb
271
307
  - spec/lib/aixm/refinements_spec.rb
272
308
  - spec/lib/aixm/version_spec.rb
273
309
  - spec/lib/aixm/xy_spec.rb
274
310
  - spec/lib/aixm/z_spec.rb
311
+ - spec/macros/organisation.rb
312
+ - spec/macros/remarks.rb
313
+ - spec/macros/timetable.rb
314
+ - spec/macros/xy.rb
315
+ - spec/macros/z_qnh.rb
275
316
  - spec/sounds/failure.mp3
276
317
  - spec/sounds/success.mp3
277
318
  - spec/spec_helper.rb