kvx 0.6.3 → 0.6.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +2 -2
- data/lib/kvx.rb +3 -3
- metadata +1 -1
- 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: 2df63d5a006445b29a5fa9fd63ad6182528fae09
|
|
4
|
+
data.tar.gz: 21db5cf3c6074ba715f4e4624224655eb06dca22
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 29302c6486105715ea93b8338e85c2c96c422472b380182295564faf32528c3a96403b228fc1b8493b69aa0d010fe478fc18c665daa95f1e6f1d7ad158a0c045
|
|
7
|
+
data.tar.gz: da94df925b2734d9f85bbb2c7fbc21649d199edbf87db02c635e453fa510ad51ac07dca1b121d02418a7cad06f1e9685cef890cb5995b8b9769735a5f9a2aebd
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data.tar.gz.sig
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
�Oo�+<��9"&�~����(�R����[X���&?x�]�=�T���q�K�g1%,8|�Y�� �4�M�*�(����гM�8U���V�U�ltfq�0'v�s�q����ޣ���2G�K+#Q���fF}YX�"�����ʈr/fs��o@����ح+���%�&B��B4����
|
|
2
|
+
�r�yOz������8�'/�Ev���*q�a��>�:�98:�ݙI_�Ac?uA�ٗ��v����a�T7��7
|
data/lib/kvx.rb
CHANGED
|
@@ -225,12 +225,12 @@ class Kvx
|
|
|
225
225
|
|
|
226
226
|
raw_a = LineTree.new(txt.gsub(/(^-*$)|(#.*)/,'').strip,
|
|
227
227
|
ignore_blank_lines: false).to_a
|
|
228
|
-
|
|
228
|
+
|
|
229
229
|
# if there are any orphan lines which aren't nested underneath a
|
|
230
230
|
# label, they will be fixed using the following statement
|
|
231
231
|
|
|
232
|
-
a = raw_a.chunk {|x| x[0][
|
|
233
|
-
if r.last and !y.first[
|
|
232
|
+
a = raw_a.chunk {|x| x[0][/^[^:]+:|.*/]}.inject([]) do |r,y|
|
|
233
|
+
if r.last and !y.first[/[^:]+:/] then
|
|
234
234
|
r.last << y.last[-1]
|
|
235
235
|
else
|
|
236
236
|
r << y.last[-1]
|
metadata
CHANGED
metadata.gz.sig
CHANGED
|
Binary file
|