adiwg-mdtranslator 2.18.0rc8 → 2.18.0rc9

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: 6aa9d9a369f120417e2585914c68922b28c31463c8ade4244708ef12a0aa4987
4
- data.tar.gz: e4a9355ce59d4db79806f1ca629694594180d08a9139b92cdb2e07abd64bee07
3
+ metadata.gz: a133eb4d545defe8cc794eef72c452add2921106f3719d70c11a515e47a604c5
4
+ data.tar.gz: 53ee5e410dcc8a1de08f4a22895e72d7aba1939a9050482fe2c52d1c3c3c9156
5
5
  SHA512:
6
- metadata.gz: 0e04b3ae89041a439a12562572fffde7cea1a00d397f3e51d778059f8953d6e7fe30f491b7d23bdc2437a9c3b1bb4a4d307744b16f7d45af249816a0564ccdf0
7
- data.tar.gz: 3d43d5238ba9e1766b21c34e522b74d781730f717cafad2ab30b9b96e77a2b91e744a2d4ba31662cc420132c3d133e668d9560e1aacb2e8d86a67a16214c7d10
6
+ metadata.gz: c6b625ab90a69673a63953e35b7e3921a394b27281a7b8899db1a2f6371f3c4f105ea4a3664667b10628ffc59a4f1e03c15e39c529f92f3d40b99f469db5b9e7
7
+ data.tar.gz: 1a8f1bcc76d5896c45a94fc43c6f607fd3807598363892bc3c90427044fa210fd62f2d9346953ee34ec94d792842a709f06a3fc1fb45da2f89841a7d30635bc9
@@ -34,7 +34,7 @@ Gem::Specification.new do |spec|
34
34
  spec.add_runtime_dependency "thor", "~> 0.19"
35
35
  spec.add_runtime_dependency "uuidtools", "~> 2.1"
36
36
  spec.add_runtime_dependency "json-schema", "~> 2.7"
37
- spec.add_runtime_dependency "adiwg-mdjson_schemas", "2.8.0.pre.beta8"
37
+ spec.add_runtime_dependency "adiwg-mdjson_schemas", "2.8.0.pre.beta9"
38
38
  spec.add_runtime_dependency "adiwg-mdcodes", "~> 2.8"
39
39
  spec.add_runtime_dependency "jbuilder", "~> 2.5"
40
40
  spec.add_runtime_dependency "kramdown", "~> 1.13"
@@ -109,7 +109,7 @@
109
109
  module ADIWG
110
110
  module Mdtranslator
111
111
  # current mdtranslator version
112
- VERSION = "2.18.0rc8"
112
+ VERSION = "2.18.0rc9"
113
113
  end
114
114
  end
115
115
 
@@ -32,15 +32,17 @@ module ADIWG
32
32
  @xml.tag!('mdq:standaloneQualityReport') do
33
33
  @xml.tag!('mdq:DQ_StandaloneQualityReportInformation') do
34
34
  # reportReference
35
-
36
- @xml.tag!('mdq:reportReference') do
37
- citationClass.writeXML(hDataQuality[:standaloneQualityReport][:reportReference])
35
+ unless hDataQuality[:standaloneQualityReport][:reportReference].nil? || hDataQuality[:standaloneQualityReport][:reportReference].empty?
36
+ @xml.tag!('mdq:reportReference') do
37
+ citationClass.writeXML(hDataQuality[:standaloneQualityReport][:reportReference])
38
+ end
38
39
  end
39
40
 
40
-
41
41
  # abstract
42
- @xml.tag!('mdq:abstract') do
43
- @xml.tag!('gco:CharacterString', hDataQuality[:standaloneQualityReport][:abstract])
42
+ unless hDataQuality[:standaloneQualityReport][:abstract].nil? || hDataQuality[:standaloneQualityReport][:abstract].empty?
43
+ @xml.tag!('mdq:abstract') do
44
+ @xml.tag!('gco:CharacterString', hDataQuality[:standaloneQualityReport][:abstract])
45
+ end
44
46
  end
45
47
  end
46
48
  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.18.0rc8
4
+ version: 2.18.0rc9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stan Smith
@@ -129,14 +129,14 @@ dependencies:
129
129
  requirements:
130
130
  - - '='
131
131
  - !ruby/object:Gem::Version
132
- version: 2.8.0.pre.beta8
132
+ version: 2.8.0.pre.beta9
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.0.pre.beta8
139
+ version: 2.8.0.pre.beta9
140
140
  - !ruby/object:Gem::Dependency
141
141
  name: adiwg-mdcodes
142
142
  requirement: !ruby/object:Gem::Requirement