adiwg-mdtranslator 2.19.0.pre.beta.28 → 2.19.0.pre.beta.30

Sign up to get free protection for your applications and to get access to all the features.
Files changed (23) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/lib/adiwg/mdtranslator/version.rb +1 -1
  4. data/lib/adiwg/mdtranslator/writers/iso19115_3/classes/class_mdMetadata.rb +23 -20
  5. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_allocation.rb +1 -1
  6. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_citation.rb +8 -8
  7. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_dataQualityReport.rb +3 -3
  8. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_geographicExtent.rb +1 -1
  9. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_lineage.rb +4 -4
  10. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_maintenance.rb +4 -4
  11. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_medium.rb +2 -2
  12. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_metadataInfo.rb +4 -4
  13. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_releasability.rb +1 -1
  14. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_resourceInfo.rb +5 -5
  15. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_responsibility.rb +1 -1
  16. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_spatialRepresentation.rb +4 -4
  17. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_taxonomy.rb +1 -1
  18. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_timeInstant.rb +1 -1
  19. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_timePeriod.rb +5 -5
  20. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_transferOption.rb +2 -2
  21. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_usage.rb +5 -5
  22. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_vectorRepresentation.rb +2 -2
  23. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c2b29afcfa119d88b586c681a8ff17a71bbe9ee920cfe3ea5811c6929024818d
4
- data.tar.gz: b4eb9f1b0b86db2738dffd5362ed05a8ada2a7e6c7bbb5f6a201894b80260694
3
+ metadata.gz: b921ad387e26046ceba0aba97b45c173b5fd6184aa9cb2e82f5a0c0004ea71da
4
+ data.tar.gz: 620c590a11ec47e9f9f5b847fad2db1668db899494bccaebdb8e56f83aa835af
5
5
  SHA512:
6
- metadata.gz: 8bbdb26949180a83c535c1b4794857f6e8b6858e57163a63674f5eb8541ce1e7d61355f136bb542563c96664cddd354de52958ae5a39b0ddf79c4d80d1799fa6
7
- data.tar.gz: 74ea9e985ebd466c2ef8b8fa1feeadc1d97ca709f39f3ef4335bc0a5348b97f10106141b3f353475219f40c62fd8d8218a49c59ed2a9aaf9ba7505831d14434e
6
+ metadata.gz: fe5b8bf7b68a1650ef35c68ce656aff484027138fb13ceb57ec3be45b84f8b114ab2e92b30c3a68f4b00925a6fef5f029b6bc769eb34c9f7a756e4c2109628b1
7
+ data.tar.gz: 9a362c0b8bdc750909e923c8500754fac688fe6e38c2d54c7b3c8d94e77e90b357bef807e9433fafab6f6074fd36b23f3825f1160c0f557a8eb427d13876a485
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- adiwg-mdtranslator (2.19.0.pre.beta.28)
4
+ adiwg-mdtranslator (2.19.0.pre.beta.30)
5
5
  adiwg-mdcodes (= 2.10.0)
6
6
  adiwg-mdjson_schemas (= 2.9.5)
7
7
  builder (~> 3.2)
@@ -109,7 +109,7 @@
109
109
  module ADIWG
110
110
  module Mdtranslator
111
111
  # current mdtranslator version
112
- VERSION = "2.19.0-beta.28"
112
+ VERSION = "2.19.0-beta.30"
113
113
  end
114
114
  end
115
115
 
@@ -293,26 +293,29 @@ module ADIWG
293
293
  @xml.tag!('mdb:referenceSystemInfo')
294
294
  end
295
295
 
296
- # metadata information - metadata extension info
297
- # add biological profile to all metadata records
298
- intBio = intMetadataClass.newMetadataExtension
299
- intBio[:name] = 'Taxonomy System'
300
- intBio[:shortName] = 'TaxonSys'
301
- intBio[:definition] = 'Documentation of taxonomic sources, procedures, and treatments'
302
- intBio[:obligation] = 'optional'
303
- intBio[:dataType] = 'class'
304
- intBio[:maxOccurrence] = '1'
305
- intBio[:parentEntities] << 'MD_Identification'
306
- intBio[:rule] = 'New Metadata section as a class to MD_Identification'
307
- intBio[:rationales] << 'The set of data elements contained within this class element ' +
308
- 'represents an attempt to provide better documentation of ' +
309
- 'taxonomic sources, procedures, and treatments.'
310
- intBio[:sourceOrganization] = 'National Biological Information Infrastructure'
311
- intBio[:sourceURI] = 'https://www2.usgs.gov/core_science_systems/Access/p1111-1.html'
312
- intBio[:sourceRole] = 'author'
313
-
314
- @xml.tag!('gmd:metadataExtensionInfo') do
315
- extensionClass.writeXML(intBio)
296
+ taxonomyArray = hResInfo[:taxonomy]
297
+ unless taxonomyArray.empty?
298
+ # metadata information - metadata extension info
299
+ # add biological profile to all metadata records
300
+ intBio = intMetadataClass.newMetadataExtension
301
+ intBio[:name] = 'Taxonomy System'
302
+ intBio[:shortName] = 'TaxonSys'
303
+ intBio[:definition] = 'Documentation of taxonomic sources, procedures, and treatments'
304
+ intBio[:obligation] = 'optional'
305
+ intBio[:dataType] = 'class'
306
+ intBio[:maxOccurrence] = '1'
307
+ intBio[:parentEntities] << 'MD_Identification'
308
+ intBio[:rule] = 'New Metadata section as a class to MD_Identification'
309
+ intBio[:rationales] << 'The set of data elements contained within this class element ' +
310
+ 'represents an attempt to provide better documentation of ' +
311
+ 'taxonomic sources, procedures, and treatments.'
312
+ intBio[:sourceOrganization] = 'National Biological Information Infrastructure'
313
+ intBio[:sourceURI] = 'https://www2.usgs.gov/core_science_systems/Access/p1111-1.html'
314
+ intBio[:sourceRole] = 'author'
315
+
316
+ @xml.tag!('gmd:metadataExtensionInfo') do
317
+ extensionClass.writeXML(intBio)
318
+ end
316
319
  end
317
320
 
318
321
  # ###################### Begin Data Identification #####################
@@ -90,7 +90,7 @@ module ADIWG
90
90
  # allocation - online resource [] {onlineResource}
91
91
  hAllocation[:onlineResources].each do |hOnline|
92
92
  @html.div do
93
- @html.div('Online Resource', {'class' => 'h5'})
93
+ @html.h5('Online Resource', {'class' => 'h5'})
94
94
  @html.div(:class => 'block') do
95
95
  onlineClass.writeHtml(hOnline)
96
96
  end
@@ -147,14 +147,14 @@ module ADIWG
147
147
  end
148
148
  end
149
149
 
150
- # citation - other div []
151
- # unless hCitation[:otherdiv].empty?
152
- # hCitation[:otherdiv].each do |detail|
153
- # @html.em('Other div: ')
154
- # @html.text!(detail)
155
- # @html.br
156
- # end
157
- # end
150
+ # citation - other details []
151
+ unless hCitation[:otherDetails].empty?
152
+ hCitation[:otherDetails].each do |detail|
153
+ @html.em('Other Details: ')
154
+ @html.text!(detail)
155
+ @html.br
156
+ end
157
+ end
158
158
 
159
159
  end # writeHtml
160
160
  end # Html_Citation
@@ -262,7 +262,7 @@ module ADIWG
262
262
  # ResultContentDescription
263
263
  unless result[:resultContentDescription].empty?
264
264
  @html.div do
265
- @html.div('Result Content Description', {'class' => 'h5'})
265
+ @html.h5('Result Content Description', {'class' => 'h5'})
266
266
  @html.div(:class => 'block') do
267
267
  coverageInfoClass.writeHtml(result[:resultContentDescription])
268
268
  end
@@ -272,7 +272,7 @@ module ADIWG
272
272
  # ResourceFormat
273
273
  unless result[:resourceFormat].empty?
274
274
  @html.div do
