uddf 0.4.0 → 0.4.1
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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/uddf/base/models/generic.rb +51 -0
- data/lib/uddf/v300/models.rb +5 -56
- data/lib/uddf/v301/models.rb +5 -56
- data/lib/uddf/v310/models.rb +5 -56
- data/lib/uddf/v320/models.rb +5 -56
- data/lib/uddf/v322/models.rb +5 -56
- data/lib/uddf/v323/models.rb +5 -56
- data/lib/uddf/v330/models.rb +5 -56
- data/lib/uddf/v331/models.rb +5 -56
- data/lib/uddf/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c060e550de4551837f9f753861559ae0f6b3228921912488329460dba7199e16
|
4
|
+
data.tar.gz: 5f27a1eb7d572f60573de4bdab20f6d9a1fb096d62209e8babdabf30fc873d48
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a059c2a4156eb81483394b3410297b53642906ed84320524946a529d30792b73cdc252242281750755d41ec6f0e3c43ae3a89f3823e7887b737c113d28564d74
|
7
|
+
data.tar.gz: '08093024db459b234199a84829f706570896da8915bcf1ba978c10455614460b883210b814781d04d11eb087481075bef00bac05b17ffa44f93c985cacd929d5'
|
data/Gemfile.lock
CHANGED
@@ -782,6 +782,57 @@ module UDDF
|
|
782
782
|
|
783
783
|
has_many :permits, Permit, tag: "permit"
|
784
784
|
end
|
785
|
+
|
786
|
+
class GlobalAlarmsGiven
|
787
|
+
include HappyMapper
|
788
|
+
|
789
|
+
tag "globalalarmsgiven"
|
790
|
+
|
791
|
+
has_many :global_alarms, String, tag: "globalalarm"
|
792
|
+
end
|
793
|
+
|
794
|
+
class WayAltitude
|
795
|
+
include HappyMapper
|
796
|
+
|
797
|
+
tag "wayaltitude"
|
798
|
+
|
799
|
+
attribute :way_time, Float, tag: "waytime"
|
800
|
+
content :value, Float
|
801
|
+
end
|
802
|
+
|
803
|
+
class ExposureToAltitude
|
804
|
+
include HappyMapper
|
805
|
+
|
806
|
+
tag "exposuretoaltitude"
|
807
|
+
|
808
|
+
has_one :altitude_of_exposure, Float, tag: "altitudeofexposure"
|
809
|
+
has_one :date_of_flight, Base::Models::DateTimeField, tag: "dateofflight"
|
810
|
+
has_one :surface_interval_before_altitude_exposure, Float, tag: "surfaceintervalbeforealtitudeexposure"
|
811
|
+
has_one :total_length_of_exposure, Float, tag: "totallengthofexposure"
|
812
|
+
has_one :transportation, String
|
813
|
+
end
|
814
|
+
|
815
|
+
class SurfaceIntervalBeforeDive
|
816
|
+
include HappyMapper
|
817
|
+
|
818
|
+
tag "surfaceintervalbeforedive"
|
819
|
+
|
820
|
+
has_one :exposure_to_altitude, ExposureToAltitude, tag: "exposuretoaltitude"
|
821
|
+
has_one :infinity, String
|
822
|
+
has_one :passed_time, Float, tag: "passedtime"
|
823
|
+
has_many :way_altitudes, WayAltitude, tag: "wayaltitude"
|
824
|
+
end
|
825
|
+
|
826
|
+
class SurfaceIntervalAfterDive
|
827
|
+
include HappyMapper
|
828
|
+
|
829
|
+
tag "surfaceintervalafterdive"
|
830
|
+
|
831
|
+
has_one :exposure_to_altitude, ExposureToAltitude, tag: "exposuretoaltitude"
|
832
|
+
has_one :infinity, String
|
833
|
+
has_one :passed_time, Float, tag: "passedtime"
|
834
|
+
has_many :way_altitudes, WayAltitude, tag: "wayaltitude"
|
835
|
+
end
|
785
836
|
end
|
786
837
|
end
|
787
838
|
end
|
data/lib/uddf/v300/models.rb
CHANGED
@@ -6,49 +6,6 @@ require "uddf/base/models"
|
|
6
6
|
module UDDF
|
7
7
|
module V300
|
8
8
|
module Models
|
9
|
-
class WayAltitude
|
10
|
-
include HappyMapper
|
11
|
-
|
12
|
-
tag "wayaltitude"
|
13
|
-
|
14
|
-
attribute :way_time, Float, tag: "waytime"
|
15
|
-
content :value, Float
|
16
|
-
end
|
17
|
-
|
18
|
-
class ExposureToAltitude
|
19
|
-
include HappyMapper
|
20
|
-
|
21
|
-
tag "exposuretoaltitude"
|
22
|
-
|
23
|
-
has_one :altitude_of_exposure, Float, tag: "altitudeofexposure"
|
24
|
-
has_one :date_of_flight, Base::Models::DateTimeField, tag: "dateofflight"
|
25
|
-
has_one :surface_interval_before_altitude_exposure, Float, tag: "surfaceintervalbeforealtitudeexposure"
|
26
|
-
has_one :total_length_of_exposure, Float, tag: "totallengthofexposure"
|
27
|
-
has_one :transportation, String
|
28
|
-
end
|
29
|
-
|
30
|
-
class SurfaceIntervalBeforeDive
|
31
|
-
include HappyMapper
|
32
|
-
|
33
|
-
tag "surfaceintervalbeforedive"
|
34
|
-
|
35
|
-
has_one :exposure_to_altitude, ExposureToAltitude, tag: "exposuretoaltitude"
|
36
|
-
has_one :infinity, String
|
37
|
-
has_one :passed_time, Float, tag: "passedtime"
|
38
|
-
has_many :way_altitudes, WayAltitude, tag: "wayaltitude"
|
39
|
-
end
|
40
|
-
|
41
|
-
class SurfaceIntervalAfterDive
|
42
|
-
include HappyMapper
|
43
|
-
|
44
|
-
tag "surfaceintervalafterdive"
|
45
|
-
|
46
|
-
has_one :exposure_to_altitude, ExposureToAltitude, tag: "exposuretoaltitude"
|
47
|
-
has_one :infinity, String
|
48
|
-
has_one :passed_time, Float, tag: "passedtime"
|
49
|
-
has_many :way_altitudes, WayAltitude, tag: "wayaltitude"
|
50
|
-
end
|
51
|
-
|
52
9
|
class TankPressure
|
53
10
|
include HappyMapper
|
54
11
|
|
@@ -144,18 +101,10 @@ module UDDF
|
|
144
101
|
has_one :price, Base::Models::Price
|
145
102
|
has_one :purpose, String
|
146
103
|
has_one :state_of_rest_before_dive, String, tag: "stateofrestbeforedive"
|
147
|
-
has_one :surface_interval_before_dive, SurfaceIntervalBeforeDive, tag: "surfaceintervalbeforedive"
|
104
|
+
has_one :surface_interval_before_dive, Base::Models::SurfaceIntervalBeforeDive, tag: "surfaceintervalbeforedive"
|
148
105
|
has_one :trip_membership, String, tag: "tripmembership"
|
149
106
|
end
|
150
107
|
|
151
|
-
class GlobalAlarmsGiven
|
152
|
-
include HappyMapper
|
153
|
-
|
154
|
-
tag "globalalarmsgiven"
|
155
|
-
|
156
|
-
has_many :global_alarms, String, tag: "globalalarm"
|
157
|
-
end
|
158
|
-
|
159
108
|
class EquipmentUsed
|
160
109
|
include HappyMapper
|
161
110
|
|
@@ -178,7 +127,7 @@ module UDDF
|
|
178
127
|
has_one :dive_table, String, tag: "divetable"
|
179
128
|
has_one :equipment_malfunction, String, tag: "equipmentmalfunction"
|
180
129
|
has_one :equipment_used, EquipmentUsed, tag: "equipmentused"
|
181
|
-
has_one :global_alarms_given, GlobalAlarmsGiven, tag: "globalalarmsgiven"
|
130
|
+
has_one :global_alarms_given, Base::Models::GlobalAlarmsGiven, tag: "globalalarmsgiven"
|
182
131
|
has_one :greatest_depth, Float, tag: "greatestdepth"
|
183
132
|
has_one :highest_po2, Float, tag: "highestpo2"
|
184
133
|
has_one :lowest_temperature, Float, tag: "lowesttemperature"
|
@@ -188,7 +137,7 @@ module UDDF
|
|
188
137
|
has_many :problems, String, tag: "problems"
|
189
138
|
has_one :program, String
|
190
139
|
has_many :ratings, Base::Models::Rating, tag: "rating"
|
191
|
-
has_one :surface_interval_after_dive, SurfaceIntervalAfterDive, tag: "surfaceintervalafterdive"
|
140
|
+
has_one :surface_interval_after_dive, Base::Models::SurfaceIntervalAfterDive, tag: "surfaceintervalafterdive"
|
192
141
|
has_one :thermal_comfort, String, tag: "thermalcomfort"
|
193
142
|
has_one :visibility, Float
|
194
143
|
has_one :workload, String
|
@@ -305,8 +254,8 @@ module UDDF
|
|
305
254
|
has_one :maximum_ascending_rate, Float, tag: "maximumascendingrate"
|
306
255
|
has_one :mix_change, MixChange, tag: "mixchange"
|
307
256
|
has_one :output, Output
|
308
|
-
has_one :surface_interval_after_dive, SurfaceIntervalAfterDive, tag: "surfaceintervalafterdive"
|
309
|
-
has_one :surface_interval_before_dive, SurfaceIntervalBeforeDive, tag: "surfaceintervalbeforedive"
|
257
|
+
has_one :surface_interval_after_dive, Base::Models::SurfaceIntervalAfterDive, tag: "surfaceintervalafterdive"
|
258
|
+
has_one :surface_interval_before_dive, Base::Models::SurfaceIntervalBeforeDive, tag: "surfaceintervalbeforedive"
|
310
259
|
has_one :title, String
|
311
260
|
end
|
312
261
|
|
data/lib/uddf/v301/models.rb
CHANGED
@@ -6,49 +6,6 @@ require "uddf/base/models"
|
|
6
6
|
module UDDF
|
7
7
|
module V301
|
8
8
|
module Models
|
9
|
-
class WayAltitude
|
10
|
-
include HappyMapper
|
11
|
-
|
12
|
-
tag "wayaltitude"
|
13
|
-
|
14
|
-
attribute :way_time, Float, tag: "waytime"
|
15
|
-
content :value, Float
|
16
|
-
end
|
17
|
-
|
18
|
-
class ExposureToAltitude
|
19
|
-
include HappyMapper
|
20
|
-
|
21
|
-
tag "exposuretoaltitude"
|
22
|
-
|
23
|
-
has_one :altitude_of_exposure, Float, tag: "altitudeofexposure"
|
24
|
-
has_one :date_of_flight, Base::Models::DateTimeField, tag: "dateofflight"
|
25
|
-
has_one :surface_interval_before_altitude_exposure, Float, tag: "surfaceintervalbeforealtitudeexposure"
|
26
|
-
has_one :total_length_of_exposure, Float, tag: "totallengthofexposure"
|
27
|
-
has_one :transportation, String
|
28
|
-
end
|
29
|
-
|
30
|
-
class SurfaceIntervalBeforeDive
|
31
|
-
include HappyMapper
|
32
|
-
|
33
|
-
tag "surfaceintervalbeforedive"
|
34
|
-
|
35
|
-
has_one :exposure_to_altitude, ExposureToAltitude, tag: "exposuretoaltitude"
|
36
|
-
has_one :infinity, String
|
37
|
-
has_one :passed_time, Float, tag: "passedtime"
|
38
|
-
has_many :way_altitudes, WayAltitude, tag: "wayaltitude"
|
39
|
-
end
|
40
|
-
|
41
|
-
class SurfaceIntervalAfterDive
|
42
|
-
include HappyMapper
|
43
|
-
|
44
|
-
tag "surfaceintervalafterdive"
|
45
|
-
|
46
|
-
has_one :exposure_to_altitude, ExposureToAltitude, tag: "exposuretoaltitude"
|
47
|
-
has_one :infinity, String
|
48
|
-
has_one :passed_time, Float, tag: "passedtime"
|
49
|
-
has_many :way_altitudes, WayAltitude, tag: "wayaltitude"
|
50
|
-
end
|
51
|
-
|
52
9
|
class TankPressure
|
53
10
|
include HappyMapper
|
54
11
|
|
@@ -144,18 +101,10 @@ module UDDF
|
|
144
101
|
has_one :price, Base::Models::Price
|
145
102
|
has_one :purpose, String
|
146
103
|
has_one :state_of_rest_before_dive, String, tag: "stateofrestbeforedive"
|
147
|
-
has_one :surface_interval_before_dive, SurfaceIntervalBeforeDive, tag: "surfaceintervalbeforedive"
|
104
|
+
has_one :surface_interval_before_dive, Base::Models::SurfaceIntervalBeforeDive, tag: "surfaceintervalbeforedive"
|
148
105
|
has_one :trip_membership, String, tag: "tripmembership"
|
149
106
|
end
|
150
107
|
|
151
|
-
class GlobalAlarmsGiven
|
152
|
-
include HappyMapper
|
153
|
-
|
154
|
-
tag "globalalarmsgiven"
|
155
|
-
|
156
|
-
has_many :global_alarms, String, tag: "globalalarm"
|
157
|
-
end
|
158
|
-
|
159
108
|
class EquipmentUsed
|
160
109
|
include HappyMapper
|
161
110
|
|
@@ -178,7 +127,7 @@ module UDDF
|
|
178
127
|
has_one :dive_table, String, tag: "divetable"
|
179
128
|
has_one :equipment_malfunction, String, tag: "equipmentmalfunction"
|
180
129
|
has_one :equipment_used, EquipmentUsed, tag: "equipmentused"
|
181
|
-
has_one :global_alarms_given, GlobalAlarmsGiven, tag: "globalalarmsgiven"
|
130
|
+
has_one :global_alarms_given, Base::Models::GlobalAlarmsGiven, tag: "globalalarmsgiven"
|
182
131
|
has_one :greatest_depth, Float, tag: "greatestdepth"
|
183
132
|
has_one :highest_po2, Float, tag: "highestpo2"
|
184
133
|
has_one :lowest_temperature, Float, tag: "lowesttemperature"
|
@@ -189,7 +138,7 @@ module UDDF
|
|
189
138
|
has_many :problems, String, tag: "problems"
|
190
139
|
has_one :program, String
|
191
140
|
has_many :ratings, Base::Models::Rating, tag: "rating"
|
192
|
-
has_one :surface_interval_after_dive, SurfaceIntervalAfterDive, tag: "surfaceintervalafterdive"
|
141
|
+
has_one :surface_interval_after_dive, Base::Models::SurfaceIntervalAfterDive, tag: "surfaceintervalafterdive"
|
193
142
|
has_one :thermal_comfort, String, tag: "thermalcomfort"
|
194
143
|
has_one :visibility, Float
|
195
144
|
has_one :workload, String
|
@@ -306,8 +255,8 @@ module UDDF
|
|
306
255
|
has_one :maximum_ascending_rate, Float, tag: "maximumascendingrate"
|
307
256
|
has_one :mix_change, MixChange, tag: "mixchange"
|
308
257
|
has_one :output, Output
|
309
|
-
has_one :surface_interval_after_dive, SurfaceIntervalAfterDive, tag: "surfaceintervalafterdive"
|
310
|
-
has_one :surface_interval_before_dive, SurfaceIntervalBeforeDive, tag: "surfaceintervalbeforedive"
|
258
|
+
has_one :surface_interval_after_dive, Base::Models::SurfaceIntervalAfterDive, tag: "surfaceintervalafterdive"
|
259
|
+
has_one :surface_interval_before_dive, Base::Models::SurfaceIntervalBeforeDive, tag: "surfaceintervalbeforedive"
|
311
260
|
has_one :title, String
|
312
261
|
end
|
313
262
|
|
data/lib/uddf/v310/models.rb
CHANGED
@@ -6,49 +6,6 @@ require "uddf/base/models"
|
|
6
6
|
module UDDF
|
7
7
|
module V310
|
8
8
|
module Models
|
9
|
-
class WayAltitude
|
10
|
-
include HappyMapper
|
11
|
-
|
12
|
-
tag "wayaltitude"
|
13
|
-
|
14
|
-
attribute :way_time, Float, tag: "waytime"
|
15
|
-
content :value, Float
|
16
|
-
end
|
17
|
-
|
18
|
-
class ExposureToAltitude
|
19
|
-
include HappyMapper
|
20
|
-
|
21
|
-
tag "exposuretoaltitude"
|
22
|
-
|
23
|
-
has_one :altitude_of_exposure, Float, tag: "altitudeofexposure"
|
24
|
-
has_one :date_of_flight, Base::Models::DateTimeField, tag: "dateofflight"
|
25
|
-
has_one :surface_interval_before_altitude_exposure, Float, tag: "surfaceintervalbeforealtitudeexposure"
|
26
|
-
has_one :total_length_of_exposure, Float, tag: "totallengthofexposure"
|
27
|
-
has_one :transportation, String
|
28
|
-
end
|
29
|
-
|
30
|
-
class SurfaceIntervalBeforeDive
|
31
|
-
include HappyMapper
|
32
|
-
|
33
|
-
tag "surfaceintervalbeforedive"
|
34
|
-
|
35
|
-
has_one :exposure_to_altitude, ExposureToAltitude, tag: "exposuretoaltitude"
|
36
|
-
has_one :infinity, String
|
37
|
-
has_one :passed_time, Float, tag: "passedtime"
|
38
|
-
has_many :way_altitudes, WayAltitude, tag: "wayaltitude"
|
39
|
-
end
|
40
|
-
|
41
|
-
class SurfaceIntervalAfterDive
|
42
|
-
include HappyMapper
|
43
|
-
|
44
|
-
tag "surfaceintervalafterdive"
|
45
|
-
|
46
|
-
has_one :exposure_to_altitude, ExposureToAltitude, tag: "exposuretoaltitude"
|
47
|
-
has_one :infinity, String
|
48
|
-
has_one :passed_time, Float, tag: "passedtime"
|
49
|
-
has_many :way_altitudes, WayAltitude, tag: "wayaltitude"
|
50
|
-
end
|
51
|
-
|
52
9
|
class TankPressure
|
53
10
|
include HappyMapper
|
54
11
|
|
@@ -186,19 +143,11 @@ module UDDF
|
|
186
143
|
has_one :price, Base::Models::Price
|
187
144
|
has_one :purpose, String
|
188
145
|
has_one :state_of_rest_before_dive, String, tag: "stateofrestbeforedive"
|
189
|
-
has_one :surface_interval_before_dive, SurfaceIntervalBeforeDive, tag: "surfaceintervalbeforedive"
|
146
|
+
has_one :surface_interval_before_dive, Base::Models::SurfaceIntervalBeforeDive, tag: "surfaceintervalbeforedive"
|
190
147
|
has_one :surface_pressure, Float, tag: "surfacepressure"
|
191
148
|
has_one :trip_membership, String, tag: "tripmembership"
|
192
149
|
end
|
193
150
|
|
194
|
-
class GlobalAlarmsGiven
|
195
|
-
include HappyMapper
|
196
|
-
|
197
|
-
tag "globalalarmsgiven"
|
198
|
-
|
199
|
-
has_many :global_alarms, String, tag: "globalalarm"
|
200
|
-
end
|
201
|
-
|
202
151
|
class EquipmentUsed
|
203
152
|
include HappyMapper
|
204
153
|
|
@@ -222,7 +171,7 @@ module UDDF
|
|
222
171
|
has_one :dive_table, String, tag: "divetable"
|
223
172
|
has_one :equipment_malfunction, String, tag: "equipmentmalfunction"
|
224
173
|
has_one :equipment_used, EquipmentUsed, tag: "equipmentused"
|
225
|
-
has_one :global_alarms_given, GlobalAlarmsGiven, tag: "globalalarmsgiven"
|
174
|
+
has_one :global_alarms_given, Base::Models::GlobalAlarmsGiven, tag: "globalalarmsgiven"
|
226
175
|
has_one :greatest_depth, Float, tag: "greatestdepth"
|
227
176
|
has_one :highest_po2, Float, tag: "highestpo2"
|
228
177
|
has_one :lowest_temperature, Float, tag: "lowesttemperature"
|
@@ -233,7 +182,7 @@ module UDDF
|
|
233
182
|
has_many :problems, String, tag: "problems"
|
234
183
|
has_one :program, String
|
235
184
|
has_many :ratings, Base::Models::Rating, tag: "rating"
|
236
|
-
has_one :surface_interval_after_dive, SurfaceIntervalAfterDive, tag: "surfaceintervalafterdive"
|
185
|
+
has_one :surface_interval_after_dive, Base::Models::SurfaceIntervalAfterDive, tag: "surfaceintervalafterdive"
|
237
186
|
has_one :thermal_comfort, String, tag: "thermalcomfort"
|
238
187
|
has_one :visibility, Float
|
239
188
|
has_one :workload, String
|
@@ -350,8 +299,8 @@ module UDDF
|
|
350
299
|
has_one :maximum_ascending_rate, Float, tag: "maximumascendingrate"
|
351
300
|
has_one :mix_change, MixChange, tag: "mixchange"
|
352
301
|
has_one :output, Output
|
353
|
-
has_one :surface_interval_after_dive, SurfaceIntervalAfterDive, tag: "surfaceintervalafterdive"
|
354
|
-
has_one :surface_interval_before_dive, SurfaceIntervalBeforeDive, tag: "surfaceintervalbeforedive"
|
302
|
+
has_one :surface_interval_after_dive, Base::Models::SurfaceIntervalAfterDive, tag: "surfaceintervalafterdive"
|
303
|
+
has_one :surface_interval_before_dive, Base::Models::SurfaceIntervalBeforeDive, tag: "surfaceintervalbeforedive"
|
355
304
|
has_one :title, String
|
356
305
|
end
|
357
306
|
|
data/lib/uddf/v320/models.rb
CHANGED
@@ -6,49 +6,6 @@ require "uddf/base/models"
|
|
6
6
|
module UDDF
|
7
7
|
module V320
|
8
8
|
module Models
|
9
|
-
class WayAltitude
|
10
|
-
include HappyMapper
|
11
|
-
|
12
|
-
tag "wayaltitude"
|
13
|
-
|
14
|
-
attribute :way_time, Float, tag: "waytime"
|
15
|
-
content :value, Float
|
16
|
-
end
|
17
|
-
|
18
|
-
class ExposureToAltitude
|
19
|
-
include HappyMapper
|
20
|
-
|
21
|
-
tag "exposuretoaltitude"
|
22
|
-
|
23
|
-
has_one :altitude_of_exposure, Float, tag: "altitudeofexposure"
|
24
|
-
has_one :date_of_flight, Base::Models::DateTimeField, tag: "dateofflight"
|
25
|
-
has_one :surface_interval_before_altitude_exposure, Float, tag: "surfaceintervalbeforealtitudeexposure"
|
26
|
-
has_one :total_length_of_exposure, Float, tag: "totallengthofexposure"
|
27
|
-
has_one :transportation, String
|
28
|
-
end
|
29
|
-
|
30
|
-
class SurfaceIntervalBeforeDive
|
31
|
-
include HappyMapper
|
32
|
-
|
33
|
-
tag "surfaceintervalbeforedive"
|
34
|
-
|
35
|
-
has_one :exposure_to_altitude, ExposureToAltitude, tag: "exposuretoaltitude"
|
36
|
-
has_one :infinity, String
|
37
|
-
has_one :passed_time, Float, tag: "passedtime"
|
38
|
-
has_many :way_altitudes, WayAltitude, tag: "wayaltitude"
|
39
|
-
end
|
40
|
-
|
41
|
-
class SurfaceIntervalAfterDive
|
42
|
-
include HappyMapper
|
43
|
-
|
44
|
-
tag "surfaceintervalafterdive"
|
45
|
-
|
46
|
-
has_one :exposure_to_altitude, ExposureToAltitude, tag: "exposuretoaltitude"
|
47
|
-
has_one :infinity, String
|
48
|
-
has_one :passed_time, Float, tag: "passedtime"
|
49
|
-
has_many :way_altitudes, WayAltitude, tag: "wayaltitude"
|
50
|
-
end
|
51
|
-
|
52
9
|
class TankPressure
|
53
10
|
include HappyMapper
|
54
11
|
|
@@ -188,19 +145,11 @@ module UDDF
|
|
188
145
|
has_one :price, Base::Models::Price
|
189
146
|
has_one :purpose, String
|
190
147
|
has_one :state_of_rest_before_dive, String, tag: "stateofrestbeforedive"
|
191
|
-
has_one :surface_interval_before_dive, SurfaceIntervalBeforeDive, tag: "surfaceintervalbeforedive"
|
148
|
+
has_one :surface_interval_before_dive, Base::Models::SurfaceIntervalBeforeDive, tag: "surfaceintervalbeforedive"
|
192
149
|
has_one :surface_pressure, Float, tag: "surfacepressure"
|
193
150
|
has_one :trip_membership, String, tag: "tripmembership"
|
194
151
|
end
|
195
152
|
|
196
|
-
class GlobalAlarmsGiven
|
197
|
-
include HappyMapper
|
198
|
-
|
199
|
-
tag "globalalarmsgiven"
|
200
|
-
|
201
|
-
has_many :global_alarms, String, tag: "globalalarm"
|
202
|
-
end
|
203
|
-
|
204
153
|
class EquipmentUsed
|
205
154
|
include HappyMapper
|
206
155
|
|
@@ -224,7 +173,7 @@ module UDDF
|
|
224
173
|
has_one :dive_table, String, tag: "divetable"
|
225
174
|
has_one :equipment_malfunction, String, tag: "equipmentmalfunction"
|
226
175
|
has_one :equipment_used, EquipmentUsed, tag: "equipmentused"
|
227
|
-
has_one :global_alarms_given, GlobalAlarmsGiven, tag: "globalalarmsgiven"
|
176
|
+
has_one :global_alarms_given, Base::Models::GlobalAlarmsGiven, tag: "globalalarmsgiven"
|
228
177
|
has_one :greatest_depth, Float, tag: "greatestdepth"
|
229
178
|
has_one :highest_po2, Float, tag: "highestpo2"
|
230
179
|
has_one :lowest_temperature, Float, tag: "lowesttemperature"
|
@@ -235,7 +184,7 @@ module UDDF
|
|
235
184
|
has_many :problems, String, tag: "problems"
|
236
185
|
has_one :program, String
|
237
186
|
has_many :ratings, Base::Models::Rating, tag: "rating"
|
238
|
-
has_one :surface_interval_after_dive, SurfaceIntervalAfterDive, tag: "surfaceintervalafterdive"
|
187
|
+
has_one :surface_interval_after_dive, Base::Models::SurfaceIntervalAfterDive, tag: "surfaceintervalafterdive"
|
239
188
|
has_one :thermal_comfort, String, tag: "thermalcomfort"
|
240
189
|
has_one :visibility, Float
|
241
190
|
has_one :workload, String
|
@@ -352,8 +301,8 @@ module UDDF
|
|
352
301
|
has_one :maximum_ascending_rate, Float, tag: "maximumascendingrate"
|
353
302
|
has_one :mix_change, MixChange, tag: "mixchange"
|
354
303
|
has_one :output, Output
|
355
|
-
has_one :surface_interval_after_dive, SurfaceIntervalAfterDive, tag: "surfaceintervalafterdive"
|
356
|
-
has_one :surface_interval_before_dive, SurfaceIntervalBeforeDive, tag: "surfaceintervalbeforedive"
|
304
|
+
has_one :surface_interval_after_dive, Base::Models::SurfaceIntervalAfterDive, tag: "surfaceintervalafterdive"
|
305
|
+
has_one :surface_interval_before_dive, Base::Models::SurfaceIntervalBeforeDive, tag: "surfaceintervalbeforedive"
|
357
306
|
has_one :title, String
|
358
307
|
end
|
359
308
|
|
data/lib/uddf/v322/models.rb
CHANGED
@@ -6,49 +6,6 @@ require "uddf/base/models"
|
|
6
6
|
module UDDF
|
7
7
|
module V322
|
8
8
|
module Models
|
9
|
-
class WayAltitude
|
10
|
-
include HappyMapper
|
11
|
-
|
12
|
-
tag "wayaltitude"
|
13
|
-
|
14
|
-
attribute :way_time, Float, tag: "waytime"
|
15
|
-
content :value, Float
|
16
|
-
end
|
17
|
-
|
18
|
-
class ExposureToAltitude
|
19
|
-
include HappyMapper
|
20
|
-
|
21
|
-
tag "exposuretoaltitude"
|
22
|
-
|
23
|
-
has_one :altitude_of_exposure, Float, tag: "altitudeofexposure"
|
24
|
-
has_one :date_of_flight, Base::Models::DateTimeField, tag: "dateofflight"
|
25
|
-
has_one :surface_interval_before_altitude_exposure, Float, tag: "surfaceintervalbeforealtitudeexposure"
|
26
|
-
has_one :total_length_of_exposure, Float, tag: "totallengthofexposure"
|
27
|
-
has_one :transportation, String
|
28
|
-
end
|
29
|
-
|
30
|
-
class SurfaceIntervalBeforeDive
|
31
|
-
include HappyMapper
|
32
|
-
|
33
|
-
tag "surfaceintervalbeforedive"
|
34
|
-
|
35
|
-
has_one :exposure_to_altitude, ExposureToAltitude, tag: "exposuretoaltitude"
|
36
|
-
has_one :infinity, String
|
37
|
-
has_one :passed_time, Float, tag: "passedtime"
|
38
|
-
has_many :way_altitudes, WayAltitude, tag: "wayaltitude"
|
39
|
-
end
|
40
|
-
|
41
|
-
class SurfaceIntervalAfterDive
|
42
|
-
include HappyMapper
|
43
|
-
|
44
|
-
tag "surfaceintervalafterdive"
|
45
|
-
|
46
|
-
has_one :exposure_to_altitude, ExposureToAltitude, tag: "exposuretoaltitude"
|
47
|
-
has_one :infinity, String
|
48
|
-
has_one :passed_time, Float, tag: "passedtime"
|
49
|
-
has_many :way_altitudes, WayAltitude, tag: "wayaltitude"
|
50
|
-
end
|
51
|
-
|
52
9
|
class TankPressure
|
53
10
|
include HappyMapper
|
54
11
|
|
@@ -192,19 +149,11 @@ module UDDF
|
|
192
149
|
has_one :price, Base::Models::Price
|
193
150
|
has_one :purpose, String
|
194
151
|
has_one :state_of_rest_before_dive, String, tag: "stateofrestbeforedive"
|
195
|
-
has_one :surface_interval_before_dive, SurfaceIntervalBeforeDive, tag: "surfaceintervalbeforedive"
|
152
|
+
has_one :surface_interval_before_dive, Base::Models::SurfaceIntervalBeforeDive, tag: "surfaceintervalbeforedive"
|
196
153
|
has_one :surface_pressure, Float, tag: "surfacepressure"
|
197
154
|
has_one :trip_membership, String, tag: "tripmembership"
|
198
155
|
end
|
199
156
|
|
200
|
-
class GlobalAlarmsGiven
|
201
|
-
include HappyMapper
|
202
|
-
|
203
|
-
tag "globalalarmsgiven"
|
204
|
-
|
205
|
-
has_many :global_alarms, String, tag: "globalalarm"
|
206
|
-
end
|
207
|
-
|
208
157
|
class EquipmentUsed
|
209
158
|
include HappyMapper
|
210
159
|
|
@@ -228,7 +177,7 @@ module UDDF
|
|
228
177
|
has_one :dive_table, String, tag: "divetable"
|
229
178
|
has_one :equipment_malfunction, String, tag: "equipmentmalfunction"
|
230
179
|
has_one :equipment_used, EquipmentUsed, tag: "equipmentused"
|
231
|
-
has_one :global_alarms_given, GlobalAlarmsGiven, tag: "globalalarmsgiven"
|
180
|
+
has_one :global_alarms_given, Base::Models::GlobalAlarmsGiven, tag: "globalalarmsgiven"
|
232
181
|
has_one :greatest_depth, Float, tag: "greatestdepth"
|
233
182
|
has_one :highest_po2, Float, tag: "highestpo2"
|
234
183
|
has_one :lowest_temperature, Float, tag: "lowesttemperature"
|
@@ -239,7 +188,7 @@ module UDDF
|
|
239
188
|
has_many :problems, String, tag: "problems"
|
240
189
|
has_one :program, String
|
241
190
|
has_many :ratings, Base::Models::Rating, tag: "rating"
|
242
|
-
has_one :surface_interval_after_dive, SurfaceIntervalAfterDive, tag: "surfaceintervalafterdive"
|
191
|
+
has_one :surface_interval_after_dive, Base::Models::SurfaceIntervalAfterDive, tag: "surfaceintervalafterdive"
|
243
192
|
has_one :thermal_comfort, String, tag: "thermalcomfort"
|
244
193
|
has_one :visibility, Float
|
245
194
|
has_one :workload, String
|
@@ -356,8 +305,8 @@ module UDDF
|
|
356
305
|
has_one :maximum_ascending_rate, Float, tag: "maximumascendingrate"
|
357
306
|
has_one :mix_change, MixChange, tag: "mixchange"
|
358
307
|
has_one :output, Output
|
359
|
-
has_one :surface_interval_after_dive, SurfaceIntervalAfterDive, tag: "surfaceintervalafterdive"
|
360
|
-
has_one :surface_interval_before_dive, SurfaceIntervalBeforeDive, tag: "surfaceintervalbeforedive"
|
308
|
+
has_one :surface_interval_after_dive, Base::Models::SurfaceIntervalAfterDive, tag: "surfaceintervalafterdive"
|
309
|
+
has_one :surface_interval_before_dive, Base::Models::SurfaceIntervalBeforeDive, tag: "surfaceintervalbeforedive"
|
361
310
|
has_one :title, String
|
362
311
|
end
|
363
312
|
|
data/lib/uddf/v323/models.rb
CHANGED
@@ -6,49 +6,6 @@ require "uddf/base/models"
|
|
6
6
|
module UDDF
|
7
7
|
module V323
|
8
8
|
module Models
|
9
|
-
class WayAltitude
|
10
|
-
include HappyMapper
|
11
|
-
|
12
|
-
tag "wayaltitude"
|
13
|
-
|
14
|
-
attribute :way_time, Float, tag: "waytime"
|
15
|
-
content :value, Float
|
16
|
-
end
|
17
|
-
|
18
|
-
class ExposureToAltitude
|
19
|
-
include HappyMapper
|
20
|
-
|
21
|
-
tag "exposuretoaltitude"
|
22
|
-
|
23
|
-
has_one :altitude_of_exposure, Float, tag: "altitudeofexposure"
|
24
|
-
has_one :date_of_flight, Base::Models::DateTimeField, tag: "dateofflight"
|
25
|
-
has_one :surface_interval_before_altitude_exposure, Float, tag: "surfaceintervalbeforealtitudeexposure"
|
26
|
-
has_one :total_length_of_exposure, Float, tag: "totallengthofexposure"
|
27
|
-
has_one :transportation, String
|
28
|
-
end
|
29
|
-
|
30
|
-
class SurfaceIntervalBeforeDive
|
31
|
-
include HappyMapper
|
32
|
-
|
33
|
-
tag "surfaceintervalbeforedive"
|
34
|
-
|
35
|
-
has_one :exposure_to_altitude, ExposureToAltitude, tag: "exposuretoaltitude"
|
36
|
-
has_one :infinity, String
|
37
|
-
has_one :passed_time, Float, tag: "passedtime"
|
38
|
-
has_many :way_altitudes, WayAltitude, tag: "wayaltitude"
|
39
|
-
end
|
40
|
-
|
41
|
-
class SurfaceIntervalAfterDive
|
42
|
-
include HappyMapper
|
43
|
-
|
44
|
-
tag "surfaceintervalafterdive"
|
45
|
-
|
46
|
-
has_one :exposure_to_altitude, ExposureToAltitude, tag: "exposuretoaltitude"
|
47
|
-
has_one :infinity, String
|
48
|
-
has_one :passed_time, Float, tag: "passedtime"
|
49
|
-
has_many :way_altitudes, WayAltitude, tag: "wayaltitude"
|
50
|
-
end
|
51
|
-
|
52
9
|
class TankPressure
|
53
10
|
include HappyMapper
|
54
11
|
|
@@ -193,19 +150,11 @@ module UDDF
|
|
193
150
|
has_one :price, Base::Models::Price
|
194
151
|
has_one :purpose, String
|
195
152
|
has_one :state_of_rest_before_dive, String, tag: "stateofrestbeforedive"
|
196
|
-
has_one :surface_interval_before_dive, SurfaceIntervalBeforeDive, tag: "surfaceintervalbeforedive"
|
153
|
+
has_one :surface_interval_before_dive, Base::Models::SurfaceIntervalBeforeDive, tag: "surfaceintervalbeforedive"
|
197
154
|
has_one :surface_pressure, Float, tag: "surfacepressure"
|
198
155
|
has_one :trip_membership, String, tag: "tripmembership"
|
199
156
|
end
|
200
157
|
|
201
|
-
class GlobalAlarmsGiven
|
202
|
-
include HappyMapper
|
203
|
-
|
204
|
-
tag "globalalarmsgiven"
|
205
|
-
|
206
|
-
has_many :global_alarms, String, tag: "globalalarm"
|
207
|
-
end
|
208
|
-
|
209
158
|
class EquipmentUsed
|
210
159
|
include HappyMapper
|
211
160
|
|
@@ -229,7 +178,7 @@ module UDDF
|
|
229
178
|
has_one :dive_table, String, tag: "divetable"
|
230
179
|
has_one :equipment_malfunction, String, tag: "equipmentmalfunction"
|
231
180
|
has_one :equipment_used, EquipmentUsed, tag: "equipmentused"
|
232
|
-
has_one :global_alarms_given, GlobalAlarmsGiven, tag: "globalalarmsgiven"
|
181
|
+
has_one :global_alarms_given, Base::Models::GlobalAlarmsGiven, tag: "globalalarmsgiven"
|
233
182
|
has_one :greatest_depth, Float, tag: "greatestdepth"
|
234
183
|
has_one :highest_po2, Float, tag: "highestpo2"
|
235
184
|
has_one :lowest_temperature, Float, tag: "lowesttemperature"
|
@@ -240,7 +189,7 @@ module UDDF
|
|
240
189
|
has_many :problems, String, tag: "problems"
|
241
190
|
has_one :program, String
|
242
191
|
has_many :ratings, Base::Models::Rating, tag: "rating"
|
243
|
-
has_one :surface_interval_after_dive, SurfaceIntervalAfterDive, tag: "surfaceintervalafterdive"
|
192
|
+
has_one :surface_interval_after_dive, Base::Models::SurfaceIntervalAfterDive, tag: "surfaceintervalafterdive"
|
244
193
|
has_one :thermal_comfort, String, tag: "thermalcomfort"
|
245
194
|
has_one :visibility, Float
|
246
195
|
has_one :workload, String
|
@@ -357,8 +306,8 @@ module UDDF
|
|
357
306
|
has_one :maximum_ascending_rate, Float, tag: "maximumascendingrate"
|
358
307
|
has_one :mix_change, MixChange, tag: "mixchange"
|
359
308
|
has_one :output, Output
|
360
|
-
has_one :surface_interval_after_dive, SurfaceIntervalAfterDive, tag: "surfaceintervalafterdive"
|
361
|
-
has_one :surface_interval_before_dive, SurfaceIntervalBeforeDive, tag: "surfaceintervalbeforedive"
|
309
|
+
has_one :surface_interval_after_dive, Base::Models::SurfaceIntervalAfterDive, tag: "surfaceintervalafterdive"
|
310
|
+
has_one :surface_interval_before_dive, Base::Models::SurfaceIntervalBeforeDive, tag: "surfaceintervalbeforedive"
|
362
311
|
has_one :title, String
|
363
312
|
end
|
364
313
|
|
data/lib/uddf/v330/models.rb
CHANGED
@@ -61,49 +61,6 @@ module UDDF
|
|
61
61
|
content :value, Float
|
62
62
|
end
|
63
63
|
|
64
|
-
class WayAltitude
|
65
|
-
include HappyMapper
|
66
|
-
|
67
|
-
tag "wayaltitude"
|
68
|
-
|
69
|
-
attribute :way_time, Float
|
70
|
-
content :value, Float
|
71
|
-
end
|
72
|
-
|
73
|
-
class ExposureToAltitude
|
74
|
-
include HappyMapper
|
75
|
-
|
76
|
-
tag "exposuretoaltitude"
|
77
|
-
|
78
|
-
has_one :altitude_of_exposure, Float, tag: "altitudeofexposure"
|
79
|
-
has_one :date_of_flight, Base::Models::DateTimeField, tag: "dateofflight"
|
80
|
-
has_one :surface_interval_before_altitude_exposure, Float, tag: "surfaceintervalbeforealtitudeexposure"
|
81
|
-
has_one :total_length_of_exposure, Float, tag: "totallengthofexposure"
|
82
|
-
has_one :transportation, String
|
83
|
-
end
|
84
|
-
|
85
|
-
class SurfaceIntervalBeforeDive
|
86
|
-
include HappyMapper
|
87
|
-
|
88
|
-
tag "surfaceintervalbeforedive"
|
89
|
-
|
90
|
-
has_one :exposure_to_altitude, ExposureToAltitude, tag: "exposuretoaltitude"
|
91
|
-
has_one :infinity, String
|
92
|
-
has_one :passed_time, Float, tag: "passedtime"
|
93
|
-
has_many :way_altitudes, WayAltitude, tag: "wayaltitude"
|
94
|
-
end
|
95
|
-
|
96
|
-
class SurfaceIntervalAfterDive
|
97
|
-
include HappyMapper
|
98
|
-
|
99
|
-
tag "surfaceintervalafterdive"
|
100
|
-
|
101
|
-
has_one :exposure_to_altitude, ExposureToAltitude, tag: "exposuretoaltitude"
|
102
|
-
has_one :infinity, String
|
103
|
-
has_one :passed_time, Float, tag: "passedtime"
|
104
|
-
has_many :way_altitudes, WayAltitude, tag: "wayaltitude"
|
105
|
-
end
|
106
|
-
|
107
64
|
class TankPressure
|
108
65
|
include HappyMapper
|
109
66
|
|
@@ -293,20 +250,12 @@ module UDDF
|
|
293
250
|
has_many :rebreather_self_tests, RebreatherSelfTest, tag: "rebreatherselftest"
|
294
251
|
has_one :state_of_rest_before_dive, String, tag: "stateofrestbeforedive"
|
295
252
|
has_many :self_tests, SelfTest, tag: "selftest"
|
296
|
-
has_one :surface_interval_before_dive, SurfaceIntervalBeforeDive, tag: "surfaceintervalbeforedive"
|
253
|
+
has_one :surface_interval_before_dive, Base::Models::SurfaceIntervalBeforeDive, tag: "surfaceintervalbeforedive"
|
297
254
|
has_one :surface_pressure, Float, tag: "surfacepressure"
|
298
255
|
has_one :trip_membership, String, tag: "tripmembership"
|
299
256
|
has_many :timers, Timer, tag: "timer"
|
300
257
|
end
|
301
258
|
|
302
|
-
class GlobalAlarmsGiven
|
303
|
-
include HappyMapper
|
304
|
-
|
305
|
-
tag "globalalarmsgiven"
|
306
|
-
|
307
|
-
has_many :global_alarms, String, tag: "globalalarm"
|
308
|
-
end
|
309
|
-
|
310
259
|
class EquipmentUsed
|
311
260
|
include HappyMapper
|
312
261
|
|
@@ -330,7 +279,7 @@ module UDDF
|
|
330
279
|
has_one :dive_table, String, tag: "divetable"
|
331
280
|
has_one :equipment_malfunction, String, tag: "equipmentmalfunction"
|
332
281
|
has_one :equipment_used, EquipmentUsed, tag: "equipmentused"
|
333
|
-
has_one :global_alarms_given, GlobalAlarmsGiven, tag: "globalalarmsgiven"
|
282
|
+
has_one :global_alarms_given, Base::Models::GlobalAlarmsGiven, tag: "globalalarmsgiven"
|
334
283
|
has_one :greatest_depth, Float, tag: "greatestdepth"
|
335
284
|
has_one :highest_po2, Float, tag: "highestpo2"
|
336
285
|
has_one :lowest_temperature, Float, tag: "lowesttemperature"
|
@@ -341,7 +290,7 @@ module UDDF
|
|
341
290
|
has_many :problems, String, tag: "problems"
|
342
291
|
has_one :program, String
|
343
292
|
has_many :ratings, Base::Models::Rating, tag: "rating"
|
344
|
-
has_one :surface_interval_after_dive, SurfaceIntervalAfterDive, tag: "surfaceintervalafterdive"
|
293
|
+
has_one :surface_interval_after_dive, Base::Models::SurfaceIntervalAfterDive, tag: "surfaceintervalafterdive"
|
345
294
|
has_one :thermal_comfort, String, tag: "thermalcomfort"
|
346
295
|
has_many :timers, Timer, tag: "timer"
|
347
296
|
has_one :visibility, Float
|
@@ -462,8 +411,8 @@ module UDDF
|
|
462
411
|
has_one :maximum_ascending_rate, Float, tag: "maximumascendingrate"
|
463
412
|
has_one :mix_change, MixChange, tag: "mixchange"
|
464
413
|
has_one :output, Output
|
465
|
-
has_one :surface_interval_after_dive, SurfaceIntervalAfterDive, tag: "surfaceintervalafterdive"
|
466
|
-
has_one :surface_interval_before_dive, SurfaceIntervalBeforeDive, tag: "surfaceintervalbeforedive"
|
414
|
+
has_one :surface_interval_after_dive, Base::Models::SurfaceIntervalAfterDive, tag: "surfaceintervalafterdive"
|
415
|
+
has_one :surface_interval_before_dive, Base::Models::SurfaceIntervalBeforeDive, tag: "surfaceintervalbeforedive"
|
467
416
|
has_one :title, String
|
468
417
|
end
|
469
418
|
|
data/lib/uddf/v331/models.rb
CHANGED
@@ -61,49 +61,6 @@ module UDDF
|
|
61
61
|
content :value, Float
|
62
62
|
end
|
63
63
|
|
64
|
-
class WayAltitude
|
65
|
-
include HappyMapper
|
66
|
-
|
67
|
-
tag "wayaltitude"
|
68
|
-
|
69
|
-
attribute :way_time, Float
|
70
|
-
content :value, Float
|
71
|
-
end
|
72
|
-
|
73
|
-
class ExposureToAltitude
|
74
|
-
include HappyMapper
|
75
|
-
|
76
|
-
tag "exposuretoaltitude"
|
77
|
-
|
78
|
-
has_one :altitude_of_exposure, Float, tag: "altitudeofexposure"
|
79
|
-
has_one :date_of_flight, Base::Models::DateTimeField, tag: "dateofflight"
|
80
|
-
has_one :surface_interval_before_altitude_exposure, Float, tag: "surfaceintervalbeforealtitudeexposure"
|
81
|
-
has_one :total_length_of_exposure, Float, tag: "totallengthofexposure"
|
82
|
-
has_one :transportation, String
|
83
|
-
end
|
84
|
-
|
85
|
-
class SurfaceIntervalBeforeDive
|
86
|
-
include HappyMapper
|
87
|
-
|
88
|
-
tag "surfaceintervalbeforedive"
|
89
|
-
|
90
|
-
has_one :exposure_to_altitude, ExposureToAltitude, tag: "exposuretoaltitude"
|
91
|
-
has_one :infinity, String
|
92
|
-
has_one :passed_time, Float, tag: "passedtime"
|
93
|
-
has_many :way_altitudes, WayAltitude, tag: "wayaltitude"
|
94
|
-
end
|
95
|
-
|
96
|
-
class SurfaceIntervalAfterDive
|
97
|
-
include HappyMapper
|
98
|
-
|
99
|
-
tag "surfaceintervalafterdive"
|
100
|
-
|
101
|
-
has_one :exposure_to_altitude, ExposureToAltitude, tag: "exposuretoaltitude"
|
102
|
-
has_one :infinity, String
|
103
|
-
has_one :passed_time, Float, tag: "passedtime"
|
104
|
-
has_many :way_altitudes, WayAltitude, tag: "wayaltitude"
|
105
|
-
end
|
106
|
-
|
107
64
|
class TankPressure
|
108
65
|
include HappyMapper
|
109
66
|
|
@@ -293,20 +250,12 @@ module UDDF
|
|
293
250
|
has_many :rebreather_self_tests, RebreatherSelfTest, tag: "rebreatherselftest"
|
294
251
|
has_one :state_of_rest_before_dive, String, tag: "stateofrestbeforedive"
|
295
252
|
has_many :self_tests, SelfTest, tag: "selftest"
|
296
|
-
has_one :surface_interval_before_dive, SurfaceIntervalBeforeDive, tag: "surfaceintervalbeforedive"
|
253
|
+
has_one :surface_interval_before_dive, Base::Models::SurfaceIntervalBeforeDive, tag: "surfaceintervalbeforedive"
|
297
254
|
has_one :surface_pressure, Float, tag: "surfacepressure"
|
298
255
|
has_one :trip_membership, String, tag: "tripmembership"
|
299
256
|
has_many :timers, Timer, tag: "timer"
|
300
257
|
end
|
301
258
|
|
302
|
-
class GlobalAlarmsGiven
|
303
|
-
include HappyMapper
|
304
|
-
|
305
|
-
tag "globalalarmsgiven"
|
306
|
-
|
307
|
-
has_many :global_alarms, String, tag: "globalalarm"
|
308
|
-
end
|
309
|
-
|
310
259
|
class EquipmentUsed
|
311
260
|
include HappyMapper
|
312
261
|
|
@@ -330,7 +279,7 @@ module UDDF
|
|
330
279
|
has_one :dive_table, String, tag: "divetable"
|
331
280
|
has_one :equipment_malfunction, String, tag: "equipmentmalfunction"
|
332
281
|
has_one :equipment_used, EquipmentUsed, tag: "equipmentused"
|
333
|
-
has_one :global_alarms_given, GlobalAlarmsGiven, tag: "globalalarmsgiven"
|
282
|
+
has_one :global_alarms_given, Base::Models::GlobalAlarmsGiven, tag: "globalalarmsgiven"
|
334
283
|
has_one :greatest_depth, Float, tag: "greatestdepth"
|
335
284
|
has_one :highest_po2, Float, tag: "highestpo2"
|
336
285
|
has_one :lowest_temperature, Float, tag: "lowesttemperature"
|
@@ -341,7 +290,7 @@ module UDDF
|
|
341
290
|
has_many :problems, String, tag: "problems"
|
342
291
|
has_one :program, String
|
343
292
|
has_many :ratings, Base::Models::Rating, tag: "rating"
|
344
|
-
has_one :surface_interval_after_dive, SurfaceIntervalAfterDive, tag: "surfaceintervalafterdive"
|
293
|
+
has_one :surface_interval_after_dive, Base::Models::SurfaceIntervalAfterDive, tag: "surfaceintervalafterdive"
|
345
294
|
has_one :thermal_comfort, String, tag: "thermalcomfort"
|
346
295
|
has_many :timers, Timer, tag: "timer"
|
347
296
|
has_one :visibility, Float
|
@@ -470,8 +419,8 @@ module UDDF
|
|
470
419
|
has_one :maximum_ascending_rate, Float, tag: "maximumascendingrate"
|
471
420
|
has_one :mix_change, MixChange, tag: "mixchange"
|
472
421
|
has_one :output, Output
|
473
|
-
has_one :surface_interval_after_dive, SurfaceIntervalAfterDive, tag: "surfaceintervalafterdive"
|
474
|
-
has_one :surface_interval_before_dive, SurfaceIntervalBeforeDive, tag: "surfaceintervalbeforedive"
|
422
|
+
has_one :surface_interval_after_dive, Base::Models::SurfaceIntervalAfterDive, tag: "surfaceintervalafterdive"
|
423
|
+
has_one :surface_interval_before_dive, Base::Models::SurfaceIntervalBeforeDive, tag: "surfaceintervalbeforedive"
|
475
424
|
has_one :title, String
|
476
425
|
end
|
477
426
|
|
data/lib/uddf/version.rb
CHANGED