awestruct-ibeams 0.2.1 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/awestruct/ibeams/asciidoc_sections.rb +9 -2
- data/lib/awestruct/ibeams/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e321c95496905e6665bbb5cd5adabb4e643486eb
|
4
|
+
data.tar.gz: e0d6cdafe656992a1b3cd8d2468510f1b56806e5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bf44f22d01a2d9ae3e9359ddc0f643001c05e635ced6c4e165073f1ca21ecef7654157aa85be5ea5c449ca6617d2a1de56f3caeb58173b4cb6a1a6945e986067
|
7
|
+
data.tar.gz: 8bbf5d9a5757a9801126cd889df4af5e8c4cbb52dc51948c54a46a2c8d8fa31e03d495ef831adba33dfe7f48b365487e6f48f53426680f61fff878a7e6ca518e
|
@@ -37,7 +37,11 @@ module Awestruct
|
|
37
37
|
document.sections.each do |section|
|
38
38
|
sections << [
|
39
39
|
section.title,
|
40
|
-
|
40
|
+
{
|
41
|
+
:asciidoc => document,
|
42
|
+
:path => adoc,
|
43
|
+
:page => page,
|
44
|
+
},
|
41
45
|
url,
|
42
46
|
find_subsections_from(section, document)
|
43
47
|
]
|
@@ -64,7 +68,10 @@ module Awestruct
|
|
64
68
|
title = subsection.title
|
65
69
|
found << [
|
66
70
|
title,
|
67
|
-
|
71
|
+
{
|
72
|
+
:asciidoc => in_document,
|
73
|
+
:path => in_document.file,
|
74
|
+
},
|
68
75
|
section_anchor(title, in_document),
|
69
76
|
find_subsections_from(subsection, in_document),
|
70
77
|
]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: awestruct-ibeams
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- R. Tyler Croy
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-07-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: awestruct
|