adiwg-mdtranslator 2.18.4 → 2.19.0.pre.beta.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (104) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/test.yml +14 -0
  3. data/Gemfile.lock +11 -9
  4. data/adiwg-mdtranslator.gemspec +3 -3
  5. data/lib/adiwg/mdtranslator/internal/internal_metadata_obj.rb +29 -13
  6. data/lib/adiwg/mdtranslator/readers/fgdc/modules/module_dataQuality.rb +149 -0
  7. data/lib/adiwg/mdtranslator/readers/fgdc/modules/module_fgdc.rb +2 -2
  8. data/lib/adiwg/mdtranslator/readers/fgdc/modules/module_keyword.rb +10 -6
  9. data/lib/adiwg/mdtranslator/readers/fgdc/modules/module_lineage.rb +14 -11
  10. data/lib/adiwg/mdtranslator/readers/fgdc/modules/module_methodology.rb +26 -34
  11. data/lib/adiwg/mdtranslator/readers/fgdc/modules/module_process.rb +13 -1
  12. data/lib/adiwg/mdtranslator/readers/mdJson/mdJson_reader.rb +2 -2
  13. data/lib/adiwg/mdtranslator/readers/mdJson/modules/module_conformanceResult.rb +1 -1
  14. data/lib/adiwg/mdtranslator/readers/mdJson/modules/module_coverageResult.rb +8 -7
  15. data/lib/adiwg/mdtranslator/readers/mdJson/modules/module_dataQuality.rb +4 -4
  16. data/lib/adiwg/mdtranslator/readers/mdJson/modules/module_dataQualityReport.rb +8 -16
  17. data/lib/adiwg/mdtranslator/readers/mdJson/modules/module_evaluationMethod.rb +1 -1
  18. data/lib/adiwg/mdtranslator/readers/mdJson/modules/module_legalConstraint.rb +8 -8
  19. data/lib/adiwg/mdtranslator/readers/mdJson/modules/module_qualityMeasure.rb +34 -0
  20. data/lib/adiwg/mdtranslator/readers/mdJson/modules/module_qualityResultFile.rb +72 -0
  21. data/lib/adiwg/mdtranslator/readers/mdJson/modules/module_rangeElementDescription.rb +2 -2
  22. data/lib/adiwg/mdtranslator/readers/sbJson/modules/module_contact.rb +13 -0
  23. data/lib/adiwg/mdtranslator/version.rb +1 -1
  24. data/lib/adiwg/mdtranslator/writers/fgdc/classes/{class_quality.rb → class_dataQuality.rb} +14 -10
  25. data/lib/adiwg/mdtranslator/writers/fgdc/classes/class_fgdc.rb +3 -3
  26. data/lib/adiwg/mdtranslator/writers/html/sections/html_body.rb +5 -1
  27. data/lib/adiwg/mdtranslator/writers/html/sections/html_dataQuality.rb +39 -18
  28. data/lib/adiwg/mdtranslator/writers/html/sections/html_dataQualityReport.rb +385 -0
  29. data/lib/adiwg/mdtranslator/writers/html/sections/html_rangeElementDescription.rb +2 -2
  30. data/lib/adiwg/mdtranslator/writers/html/sections/html_resultFile.rb +60 -0
  31. data/lib/adiwg/mdtranslator/writers/iso19115_3/classes/class_dataQualityReport.rb +213 -39
  32. data/lib/adiwg/mdtranslator/writers/iso19115_3/classes/class_mdMetadata.rb +1 -1
  33. data/lib/adiwg/mdtranslator/writers/iso19115_3/classes/class_organization.rb +1 -19
  34. data/lib/adiwg/mdtranslator/writers/iso19115_3/classes/class_qualityResultFile.rb +55 -0
  35. data/lib/adiwg/mdtranslator/writers/iso19115_3/classes/class_rangeElementDescription.rb +14 -13
  36. data/lib/adiwg/mdtranslator/writers/iso19115_3/classes/class_sampleDimension.rb +6 -6
  37. data/lib/adiwg/mdtranslator/writers/iso19115_3/iso19115_3_writer.rb +2 -0
  38. data/lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_allocation.rb +1 -1
  39. data/lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_coverageResult.rb +30 -0
  40. data/lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_dataQuality.rb +3 -1
  41. data/lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_dataQualityReport.rb +12 -10
  42. data/lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_descriptiveResult.rb +3 -3
  43. data/lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_funding.rb +2 -2
  44. data/lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_legalConstraint.rb +1 -1
  45. data/lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_metadata.rb +1 -1
  46. data/lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_qualityMeasure.rb +4 -3
  47. data/lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_qualityResultFile.rb +23 -0
  48. data/lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_standaloneQualityReport.rb +31 -0
  49. data/lib/adiwg/mdtranslator/writers/sbJson/sections/sbJson_contact.rb +10 -0
  50. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_additionalDocumentation.rb +1 -1
  51. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_algorithm.rb +1 -1
  52. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_allocation.rb +1 -1
  53. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_associatedResource.rb +2 -2
  54. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_attribute.rb +2 -2
  55. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_attributeGroup.rb +1 -1
  56. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_body.rb +15 -31
  57. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_citation.rb +5 -5
  58. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_classedData.rb +1 -1
  59. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_constraint.rb +5 -5
  60. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_contact.rb +37 -5
  61. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_coverageInfo.rb +3 -3
  62. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_dataDictionary.rb +5 -5
  63. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_dataQuality.rb +31 -12
  64. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_dataQualityReport.rb +385 -0
  65. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_distribution.rb +1 -1
  66. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_distributor.rb +3 -3
  67. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_domain.rb +3 -3
  68. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_domainItem.rb +1 -1
  69. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_entity.rb +5 -5
  70. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_entityAttribute.rb +3 -3
  71. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_extent.rb +3 -3
  72. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_feature.rb +5 -5
  73. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_featureCollection.rb +4 -4
  74. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_featureProperties.rb +1 -1
  75. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_format.rb +1 -1
  76. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_funding.rb +1 -1
  77. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_geodeticParameters.rb +2 -2
  78. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_geographicElement.rb +4 -4
  79. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_geographicExtent.rb +4 -14
  80. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_geologicAge.rb +1 -1
  81. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_geometryCollection.rb +4 -4
  82. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_geometryObject.rb +2 -2
  83. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_georectifiedRepresentation.rb +2 -2
  84. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_georeferenceableRepresentation.rb +3 -3
  85. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_graphic.rb +2 -2
  86. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_gridRepresentation.rb +2 -2
  87. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_identifier.rb +1 -1
  88. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_imageInfo.rb +1 -1
  89. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_keyword.rb +14 -16
  90. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_metadataInfo.rb +10 -9
  91. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_metadataRepository.rb +1 -1
  92. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_processStep.rb +1 -1
  93. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_processing.rb +3 -3
  94. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_rangeElementDescription.rb +2 -2
  95. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_resourceInfo.rb +17 -17
  96. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_responsibility.rb +1 -1
  97. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_resultFile.rb +60 -0
  98. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_scope.rb +12 -12
  99. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_source.rb +2 -2
  100. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_taxonomy.rb +1 -1
  101. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_timePeriod.rb +1 -3
  102. metadata +23 -13
  103. data/lib/adiwg/mdtranslator/readers/fgdc/modules/module_quality.rb +0 -181
  104. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_bodyScript.js +0 -317
@@ -76,7 +76,7 @@ module ADIWG
76
76
  # resource - citation {citation}
77
77
  unless hResource[:citation].empty?
78
78
  @html.div do
79
- @html.div('Citation', {'id' => 'resourceInfo-citation', 'class' => 'h3'})
79
+ @html.h3('Citation', {'id' => 'resourceInfo-citation', 'class' => 'h3'})
80
80
  @html.div(:class => 'block') do
81
81
  citationClass.writeHtml(hResource[:citation])
82
82
  end
@@ -86,7 +86,7 @@ module ADIWG
86
86
  # resource - abstract
87
87
  unless hResource[:abstract].nil? && hResource[:shortAbstract].nil?
88
88
  @html.div do
89
- @html.div('Abstract', {'id' => 'resourceInfo-abstract', 'class' => 'h3'})
89
+ @html.h3('Abstract', {'id' => 'resourceInfo-abstract', 'class' => 'h3'})
90
90
  @html.div(:class => 'block') do
91
91
 
92
92
  # short abstract
@@ -115,7 +115,7 @@ module ADIWG
115
115
  # resource - purpose
116
116
  unless hResource[:purpose].nil? && hResource[:resourceUsages].empty?
117
117
  @html.div do
118
- @html.div('Purpose, Usage, and Limitations', {'id' => 'resourceInfo-purpose', 'class' => 'h3'})
118
+ @html.h3('Purpose, Usage, and Limitations', {'id' => 'resourceInfo-purpose', 'class' => 'h3'})
119
119
  @html.div(:class => 'block') do
120
120
 
121
121
  # purpose
@@ -148,7 +148,7 @@ module ADIWG
148
148
  # resource - graphic overview [] {graphicOverview}
149
149
  unless hResource[:graphicOverviews].empty?
150
150
  @html.div do
151
- @html.div('Graphic Overviews', {'id' => 'resourceInfo-overview', 'class' => 'h3'})
151
+ @html.h3('Graphic Overviews', {'id' => 'resourceInfo-overview', 'class' => 'h3'})
152
152
  @html.div(:class => 'block') do
153
153
  counter = 0
154
154
  hResource[:graphicOverviews].each do |hGraphic|
@@ -167,7 +167,7 @@ module ADIWG
167
167
  # resource - point of contact [] {responsibility}
168
168
  unless hResource[:pointOfContacts].empty? && hResource[:credits].empty?
169
169
  @html.div do
170
- @html.div('Resource Contacts', {'id' => 'resourceInfo-contacts', 'class' => 'h3'})
170
+ @html.h3('Resource Contacts', {'id' => 'resourceInfo-contacts', 'class' => 'h3'})
171
171
  @html.div(:class => 'block') do
172
172
 
173
173
  # contacts - responsibility
@@ -201,7 +201,7 @@ module ADIWG
201
201
  # resource - temporal information
202
202
  unless hResource[:timePeriod].empty? && hResource[:temporalResolutions].empty?
203
203
  @html.div do
204
- @html.div('Temporal Information', {'id' => 'resourceInfo-temporal', 'class' => 'h3'})
204
+ @html.h3('Temporal Information', {'id' => 'resourceInfo-temporal', 'class' => 'h3'})
205
205
  @html.div(:class => 'block') do
206
206
 
207
207
  # time period {timePeriod}
@@ -234,7 +234,7 @@ module ADIWG
234
234
  hResource[:spatialRepresentations].empty?
235
235
  hResource[:spatialResolutions].empty?
236
236
  @html.div do
237
- @html.div('Spatial Information', {'id' => 'resourceInfo-spatial', 'class' => 'h3'})
237
+ @html.h3('Spatial Information', {'id' => 'resourceInfo-spatial', 'class' => 'h3'})
238
238
  @html.div(:class => 'block') do
239
239
 
240
240
  # representation type [] {spatialRepresentation}
@@ -312,11 +312,11 @@ module ADIWG
312
312
  # # resource - extent [] {extent}
313
313
  # unless hResource[:extents].empty?
314
314
  # @html.div do
315
- # @html.div('Spatial, Temporal, and Vertical Extents', {'id' => 'resourceInfo-extent', 'class' => 'h3'})
315
+ # @html.h3('Spatial, Temporal, and Vertical Extents', {'id' => 'resourceInfo-extent', 'class' => 'h3'})
316
316
  # @html.div(:class => 'block') do
317
317
  # hResource[:extents].each do |hExtent|
318
318
  # @html.div do
319
- # @html.div('Extent', {'class' => 'h5'})
319
+ # @html.h5('Extent', {'class' => 'h5'})
320
320
  # @html.div(:class => 'block') do
321
321
  # extentClass.writeHtml(hExtent)
322
322
  # end
@@ -329,7 +329,7 @@ module ADIWG
329
329
  # resource - keywords [] {keyword}
330
330
  unless hResource[:keywords].empty?
331
331
  @html.div do
332
- @html.div('Keywords', {'id' => 'resourceInfo-keyword', 'class' => 'h3'})
332
+ @html.h3('Keywords', {'id' => 'resourceInfo-keyword', 'class' => 'h3'})
333
333
  @html.div(:class => 'block') do
334
334
  hResource[:keywords].each do |hKeyword|
335
335
  keywordClass.writeHtml(hKeyword)
@@ -341,7 +341,7 @@ module ADIWG
341
341
  # resource - taxonomy {taxonomy}
342
342
  unless hResource[:taxonomy].empty?
343
343
  @html.div do
344
- @html.div('Taxonomy', {'id' => 'resourceInfo-taxonomy', 'class' => 'h3'})
344
+ @html.h3('Taxonomy', {'id' => 'resourceInfo-taxonomy', 'class' => 'h3'})
345
345
  @html.div(:class => 'block') do
346
346
  counter = 0
347
347
  hResource[:taxonomy].each do |hTaxonomy|
@@ -360,7 +360,7 @@ module ADIWG
360
360
  # resource - constraints [] {constraint}
361
361
  unless hResource[:constraints].empty?
362
362
  @html.div do
363
- @html.div('Constraints', {'id' => 'resourceInfo-constraint', 'class' => 'h3'})
363
+ @html.h3('Constraints', {'id' => 'resourceInfo-constraint', 'class' => 'h3'})
364
364
  @html.div(:class => 'block') do
365
365
  hResource[:constraints].each do |hConstraint|
366
366
  @html.div do
@@ -377,7 +377,7 @@ module ADIWG
377
377
  # resource - coverage description [] {coverageInfo}
378
378
  unless hResource[:coverageDescriptions].empty?
379
379
  @html.div do
380
- @html.div('Coverage Description', {'id' => 'resourceInfo-Coverage', 'class' => 'h3'})
380
+ @html.h3('Coverage Description', {'id' => 'resourceInfo-Coverage', 'class' => 'h3'})
381
381
  @html.div(:class => 'block') do
382
382
  hResource[:coverageDescriptions].each do |hCoverage|
383
383
  @html.div do
@@ -394,7 +394,7 @@ module ADIWG
394
394
  # resource - locale
395
395
  unless hResource[:defaultResourceLocale].empty? && hResource[:otherResourceLocales].empty?
396
396
  @html.div do
397
- @html.div('Resource Locales', {'id' => 'resourceInfo-locale', 'class' => 'h3'})
397
+ @html.h3('Resource Locales', {'id' => 'resourceInfo-locale', 'class' => 'h3'})
398
398
  @html.div(:class => 'block') do
399
399
 
400
400
  # default resource locales {locale}
@@ -424,11 +424,11 @@ module ADIWG
424
424
  # resource - formats [] {format}
425
425
  unless hResource[:resourceFormats].empty?
426
426
  @html.div do
427
- @html.div('Resource Formats', {'id' => 'resourceInfo-format', 'class' => 'h3'})
427
+ @html.h3('Resource Formats', {'id' => 'resourceInfo-format', 'class' => 'h3'})
428
428
  @html.div(:class => 'block') do
429
429
  hResource[:resourceFormats].each do |hFormat|
430
430
  @html.div do
431
- @html.div('Format', {'class' => 'h5'})
431
+ @html.h5('Format', {'class' => 'h5'})
432
432
  @html.div(:class => 'block') do
433
433
  formatClass.writeHtml(hFormat)
434
434
  end
@@ -443,7 +443,7 @@ module ADIWG
443
443
  hResource[:environmentDescription].nil? &&
444
444
  hResource[:supplementalInfo].nil?
445
445
  @html.div do
446
- @html.div('Supplemental Information', {'id' => 'resourceInfo-supplemental', 'class' => 'h3'})
446
+ @html.h3('Supplemental Information', {'id' => 'resourceInfo-supplemental', 'class' => 'h3'})
447
447
  @html.div(:class => 'block') do
448
448
 
449
449
  # supplemental - maintenance [] {maintenance}
@@ -65,7 +65,7 @@ module ADIWG
65
65
  # # responsibility - role extent [] {extent}
66
66
  # hResponsibility[:roleExtents].each do |hExtent|
67
67
  # @html.div do
68
- # @html.div('Extent', {'class' => 'h5'})
68
+ # @html.h5('Extent', {'class' => 'h5'})
69
69
  # @html.div(:class => 'block') do
70
70
  # extentClass.writeHtml(hExtent)
71
71
  # end
