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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7840c24b01af54e67a820da3be4609db54854b75
4
- data.tar.gz: 9a9a7b3bdf17710e28a0a515c3c805b4157af5e0
3
+ metadata.gz: bf1e345509285e633ca0757d4c71e403fa402c0c
4
+ data.tar.gz: 5cc96d82890afb10609e36d762a042b4316c32fc
5
5
  SHA512:
6
- metadata.gz: ce8624189f044dba3e87efb298c977559884096ed35cf7097b46764af13c53b344749d404414acc83d752cd0752e7ba088de3d9713b86edbeb79334edccf73ef
7
- data.tar.gz: 66bb62657572a5935aad323d1f03cbdd5a20c3ea88d6921c7a7cac9d840d700fa2cc0534dfdd3953a99a21cc4e95aed89802867ebefdb7f2c39c9bf21fe39153
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
- scan_to_h(line.join(padding))
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.10
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-10-16 00:00:00.000000000 Z
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