kvx 0.9.9 → 0.9.10

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: 15f341e0536edd706c0b9fcaef3f72644aa71ddada69de76d4a79d223b9b5ec6
4
- data.tar.gz: 7bd3ba8db13f0dfa1369d4694fc4ef5d6e7159b9494ef1cb7c792b6a2a1c9d0b
3
+ metadata.gz: 109d12cb0e82c682e94c369c81726331070e2a7e57d6d88fea4c1701701c7c1e
4
+ data.tar.gz: f84bdb9a378f13abb834f6e7be36924812ad1028b7c6846c002c44f3e4b69ead
5
5
  SHA512:
6
- metadata.gz: a57d322f8186ea30dbe81b657192dee6729d6dce7026f8ca96fef38199dcff3bf7158c122aa9a8181759360b50d4813a5a62a5cdb81767e4f81566a0ae495f0f
7
- data.tar.gz: 7058b1386cd2045b6871848c8ae140ebe498cc50e7c8c356a5f6d003f3e74d9334533d727ec595cfebfe769c673c4da5cd5fda555d89ae2147918b5777bbd53e
6
+ metadata.gz: 5769d109589a3c4d5d65131ef45cc78a27d3e63c82029a86d60cb12adcd2be2ec5da7b0c5fde77646fee357072fad8c58934ac1d413d97e2c313905c3cd8c709
7
+ data.tar.gz: 56982a372339f230ea947a8ac0f2d0e0cd5e297c86b1cd4fd38aec1a0557e6a273bbe25e0cfc5c7cb959af73a56fcf972387ec595a73eae7327d49302bfaa19b
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
@@ -1 +1,2 @@
1
- ��n�^�=g�吝�l��Dgm��n�����|/�ɺ�D�.�^�k0B�*Gc�~���$��-�15EV��$����@���A���}���LvZ��1���;[ ��dk���g�������ϷA��ZR/
1
+ tL%C�����4:����(T���Ǹc_��J)p���CO=��7E$"R� Dž�W�id��c�:A����m��"(��/[����"��(V�v³��1.��A_bx�1ej�y�#w�ș�-@?a����*����ƕ9)[�}|���P��[��գ�Nqu(2O
2
+ �!��2�]@�!0�)� d��^�������:�r@*nt�X�*� ��Zaâ��1���!�G g��t����� �dY6C��VB�K*wn>��v(��&�*�mT9`����1�&��eBD��e|�GUۦ�jsm�����"���;Χ)���g\�7��
data/lib/kvx.rb CHANGED
@@ -336,7 +336,7 @@ class Kvx
336
336
 
337
337
  lines = txt.gsub(/^-+$/m,'').lines.map do |line|
338
338
 
339
- if not line[/^ *[^:]+:|^ +/] then
339
+ if not line[/^ *\w+:|^ +/] then
340
340
  indent + ' ' + line
341
341
  else
342
342
  indent = line[/^ +/] || ''
@@ -355,6 +355,7 @@ class Kvx
355
355
  # label, they will be fixed using the following statement
356
356
 
357
357
  a = raw_a.chunk {|x| x[0][/^[^:]+:/]}.inject([]) do |r,y|
358
+
358
359
 
359
360
  puts 'r: ' + r.inspect if @debug
360
361
 
@@ -381,7 +382,7 @@ class Kvx
381
382
  padding = line[0].length < 2 ? "\n" : "\n "
382
383
  s10 = line.map{|x| x.join(padding)}.join("\n")
383
384
 
384
- r2 = if s10[/^[^:]+:[\n ]/] then
385
+ r2 = if s10[/^ *\w+:[\n ]/] then
385
386
 
386
387
  scan_to_h(s10)
387
388
 
@@ -397,6 +398,7 @@ class Kvx
397
398
  end
398
399
 
399
400
  r3 = {description: txt2, items: h}
401
+ puts 'remaining: ' + remaining.inspect if @debug
400
402
 
401
403
  if remaining then
402
404
  r3.merge!(scan_to_h remaining + "\n ")
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.9
4
+ version: 0.9.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -35,7 +35,7 @@ cert_chain:
35
35
  m/+jxdgFjKKGxeZqunu9cp5ca9wSjjtKh/VA/3xZtPwokCa7vCMB+ZxUP0jvd++u
36
36
  OTXy8k/zqddw/VfD/It1UUK4
37
37
  -----END CERTIFICATE-----
38
- date: 2021-06-05 00:00:00.000000000 Z
38
+ date: 2021-06-06 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