docme 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/bin/docme +3 -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: 1ac5902ae4b69faf912b9d8292032f3c20f52cdf
|
4
|
+
data.tar.gz: 009d32386e4928109a31869fa51d571c665d9e0b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9edcc0d4e8a5fdded0092970c68834e55fc86397310eeea4edecf173d5acf58f717d09ad3ed428f786560b7f7d5d4f4e9d2c74546cb8f0cc8f7e85846556eb62
|
7
|
+
data.tar.gz: 63be15cecdea2b4d5aeb95c5f0f1028e0413873e806a43ddcd9d64d33ffc9f45751ad86be668019dedb05aadb31b7e1a151931ea029a0a852b477a9b1dd9229d
|
data/bin/docme
CHANGED
@@ -25,13 +25,15 @@ if File.directory?(path)
|
|
25
25
|
|
26
26
|
next if file.rindex('.', 0)
|
27
27
|
|
28
|
+
#if there is a sub directory
|
28
29
|
if File.directory?(path+"/"+file)
|
30
|
+
#for each file in the sub directory
|
29
31
|
Dir.foreach(path + "/"+ file) do |f|
|
30
32
|
next if f == '.' || f == '..'
|
31
33
|
|
32
34
|
next if f.rindex('.', 0)
|
33
35
|
|
34
|
-
next if File.directory?(path+"/"+f)
|
36
|
+
next if File.directory?(path+"/"+file+"/"+f)
|
35
37
|
|
36
38
|
page = Docme.jsParse(path+"/"+file+"/"+f)
|
37
39
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: docme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bailey Belvis
|
@@ -13,7 +13,7 @@ dependencies: []
|
|
13
13
|
description: A gem to support easy documentation for any file that recognizes `/*
|
14
14
|
*/` as a code block. This gem lets you easily parse multiple files in a directory
|
15
15
|
and generate documentation that can be viewed in the browser. See the homepage
|
16
|
-
for syntax and examples.
|
16
|
+
and wiki for syntax and examples.
|
17
17
|
email: baileyb622@gmail.com
|
18
18
|
executables:
|
19
19
|
- docme
|