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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e321c95496905e6665bbb5cd5adabb4e643486eb
4
- data.tar.gz: e0d6cdafe656992a1b3cd8d2468510f1b56806e5
3
+ metadata.gz: 16a593d1496deba5f9e3b895ed7ba64bc7edd1fb
4
+ data.tar.gz: 73baeca5c29ac1c1041f9c0dc63c62b296497762
5
5
  SHA512:
6
- metadata.gz: bf44f22d01a2d9ae3e9359ddc0f643001c05e635ced6c4e165073f1ca21ecef7654157aa85be5ea5c449ca6617d2a1de56f3caeb58173b4cb6a1a6945e986067
7
- data.tar.gz: 8bbf5d9a5757a9801126cd889df4af5e8c4cbb52dc51948c54a46a2c8d8fa31e03d495ef831adba33dfe7f48b365487e6f48f53426680f61fff878a7e6ca518e
6
+ metadata.gz: 7b3c0f5b9b3a642c295549d78ca4f62e72b939328e30ca9201d71fd5d5106b2d465c8acabce692523eefe005b384726f1ed7a6559c3f30698c3301aa64cdd6e5
7
+ data.tar.gz: 82de1ba252100acfe98bae8b286a51d2d203c4955459e1c9e0455ecb75e88cacb1469f08165dedc139a51b05df59f7c979ec29f2ecd41587a35a8da171d6219f
@@ -19,4 +19,5 @@ Gem::Specification.new do |spec|
19
19
  spec.require_paths = ["lib"]
20
20
 
21
21
  spec.add_dependency 'awestruct', '~> 0.5.6'
22
+ spec.add_dependency 'naturally', '~> 2.1.0'
22
23
  end
@@ -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, "*.{ad,adoc}")).sort.each do |adoc|
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
@@ -1,5 +1,5 @@
1
1
  module Awestruct
2
2
  module Ibeams
3
- VERSION = "0.3.0"
3
+ VERSION = "0.4.0"
4
4
  end
5
5
  end
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.3.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-07-29 00:00:00.000000000 Z
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.0
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