kvx 0.9.1 → 0.9.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/kvx.rb +24 -3
- metadata +24 -24
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 96cfc3e8b1006b34c301f6753f35be06d1488fbfc3233094269c0d6cf61560a6
|
4
|
+
data.tar.gz: d706f6a62e289443c0fc90a09a49ca29a2001de59e8f59420da4cd3cb345d3a0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: da3953a0cbfbf07a8116eaa7365c8d0e0074c356d57e4f1c894f85c2eb6cbe6a218db580c1cf066ba15153eb193fe097c978e2d4f4cbe134fb7552052166831d
|
7
|
+
data.tar.gz: 9291206b7516b575363a4965fc1d3fa816e888f35a768c286162df1bebc5528aa0e9dd70659f436472424e73a51e30711317fd18faea435bb4c47626983afe08
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/kvx.rb
CHANGED
@@ -104,13 +104,24 @@ class Kvx
|
|
104
104
|
end
|
105
105
|
|
106
106
|
summary = [:summary, {}, *summary]
|
107
|
-
|
107
|
+
|
108
|
+
# -- use the nested description Hash object if there are multiple lines
|
109
|
+
h = {}
|
110
|
+
|
111
|
+
@body.each do |key, value|
|
112
|
+
|
113
|
+
h[key] = value.is_a?(String) ? value : value[:description]
|
114
|
+
|
115
|
+
end
|
116
|
+
|
117
|
+
body = [:body, {}, *make_xml(h)]
|
108
118
|
[self.class.to_s.downcase, @attributes, '', summary, body]
|
109
119
|
|
110
120
|
end
|
111
121
|
|
122
|
+
puts 'a: ' + a.inspect if @debug
|
112
123
|
doc = Rexle.new a
|
113
|
-
doc.instructions = @instructions
|
124
|
+
doc.instructions = @instructions || []
|
114
125
|
doc
|
115
126
|
|
116
127
|
end
|
@@ -129,8 +140,18 @@ class Kvx
|
|
129
140
|
header += scan_to_s @summary
|
130
141
|
header += "\n----------------------------------\n\n"
|
131
142
|
end
|
143
|
+
|
144
|
+
# -- use the nested description Hash object if there are multiple lines
|
145
|
+
h = {}
|
146
|
+
|
147
|
+
@body.each do |key, value|
|
148
|
+
|
149
|
+
h[key] = value.is_a?(String) ? value : \
|
150
|
+
"\n" + value[:description].lines.map {|x| ' ' + x }.join
|
151
|
+
|
152
|
+
end
|
132
153
|
|
133
|
-
header + scan_to_s(
|
154
|
+
header + scan_to_s(h)
|
134
155
|
|
135
156
|
end
|
136
157
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kvx
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -11,31 +11,31 @@ cert_chain:
|
|
11
11
|
- |
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
13
|
MIIEXjCCAsagAwIBAgIBATANBgkqhkiG9w0BAQsFADAsMSowKAYDVQQDDCFnZW1t
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
14
|
+
YXN0ZXIvREM9amFtZXNyb2JlcnRzb24vREM9ZXUwHhcNMjEwMjIwMjI0ODU5WhcN
|
15
|
+
MjIwMjIwMjI0ODU5WjAsMSowKAYDVQQDDCFnZW1tYXN0ZXIvREM9amFtZXNyb2Jl
|
16
|
+
cnRzb24vREM9ZXUwggGiMA0GCSqGSIb3DQEBAQUAA4IBjwAwggGKAoIBgQDEZUlA
|
17
|
+
5Xwb1PhCpUwcey7fBjLJHAHnBg9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WZn6zxxw
|
31
|
+
wETcFLVEdzWeyJyTnjrfVYCJMlHr+mR9gXx2Fgz8vjqCu2O39NXuJqO9BrmoxkoD
|
32
|
+
jGcTdRnq6g6KcNOHlJCw6jvZUHSTeTtBPUEGkSNS5L3GejW65iwHWLY/WNtI4kzQ
|
33
|
+
9uR/zCKdJ0zJ/N7OEpBBMg05VTSR2nBwlTmacHdL/keDUuIUDd2APddKSr5F+voZ
|
34
|
+
ci+ozAEgQCeqDFapyRPqMGm8fO7Sa4i4BxGnDf6G3K9P6Rg9yEzpSbGTED9U+nlX
|
35
|
+
m/+jxdgFjKKGxeZqunu9cp5ca9wSjjtKh/VA/3xZtPwokCa7vCMB+ZxUP0jvd++u
|
36
|
+
OTXy8k/zqddw/VfD/It1UUK4
|
37
37
|
-----END CERTIFICATE-----
|
38
|
-
date:
|
38
|
+
date: 2021-02-20 00:00:00.000000000 Z
|
39
39
|
dependencies:
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
41
|
name: line-tree
|
metadata.gz.sig
CHANGED
Binary file
|