275
- @html.div('Resource Format', {'class' => 'h5'})
275
+ @html.h5('Resource Format', {'class' => 'h5'})
276
276
  @html.div(:class => 'block') do
277
277
  formatClass.writeHtml(result[:resourceFormat])
278
278
  end
@@ -282,7 +282,7 @@ module ADIWG
282
282
  # ResultFile
283
283
  unless result[:resultFile].empty?
284
284
  @html.div do
285
- @html.div('Result File', {'class' => 'h5'})
285
+ @html.h5('Result File', {'class' => 'h5'})
286
286
  @html.div(:class => 'block') do
287
287
  resultFileClass.writeHtml(result[:resultFile])
288
288
  end
@@ -82,7 +82,7 @@ module ADIWG
82
82
  # geographic extent - identifier {identifier}
83
83
  unless hExtent[:identifier].empty?
84
84
  @html.div do
85
- @html.div('Identifier', 'class' => 'h5')
85
+ @html.h5('Identifier', 'class' => 'h5')
86
86
  @html.div(:class => 'block') do
87
87
  identifierClass.writeHtml(hExtent[:identifier])
88
88
  end
@@ -41,7 +41,7 @@ module ADIWG
41
41
  # lineage - scope
42
42
  unless hLineage[:resourceScope].empty?
43
43
  @html.div do
44
- @html.div('Scope', {'class' => 'h5'})
44
+ @html.h5('Scope', {'class' => 'h5'})
45
45
  @html.div(:class => 'block') do
46
46
  scopeClass.writeHtml(hLineage[:resourceScope])
47
47
  end
@@ -51,7 +51,7 @@ module ADIWG
51
51
  # lineage - citation
52
52
  hLineage[:lineageCitation].each do |hCitation|
53
53
  @html.div do
54
- @html.div('Citation', {'class' => 'h5'})
54
+ @html.h5('Citation', {'class' => 'h5'})
55
55
  @html.div(:class => 'block') do
56
56
  citationClass.writeHtml(hCitation)
57
57
  end
@@ -61,7 +61,7 @@ module ADIWG
61
61
  # lineage - data sources
62
62
  hLineage[:dataSources].each do |hsource|
63
63
  @html.div do
64
- @html.div('Data Source', {'class' => 'h5'})
64
+ @html.h5('Data Source', {'class' => 'h5'})
65
65
  @html.div(:class => 'block') do
66
66
  sourceClass.writeHtml(hsource)
67
67
  end
@@ -71,7 +71,7 @@ module ADIWG
71
71
  # lineage - process steps
72
72
  hLineage[:processSteps].each do |hStep|
73
73
  @html.div do
74
- @html.div('Process Step', {'class' => 'h5'})
74
+ @html.h5('Process Step', {'class' => 'h5'})
75
75
  @html.div(:class => 'block') do
76
76
  stepClass.writeHtml(hStep)
77
77
  end
@@ -47,11 +47,11 @@ module ADIWG
47
47
  # maintenance - scopes [] {scope}
48
48
  unless hMaint[:scopes].empty?
49
49
  @html.div do
50
- @html.div('Maintenance Scopes', {'class' => 'h5'})
50
+ @html.h5('Maintenance Scopes', {'class' => 'h5'})
51
51
  @html.div(:class => 'block') do
52
52
  hMaint[:scopes].each do |hScope|
53
53
  @html.div do
54
- @html.div(hScope[:scopeCode], 'class' => 'h5')
54
+ @html.h5(hScope[:scopeCode], 'class' => 'h5')
55
55
  @html.div(:class => 'block') do
56
56
  scopeClass.writeHtml(hScope)
57
57
  end
@@ -64,11 +64,11 @@ module ADIWG
64
64
  # maintenance - contacts [] {responsibility}
65
65
  unless hMaint[:contacts].empty?
66
66
  @html.div do
67
- @html.div('Maintenance Contacts', {'class' => 'h5'})
67
+ @html.h5('Maintenance Contacts', {'class' => 'h5'})
68
68
  @html.div(:class => 'block') do
69
69
  hMaint[:contacts].each do |hContact|
70
70
  @html.div do
71
- @html.div(hContact[:roleName], 'class' => 'h5')
71
+ @html.h5(hContact[:roleName], 'class' => 'h5')
72
72
  @html.div(:class => 'block') do
73
73
  responsibilityClass.writeHtml(hContact)
74
74
  end
@@ -29,7 +29,7 @@ module ADIWG
29
29
  # medium - specification {citation}
30
30
  unless hMedium[:mediumSpecification].empty?
31
31
  @html.div do
32
- @html.div('Medium Specification', {'class' => 'h5'})
32
+ @html.h5('Medium Specification', {'class' => 'h5'})
33
33
  @html.div(:class => 'block') do
34
34
  citationClass.writeHtml(hMedium[:mediumSpecification])
35
35
  end
@@ -74,7 +74,7 @@ module ADIWG
74
74
  # medium - identifier {identifier}
75
75
  unless hMedium[:identifier].empty?
76
76
  @html.div do
77
- @html.div('Identifier for the Medium', {'class' => 'h5'})
77
+ @html.h5('Identifier for the Medium', {'class' => 'h5'})
78
78
  @html.div(:class => 'block') do
79
79
  identifierClass.writeHtml(hMedium[:identifier])
80
80
  end
@@ -76,7 +76,7 @@ module ADIWG
76
76
  # default metadata locales {locale}
77
77
  unless hMetaInfo[:defaultMetadataLocale].empty?
78
78
  @html.div do
79
- @html.div('Default Locale', {'class' => 'h5'})
79
+ @html.h5('Default Locale', {'class' => 'h5'})
80
80
  @html.div(:class => 'block') do
81
81
  localeClass.writeHtml(hMetaInfo[:defaultMetadataLocale])
82
82
  end
@@ -86,7 +86,7 @@ module ADIWG
86
86
  # other metadata locales [] {locale}
87
87
  hMetaInfo[:otherMetadataLocales].each do |hLocale|
88
88
  @html.div do
89
- @html.div('Other Locale', {'class' => 'h5'})
89
+ @html.h5('Other Locale', {'class' => 'h5'})
90
90
  @html.div(:class => 'block') do
91
91
  localeClass.writeHtml(hLocale)
92
92
  end
@@ -104,7 +104,7 @@ module ADIWG
104
104
  @html.div(:class => 'block') do
105
105
  hMetaInfo[:metadataContacts].each do |hResponsibility|
106
106
  @html.div do
107
- @html.div(hResponsibility[:roleName], 'class' => 'h5')
107
+ @html.h5(hResponsibility[:roleName], 'class' => 'h5')
108
108
  @html.div(:class => 'block') do
109
109
  responsibilityClass.writeHtml(hResponsibility)
110
110
  end
@@ -179,7 +179,7 @@ module ADIWG
179
179
  @html.div(:class => 'block') do
180
180
  hMetaInfo[:alternateMetadataReferences].each do |hCitation|
181
181
  @html.div do
182
- @html.div(hCitation[:title], 'class' => 'h5')
182
+ @html.h5(hCitation[:title], 'class' => 'h5')
183
183
  @html.div(:class => 'block') do
184
184
  citationClass.writeHtml(hCitation)
185
185
  @html.br
@@ -44,7 +44,7 @@ module ADIWG
44
44
  @html.div(:class => 'block') do
45
45
  hRelease[:addressee].each do |hAddressee|
46
46
  @html.div do
47
- @html.div(hAddressee[:roleName], 'class' => 'h5')
47
+ @html.h5(hAddressee[:roleName], 'class' => 'h5')
48
48
  @html.div(:class => 'block') do
49
49
  responsibilityClass.writeHtml(hAddressee)
50
50
  end
@@ -154,7 +154,7 @@ module ADIWG
154
154
  hResource[:graphicOverviews].each do |hGraphic|
155
155
  counter += 1
156
156
  @html.div do
157
- @html.div('Overview '+counter.to_s, 'class' => 'h5')
157
+ @html.h5('Overview '+counter.to_s, 'class' => 'h5')
158
158
  @html.div(:class => 'block') do
159
159
  graphicClass.writeHtml(hGraphic)
160
160
  end
@@ -173,7 +173,7 @@ module ADIWG
173
173
  # contacts - responsibility
174
174
  hResource[:pointOfContacts].each do |hContact|
175
175
  @html.div do
176
- @html.div(hContact[:roleName], 'class' => 'h5')
176
+ @html.h5(hContact[:roleName], 'class' => 'h5')
177
177
  @html.div(:class => 'block') do
178
178
  responsibilityClass.writeHtml(hContact)
179
179
  end
@@ -183,7 +183,7 @@ module ADIWG
183
183
  # contacts - credits
184
184
  unless hResource[:credits].empty?
185
185
  @html.div do
186
- @html.div('Other Credits', 'class' => 'h5')
186
+ @html.h5('Other Credits', 'class' => 'h5')
187
187
  @html.div(:class => 'block') do
188
188
  hResource[:credits].each do |credit|
189
189
  @html.em('Credit: ')
@@ -216,7 +216,7 @@ module ADIWG
216
216
  unless hResource[:temporalResolutions].empty?
217
217
  hResource[:temporalResolutions].each do |hResolution|
218
218
  @html.div do
219
- @html.div('Resolution', 'class' => 'h5')
219
+ @html.h5('Resolution', 'class' => 'h5')
220
220
  @html.div(:class => 'block') do
221
221
  durationClass.writeHtml(hResolution)
222
222
  end
@@ -347,7 +347,7 @@ module ADIWG
347
347
  hResource[:taxonomy].each do |hTaxonomy|
348
348
  counter += 1
349
349
  @html.div do
350
- @html.div('Taxonomic Structure '+counter.to_s, 'class' => 'h5')
350
+ @html.h5('Taxonomic Structure '+counter.to_s, 'class' => 'h5')
351
351
  @html.div(:class => 'block') do
352
352
  taxonomyClass.writeHtml(hTaxonomy)
353
353
  end
@@ -27,7 +27,7 @@ module ADIWG
27
27
  hResponsibility[:parties].each do |hParty|
28
28
  hContact = Html_Document.getContact(hParty[:contactId])
29
29
  @html.div do
30
- @html.div(hContact[:name], 'class' => 'h5')
30
+ @html.h5(hContact[:name], 'class' => 'h5')
31
31
  @html.div(:class => 'block') do
32
32
 
33
33
  # party - contact ID
@@ -31,7 +31,7 @@ module ADIWG
31
31
  # spatial Representation - grid {gridRepresentation}
32
32
  unless hRepresentation[:gridRepresentation].empty?
33
33
  @html.div do
34
- @html.div('Grid Representation ', 'class' => 'h5')
34
+ @html.h5('Grid Representation ', 'class' => 'h5')
35
35
  @html.div(:class => 'block') do
36
36
  gridClass.writeHtml(hRepresentation[:gridRepresentation])
37
37
  end
@@ -41,7 +41,7 @@ module ADIWG
41
41
  # spatial Representation - vector {vectorRepresentation}
42
42
  unless hRepresentation[:vectorRepresentation].empty?
43
43
  @html.div do
44
- @html.div('Vector Representation ', 'class' => 'h5')
44
+ @html.h5('Vector Representation ', 'class' => 'h5')
45
45
  @html.div(:class => 'block') do
46
46
  vectorClass.writeHtml(hRepresentation[:vectorRepresentation])
47
47
  end
@@ -51,7 +51,7 @@ module ADIWG
51
51
  # spatial Representation - georectified {georectifiedRepresentation}
52
52
  unless hRepresentation[:georectifiedRepresentation].empty?
53
53
  @html.div do
54
- @html.div('Georectified Representation ', 'class' => 'h5')
54
+ @html.h5('Georectified Representation ', 'class' => 'h5')
55
55
  @html.div(:class => 'block') do
56
56
  georectifiedClass.writeHtml(hRepresentation[:georectifiedRepresentation])
57
57
  end
@@ -61,7 +61,7 @@ module ADIWG
61
61
  # spatial Representation - georeferenceable {georeferenceableRepresentation}
62
62
  unless hRepresentation[:georeferenceableRepresentation].empty?
63
63
  @html.div do
64
- @html.div('Georeferenceable Representation ', 'class' => 'h5')
64
+ @html.h5('Georeferenceable Representation ', 'class' => 'h5')
65
65
  @html.div(:class => 'block') do
66
66
  georeferenceableClass.writeHtml(hRepresentation[:georeferenceableRepresentation])
67
67
  end
@@ -106,7 +106,7 @@ module ADIWG
106
106
  @html.div(:class => 'block') do
107
107
  hTaxonomy[:observers].each do |hObserver|
108
108
  @html.div do
109
- @html.div(hObserver[:roleName], 'class' => 'h5')
109
+ @html.h5(hObserver[:roleName], 'class' => 'h5')
110
110
  @html.div(:class => 'block') do
111
111
  responsibilityClass.writeHtml(hObserver)
112
112
  end
@@ -66,7 +66,7 @@ module ADIWG
66
66
  # time instant - identifier {identifier}
67
67
  unless hInstant[:identifier].empty?
68
68
  @html.div do
69
- @html.div('Identifier', 'class' => 'h5')
69
+ @html.h5('Identifier', 'class' => 'h5')
70
70
  @html.div(:class => 'block') do
71
71
  identifierClass.writeHtml(hInstant[:identifier])
72
72
  end
@@ -70,7 +70,7 @@ module ADIWG
70
70
  # time period - start geologic age {geologic age}
71
71
  unless hPeriod[:startGeologicAge].empty?
72
72
  @html.div do
73
- @html.div('Starting Geologic Age', 'class' => 'h5')
73
+ @html.h5('Starting Geologic Age', 'class' => 'h5')
74
74
  @html.div(:class => 'block') do
75
75
  geoAgeClass.writeHtml(hPeriod[:startGeologicAge])
76
76
  end
@@ -80,7 +80,7 @@ module ADIWG
80
80
  # time period - end geologic age {geologic age}
81
81
  unless hPeriod[:endGeologicAge].empty?
82
82
  @html.div do
83
- @html.div('Ending Geologic Age', 'class' => 'h5')
83
+ @html.h5('Ending Geologic Age', 'class' => 'h5')
84
84
  @html.div(:class => 'block') do
85
85
  geoAgeClass.writeHtml(hPeriod[:endGeologicAge])
86
86
  end
@@ -90,7 +90,7 @@ module ADIWG
90
90
  # time period - identifier {identifier}
91
91
  unless hPeriod[:identifier].empty?
92
92
  @html.div do
93
- @html.div('Identifier', 'class' => 'h5')
93
+ @html.h5('Identifier', 'class' => 'h5')
94
94
  @html.div(:class => 'block') do
95
95
  identifierClass.writeHtml(hPeriod[:identifier])
96
96
  end
@@ -100,7 +100,7 @@ module ADIWG
100
100
  # time period - time interval
101
101
  unless hPeriod[:timeInterval].empty?
102
102
  @html.div do
103
- @html.div('Time Interval', 'class' => 'h5')
103
+ @html.h5('Time Interval', 'class' => 'h5')
104
104
  @html.div(:class => 'block') do
105
105
  intervalClass.writeHtml(hPeriod[:timeInterval])
106
106
  end
@@ -110,7 +110,7 @@ module ADIWG
110
110
  # time period - duration
111
111
  unless hPeriod[:duration].empty?
112
112
  @html.div do
113
- @html.div('Duration', 'class' => 'h5')
113
+ @html.h5('Duration', 'class' => 'h5')
114
114
  @html.div(:class => 'block') do
115
115
  durationClass.writeHtml(hPeriod[:duration])
116
116
  end
@@ -68,7 +68,7 @@ module ADIWG
68
68
  # transfer options - transfer frequency {duration}
69
69
  unless hOption[:transferFrequency].empty?
70
70
  @html.div do
71
- @html.div('Transfer Frequency', 'class' => 'h5')
71
+ @html.h5('Transfer Frequency', 'class' => 'h5')
72
72
  @html.div(:class => 'block') do
73
73
  durationClass.writeHtml(hOption[:transferFrequency])
74
74
  end
@@ -78,7 +78,7 @@ module ADIWG
78
78
  # transfer options - distribution formats [] {format}
79
79
  hOption[:distributionFormats].each do |hFormat|
80
80
  @html.div do
81
- @html.div('Distribution Format Option', 'class' => 'h5')
81
+ @html.h5('Distribution Format Option', 'class' => 'h5')
82
82
  @html.div(:class => 'block') do
83
83
  formatClass.writeHtml(hFormat)
84
84
  end
@@ -37,7 +37,7 @@ module ADIWG
37
37
  # resource usage - temporal extent
38
38
  unless hUsage[:temporalExtents].empty?
39
39
  @html.div do
40
- @html.div('Times and Periods of Usage', 'class' => 'h5')
40
+ @html.h5('Times and Periods of Usage', 'class' => 'h5')
41
41
  @html.div(:class => 'block') do
42
42
  hUsage[:temporalExtents].each do |hTemporal|
43
43
  temporalClass.writeHtml(hTemporal)
@@ -49,7 +49,7 @@ module ADIWG
49
49
  # resource usage - limitation
50
50
  unless hUsage[:userLimitation].nil? && hUsage[:limitationResponses].empty?
51
51
  @html.div do
52
- @html.div('User Defined Limitations', 'class' => 'h5')
52
+ @html.h5('User Defined Limitations', 'class' => 'h5')
53
53
  @html.div(:class => 'block') do
54
54
 
55
55
  # user limitation
@@ -75,7 +75,7 @@ module ADIWG
75
75
  # resource usage - documented issue
76
76
  unless hUsage[:identifiedIssue].empty?
77
77
  @html.div do
78
- @html.div('Cited Issue', 'class' => 'h5')
78
+ @html.h5('Cited Issue', 'class' => 'h5')
79
79
  @html.div(:class => 'block') do
80
80
  citationClass.writeHtml(hUsage[:identifiedIssue])
81
81
  end
@@ -85,7 +85,7 @@ module ADIWG
85
85
  # resource usage - additional documentation
86
86
  hUsage[:additionalDocumentation].each do |hCitation|
87
87
  @html.div do
88
- @html.div('Additional Documentation', 'class' => 'h5')
88
+ @html.h5('Additional Documentation', 'class' => 'h5')
89
89
  @html.div(:class => 'block') do
90
90
  citationClass.writeHtml(hCitation)
91
91
  end
@@ -99,7 +99,7 @@ module ADIWG
99
99
  @html.div(:class => 'block') do
100
100
  hUsage[:userContacts].each do |hContact|
101
101
  @html.div do
102
- @html.div(hContact[:roleName], 'class' => 'h5')
102
+ @html.h5(hContact[:roleName], 'class' => 'h5')
103
103
  @html.div(:class => 'block') do
104
104
  responsibilityClass.writeHtml(hContact)
105
105
  end
@@ -28,7 +28,7 @@ module ADIWG
28
28
  # vector representation - scope
29
29
  hVector[:scope].each do |scope|
30
30
  @html.div do
31
- @html.div('Scope ', 'class' => 'h5')
31
+ @html.h5('Scope ', 'class' => 'h5')
32
32
  @html.div(:class => 'block') do
33
33
  scopeClass.writeHtml(hVector[:scope])
34
34
  end
@@ -46,7 +46,7 @@ module ADIWG
46
46
  # vector representation - vector object []
47
47
  hVector[:vectorObject].each do |hObject|
48
48
  @html.div do
49
- @html.div('Vector Object ', 'class' => 'h5')
49
+ @html.h5('Vector Object ', 'class' => 'h5')
50
50
  @html.div(:class => 'block') do
51
51
  objectClass.writeHtml(hObject)
52
52
  end
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.28
4
+ version: 2.19.0.pre.beta.30
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-06-25 00:00:00.000000000 Z
12
+ date: 2024-06-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler