line-tree 0.5.7 → 0.5.8

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: e19c4df01c5cc1e49c1a2027e4fe25b33cd7c108
4
- data.tar.gz: d5c3314fb2525afc9794513494cca8202fb667e8
3
+ metadata.gz: 28a77ac6717ca7feb49b8e9b593255a7ba0a03e6
4
+ data.tar.gz: 2ce6febf0fbc258ab069e556830657dcb4b90439
5
5
  SHA512:
6
- metadata.gz: 4e3b8abc6f3ababc817e05d84a149a524bda2e3887504bb2df71d1a53f25e1fca64e952b0d8183968b6807e324dca87b1541176a05ae46d063082916f8d75808
7
- data.tar.gz: 0d85d1a505c07939b3939b53f82bd4aa7f5ad2216569bd3d4f537699f46a2960a4b9cdf9e765b839a2ce7d12e4f5bbdee0b11961b70f4cc68d93fc8f600ea26a
6
+ metadata.gz: 290375391fe15d6c51350e35fea2693059f9fe5d28c76d3c36e537e9459fd04fe27d78440fb9a5ab9ff10f50872be214b6424492923c280b495c5f859a216d85
7
+ data.tar.gz: 249e6d804e922d65d5dd378d8d0a4680eebe7bff44f966a3a009bea1367419332a8f02abde4f8fd32fc6e1ae509de8e97ca547be542a202f9f264478ef1c15bf
checksums.yaml.gz.sig CHANGED
@@ -1,3 +1 @@
1
- ���3k>rW_��s�@ ~��ҠkD{"��#��&OMX bbAMf8����45TIf%�K���
2
- 5L��yJ�����:����\��6�+@�V�؆\����u�|pN�߮oAv;D�� ��I}vqf�k�K�2���Np��_�Q�V�@L� L7��ி)�� �֡���))K�fS
3
- �$5MÃ<��4��*��Y�3d�.�:����g���GGz
1
+ �����fG=kA�>�D\�3Q���Pѻ�����"v�(�:��G��Z'�{��Hln�q��O�S~iu��J_[����K(��^��eSԭ�����
data/lib/line-tree.rb CHANGED
@@ -33,6 +33,8 @@ class LineTree
33
33
 
34
34
  a = lines.split(/(?=^\S+)/)
35
35
 
36
+ return [a] if a.length <= 1 and a.first.strip.empty?
37
+
36
38
  a.map do |x|
37
39
 
38
40
  if @ignore_label == true or not x[/.*/][/^ *\w+:\S+/] then
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: line-tree
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.7
4
+ version: 0.5.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -31,7 +31,7 @@ cert_chain:
31
31
  m6UjuCKOiPqABbG2jvwjzF2RT9/yszKHPuB+qsEDC9HhonU7t7xizbYXXFCa7Ocj
32
32
  UE2/ecWxKMEncA==
33
33
  -----END CERTIFICATE-----
34
- date: 2017-03-05 00:00:00.000000000 Z
34
+ date: 2017-06-03 00:00:00.000000000 Z
35
35
  dependencies:
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rexle
metadata.gz.sig CHANGED
@@ -1 +1 @@
1
- J0nspL���z�v� HQ�Y~����]�w���]�����ה�Xv�g�2m�q$��7�ʯͻw��P&'x��gc���_U�){��%5:6 (�Ԭ�#�b�Oʬ���I��=Xfbhֈ���ڡ2V�
1
+ ��>�س8̒"]q3���"���Ymtz*}7i-���>?嶪=�?��Y\[n��U�?:��Ŗ��v�NC{o7Xp\��Dw���ꇙ��(����'9h ��As6e�5G�4Usc+�R!1*�75���p���Zd`8���5 K��nh.�T|me����U��yמ�3��ţ�0�C��/:Ӯ��S`[X����g�b�:D����lL�酶���~�?����,��t�3"q���o��K1��|lF