manalang-bdoc 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/History.txt +6 -0
  2. data/lib/bdoc.rb +1 -1
  3. data/templates/index.html +3 -4
  4. metadata +1 -1
data/History.txt CHANGED
@@ -1,3 +1,9 @@
1
+ == 0.2.1 2009-04-06
2
+
3
+ * 2 bug fixes from vesan
4
+ * Fix CSS to prevent gem list from blowing up in Safari 4 Beta
5
+ * HTML escape gem descriptions
6
+
1
7
  == 0.1.9 2009-04-02
2
8
 
3
9
  * 1 bug fix
data/lib/bdoc.rb CHANGED
@@ -8,7 +8,7 @@ require 'launchy'
8
8
  require 'json'
9
9
 
10
10
  module Bdoc
11
- VERSION = '0.2.0'
11
+ VERSION = '0.2.1'
12
12
 
13
13
  class << self
14
14
  attr_accessor :output_dir
data/templates/index.html CHANGED
@@ -62,6 +62,7 @@ body { background: #aaa }
62
62
  }
63
63
  #nav .gemname {
64
64
  font-size:1.2em;
65
+ white-space:nowrap;
65
66
  }
66
67
  #nav span.gemname {
67
68
  color:#aaa;
@@ -84,9 +85,7 @@ body { background: #aaa }
84
85
  width:100%;
85
86
  height:100%;
86
87
  }
87
- .gem {
88
- white-space:nowrap;
89
- }
88
+ .gem {}
90
89
  #current a {
91
90
  font-weight:bold;
92
91
  }
@@ -154,7 +153,7 @@ body { background: #aaa }
154
153
  <% @gems.each do |gem| %>
155
154
  <span class="gem">
156
155
  <% if gem[:versions].last[:rdoc_index] %>
157
- <a href="<%= gem[:versions].last[:rdoc_index] %>" class="gemname" title="<%= gem[:description] %>" rel="<%= gem[:homepage] %>"><%= gem[:name] %></a>
156
+ <a href="<%= gem[:versions].last[:rdoc_index] %>" class="gemname" title="<%= ERB::Util.h gem[:description] %>" rel="<%= gem[:homepage] %>"><%= gem[:name] %></a>
158
157
  <% else %>
159
158
  <span class="gemname quiet" title="<%= gem[:description] %>">*<%= gem[:name] %></span>
160
159
  <% end %>
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.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rich Manalang