@@ -0,0 +1,60 @@
1
+ # HTML writer
2
+ # result file
3
+
4
+ require_relative 'html_format'
5
+
6
+ module ADIWG
7
+ module Mdtranslator
8
+ module Writers
9
+ module Simple_html
10
+
11
+ class Html_ResultFile
12
+
13
+ def initialize(html)
14
+ @html = html
15
+ end
16
+
17
+ def writeHtml(hResultFile)
18
+
19
+ # classes used
20
+ formatClass = Html_Format.new(@html)
21
+
22
+
23
+ # result file - file name
24
+ unless hResultFile[:fileName].nil?
25
+ @html.em('File Name: ')
26
+ @html.text!(hResultFile[:fileName])
27
+ @html.br
28
+ end
29
+
30
+ # result file - file type
31
+ unless hResultFile[:fileType].nil?
32
+ @html.em('File Type: ')
33
+ @html.text!(hResultFile[:fileType])
34
+ @html.br
35
+ end
36
+
37
+ # result file - file description
38
+ unless hResultFile[:fileDescription].nil?
39
+ @html.em('File Description: ')
40
+ @html.text!(hResultFile[:fileDescription])
41
+ @html.br
42
+ end
43
+
44
+ # result file - file format
45
+ unless hResultFile[:fileFormat].empty?
46
+ @html.div do
47
+ @html.div(hResultFile[:fileFormat][:title], {'class' => 'h5'})
48
+ @html.div(:class => 'block') do
49
+ formatClass.writeHtml(hResultFile[:fileFormat])
50
+ end
51
+ end
52
+ end
53
+
54
+ end # writeHtml
55
+ end # Html_ResultFile
56
+
57
+ end
58
+ end
59
+ end
60
+ end
@@ -5,7 +5,7 @@
5
5
  # Stan Smith 2017-03-25 original script
6
6
 
7
7
  require_relative 'html_scopeDescription'
8
- # require_relative 'html_extent'
8
+ require_relative 'html_extent'
9
9
 
10
10
  module ADIWG
11
11
  module Mdtranslator
@@ -22,7 +22,7 @@ module ADIWG
22
22
 
23
23
  # classes used
24
24
  descriptionClass = Html_ScopeDescription.new(@html)
25
- # extentClass = Html_Extent.new(@html)
25
+ extentClass = Html_Extent.new(@html)
26
26
 
27
27
  # scope - code
28
28
  unless hScope[:scopeCode].nil?
@@ -34,22 +34,22 @@ module ADIWG
34
34
  # scope - description [] {scopeDescription}
35
35
  hScope[:scopeDescriptions].each do |hDescription|
36
36
  @html.div do
37
- @html.div('Description', {'class' => 'h5'})
37
+ @html.h5('Description', {'class' => 'h5'})
38
38
  @html.div(:class => 'block') do
39
39
  descriptionClass.writeHtml(hDescription)
40
40
  end
41
41
  end
42
42
  end
43
43
 
44
- # # scope - extent [] {extent}
45
- # hScope[:extents].each do |hExtent|
46
- # @html.div do
47
- # @html.div('Extent', {'class' => 'h5'})
48
- # @html.div(:class => 'block') do
49
- # extentClass.writeHtml(hExtent)
50
- # end
51
- # end
52
- # end
44
+ # scope - extent [] {extent}
45
+ hScope[:extents].each do |hExtent|
46
+ @html.div do
47
+ @html.h5('Extent', {'class' => 'h5'})
48
+ @html.div(:class => 'block') do
49
+ extentClass.writeHtml(hExtent)
50
+ end
51
+ end
52
+ end
53
53
 
54
54
  end # writeHtml
55
55
  end # Html_Scope
@@ -82,7 +82,7 @@ module ADIWG
82
82
  # source - spatial resolution {resolution}
83
83
  unless hSource[:spatialResolution].empty?
84
84
  @html.div do
85
- @html.div('Resolution', {'class' => 'h5'})
85
+ @html.h5('Resolution', {'class' => 'h5'})
86
86
  @html.div(:class => 'block') do
87
87
  resolutionClass.writeHtml(hSource[:spatialResolution])
88
88
  end
@@ -119,7 +119,7 @@ module ADIWG
119
119
  # source - scope {scope}
120
120
  unless hSource[:scope].empty?
121
121
  @html.div do
122
- @html.div('Scope', {'class' => 'h5'})
122
+ @html.h5('Scope', {'class' => 'h5'})
123
123
  @html.div(:class => 'block') do
124
124
  scopeClass.writeHtml(hSource[:scope])
125
125
  end
@@ -102,7 +102,7 @@ module ADIWG
102
102
  # taxonomy - observers {responsibility}
103
103
  unless hTaxonomy[:observers].empty?
104
104
  @html.div do
105
- @html.div('Observers', {'class' => 'h5'})
105
+ @html.h5('Observers', {'class' => 'h5'})
106
106
  @html.div(:class => 'block') do
107
107
  hTaxonomy[:observers].each do |hObserver|
108
108
  @html.div do
@@ -64,9 +64,7 @@ module ADIWG
64
64
  # time period - description
65
65
  unless hPeriod[:description].nil?
