docubot 0.2.1 → 0.2.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.
@@ -20,7 +20,7 @@ module FileUtils
20
20
  end
21
21
 
22
22
  module DocuBot
23
- VERSION = '0.2.1'
23
+ VERSION = '0.2.2'
24
24
  DIR = File.expand_path( File.dirname( __FILE__ ) )
25
25
 
26
26
  TEMPLATE_DIR = DIR / 'docubot/templates'
@@ -10,7 +10,9 @@
10
10
  <LI> <OBJECT type="text/sitemap">
11
11
  <param name="Name" value="<%=CGI.escapeHTML child.title%>">
12
12
  <param name="Local" value="<%=FileUtils.win_path( @html_path / child.html_path ).gsub('&','%26')%>">
13
- <%if child.sublink?
13
+ <%if child.icon?
14
+ %><param name="ImageNumber" value="<%=child.icon%>"><%
15
+ elsif child.sublink?
14
16
  %><param name="ImageNumber" value="17"><%
15
17
  elsif child.leaf?
16
18
  %><param name="ImageNumber" value="11"><%
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: docubot
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gavin Kistner