yard-slipstream 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc CHANGED
@@ -6,7 +6,7 @@ So go on, lets give yard a styleover.
6
6
 
7
7
  == Demo
8
8
 
9
- http://dreamcat4.github.com/plist4r/
9
+ http://dreamcat4.github.com/plist4r
10
10
 
11
11
  == Usage
12
12
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.5
1
+ 0.1.6
@@ -1,15 +1,15 @@
1
1
  <div id="menu">
2
2
  <% if object.is_a?(CodeObjects::Base) && @file.nil? %>
3
3
  <% if object.root? || object.type == :method %>
4
- <%= link_url('object_index.html', 'Index') %>
4
+ <%= link_url(url_for('object_index.html'), 'Index') %>
5
5
  <% else %>
6
- <%= link_url('object_index.html', "Index (#{object.name.to_s[0,1]})") %>
6
+ <%= link_url(url_for('object_index.html'), "Index (#{object.name.to_s[0,1]})") %>
7
7
  <% end %> &raquo;
8
8
  <%= @breadcrumb.map {|obj| "<span class='title'>" + linkify(obj, obj.name) + "</span>" }.join(" &raquo; ") %>
9
9
  <%= @breadcrumb.size > 0 ? " &raquo; " : "" %>
10
10
  <span class="title"><%= object.root? ? "Top Level Namespace" : object.name(true) %></span>
11
11
  <% else %>
12
- <% if object != 'object_index.html' %><%= link_url('object_index.html', 'Index') %> &raquo; <% end %>
12
+ <% if object != 'object_index.html' %><%= link_url(url_for('object_index.html'), 'Index') %> &raquo; <% end %>
13
13
  <span class="title"><%= @breadcrumb_title %></span>
14
14
  <% end %>
15
15
 
@@ -19,7 +19,11 @@
19
19
  return item.text;
20
20
  }
21
21
  }).result(function(event, item) {
22
- location.href = relpath + $(item.href_tag).attr("href");
22
+ if (window.location.search) {
23
+ window.location.href = relpath + $(item.href_tag).attr("href");
24
+ } else {
25
+ location.href = relpath + $(item.href_tag).attr("href");
26
+ }
23
27
  });
24
28
  }
25
29
  });
@@ -3,6 +3,5 @@
3
3
  <%= child_files[1..-1].map {|f| f.first }.join(",<br /> ") %></span><% end %>
4
4
  <% else %>
5
5
  <%= object.file %><% if object.files.size > 1 %><span class="defines">,<br />
6
- <%= object.files[1..-1].map {|f| f.first }.join(",<br /> ") %></span>
7
- <% else %><span class="defines">,<br /></span><% end %>
6
+ <%= object.files[1..-1].map {|f| f.first }.join(",<br /> ") %></span><% end %>
8
7
  <% end %>
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{yard-slipstream}
8
- s.version = "0.1.5"
8
+ s.version = "0.1.6"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Dreamcat4"]
12
- s.date = %q{2010-04-11}
12
+ s.date = %q{2010-04-17}
13
13
  s.description = %q{yard-slipstream is a yard plugin for Yard-0.5.3 and higher. Slipstream gives users an option for faster page navigation in their yard documents. We just want to optimize the most frequent lookups and remove any duplicate info. Other than that its just plain straight Yard, with all the same "look and feel" as the default template.}
14
14
  s.email = %q{dreamcat4@gmail.com}
15
15
  s.extra_rdoc_files = [
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 5
9
- version: 0.1.5
8
+ - 6
9
+ version: 0.1.6
10
10
  platform: ruby
11
11
  authors:
12
12
  - Dreamcat4
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-04-11 00:00:00 +01:00
17
+ date: 2010-04-17 00:00:00 +01:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency