adiwg-mdtranslator 2.19.0.pre.beta.14 → 2.19.0.pre.beta.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/adiwg/mdtranslator/readers/fgdc/modules/module_dataQuality.rb +1 -1
- data/lib/adiwg/mdtranslator/version.rb +1 -1
- data/lib/adiwg/mdtranslator/writers/fgdc/classes/class_dataQuality.rb +1 -1
- data/lib/adiwg/mdtranslator/writers/html/sections/html_dataQualityReport.rb +28 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 229ed2e77e2aeee4d1e56c525fb5a24c5ff1015d3480ca28192636e754e8e85d
|
4
|
+
data.tar.gz: e4cfe8581390e2645b3f3992e0d4e6ff2baa4ed20fdcb1ea915fec46eaa31e5e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 94f4a51d95a9ad648eadd51ca300f90073494fe30bfa61546e1303dcdc59b930e61ed92ae68ecc2462b439215959692a3e4c77b26078c072e3f1e7e1b9f342a5
|
7
|
+
data.tar.gz: cccccf2d1f4271d7e2d46ed06eb74090390edceacd71c3add2ffbdafcba5f13e8064827563c5716ba495e9c075de9ad3404ab18bd12533af6a28c9ab2b4ea6d2
|
data/Gemfile.lock
CHANGED
@@ -68,7 +68,7 @@ module ADIWG
|
|
68
68
|
else
|
69
69
|
complete = xComplete.text
|
70
70
|
report = intMetadataClass.newDataQualityReport
|
71
|
-
report[:type] = '
|
71
|
+
report[:type] = 'CompletenessOmission'
|
72
72
|
descriptiveResult = intMetadataClass.newDescriptiveResult
|
73
73
|
descriptiveResult[:statement] = complete
|
74
74
|
report[:descriptiveResult] << descriptiveResult
|
@@ -56,7 +56,7 @@ module ADIWG
|
|
56
56
|
|
57
57
|
# data quality 2.3 (complete) - completion report (not implemented) (required)
|
58
58
|
completeness_report = hDataQuality[:report].find do |report|
|
59
|
-
report[:type] == '
|
59
|
+
report[:type] == 'CompletenessOmission' &&
|
60
60
|
!report.dig(:descriptiveResult, 0, :statement).nil?
|
61
61
|
end
|
62
62
|
|
@@ -185,6 +185,13 @@ module ADIWG
|
|
185
185
|
end
|
186
186
|
end
|
187
187
|
end
|
188
|
+
|
189
|
+
# Name
|
190
|
+
unless result[:name].nil?
|
191
|
+
@html.em('Name: ')
|
192
|
+
@html.text!(result[:name])
|
193
|
+
@html.br
|
194
|
+
end
|
188
195
|
|
189
196
|
# Specification (citation)
|
190
197
|
unless result[:specification].empty?
|
@@ -242,6 +249,13 @@ module ADIWG
|
|
242
249
|
end
|
243
250
|
end
|
244
251
|
|
252
|
+
# Name
|
253
|
+
unless result[:name].nil?
|
254
|
+
@html.em('Name: ')
|
255
|
+
@html.text!(result[:name])
|
256
|
+
@html.br
|
257
|
+
end
|
258
|
+
|
245
259
|
# SpatialRepresentationType
|
246
260
|
unless result[:spatialRepresentationType].nil?
|
247
261
|
@html.em('Spatial Representation Type: ')
|
@@ -317,6 +331,13 @@ module ADIWG
|
|
317
331
|
end
|
318
332
|
end
|
319
333
|
end
|
334
|
+
|
335
|
+
# Name
|
336
|
+
unless result[:name].nil?
|
337
|
+
@html.em('Name: ')
|
338
|
+
@html.text!(result[:name])
|
339
|
+
@html.br
|
340
|
+
end
|
320
341
|
|
321
342
|
# Statement
|
322
343
|
unless result[:statement].nil?
|
@@ -352,6 +373,13 @@ module ADIWG
|
|
352
373
|
end
|
353
374
|
end
|
354
375
|
end
|
376
|
+
|
377
|
+
# Name
|
378
|
+
unless result[:name].nil?
|
379
|
+
@html.em('Name: ')
|
380
|
+
@html.text!(result[:name])
|
381
|
+
@html.br
|
382
|
+
end
|
355
383
|
|
356
384
|
# Value
|
357
385
|
unless result[:values].empty?
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: adiwg-mdtranslator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.19.0.pre.beta.
|
4
|
+
version: 2.19.0.pre.beta.16
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stan Smith
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2024-05-
|
12
|
+
date: 2024-05-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|