RTFMd 0.10301.15 → 0.10301.16
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.
- data/README.md +7 -3
- data/RTFMd.gemspec +1 -1
- data/config/rtfmd.ru +1 -2
- metadata +8 -6
data/README.md
CHANGED
|
@@ -33,11 +33,15 @@ To view your RTFMd repository locally via the built in web
|
|
|
33
33
|
interface, unblde the RTFMd and thin gem, navigate to your repository
|
|
34
34
|
via the command line, and run:
|
|
35
35
|
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
RTFM_ROOT="/"
|
|
37
|
+
RTFM_REPOS="$HOME:/home $HOME/work/project_a $HOME/work/project_b"
|
|
38
|
+
rcport RTFM_ROOT RTFM_REPOS
|
|
39
|
+
|
|
40
|
+
RTFM_RU=$(bundle show RTFMd)/config/rtfmd.ru
|
|
41
|
+
bundle exec thin start -R $RTFM_RU
|
|
38
42
|
|
|
39
43
|
This will start up a web server running the RTFMd frontend and you can view
|
|
40
|
-
your wiki at http://localhost:3000
|
|
44
|
+
your wiki at http://localhost:3000
|
|
41
45
|
|
|
42
46
|
## REPO STRUCTURE
|
|
43
47
|
|
data/RTFMd.gemspec
CHANGED
data/config/rtfmd.ru
CHANGED
|
@@ -7,9 +7,8 @@ rtfm_root = ENV['RTFM_ROOT'] || "/"
|
|
|
7
7
|
Precious::App.set(:roots => {})
|
|
8
8
|
|
|
9
9
|
ENV['RTFM_REPOS'].split(/[\s,]+/).each do |repo|
|
|
10
|
-
wiki_path, base_path = repo.split(":")
|
|
11
10
|
unless base_path
|
|
12
|
-
base_path = File.basename(wiki_path)
|
|
11
|
+
base_path = "/#{File.basename(wiki_path)}"
|
|
13
12
|
end
|
|
14
13
|
|
|
15
14
|
Precious::App.settings.roots[base_path] = {
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: RTFMd
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
5
|
-
prerelease:
|
|
4
|
+
hash: 41163
|
|
5
|
+
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 10301
|
|
9
|
-
-
|
|
10
|
-
version: 0.10301.
|
|
9
|
+
- 16
|
|
10
|
+
version: 0.10301.16
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Tom Bombadil
|
|
@@ -17,7 +17,8 @@ autorequire:
|
|
|
17
17
|
bindir: bin
|
|
18
18
|
cert_chain: []
|
|
19
19
|
|
|
20
|
-
date: 2011-12-16 00:00:00
|
|
20
|
+
date: 2011-12-16 00:00:00 -08:00
|
|
21
|
+
default_executable:
|
|
21
22
|
dependencies:
|
|
22
23
|
- !ruby/object:Gem::Dependency
|
|
23
24
|
name: grit
|
|
@@ -252,6 +253,7 @@ files:
|
|
|
252
253
|
- lib/gollum/pagination.rb
|
|
253
254
|
- lib/gollum/sanitization.rb
|
|
254
255
|
- lib/gollum/wiki.rb
|
|
256
|
+
has_rdoc: true
|
|
255
257
|
homepage: https://github.com/HeSYINUvSBZfxqA/RTFMd
|
|
256
258
|
licenses: []
|
|
257
259
|
|
|
@@ -281,7 +283,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
281
283
|
requirements: []
|
|
282
284
|
|
|
283
285
|
rubyforge_project:
|
|
284
|
-
rubygems_version: 1.
|
|
286
|
+
rubygems_version: 1.3.7
|
|
285
287
|
signing_key:
|
|
286
288
|
specification_version: 2
|
|
287
289
|
summary: A simple, Markdown documentation helper.
|