awestruct-ibeams 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/awestruct-ibeams.gemspec +1 -0
- data/lib/awestruct/ibeams/asciidoc_sections.rb +2 -1
- data/lib/awestruct/ibeams/version.rb +1 -1
- metadata +17 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 16a593d1496deba5f9e3b895ed7ba64bc7edd1fb
|
4
|
+
data.tar.gz: 73baeca5c29ac1c1041f9c0dc63c62b296497762
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7b3c0f5b9b3a642c295549d78ca4f62e72b939328e30ca9201d71fd5d5106b2d465c8acabce692523eefe005b384726f1ed7a6559c3f30698c3301aa64cdd6e5
|
7
|
+
data.tar.gz: 82de1ba252100acfe98bae8b286a51d2d203c4955459e1c9e0455ecb75e88cacb1469f08165dedc139a51b05df59f7c979ec29f2ecd41587a35a8da171d6219f
|
data/awestruct-ibeams.gemspec
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
require 'asciidoctor'
|
2
|
+
require 'naturally'
|
2
3
|
require 'awestruct/ibeams/errors'
|
3
4
|
|
4
5
|
module Awestruct
|
@@ -25,7 +26,7 @@ module Awestruct
|
|
25
26
|
pages_by_path = site.pages.map { |p| [p.source_path, p] }.to_h
|
26
27
|
sections = []
|
27
28
|
|
28
|
-
Dir.glob(File.join(directory,
|
29
|
+
Naturally.sort(Dir.glob(File.join(directory, '*.{ad,adoc}'))).reverse_each do |adoc|
|
29
30
|
# Since all our documents are going to have front-matter so they render
|
30
31
|
# properly, we need to look first at the Awestruct::Page and then
|
31
32
|
# re-render to grab the sections from the asciidoc
|
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.4.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-12-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: awestruct
|
@@ -24,6 +24,20 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 0.5.6
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: naturally
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 2.1.0
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 2.1.0
|
27
41
|
description: Collection of helpful Awestruct extensions and helpers
|
28
42
|
email:
|
29
43
|
- tyler@monkeypox.org
|
@@ -62,7 +76,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
62
76
|
version: '0'
|
63
77
|
requirements: []
|
64
78
|
rubyforge_project:
|
65
|
-
rubygems_version: 2.5.
|
79
|
+
rubygems_version: 2.5.1
|
66
80
|
signing_key:
|
67
81
|
specification_version: 4
|
68
82
|
summary: Collection of helpful Awestruct extensions and helpers
|