simple-config 0.1.15 → 0.1.16

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e0a418d339e417f8c95585efe631cb4265212f06
4
- data.tar.gz: 7345dcbd253cb6bc0eed62d011c7c56b3b11464f
3
+ metadata.gz: 3802eadf526f76b397016241703e797aba91053c
4
+ data.tar.gz: ec5f8ae2dac660f98f63a85fa3a40530c87bbe92
5
5
  SHA512:
6
- metadata.gz: 5283216c3b1a99a6fc59a46b94d2658a6e262aa5c546e5821789da8f4a93f964503787f2693bb8e9c4d90cd69231bc588722805842726ba8528df153d1ca8f78
7
- data.tar.gz: e6674d2575184f34058b9e8d0cca37fd0cbd08e7fe9e11eaadf6c2fcc1ca6e6df751de80e13b3780df19129eedac848957607b8f5e201b55ff4723e53ffe001b
6
+ metadata.gz: 0d1b5026c0cd3f59003531f2ef2836b1bea4f05117c5f4f567d3a478068e24944b65f6fc6e5498568bd6698fc33545ba48ed36dc84c5bd0466805773dcc54e2f
7
+ data.tar.gz: e34abe993b229824625535cc911c63a57101e1230716a70f456b8210e3144ee088b20ee64f983b629b8f55a664eb09608f4df343501cdc1e75071d43d827d505
checksums.yaml.gz.sig CHANGED
Binary file
data/lib/simple-config.rb CHANGED
@@ -40,7 +40,8 @@ class SimpleConfig
40
40
 
41
41
  def scan_to_h(txt)
42
42
 
43
- raw_a = LineTree.new(txt.gsub(/(^-*$)|(#.*)/,'').strip).to_a
43
+ raw_a = LineTree.new(txt.gsub(/(^-*$)|(#.*)/,'').strip,
44
+ ignore_blank_lines: false).to_a
44
45
 
45
46
  # if there are any orphan lines which aren't nested underneath a
46
47
  # label, they will be fixed using the following statement
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple-config
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.15
4
+ version: 0.1.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -31,7 +31,7 @@ cert_chain:
31
31
  GOyi72Dr1XTvfW8Vje543EzUeJP4EjrtsoS0tbx5hs2J8Ey8zv39aU4aNyM1h0Fv
32
32
  1BzvTQ2PY7IAEQ==
33
33
  -----END CERTIFICATE-----
34
- date: 2014-12-27 00:00:00.000000000 Z
34
+ date: 2014-12-28 00:00:00.000000000 Z
35
35
  dependencies:
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: line-tree
metadata.gz.sig CHANGED
@@ -1 +1,2 @@
1
- @b��&Y}j���%� ��6P��O7B��h�Љ�|~���b����b��nI��~| %5G ޿RwmQ�O98v\�dT���t�掇_Nx1�b�7��+�>��݌���*��"g�Eު�m1��Jn����~�����kye#�R���J�c��"-�?vSi�`7l��;��L�ן]Ok���B�� �%��$-(��]ĕ�
1
+ T頊�vβ�D����u]�e\:U3s>'n]_"J�*�2}>��v\BDO%yM��$.�1�,�� ��|��>��
2
+ R���"�W�d���w9Tl��=�+s�@��讫ߖY���7_!��[�3��b'�e�x��Z`^�*໶0��"���B�sD%p��|\��Ӧ�E������:_��V���#��uV���n��j�M:��z�"���_�+�����ʓ���M}'j�DY���F�Y�a����#