kvx 0.5.10 → 0.5.11
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 +3 -3
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bf1e345509285e633ca0757d4c71e403fa402c0c
|
4
|
+
data.tar.gz: 5cc96d82890afb10609e36d762a042b4316c32fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d4f289da6248063fee7bdd5e8aa031b3bec8fe0e282284ec7b299ec2d8c1b1f953d44f7785c1ffeb51a3ebf77115f86e104114807cb651cd0d649c7a3d5d03b
|
7
|
+
data.tar.gz: 18d1ac696205d0cdf68cffdf13e60053d54c514080a5f7f2a44e229a0e56c7de62272772220e2942dd920cc02102980a9fbdff833ca68546738267d3b81deadb
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/kvx.rb
CHANGED
@@ -126,7 +126,7 @@ class Kvx
|
|
126
126
|
end
|
127
127
|
|
128
128
|
def get_attributes(raw_attributes)
|
129
|
-
|
129
|
+
#
|
130
130
|
r1 = /([\w\-:]+\='[^']*)'/
|
131
131
|
r2 = /([\w\-:]+\="[^"]*)"/
|
132
132
|
|
@@ -247,7 +247,8 @@ class Kvx
|
|
247
247
|
r2 = if line[0][0][/^\w+:/] then
|
248
248
|
|
249
249
|
padding = line[0].length < 2 ? "\n" : "\n "
|
250
|
-
|
250
|
+
|
251
|
+
scan_to_h(line.map{|x| x.join(padding)}.join("\n"))
|
251
252
|
|
252
253
|
else
|
253
254
|
|
@@ -263,7 +264,6 @@ class Kvx
|
|
263
264
|
r3 = {description: txt2, items: h}
|
264
265
|
|
265
266
|
if remaining then
|
266
|
-
|
267
267
|
r3.merge!(scan_to_h remaining + "\n ")
|
268
268
|
end
|
269
269
|
|
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.5.
|
4
|
+
version: 0.5.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -31,7 +31,7 @@ cert_chain:
|
|
31
31
|
Vo86eJaJUXJbywrm97pYB2utyzWPyxJihIh0eFuNbCk+XOWfv6vUEyuXMiCsiyrF
|
32
32
|
azRHJ6uLeQu4hw==
|
33
33
|
-----END CERTIFICATE-----
|
34
|
-
date: 2015-
|
34
|
+
date: 2015-11-15 00:00:00.000000000 Z
|
35
35
|
dependencies:
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: line-tree
|
metadata.gz.sig
CHANGED
Binary file
|