line-tree 0.3.12 → 0.3.13

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: c00193074bbab97046649fb78696ba523bf84c2d
4
- data.tar.gz: 7376635262f4565be462ee035add4e7a1165a403
3
+ metadata.gz: c19286085c44300b97ceba9c4a77a01b4c053c83
4
+ data.tar.gz: dffda321c00226875131dc88829cacf5b8469958
5
5
  SHA512:
6
- metadata.gz: 56861d26bbb9ab64e4f6702c5be4d4e13f1d69d49a7486b63d5973c222b2b3bea7976875d3974026edbfe4c0d1d975049a8e93c5d72bff6660dc926847c2bdc3
7
- data.tar.gz: 255518530984ecc5a5d4dc0e0c1a5229057f82bc9e0c726174eb8da4a508a25b6a3d74572828e835dc6cf1550941056b8add8af64bb3d0f1bccc83cb1c977664
6
+ metadata.gz: ab9705d0ac30914bf2ae0aeaca23ee902273f676733f5548b2c4f1e4aca5f1be66ddb888a26a7db9bedefafd42fc8d0409e3b75c45c92e7b1d1c8cf34e4ff9d3
7
+ data.tar.gz: 24b6ccc5840ad37536263b61904b688d3084546af9af8a67b4ab2ffff92a7764f8b6c428640a24e57ec31941ae25a4f4f975b2240896672a7b66f941bc5ba67b
checksums.yaml.gz.sig CHANGED
Binary file
data/lib/line-tree.rb CHANGED
@@ -30,7 +30,7 @@ class LineTree
30
30
  new_lines.length > 0 ? label + [new_lines] : label
31
31
  end
32
32
  else
33
- [x.gsub(/^\s{2}/,'')]
33
+ [x.lines.map{|x| x.sub(/^\s{2}/,'')}.join]
34
34
  end
35
35
  end
36
36
  end
@@ -45,6 +45,7 @@ class LineTree
45
45
  end
46
46
 
47
47
  def get_attributes(s)
48
+
48
49
  a = s[/{(.*)}/,1].split(',').map do |attr|
49
50
  attr.match(/\s*([^:=]+)[:=]\s*['"]*([a-zA-Z0-9\(\);\-\/:\.\s]*)/).captures
50
51
  end
data.tar.gz.sig CHANGED
@@ -1,2 +1,2 @@
1
- �jXG$N �P�mC6:�["t�����6T�/�(��
2
- ��2X��sx�����#<�k��~�h&�Ha��u��h��H[Γi�O�q��ln��x�D�O� ��z��m�)�08>O'[?8'��D�� {
1
+ xU���V������?����e^s5`˜N���e �� {1�QwΞ�Ԟj�'��m� q��P��/��F�����{PoF8�yB���7���Ĩ�gN$���/
2
+ d����Ŗ����I'i⬿�N��+�D�V����6*�{
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.3.12
4
+ version: 0.3.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
metadata.gz.sig CHANGED
Binary file