manalang-bdoc 0.1.5 → 0.1.7

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.
Files changed (4) hide show
  1. data/History.txt +10 -0
  2. data/lib/bdoc.rb +1 -1
  3. data/templates/index.html +5 -1
  4. metadata +1 -1
data/History.txt CHANGED
@@ -1,3 +1,13 @@
1
+ == 0.1.7 2009-03-30
2
+
3
+ * 1 bug fix
4
+ * don't display versions without rdocs
5
+
6
+ == 0.1.6 2009-03-30
7
+
8
+ * 1 bug fix
9
+ * layout issues
10
+
1
11
  == 0.1.5 2009-03-30
2
12
 
3
13
  * 1 bug fix
data/lib/bdoc.rb CHANGED
@@ -8,7 +8,7 @@ require 'launchy'
8
8
  require 'json/pure'
9
9
 
10
10
  module Bdoc
11
- VERSION = '0.1.5'
11
+ VERSION = '0.1.7'
12
12
 
13
13
  class << self
14
14
  attr_accessor :output_dir
data/templates/index.html CHANGED
@@ -26,7 +26,11 @@
26
26
  if(n.version==selectedVer) {
27
27
  selected = ' selected';
28
28
  }
29
- return ("<a href='" + n.rdoc_index + "' class='version"+ selected +"'>" + n.version + "</a>")
29
+ if(n.rdoc_index == null) {
30
+ return "";
31
+ } else {
32
+ return ("<a href='" + n.rdoc_index + "' class='version"+ selected +"'>" + n.version + "</a>");
33
+ }
30
34
  });
31
35
  $('#current').html($(this).clone()).append(" <span class='quiet'>" + versions.join("&nbsp;&nbsp;") + "</span>");
32
36
  $('#current a.gemname').attr('href',$(this).attr('rel')).click(function(){window.open(this.href);return false;});
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: manalang-bdoc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rich Manalang