trac-export-wiki 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -13,7 +13,7 @@ end
13
13
 
14
14
  desc "Installs the gem"
15
15
  task :install => :gem do
16
- sh "#{SUDO} gem install trac-export-wiki-1.0.0.gem --no-rdoc --no-ri"
16
+ sh "#{SUDO} gem install #{SPEC.full_name}.gem --no-rdoc --no-ri"
17
17
  end
18
18
 
19
19
  begin
@@ -33,10 +33,10 @@ pages:
33
33
  - BoogieTraceability
34
34
  - PerformanceReport
35
35
  categories:
36
- mgmt: 'Management, Planning & Risk Analysis Docs'
37
- research: 'Research & Potential Strategies Docs'
38
- reqs: 'Requirements Docs'
39
- design: 'Design & Architecture'
40
- test: 'Testing & Implementation'
36
+ - mgmt: 'Management, Planning & Risk Analysis Docs'
37
+ - research: 'Research & Potential Strategies Docs'
38
+ - reqs: 'Requirements Docs'
39
+ - design: 'Design & Architecture'
40
+ - test: 'Testing & Implementation'
41
41
  wiki_title: JML4 Disco Documentation
42
42
  wiki_title_prefix: Disco
@@ -43,12 +43,15 @@ pages:
43
43
 
44
44
  # The full titles and order of the category short-names. These titles will be
45
45
  # listed in the order they are given on the index.html page.
46
+ #
47
+ # Note: Make sure to include the '-' before the short-name, since this has to
48
+ # be a list.
46
49
  categories:
47
- mgmt: 'Management, Planning & Risk Analysis Docs'
48
- research: 'Research & Potential Strategies Docs'
49
- reqs: 'Requirements Docs'
50
- design: 'Design & Architecture'
51
- test: 'Testing & Implementation'
50
+ - mgmt: 'Management, Planning & Risk Analysis Docs'
51
+ - research: 'Research & Potential Strategies Docs'
52
+ - reqs: 'Requirements Docs'
53
+ - design: 'Design & Architecture'
54
+ - test: 'Testing & Implementation'
52
55
 
53
56
  # The wiki title listed on the index.html page
54
57
  wiki_title: JML4 Disco Documentation
@@ -126,7 +126,7 @@ module TracWiki
126
126
  <h1>#{config.wiki_title}</h1>
127
127
  eof
128
128
  config.categories.each do |line|
129
- cat, name = *line
129
+ cat, name = *(Hash === line ? [line.keys.first, line.values.first] : line)
130
130
  index += "<h2>#{name}</h2>\n"
131
131
  index += "<ul>\n"
132
132
  config.pages.select {|k,v| k == cat }.each do |cat, docs|
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 0
8
- - 0
9
- version: 1.0.0
8
+ - 1
9
+ version: 1.0.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Loren Segal