line-tree 0.5.2 → 0.5.3

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: 283168e8e2b3adbe5cea9a53be413966d1a4f7d1
4
- data.tar.gz: 2998e5da93c039f456a59eb2e9e6c25857801960
3
+ metadata.gz: 928f784dbf8e62a3b57e0cf6b6be1c733e26920c
4
+ data.tar.gz: 0062044a43e8af59a20ddd75cc8b84a5ceb6da21
5
5
  SHA512:
6
- metadata.gz: be1ef7f0f963a9431ffa9f59891a42287ee218ff876ebd95edea2b67f5f56b7bd2761400c9dae804de3b83843fb39efebd0c701d37b196b39706f0189771566d
7
- data.tar.gz: 7e295fb0f386b5b1d6a6f0557c4dc4223095dfe5c7032c290c88d81bcbd61d5333dead657fd56e8df338465c5756ac4e132302ab0f7f691c88cc4fa671f402aa
6
+ metadata.gz: 533fdc49f30247e88799e27385ec9f12db318a3a9477c1b3f0adccdb95a7b949b4e14e730d79939e27a0a59b300491cd8c41f93d82a862ac9ef109eb310cc284
7
+ data.tar.gz: 6570c45ee170f3c4ab2e9fab3e324395d6a5d70527ad5adb7e3208fd663e65850178af0a1bc3cc2b4a6d2f53c88a7815b9f2b987f42ad5bded899038bf6292f3
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
Binary file
data/lib/line-tree.rb CHANGED
@@ -14,7 +14,7 @@ class LineTree
14
14
  @ignore_non_element = ignore_non_element
15
15
  @ignore_label = ignore_label
16
16
 
17
- lines = ignore_blank_lines ? s.gsub(/^$\n/,'') : s
17
+ lines = ignore_blank_lines ? s.gsub(/^\s*$\n/,'') : s
18
18
  @to_a = scan_shift(lines.strip, level)
19
19
  end
20
20
 
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.2
4
+ version: 0.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -31,7 +31,7 @@ cert_chain:
31
31
  ErtlSTAImlBCK8q5BS4jBBt8VAEpNdkWpWbtDtLPA639pW2QWIcPx13ObWJh7Ejk
32
32
  THoVqqsHTfeg3g==
33
33
  -----END CERTIFICATE-----
34
- date: 2015-02-26 00:00:00.000000000 Z
34
+ date: 2015-03-01 00:00:00.000000000 Z
35
35
  dependencies:
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rexle
metadata.gz.sig CHANGED
Binary file