yard 0.5.3 → 0.5.4
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of yard might be problematic. Click here for more details.
- data/ChangeLog +443 -0
- data/README.md +5 -2
- data/docs/WhatsNew.md +8 -0
- data/lib/yard.rb +4 -4
- data/lib/yard/autoload.rb +34 -30
- data/lib/yard/cli/base.rb +14 -0
- data/lib/yard/cli/yard_graph.rb +5 -11
- data/lib/yard/cli/yardoc.rb +9 -8
- data/lib/yard/cli/yri.rb +2 -9
- data/lib/yard/code_objects/base.rb +9 -6
- data/lib/yard/code_objects/class_object.rb +5 -5
- data/lib/yard/code_objects/module_object.rb +3 -2
- data/lib/yard/core_ext/file.rb +1 -1
- data/lib/yard/docstring.rb +9 -20
- data/lib/yard/handlers/base.rb +13 -0
- data/lib/yard/handlers/ruby/alias_handler.rb +1 -1
- data/lib/yard/handlers/ruby/attribute_handler.rb +1 -1
- data/lib/yard/handlers/ruby/class_condition_handler.rb +1 -1
- data/lib/yard/handlers/ruby/class_handler.rb +1 -1
- data/lib/yard/handlers/ruby/class_variable_handler.rb +1 -1
- data/lib/yard/handlers/ruby/constant_handler.rb +1 -1
- data/lib/yard/handlers/ruby/exception_handler.rb +1 -1
- data/lib/yard/handlers/ruby/legacy/alias_handler.rb +1 -1
- data/lib/yard/handlers/ruby/legacy/attribute_handler.rb +1 -1
- data/lib/yard/handlers/ruby/legacy/class_condition_handler.rb +8 -0
- data/lib/yard/handlers/ruby/legacy/class_handler.rb +1 -1
- data/lib/yard/handlers/ruby/legacy/class_variable_handler.rb +1 -1
- data/lib/yard/handlers/ruby/legacy/constant_handler.rb +1 -1
- data/lib/yard/handlers/ruby/legacy/exception_handler.rb +1 -1
- data/lib/yard/handlers/ruby/legacy/method_handler.rb +1 -1
- data/lib/yard/handlers/ruby/legacy/mixin_handler.rb +1 -1
- data/lib/yard/handlers/ruby/legacy/module_handler.rb +1 -1
- data/lib/yard/handlers/ruby/legacy/process_handler.rb +12 -0
- data/lib/yard/handlers/ruby/legacy/visibility_handler.rb +1 -1
- data/lib/yard/handlers/ruby/legacy/yield_handler.rb +1 -1
- data/lib/yard/handlers/ruby/method_condition_handler.rb +1 -1
- data/lib/yard/handlers/ruby/method_handler.rb +1 -1
- data/lib/yard/handlers/ruby/mixin_handler.rb +1 -1
- data/lib/yard/handlers/ruby/module_handler.rb +1 -1
- data/lib/yard/handlers/ruby/process_handler.rb +12 -0
- data/lib/yard/handlers/ruby/visibility_handler.rb +1 -1
- data/lib/yard/handlers/ruby/yield_handler.rb +1 -1
- data/lib/yard/parser/ruby/legacy/ruby_lex.rb +1 -1
- data/lib/yard/parser/ruby/legacy/statement.rb +6 -0
- data/lib/yard/parser/ruby/legacy/statement_list.rb +9 -3
- data/lib/yard/parser/ruby/ruby_parser.rb +16 -0
- data/lib/yard/tags/default_factory.rb +9 -13
- data/lib/yard/tags/library.rb +7 -7
- data/lib/yard/tags/overload_tag.rb +4 -4
- data/lib/yard/templates/erb_cache.rb +18 -0
- data/lib/yard/templates/helpers/html_helper.rb +24 -5
- data/lib/yard/templates/helpers/method_helper.rb +10 -2
- data/lib/yard/templates/template.rb +11 -7
- data/spec/code_objects/class_object_spec.rb +8 -1
- data/spec/code_objects/module_object_spec.rb +8 -1
- data/spec/core_ext/file_spec.rb +5 -1
- data/spec/docstring_spec.rb +80 -42
- data/spec/handlers/class_condition_handler_spec.rb +15 -13
- data/spec/handlers/examples/process_handler_001.rb.txt +11 -0
- data/spec/handlers/process_handler_spec.rb +17 -0
- data/spec/parser/source_parser_spec.rb +11 -0
- data/spec/tags/overload_tag_spec.rb +2 -2
- data/spec/templates/class_spec.rb +9 -0
- data/spec/templates/examples/class001.html +20 -17
- data/spec/templates/examples/class002.html +37 -0
- data/spec/templates/examples/method001.html +7 -7
- data/spec/templates/examples/method002.html +5 -5
- data/spec/templates/examples/method003.html +5 -5
- data/spec/templates/examples/method004.html +3 -3
- data/spec/templates/examples/method005.html +1 -1
- data/spec/templates/examples/module001.html +64 -36
- data/spec/templates/helpers/html_helper_spec.rb +28 -0
- data/spec/templates/helpers/method_helper_spec.rb +28 -0
- data/spec/templates/module_spec.rb +10 -1
- data/spec/templates/template_spec.rb +4 -0
- data/templates/default/class/setup.rb +1 -1
- data/templates/default/fulldoc/html/css/style.css +6 -1
- data/templates/default/fulldoc/html/frames.erb +1 -1
- data/templates/default/fulldoc/html/full_list.erb +1 -1
- data/templates/default/fulldoc/html/js/app.js +12 -0
- data/templates/default/fulldoc/html/js/full_list.js +11 -0
- data/templates/default/fulldoc/html/setup.rb +2 -1
- data/templates/default/layout/html/headers.erb +1 -1
- data/templates/default/layout/html/setup.rb +1 -1
- data/templates/default/module/html/box_info.erb +5 -0
- data/templates/default/module/html/constant_summary.erb +1 -1
- data/templates/default/module/html/inherited_methods.erb +10 -1
- data/templates/default/module/html/method_summary.erb +9 -7
- data/templates/default/module/setup.rb +17 -3
- metadata +9 -2
@@ -4,6 +4,34 @@ describe YARD::Templates::Helpers::MethodHelper do
|
|
4
4
|
include YARD::Templates::Helpers::BaseHelper
|
5
5
|
include YARD::Templates::Helpers::MethodHelper
|
6
6
|
|
7
|
+
describe '#format_args' do
|
8
|
+
it "should not show &blockarg if no @param tag and has @yield" do
|
9
|
+
YARD.parse_string <<-'eof'
|
10
|
+
# @yield blah
|
11
|
+
def foo(&block); end
|
12
|
+
eof
|
13
|
+
format_args(Registry.at('#foo')).should == ''
|
14
|
+
end
|
15
|
+
|
16
|
+
it "should not show &blockarg if no @param tag and has @yieldparam" do
|
17
|
+
YARD.parse_string <<-'eof'
|
18
|
+
# @yieldparam blah test
|
19
|
+
def foo(&block); end
|
20
|
+
eof
|
21
|
+
format_args(Registry.at('#foo')).should == ''
|
22
|
+
end
|
23
|
+
|
24
|
+
it "should show &blockarg if @param block is documented (even with @yield)" do
|
25
|
+
YARD.parse_string <<-'eof'
|
26
|
+
# @yield [a,b]
|
27
|
+
# @yieldparam a test
|
28
|
+
# @param block test
|
29
|
+
def foo(&block) end
|
30
|
+
eof
|
31
|
+
format_args(Registry.at('#foo')).should == '(&block)'
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
7
35
|
describe '#format_block' do
|
8
36
|
before { YARD::Registry.clear }
|
9
37
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
require File.dirname(__FILE__) + '/spec_helper'
|
2
2
|
|
3
|
-
describe YARD::Templates::Engine.template(:default, :
|
3
|
+
describe YARD::Templates::Engine.template(:default, :module) do
|
4
4
|
before do
|
5
5
|
Registry.clear
|
6
6
|
YARD.parse_string <<-'eof'
|
@@ -47,10 +47,19 @@ describe YARD::Templates::Engine.template(:default, :method) do
|
|
47
47
|
class Q; end
|
48
48
|
class X; end
|
49
49
|
module Z; end
|
50
|
+
# A long docstring for the constant. With extra text
|
51
|
+
# and newlines.
|
50
52
|
CONSTANT = 'value'
|
51
53
|
@@cvar = 'value' # @deprecated
|
52
54
|
end
|
55
|
+
|
56
|
+
module TMP; include A end
|
57
|
+
class TMP2; extend A end
|
53
58
|
eof
|
59
|
+
|
60
|
+
# Hack to clear mixin list
|
61
|
+
mod = YARD::Templates::Engine.template(:default, :module)
|
62
|
+
mod.send(:class_variable_set, "@@mixed_into", nil)
|
54
63
|
end
|
55
64
|
|
56
65
|
it "should render html format correctly" do
|
@@ -4,6 +4,10 @@ describe YARD::Templates::Template do
|
|
4
4
|
def template(path)
|
5
5
|
YARD::Templates::Engine.template!(path, '/full/path/' + path.to_s)
|
6
6
|
end
|
7
|
+
|
8
|
+
before :each do
|
9
|
+
YARD::Templates::ErbCache.clear!
|
10
|
+
end
|
7
11
|
|
8
12
|
describe '.include_parent' do
|
9
13
|
it "should not include parent directory if parent directory is a template root path" do
|
@@ -3,13 +3,13 @@ include T('default/module')
|
|
3
3
|
def init
|
4
4
|
super
|
5
5
|
sections.place(:subclasses).before(:children)
|
6
|
-
sections.delete(:children)
|
7
6
|
sections.place([:constructor_details, [T('method_details')]]).before(:methodmissing)
|
8
7
|
end
|
9
8
|
|
10
9
|
def constructor_details
|
11
10
|
ctors = object.meths(:inherited => true, :included => true)
|
12
11
|
return unless @ctor = ctors.find {|o| o.name == :initialize }
|
12
|
+
return if prune_method_listing([@ctor]).empty?
|
13
13
|
erb(:constructor_details)
|
14
14
|
end
|
15
15
|
|
@@ -16,6 +16,8 @@ h2 {
|
|
16
16
|
margin: 1.8em 0 0.5em;
|
17
17
|
}
|
18
18
|
.clear { clear: both; }
|
19
|
+
.inline { display: inline; }
|
20
|
+
.inline p:first-child { display: inline; }
|
19
21
|
.docstring h1, .docstring h2, .docstring h3, .docstring h4 { padding: 0; border: 0; border-bottom: 1px dotted #bbb; }
|
20
22
|
.docstring h1 { font-size: 1.2em; }
|
21
23
|
.docstring h2 { font-size: 1.1em; }
|
@@ -95,7 +97,9 @@ dl.constants dd { width: 75%; white-space: pre; font-family: monospace; margin-b
|
|
95
97
|
|
96
98
|
.summary_desc { margin-left: 32px; display: block; font-family: sans-serif; }
|
97
99
|
.summary_desc tt { font-size: 0.9em; }
|
98
|
-
dl.constants .
|
100
|
+
dl.constants .docstring { margin-left: 32px; font-size: 0.9em; font-weight: normal; }
|
101
|
+
dl.constants .discussion *:first-child { margin-top: 0; }
|
102
|
+
dl.constants .discussion *:last-child { margin-bottom: 0; }
|
99
103
|
|
100
104
|
.method_details { border-top: 1px dotted #aaa; margin-top: 15px; padding-top: 0; }
|
101
105
|
.method_details.first { border: 0; }
|
@@ -194,6 +198,7 @@ ul.fullTree li.next:before { font-size: 1.2em; content: '\2B06'; color: #bbb; di
|
|
194
198
|
|
195
199
|
#menu { font-size: 1.3em; color: #bbb; top: -5px; position: relative; }
|
196
200
|
#menu .title, #menu a { font-size: 0.7em; }
|
201
|
+
#menu .title a { font-size: 1em; }
|
197
202
|
#menu .title { color: #555; }
|
198
203
|
#menu a:link, #menu a:visited { color: #333; text-decoration: none; border-bottom: 1px dotted #bbd; }
|
199
204
|
#menu a:hover { color: #05a; }
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
5
5
|
<head>
|
6
|
-
<meta http-equiv="Content-Type" content="text/html; charset
|
6
|
+
<meta http-equiv="Content-Type" content="text/html; charset=<%= charset %>"/>
|
7
7
|
<title><%= options[:title] %></title>
|
8
8
|
</head>
|
9
9
|
<frameset cols="20%,*">
|
@@ -2,7 +2,7 @@
|
|
2
2
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
3
|
<html>
|
4
4
|
<head>
|
5
|
-
<meta name="Content-Type" content="text/html; charset
|
5
|
+
<meta name="Content-Type" content="text/html; charset=<%= charset %>" />
|
6
6
|
<link rel="stylesheet" href="css/full_list.css" type="text/css" media="screen" charset="utf-8" />
|
7
7
|
<link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
|
8
8
|
<script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
|
@@ -90,6 +90,17 @@ function framesInit() {
|
|
90
90
|
}
|
91
91
|
}
|
92
92
|
|
93
|
+
function keyboardShortcuts() {
|
94
|
+
$(document).keypress(function(evt) {
|
95
|
+
if (evt.altKey || evt.ctrlKey || evt.metaKey || evt.shiftKey) return;
|
96
|
+
switch (evt.charCode) {
|
97
|
+
case 67: case 99: $('#class_list_link').click(); break; // 'c'
|
98
|
+
case 77: case 109: $('#method_list_link').click(); break; // 'm'
|
99
|
+
case 70: case 102: $('#file_list_link').click(); break; // 'f'
|
100
|
+
}
|
101
|
+
});
|
102
|
+
}
|
103
|
+
|
93
104
|
$(framesInit);
|
94
105
|
$(createSourceLinks);
|
95
106
|
$(createDefineLinks);
|
@@ -97,3 +108,4 @@ $(createFullTreeLinks);
|
|
97
108
|
$(fixBoxInfoHeights);
|
98
109
|
$(searchFrameLinks);
|
99
110
|
$(linkSummaries);
|
111
|
+
$(keyboardShortcuts);
|
@@ -101,6 +101,17 @@ function highlight(no_padding) {
|
|
101
101
|
});
|
102
102
|
}
|
103
103
|
|
104
|
+
function escapeShortcut() {
|
105
|
+
$(document).keydown(function(evt) {
|
106
|
+
if (evt.which == 27) {
|
107
|
+
$('#search_frame', window.top.document).slideUp(100);
|
108
|
+
$('#search a', window.top.document).removeClass('active inactive')
|
109
|
+
$(window.top).focus();
|
110
|
+
}
|
111
|
+
});
|
112
|
+
}
|
113
|
+
|
114
|
+
$(escapeShortcut);
|
104
115
|
$(fullListSearch);
|
105
116
|
$(linkList);
|
106
117
|
$(collapse);
|
@@ -82,6 +82,7 @@ def generate_method_list
|
|
82
82
|
end
|
83
83
|
|
84
84
|
def generate_class_list
|
85
|
+
@items = options[:objects]
|
85
86
|
@list_title = "Class List"
|
86
87
|
@list_type = "class"
|
87
88
|
asset('class_list.html', erb(:full_list))
|
@@ -104,7 +105,7 @@ def class_list(root = Registry.root)
|
|
104
105
|
out = ""
|
105
106
|
children = run_verifier(root.children)
|
106
107
|
if root == Registry.root
|
107
|
-
children +=
|
108
|
+
children += @items.select {|o| o.namespace.is_a?(CodeObjects::Proxy) }
|
108
109
|
end
|
109
110
|
children.sort_by {|child| child.path }.map do |child|
|
110
111
|
if child.is_a?(CodeObjects::NamespaceObject)
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<meta name="Content-Type" content="text/html; charset
|
1
|
+
<meta name="Content-Type" content="text/html; charset=<%= charset %>" />
|
2
2
|
<title><%= @page_title %></title>
|
3
3
|
<link rel="stylesheet" href="<%= url_for("css/style.css") %>" type="text/css" media="screen" charset="utf-8" />
|
4
4
|
<link rel="stylesheet" href="<%= url_for("css/common.css") %>" type="text/css" media="screen" charset="utf-8" />
|
@@ -51,7 +51,7 @@ def diskfile
|
|
51
51
|
"<pre>#{@contents}</pre>"
|
52
52
|
when 'textile', 'txtile'
|
53
53
|
htmlify(@contents, :textile)
|
54
|
-
when 'markdown', 'md', 'mdown'
|
54
|
+
when 'markdown', 'md', 'mdown', 'mkd'
|
55
55
|
htmlify(@contents, :markdown)
|
56
56
|
else
|
57
57
|
htmlify(@contents, diskfile_shebang_or_default)
|
@@ -23,6 +23,11 @@
|
|
23
23
|
<% n = n == 2 ? 1 : 2 %>
|
24
24
|
<% end %>
|
25
25
|
<% end %>
|
26
|
+
<% if (mixed_into = mixed_into(object)).size > 0 %>
|
27
|
+
<dt class="r<%=n%>">Included in:</dt>
|
28
|
+
<dd class="r<%=n%>"><%= mixed_into.sort_by {|o| o.path }.map {|o| linkify(o) }.join(", ") %></dd>
|
29
|
+
<% n = n == 2 ? 1 : 2 %>
|
30
|
+
<% end %>
|
26
31
|
<% unless object.root? %>
|
27
32
|
<dt class="r<%=n%> last">Defined in:</dt>
|
28
33
|
<dd class="r<%=n%> last"><%= erb(:defines) %></dd>
|
@@ -4,7 +4,7 @@
|
|
4
4
|
<dl class="constants">
|
5
5
|
<% constant_listing.each do |cnst| %>
|
6
6
|
<dt id="<%= anchor_for(cnst) %>" class="<%= cnst.has_tag?(:deprecated) ? 'deprecated' : '' %>"><%= cnst.name %> =
|
7
|
-
|
7
|
+
<%= yieldall :object => cnst %>
|
8
8
|
</dt>
|
9
9
|
<dd><pre class="code"><%= format_constant cnst.value %></pre></dd>
|
10
10
|
<% end %>
|
@@ -1,9 +1,18 @@
|
|
1
|
+
<% found_method = false %>
|
1
2
|
<% object.inheritance_tree(true)[1..-1].each do |superclass| %>
|
2
3
|
<% next if superclass.is_a?(YARD::CodeObjects::Proxy) %>
|
3
4
|
<% meths = prune_method_listing(superclass.meths(:included => false, :inherited => false)) %>
|
4
5
|
<% meths.reject! {|m| object.child(:scope => m.scope, :name => m.name) != nil } %>
|
5
6
|
<% meths.reject! {|m| m.is_alias? || m.is_attribute? } %>
|
6
7
|
<% next if meths.size == 0 %>
|
8
|
+
<% if method_listing.size == 0 && !found_method %><h2>Method Summary</h2><% end %>
|
9
|
+
<% found_method = true %>
|
7
10
|
<h3 class="inherited">Methods <%= superclass.type == :class ? 'inherited' : 'included' %> from <%= linkify superclass %></h3>
|
8
|
-
<p class="inherited"><%=
|
11
|
+
<p class="inherited"><%=
|
12
|
+
meths.sort_by {|o| o.name.to_s }.map do |m|
|
13
|
+
name = m.name(true)
|
14
|
+
name = name.gsub(/^#/,'') if superclass.type == :module && object.class_mixins.include?(superclass)
|
15
|
+
linkify(m, name)
|
16
|
+
end.join(", ")
|
17
|
+
%></p>
|
9
18
|
<% end %>
|
@@ -1,9 +1,11 @@
|
|
1
|
-
<%
|
2
|
-
|
1
|
+
<% if method_listing.size > 0 %>
|
2
|
+
<% scopes(method_listing) do |list, scope| %>
|
3
|
+
<h2><%= scope.to_s.capitalize %> Method Summary</h2>
|
3
4
|
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
5
|
+
<ul class="summary">
|
6
|
+
<% list.each do |meth| %>
|
7
|
+
<%= yieldall :item => meth %>
|
8
|
+
<% end %>
|
9
|
+
</ul>
|
10
|
+
<% end %>
|
9
11
|
<% end %>
|
@@ -2,7 +2,7 @@ include Helpers::ModuleHelper
|
|
2
2
|
|
3
3
|
def init
|
4
4
|
sections :header, :box_info, :pre_docstring, T('docstring'), :children,
|
5
|
-
:constant_summary, :inherited_constants,
|
5
|
+
:constant_summary, [T('docstring')], :inherited_constants,
|
6
6
|
:attribute_summary, [:item_summary],
|
7
7
|
:method_summary, [:item_summary], :inherited_methods,
|
8
8
|
:methodmissing, [T('method_details')],
|
@@ -69,7 +69,7 @@ def sort_listing(list)
|
|
69
69
|
list.sort_by {|o| [o.scope.to_s, o.name.to_s.downcase] }
|
70
70
|
end
|
71
71
|
|
72
|
-
def
|
72
|
+
def docstring_full(obj)
|
73
73
|
docstring = ""
|
74
74
|
if obj.tags(:overload).size == 1 && obj.docstring.empty?
|
75
75
|
docstring = obj.tag(:overload).docstring
|
@@ -80,8 +80,12 @@ def docstring_summary(obj)
|
|
80
80
|
if docstring.summary.empty? && obj.tags(:return).size == 1 && obj.tag(:return).text
|
81
81
|
docstring = Docstring.new(obj.tag(:return).text.gsub(/\A([a-z])/) {|x| x.upcase }.strip)
|
82
82
|
end
|
83
|
+
|
84
|
+
docstring
|
85
|
+
end
|
83
86
|
|
84
|
-
|
87
|
+
def docstring_summary(obj)
|
88
|
+
docstring_full(obj).summary
|
85
89
|
end
|
86
90
|
|
87
91
|
def scopes(list)
|
@@ -90,3 +94,13 @@ def scopes(list)
|
|
90
94
|
yield(items, scope) unless items.empty?
|
91
95
|
end
|
92
96
|
end
|
97
|
+
|
98
|
+
def mixed_into(object)
|
99
|
+
unless defined?(@@mixed_into) && @@mixed_into
|
100
|
+
@@mixed_into = {}
|
101
|
+
list = run_verifier Registry.all(:class, :module)
|
102
|
+
list.each {|o| o.mixins.each {|m| (@@mixed_into[m.path] ||= []) << o } }
|
103
|
+
end
|
104
|
+
|
105
|
+
@@mixed_into[object.path] || []
|
106
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: yard
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Loren Segal
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2010-
|
12
|
+
date: 2010-03-22 00:00:00 -04:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|
@@ -79,6 +79,7 @@ files:
|
|
79
79
|
- lib/yard/handlers/ruby/legacy/alias_handler.rb
|
80
80
|
- lib/yard/handlers/ruby/legacy/attribute_handler.rb
|
81
81
|
- lib/yard/handlers/ruby/legacy/base.rb
|
82
|
+
- lib/yard/handlers/ruby/legacy/class_condition_handler.rb
|
82
83
|
- lib/yard/handlers/ruby/legacy/class_handler.rb
|
83
84
|
- lib/yard/handlers/ruby/legacy/class_variable_handler.rb
|
84
85
|
- lib/yard/handlers/ruby/legacy/constant_handler.rb
|
@@ -87,12 +88,14 @@ files:
|
|
87
88
|
- lib/yard/handlers/ruby/legacy/method_handler.rb
|
88
89
|
- lib/yard/handlers/ruby/legacy/mixin_handler.rb
|
89
90
|
- lib/yard/handlers/ruby/legacy/module_handler.rb
|
91
|
+
- lib/yard/handlers/ruby/legacy/process_handler.rb
|
90
92
|
- lib/yard/handlers/ruby/legacy/visibility_handler.rb
|
91
93
|
- lib/yard/handlers/ruby/legacy/yield_handler.rb
|
92
94
|
- lib/yard/handlers/ruby/method_condition_handler.rb
|
93
95
|
- lib/yard/handlers/ruby/method_handler.rb
|
94
96
|
- lib/yard/handlers/ruby/mixin_handler.rb
|
95
97
|
- lib/yard/handlers/ruby/module_handler.rb
|
98
|
+
- lib/yard/handlers/ruby/process_handler.rb
|
96
99
|
- lib/yard/handlers/ruby/visibility_handler.rb
|
97
100
|
- lib/yard/handlers/ruby/yield_handler.rb
|
98
101
|
- lib/yard/logging.rb
|
@@ -122,6 +125,7 @@ files:
|
|
122
125
|
- lib/yard/tags/tag.rb
|
123
126
|
- lib/yard/tags/tag_format_error.rb
|
124
127
|
- lib/yard/templates/engine.rb
|
128
|
+
- lib/yard/templates/erb_cache.rb
|
125
129
|
- lib/yard/templates/helpers/base_helper.rb
|
126
130
|
- lib/yard/templates/helpers/filter_helper.rb
|
127
131
|
- lib/yard/templates/helpers/html_helper.rb
|
@@ -172,6 +176,7 @@ files:
|
|
172
176
|
- spec/handlers/examples/method_handler_001.rb.txt
|
173
177
|
- spec/handlers/examples/mixin_handler_001.rb.txt
|
174
178
|
- spec/handlers/examples/module_handler_001.rb.txt
|
179
|
+
- spec/handlers/examples/process_handler_001.rb.txt
|
175
180
|
- spec/handlers/examples/visibility_handler_001.rb.txt
|
176
181
|
- spec/handlers/examples/yield_handler_001.rb.txt
|
177
182
|
- spec/handlers/exception_handler_spec.rb
|
@@ -181,6 +186,7 @@ files:
|
|
181
186
|
- spec/handlers/method_handler_spec.rb
|
182
187
|
- spec/handlers/mixin_handler_spec.rb
|
183
188
|
- spec/handlers/module_handler_spec.rb
|
189
|
+
- spec/handlers/process_handler_spec.rb
|
184
190
|
- spec/handlers/processor_spec.rb
|
185
191
|
- spec/handlers/ruby/base_spec.rb
|
186
192
|
- spec/handlers/ruby/legacy/base_spec.rb
|
@@ -214,6 +220,7 @@ files:
|
|
214
220
|
- spec/templates/engine_spec.rb
|
215
221
|
- spec/templates/examples/class001.html
|
216
222
|
- spec/templates/examples/class001.txt
|
223
|
+
- spec/templates/examples/class002.html
|
217
224
|
- spec/templates/examples/method001.html
|
218
225
|
- spec/templates/examples/method001.txt
|
219
226
|
- spec/templates/examples/method002.html
|