adiwg-mdtranslator 2.18.0rc9 → 2.18.1

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: a133eb4d545defe8cc794eef72c452add2921106f3719d70c11a515e47a604c5
4
- data.tar.gz: 53ee5e410dcc8a1de08f4a22895e72d7aba1939a9050482fe2c52d1c3c3c9156
3
+ metadata.gz: 6ac1556593ab6171e10036125173a2bd97cdb8117bb498bf5f9b84a282c6e71e
4
+ data.tar.gz: 12c0ed7ea97474e133a25236bff51acc24a556a0331254f704130fea6b85f03d
5
5
  SHA512:
6
- metadata.gz: c6b625ab90a69673a63953e35b7e3921a394b27281a7b8899db1a2f6371f3c4f105ea4a3664667b10628ffc59a4f1e03c15e39c529f92f3d40b99f469db5b9e7
7
- data.tar.gz: 1a8f1bcc76d5896c45a94fc43c6f607fd3807598363892bc3c90427044fa210fd62f2d9346953ee34ec94d792842a709f06a3fc1fb45da2f89841a7d30635bc9
6
+ metadata.gz: 1c8524470eb708210a3080b5c078b2e159548d69e6a3abbd2a58e44d97a9d684bec354fa152954e56304ec44a2d98745827ccf54bd50e9565f3cb6d5c76a5ee0
7
+ data.tar.gz: 2b9d00fea3e10cc7c0cadda0f1db04bb3e072eb38b0c3a6454640a239baa3a220b2af82017e7989e5f3c3cd544ea61b6485d1db369c9b0a7f4521ebee42c8f88
@@ -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.beta9"
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"
@@ -109,7 +109,7 @@
109
109
  module ADIWG
110
110
  module Mdtranslator
111
111
  # current mdtranslator version
112
- VERSION = "2.18.0rc9"
112
+ VERSION = "2.18.1"
113
113
  end
114
114
  end
115
115
 
@@ -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? &&
@@ -15,7 +15,7 @@ module ADIWG
15
15
  json.type hMethod[:type]
16
16
  json.dateTime hMethod[:dateTime]
17
17
  json.methodDescription hMethod[:methodDescription]
18
- json.evaluationProcedure Citation.build(hMethod[:evaluationMethod])
18
+ json.evaluationProcedure Citation.build(hMethod[:evaluationProcedure])
19
19
  json.referenceDocument @Namespace.json_map(hMethod[:referenceDocument], Citation)
20
20
  json.evaluationMethodType hMethod[:evaluationMethodType]
21
21
  json.deductiveSource hMethod[:deductiveSource]
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.0rc9
4
+ version: 2.18.1
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.0.pre.beta9
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.0.pre.beta9
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: 1.3.1
1003
+ version: '0'
1004
1004
  requirements: []
1005
1005
  rubygems_version: 3.1.6
1006
1006
  signing_key: