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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6bffc1f367d1b2d4ee494d195485c791a93dbdbd67d0cd644bff88756b02cbcd
4
- data.tar.gz: eeff51cbbab47b12e23516e354be2081ac78c082935d8a1d8228cb505577d909
3
+ metadata.gz: 229ed2e77e2aeee4d1e56c525fb5a24c5ff1015d3480ca28192636e754e8e85d
4
+ data.tar.gz: e4cfe8581390e2645b3f3992e0d4e6ff2baa4ed20fdcb1ea915fec46eaa31e5e
5
5
  SHA512:
6
- metadata.gz: 59a971b94bb9cc669493b37f9eeaade6b73ba1ccf22fa2a23db7a643854ed168a11692d8fb78618ec4776f9ff91ded443861d16ec74cd8c1f0aaa8e37208ed15
7
- data.tar.gz: feff44c0ee09645c9f30e7f2ebc2014684cf43e192a16b9e1f5d40cd67d7ac748c9b52882821bf5d01403ca49106bf75c97cb4f5af1109a2eea4c5ead2e0e5f3
6
+ metadata.gz: 94f4a51d95a9ad648eadd51ca300f90073494fe30bfa61546e1303dcdc59b930e61ed92ae68ecc2462b439215959692a3e4c77b26078c072e3f1e7e1b9f342a5
7
+ data.tar.gz: cccccf2d1f4271d7e2d46ed06eb74090390edceacd71c3add2ffbdafcba5f13e8064827563c5716ba495e9c075de9ad3404ab18bd12533af6a28c9ab2b4ea6d2
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.14)
4
+ adiwg-mdtranslator (2.19.0.pre.beta.16)
5
5
  adiwg-mdcodes (= 2.9.4.pre.beta.0)
6
6
  adiwg-mdjson_schemas (= 2.9.3.pre.beta.0)
7
7
  builder (~> 3.2)
@@ -68,7 +68,7 @@ module ADIWG
68
68
  else
69
69
  complete = xComplete.text
70
70
  report = intMetadataClass.newDataQualityReport
71
- report[:type] = 'Omission'
71
+ report[:type] = 'CompletenessOmission'
72
72
  descriptiveResult = intMetadataClass.newDescriptiveResult
73
73
  descriptiveResult[:statement] = complete
74
74
  report[:descriptiveResult] << descriptiveResult
@@ -109,7 +109,7 @@
109
109
  module ADIWG
110
110
  module Mdtranslator
111
111
  # current mdtranslator version
112
- VERSION = "2.19.0-beta.14"
112
+ VERSION = "2.19.0-beta.16"
113
113
  end
114
114
  end
115
115
 
@@ -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] == 'Omission' &&
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.14
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-08 00:00:00.000000000 Z
12
+ date: 2024-05-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler