kvx 0.9.2 → 0.9.3
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 +10 -1
- metadata +1 -1
- 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: 771c274bf56fb9f8758aee53d0112cd88e6844e542325210c707a6af52dec20e
|
4
|
+
data.tar.gz: f87fa3a2078e512766f1eef4a48753472105aa37c194a5d290e9f2bd54fb7cd6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bd1f304798404629150a18a8287670ed0102e34d67e6734e374b33f19c19e146385cb4fdd2c06f1dbed6c97969a831a20ac168b66d25e9081b4f5e20eb6e5a9d
|
7
|
+
data.tar.gz: b10f98724ecb9f052818b5b8c1fe6cbf841fa982772cd5c6e955d6836cc13b267085cb89dc213c38bd1a8479c5603cdf8cbf6d222464d86b187541c4799c9036
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/kvx.rb
CHANGED
@@ -146,8 +146,17 @@ class Kvx
|
|
146
146
|
|
147
147
|
@body.each do |key, value|
|
148
148
|
|
149
|
-
h[key] = value.is_a?(String)
|
149
|
+
h[key] = if value.is_a?(String) then
|
150
|
+
|
151
|
+
if value.lines.length < 2 then
|
152
|
+
value
|
153
|
+
else
|
154
|
+
"\n" + value.lines.map {|x| ' ' + x }.join
|
155
|
+
end
|
156
|
+
|
157
|
+
else
|
150
158
|
"\n" + value[:description].lines.map {|x| ' ' + x }.join
|
159
|
+
end
|
151
160
|
|
152
161
|
end
|
153
162
|
|
metadata
CHANGED
metadata.gz.sig
CHANGED
Binary file
|