polyrex-headings 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/polyrex-headings.rb +6 -2
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 30d320ec3a85a1f1cbf02386055aa990b9e43774
|
4
|
+
data.tar.gz: 4f64cfdba7853716e010617a46911d8ea9359de8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ce10b4e0cf6d3d906d1435c4d38bdb81d48299e1e63fd15441018d48d7457a1a244e7ec1ef0f0aa2a6ca9133b64fff1d95c0089fa5a5be46dd6aa3f2ad22bd1d
|
7
|
+
data.tar.gz: 54d8512dc605e8a9ca469787b1a5ae0c4fd17da33977cec9001085114f950e99850ce2cd9d5c7ae80baf3a74eadc3ce62c59afb333e2ad7451284b9ba2b1fadc
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/polyrex-headings.rb
CHANGED
@@ -47,11 +47,15 @@ class PolyrexHeadings
|
|
47
47
|
|
48
48
|
lines = x.lines
|
49
49
|
raw_heading = lines.shift.rstrip
|
50
|
+
|
51
|
+
body = lines.join.strip
|
52
|
+
|
53
|
+
if type == :rowx and body.length > 0
|
50
54
|
|
51
|
-
if type == :rowx
|
52
55
|
lines2 = ["\n"] +
|
53
|
-
RowX.new(
|
56
|
+
RowX.new(body, level: 0).to_lines(delimiter: ' # ') << "\n"
|
54
57
|
else
|
58
|
+
|
55
59
|
lines2 = lines
|
56
60
|
end
|
57
61
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: polyrex-headings
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -31,7 +31,7 @@ cert_chain:
|
|
31
31
|
vMdoPmHODROmaBsBeXs0T155GSR9YIFca78CXJGUE108Vgao95n3mKksxyTbKm2Y
|
32
32
|
nSBX7qKERZEaiQ==
|
33
33
|
-----END CERTIFICATE-----
|
34
|
-
date: 2017-01-
|
34
|
+
date: 2017-01-10 00:00:00.000000000 Z
|
35
35
|
dependencies:
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: polyrex
|
metadata.gz.sig
CHANGED
Binary file
|