adiwg-mdtranslator 2.18.0rc8 → 2.18.0
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e11b1135dba3ccc3f0ca5931f7079bdde0c15053c9fc74b149ac4fed02635053
|
4
|
+
data.tar.gz: 24088487d432f4fe3a682f34ac06e4352211ae1c129b22a71f4f85daacb59880
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a323db2df0a6ac2dc269e4c0ff72373393837aa05575f2c628333a121e9a9abf55eab7224aee976cea34f591ab89712d2785aeb937e02b372f25f9daf5104b63
|
7
|
+
data.tar.gz: c06b85a4c35053c332dde006f6b5d518029448ec7749b11713c9195cdc512c3677fc17706512ca0ce01a54ad28d1b48566775bf61d92874661fd7c1cca53d940
|
data/adiwg-mdtranslator.gemspec
CHANGED
@@ -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
|
37
|
+
spec.add_runtime_dependency "adiwg-mdjson_schemas", ">=2.8"
|
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"
|
@@ -11,6 +11,19 @@ module ADIWG
|
|
11
11
|
|
12
12
|
def writeHtml(hDataQuality)
|
13
13
|
citationClass = Html_Citation.new(@html)
|
14
|
+
scopeClass = Html_Scope.new(@html)
|
15
|
+
|
16
|
+
unless hDataQuality[:scope].nil? || hDataQuality[:scope].empty?
|
17
|
+
@html.section(class: 'block') do
|
18
|
+
@html.details do
|
19
|
+
@html.summary('Scope', {'class' => 'h5'})
|
20
|
+
@html.section(class: 'block') do
|
21
|
+
scopeClass.writeHtml(hDataQuality[:scope])
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
|
14
27
|
|
15
28
|
unless hDataQuality[:standaloneQualityReport].nil? ||
|
16
29
|
( hDataQuality[:standaloneQualityReport][:abstract].nil? &&
|
@@ -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
|
-
|
37
|
-
|
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
|
-
|
43
|
-
@xml.tag!('
|
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.
|
4
|
+
version: 2.18.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stan Smith
|
@@ -127,16 +127,16 @@ dependencies:
|
|
127
127
|
name: adiwg-mdjson_schemas
|
128
128
|
requirement: !ruby/object:Gem::Requirement
|
129
129
|
requirements:
|
130
|
-
- -
|
130
|
+
- - ">="
|
131
131
|
- !ruby/object:Gem::Version
|
132
|
-
version: 2.8
|
132
|
+
version: '2.8'
|
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
|
139
|
+
version: '2.8'
|
140
140
|
- !ruby/object:Gem::Dependency
|
141
141
|
name: adiwg-mdcodes
|
142
142
|
requirement: !ruby/object:Gem::Requirement
|
@@ -998,9 +998,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
998
998
|
version: '2.3'
|
999
999
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
1000
1000
|
requirements:
|
1001
|
-
- - "
|
1001
|
+
- - ">="
|
1002
1002
|
- !ruby/object:Gem::Version
|
1003
|
-
version:
|
1003
|
+
version: '0'
|
1004
1004
|
requirements: []
|
1005
1005
|
rubygems_version: 3.1.6
|
1006
1006
|
signing_key:
|