lineparser 0.1.9 → 0.1.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
  SHA1:
3
- metadata.gz: 948f31faa83c01eacf64413526966d48b64b6a0b
4
- data.tar.gz: 5ffd14d557438e5f4c1c8b3f2c740f9b37d5cb46
3
+ metadata.gz: c3f4bad2d8c2f824ff08e852aed2ab4f7c4aaa36
4
+ data.tar.gz: 0a542d49541e7d17be316cc9232d9a1964d47efa
5
5
  SHA512:
6
- metadata.gz: 7aa4feb261abafb3bfa01cf38eb90fb6987524b52fa91692aac093538074cab88ffa447704a6a0ee4f35cd480891ef4e77da79bcc5457f2f5906fe70d034c4a8
7
- data.tar.gz: 68acfe69b787153b259ca6c7f7252a4cac6198cc6634ffb801b696a979b116f3d0683c8afa9f22fdabb143e817148cc446b64ac5f68af5ba553f56cf0763efde
6
+ metadata.gz: eec5cd02f0a3365af75e0a7783190a34e597c9cd7a806f0d8fd01d8ba419a90eee4e3a8bfa81565abc2e4f62477df661d71e02b919f6492fd53df6d1ef21f464
7
+ data.tar.gz: c682e356e4e8f51f0613821ed268c978df14d0f4accd34dfd9d071cba087d53c29d35c573066b41c1c40f059ecd6a600a34cfe0da934f59e381aba9dd77f8dc8
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
Binary file
data/lib/lineparser.rb CHANGED
@@ -115,7 +115,7 @@ class LineParser
115
115
  if k.first == :captures then
116
116
 
117
117
  k[-1].map.with_index.to_a.inject({}) do |r2,x|
118
- r.merge! ('captures' + x[-1].to_s).to_sym => x[0] if x[-1]
118
+ r.merge! ('captures' + x[-1].to_s).to_sym => x[0] if x[0]
119
119
  end
120
120
  else
121
121
  r.merge k[0][/\w+/] => k[-1]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lineparser
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9
4
+ version: 0.1.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
metadata.gz.sig CHANGED
@@ -1,2 +1,2 @@
1
- �`�8��x)!0.�I�:?#�ۭ���� ��4Ǟ^0�*~{Y�z�����v�SF�-�6V��H��>U7�7 ޿ �r�یy�+�����]��� w���ڨ1/6X�/���]r���jRWxd�,��j��x��̸���;�
2
- B?��˔$�Nhp�>nF0��!����k��!߉�˖��|Jnx�<k(���Z���o���%me=���c=�Ě�x_�0w������b��i“k�]A7��
1
+ 6�}���-($�f�9!��� ��!.�6��7���౏6�CD�;x�~��i�,o>��u!�L����^`�S����&!��
2
+ 8!(�� 1b{����>��ݖ����1j���?��&�(�4��?�,�Bl��.OQ��d�}DZ�*6菭�#M�wj 6e��:�3�e�r�4�K�6Z�@Φ���1�I�d�\Vh�͙{�T��_%��#�VDur3KNm���]J>����k��VU��g���N