66
66
  @html.em('Description: ')
67
- @html.div(:class => 'block') do
68
- @html.text!(hPeriod[:description])
69
- end
67
+ @html.text!(hPeriod[:description])
70
68
  end
71
69
 
72
70
  # time period - start geologic age {geologic age}
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.18.4
4
+ version: 2.19.0.pre.beta.8
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: 2023-12-07 00:00:00.000000000 Z
12
+ date: 2024-04-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -129,28 +129,28 @@ dependencies:
129
129
  requirements:
130
130
  - - '='
131
131
  - !ruby/object:Gem::Version
132
- version: 2.8.1
132
+ version: 2.9.1
133
133
  type: :runtime
134
134
  prerelease: false
135
135
  version_requirements: !ruby/object:Gem::Requirement
136
136
  requirements:
137
137
  - - '='
138
138
  - !ruby/object:Gem::Version
139
- version: 2.8.1
139
+ version: 2.9.1
140
140
  - !ruby/object:Gem::Dependency
141
141
  name: adiwg-mdcodes
142
142
  requirement: !ruby/object:Gem::Requirement
143
143
  requirements:
144
144
  - - '='
145
145
  - !ruby/object:Gem::Version
146
- version: 2.8.4
146
+ version: 2.9.2
147
147
  type: :runtime
148
148
  prerelease: false
149
149
  version_requirements: !ruby/object:Gem::Requirement
150
150
  requirements:
151
151
  - - '='
152
152
  - !ruby/object:Gem::Version
153
- version: 2.8.4
153
+ version: 2.9.2
154
154
  - !ruby/object:Gem::Dependency
155
155
  name: jbuilder
156
156
  requirement: !ruby/object:Gem::Requirement
@@ -205,14 +205,14 @@ dependencies:
205
205
  requirements:
206
206
  - - "~>"
207
207
  - !ruby/object:Gem::Version
208
- version: '1.7'
208
+ version: '1.15'
209
209
  type: :runtime
210
210
  prerelease: false
211
211
  version_requirements: !ruby/object:Gem::Requirement
212
212
  requirements:
213
213
  - - "~>"
214
214
  - !ruby/object:Gem::Version
215
- version: '1.7'
215
+ version: '1.15'
216
216
  description: The mdtranslator was written by the Alaska Data Integration Working Group
217
217
  (ADIwg) to assist with creating ISO 19139 metadata records. Input to the mdtranslator
218
218
  is JSON conforming to the mdJson-schema. The mdtranslator architecture allows developers
@@ -226,6 +226,7 @@ executables:
226
226
  extensions: []
227
227
  extra_rdoc_files: []
228
228
  files:
229
+ - ".github/workflows/test.yml"
229
230
  - ".gitignore"
230
231
  - ".gitmodules"
231
232
  - ".jsbeautifyrc"
@@ -279,6 +280,7 @@ files:
279
280
  - lib/adiwg/mdtranslator/readers/fgdc/modules/module_citation.rb
280
281
  - lib/adiwg/mdtranslator/readers/fgdc/modules/module_codeSet.rb
281
282
  - lib/adiwg/mdtranslator/readers/fgdc/modules/module_contact.rb
283
+ - lib/adiwg/mdtranslator/readers/fgdc/modules/module_dataQuality.rb
282
284
  - lib/adiwg/mdtranslator/readers/fgdc/modules/module_date.rb
283
285
  - lib/adiwg/mdtranslator/readers/fgdc/modules/module_dateTime.rb
284
286
  - lib/adiwg/mdtranslator/readers/fgdc/modules/module_digitalForm.rb
@@ -310,7 +312,6 @@ files:
310
312
  - lib/adiwg/mdtranslator/readers/fgdc/modules/module_pointVector.rb
311
313
  - lib/adiwg/mdtranslator/readers/fgdc/modules/module_process.rb
312
314
  - lib/adiwg/mdtranslator/readers/fgdc/modules/module_publication.rb
313
- - lib/adiwg/mdtranslator/readers/fgdc/modules/module_quality.rb
314
315
  - lib/adiwg/mdtranslator/readers/fgdc/modules/module_range.rb
315
316
  - lib/adiwg/mdtranslator/readers/fgdc/modules/module_raster.rb
316
317
  - lib/adiwg/mdtranslator/readers/fgdc/modules/module_responsibility.rb
@@ -410,6 +411,8 @@ files:
410
411
  - lib/adiwg/mdtranslator/readers/mdJson/modules/module_processStep.rb
411
412
  - lib/adiwg/mdtranslator/readers/mdJson/modules/module_processing.rb
412
413
  - lib/adiwg/mdtranslator/readers/mdJson/modules/module_projectionParameters.rb
414
+ - lib/adiwg/mdtranslator/readers/mdJson/modules/module_qualityMeasure.rb
415
+ - lib/adiwg/mdtranslator/readers/mdJson/modules/module_qualityResultFile.rb
413
416
  - lib/adiwg/mdtranslator/readers/mdJson/modules/module_quantitativeResult.rb
414
417
  - lib/adiwg/mdtranslator/readers/mdJson/modules/module_rangeElementDescription.rb
415
418
  - lib/adiwg/mdtranslator/readers/mdJson/modules/module_referenceSystemParameters.rb
@@ -478,6 +481,7 @@ files:
478
481
  - lib/adiwg/mdtranslator/writers/fgdc/classes/class_constraint.rb
479
482
  - lib/adiwg/mdtranslator/writers/fgdc/classes/class_contact.rb
480
483
  - lib/adiwg/mdtranslator/writers/fgdc/classes/class_dataDomain.rb
484
+ - lib/adiwg/mdtranslator/writers/fgdc/classes/class_dataQuality.rb
481
485
  - lib/adiwg/mdtranslator/writers/fgdc/classes/class_dateRange.rb
482
486
  - lib/adiwg/mdtranslator/writers/fgdc/classes/class_dateSingle.rb
483
487
  - lib/adiwg/mdtranslator/writers/fgdc/classes/class_description.rb
@@ -510,7 +514,6 @@ files:
510
514
  - lib/adiwg/mdtranslator/writers/fgdc/classes/class_planarReference.rb
511
515
  - lib/adiwg/mdtranslator/writers/fgdc/classes/class_process.rb
512
516
  - lib/adiwg/mdtranslator/writers/fgdc/classes/class_publisher.rb
513
- - lib/adiwg/mdtranslator/writers/fgdc/classes/class_quality.rb
514
517
  - lib/adiwg/mdtranslator/writers/fgdc/classes/class_security.rb
515
518
  - lib/adiwg/mdtranslator/writers/fgdc/classes/class_series.rb
516
519
  - lib/adiwg/mdtranslator/writers/fgdc/classes/class_source.rb
@@ -550,6 +553,7 @@ files:
550
553
  - lib/adiwg/mdtranslator/writers/html/sections/html_coverageInfo.rb
551
554
  - lib/adiwg/mdtranslator/writers/html/sections/html_dataDictionary.rb
552
555
  - lib/adiwg/mdtranslator/writers/html/sections/html_dataQuality.rb
556
+ - lib/adiwg/mdtranslator/writers/html/sections/html_dataQualityReport.rb
553
557
  - lib/adiwg/mdtranslator/writers/html/sections/html_date.rb
554
558
  - lib/adiwg/mdtranslator/writers/html/sections/html_datetime.rb
555
559
  - lib/adiwg/mdtranslator/writers/html/sections/html_dimension.rb
@@ -608,6 +612,7 @@ files:
608
612
  - lib/adiwg/mdtranslator/writers/html/sections/html_resourceInfo.rb
609
613
  - lib/adiwg/mdtranslator/writers/html/sections/html_resourceType.rb
610
614
  - lib/adiwg/mdtranslator/writers/html/sections/html_responsibility.rb
615
+ - lib/adiwg/mdtranslator/writers/html/sections/html_resultFile.rb
611
616
  - lib/adiwg/mdtranslator/writers/html/sections/html_scope.rb
612
617
  - lib/adiwg/mdtranslator/writers/html/sections/html_scopeDescription.rb
613
618
  - lib/adiwg/mdtranslator/writers/html/sections/html_securityConstraint.rb
@@ -833,6 +838,7 @@ files:
833
838
  - lib/adiwg/mdtranslator/writers/iso19115_3/classes/class_processReport.rb
834
839
  - lib/adiwg/mdtranslator/writers/iso19115_3/classes/class_processStep.rb
835
840
  - lib/adiwg/mdtranslator/writers/iso19115_3/classes/class_processing.rb
841
+ - lib/adiwg/mdtranslator/writers/iso19115_3/classes/class_qualityResultFile.rb
836
842
  - lib/adiwg/mdtranslator/writers/iso19115_3/classes/class_rangeDimension.rb
