yard-slipstream 0.1.5 → 0.1.6
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.
data/README.rdoc
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1.
|
|
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 %> »
|
|
8
8
|
<%= @breadcrumb.map {|obj| "<span class='title'>" + linkify(obj, obj.name) + "</span>" }.join(" » ") %>
|
|
9
9
|
<%= @breadcrumb.size > 0 ? " » " : "" %>
|
|
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') %> » <% end %>
|
|
12
|
+
<% if object != 'object_index.html' %><%= link_url(url_for('object_index.html'), 'Index') %> » <% 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
|
-
|
|
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 %>
|
data/yard-slipstream.gemspec
CHANGED
|
@@ -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.
|
|
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-
|
|
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
|
-
-
|
|
9
|
-
version: 0.1.
|
|
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-
|
|
17
|
+
date: 2010-04-17 00:00:00 +01:00
|
|
18
18
|
default_executable:
|
|
19
19
|
dependencies:
|
|
20
20
|
- !ruby/object:Gem::Dependency
|