roger_style_guide 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/roger_style_guide/helpers/toc_helper.rb +1 -1
- data/lib/roger_style_guide/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bb32b7cb5151e747675bd99209ea4c41d982f389
|
4
|
+
data.tar.gz: 15fa85752b59b2ade9ddba9f53662a20c7c61d66
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b54841f729db6f0dadb67e35fcf42a01030a861ebb990cb3823df0e9d16c6aed357b257f655642a826b48cd2b57409a5790143ed9769806842a6f2bde2e8a6ff
|
7
|
+
data.tar.gz: 09c276fb474cb6990bee50cb8947ef0f047e7a7a942c1f7c39434884e4aed764760b1c042b62388773d3ff09c67bdbf82b55cc67a083a1dd1f9f6771befdc074
|
@@ -75,7 +75,7 @@ module RogerStyleGuide::Helpers::TocHelper
|
|
75
75
|
# Don't go deeper if we reached max_depth
|
76
76
|
return if level >= max_depth
|
77
77
|
|
78
|
-
path.entries.each do |entry|
|
78
|
+
path.entries.sort.each do |entry|
|
79
79
|
entry_path = path + entry
|
80
80
|
|
81
81
|
# Normalize paths, removing all "." and "_" files
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: roger_style_guide
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Flurin Egger
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-09-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: roger
|
@@ -185,7 +185,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
185
185
|
version: '0'
|
186
186
|
requirements: []
|
187
187
|
rubyforge_project:
|
188
|
-
rubygems_version: 2.
|
188
|
+
rubygems_version: 2.6.10
|
189
189
|
signing_key:
|
190
190
|
specification_version: 4
|
191
191
|
summary: Styleguide plugin for Roger
|