837
843
  - lib/adiwg/mdtranslator/writers/iso19115_3/classes/class_rangeElementDescription.rb
838
844
  - lib/adiwg/mdtranslator/writers/iso19115_3/classes/class_referenceSystem.rb
@@ -878,6 +884,7 @@ files:
878
884
  - lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_coverageDescription.rb
879
885
  - lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_coverageInfo.rb
880
886
  - lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_coverageItem.rb
887
+ - lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_coverageResult.rb
881
888
  - lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_dataQuality.rb
882
889
  - lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_dataQualityReport.rb
883
890
  - lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_date.rb
@@ -932,6 +939,7 @@ files:
932
939
  - lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_processing.rb
933
940
  - lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_projectionParameters.rb
934
941
  - lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_qualityMeasure.rb
942
+ - lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_qualityResultFile.rb
935
943
  - lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_quantitativeResult.rb
936
944
  - lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_releasability.rb
937
945
  - lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_repository.rb
@@ -947,6 +955,7 @@ files:
947
955
  - lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_spatialReferenceParameters.rb
948
956
  - lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_spatialRepresentation.rb
949
957
  - lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_spatialResolution.rb
958
+ - lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_standaloneQualityReport.rb
950
959
  - lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_taxonomicClassification.rb
951
960
  - lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_taxonomicSystem.rb
952
961
  - lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_taxonomy.rb
@@ -998,7 +1007,6 @@ files:
998
1007
  - lib/adiwg/mdtranslator/writers/simple_html/sections/html_attributeGroup.rb
999
1008
  - lib/adiwg/mdtranslator/writers/simple_html/sections/html_bearingDistanceResolution.rb
1000
1009
  - lib/adiwg/mdtranslator/writers/simple_html/sections/html_body.rb
1001
- - lib/adiwg/mdtranslator/writers/simple_html/sections/html_bodyScript.js
1002
1010
  - lib/adiwg/mdtranslator/writers/simple_html/sections/html_boundingBox.rb
1003
1011
  - lib/adiwg/mdtranslator/writers/simple_html/sections/html_citation.rb
1004
1012
  - lib/adiwg/mdtranslator/writers/simple_html/sections/html_classedData.rb
@@ -1009,6 +1017,7 @@ files:
1009
1017
  - lib/adiwg/mdtranslator/writers/simple_html/sections/html_coverageInfo.rb
1010
1018
  - lib/adiwg/mdtranslator/writers/simple_html/sections/html_dataDictionary.rb
1011
1019
  - lib/adiwg/mdtranslator/writers/simple_html/sections/html_dataQuality.rb
1020
+ - lib/adiwg/mdtranslator/writers/simple_html/sections/html_dataQualityReport.rb
1012
1021
  - lib/adiwg/mdtranslator/writers/simple_html/sections/html_date.rb
1013
1022
  - lib/adiwg/mdtranslator/writers/simple_html/sections/html_datetime.rb
1014
1023
  - lib/adiwg/mdtranslator/writers/simple_html/sections/html_dimension.rb
@@ -1067,6 +1076,7 @@ files:
1067
1076
  - lib/adiwg/mdtranslator/writers/simple_html/sections/html_resourceInfo.rb
1068
1077
  - lib/adiwg/mdtranslator/writers/simple_html/sections/html_resourceType.rb
1069
1078
  - lib/adiwg/mdtranslator/writers/simple_html/sections/html_responsibility.rb
1079
+ - lib/adiwg/mdtranslator/writers/simple_html/sections/html_resultFile.rb
1070
1080
  - lib/adiwg/mdtranslator/writers/simple_html/sections/html_scope.rb
1071
1081
  - lib/adiwg/mdtranslator/writers/simple_html/sections/html_scopeDescription.rb
1072
1082
  - lib/adiwg/mdtranslator/writers/simple_html/sections/html_securityConstraint.rb
@@ -1104,9 +1114,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
1104
1114
  version: '2.3'
1105
1115
  required_rubygems_version: !ruby/object:Gem::Requirement
1106
1116
  requirements:
1107
- - - ">="
1117
+ - - ">"
1108
1118
  - !ruby/object:Gem::Version
1109
- version: '0'
1119
+ version: 1.3.1
1110
1120
  requirements: []
1111
1121
  rubygems_version: 3.1.6
1112
1122
  signing_key: