raddocs 1.0.0 → 1.0.1
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/lib/raddocs/app.rb +6 -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: ffbd193e9c8f8b0bf7fd8e25fdee03e5b3f421c7
|
|
4
|
+
data.tar.gz: 02f48976120eeaedd38ad8698f7c0a26fec12d2c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 57e35b21e0e6a3f928c5e0d7325ea81225340e27fc62269fa0c77f698529917f231b6e451580273a7e14256de48c069a34e550866b31b2b87e63c2bcb6b04aab
|
|
7
|
+
data.tar.gz: ebaf4933fcedc78144fe7aec56b71e581428b7c508f0d6b8c7504c9fd5df8987bfb5dd402126f9822318f1ebb7e64332ea6f6e70ea0da14aeb33a4361284142f
|
data/lib/raddocs/app.rb
CHANGED
|
@@ -113,11 +113,16 @@ module Raddocs
|
|
|
113
113
|
end
|
|
114
114
|
|
|
115
115
|
def guides
|
|
116
|
-
|
|
116
|
+
return [] unless File.exist?(guides_index)
|
|
117
|
+
YAML.load(File.read(guides_index)).map do |guide_hash|
|
|
117
118
|
Guide.new(guide_hash)
|
|
118
119
|
end
|
|
119
120
|
end
|
|
120
121
|
|
|
122
|
+
def guides_index
|
|
123
|
+
File.join guides_dir, "guides.yml"
|
|
124
|
+
end
|
|
125
|
+
|
|
121
126
|
def guides_dir
|
|
122
127
|
Raddocs.configuration.guides_dir
|
|
123
128
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: raddocs
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Eric Oestrich
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-03
|
|
11
|
+
date: 2016-05-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: sinatra
|