yard 0.8.0 → 0.8.1

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.

@@ -138,7 +138,7 @@ def generate_method_list
138
138
  @items = @items.reject {|m| m.name.to_s =~ /=$/ && m.is_attribute? }
139
139
  @items = @items.sort_by {|m| m.name.to_s }
140
140
  @list_title = "Method List"
141
- @list_type = "methods"
141
+ @list_type = "method"
142
142
  generate_list_contents
143
143
  end
144
144
 
@@ -14,7 +14,9 @@
14
14
  <%= tag.pair.defaults.map {|t| "<tt>#{h t}</tt>" }.join(", ") %>
15
15
  <% end %>
16
16
  </span>
17
- <%= "&mdash; " + htmlify_line(tag.pair.text) if tag.pair.text %>
17
+ <% if tag.pair.text && tag.pair.text =~ /\S/ %>
18
+ &mdash; <%= htmlify_line(tag.pair.text) %>
19
+ <% end %>
18
20
  </li>
19
21
  <% end %>
20
22
  </ul>
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.8.0
4
+ version: 0.8.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-04-30 00:00:00.000000000 -04:00
12
+ date: 2012-05-02 00:00:00.000000000 -04:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
  description: ! " YARD is a documentation generation tool for the Ruby programming
@@ -141,6 +141,8 @@ files:
141
141
  - lib/yard/handlers/ruby/struct_handler_methods.rb
142
142
  - lib/yard/handlers/ruby/visibility_handler.rb
143
143
  - lib/yard/handlers/ruby/yield_handler.rb
144
+ - lib/yard/i18n/message.rb
145
+ - lib/yard/i18n/messages.rb
144
146
  - lib/yard/i18n/pot_generator.rb
145
147
  - lib/yard/i18n/text.rb
146
148
  - lib/yard/logging.rb
@@ -318,6 +320,8 @@ files:
318
320
  - spec/handlers/spec_helper.rb
319
321
  - spec/handlers/visibility_handler_spec.rb
320
322
  - spec/handlers/yield_handler_spec.rb
323
+ - spec/i18n/message_spec.rb
324
+ - spec/i18n/messages_spec.rb
321
325
  - spec/i18n/pot_generator_spec.rb
322
326
  - spec/i18n/text_spec.rb
323
327
  - spec/logging_spec.rb
@@ -445,7 +449,7 @@ files:
445
449
  - templates/default/fulldoc/html/full_list.erb
446
450
  - templates/default/fulldoc/html/full_list_class.erb
447
451
  - templates/default/fulldoc/html/full_list_file.erb
448
- - templates/default/fulldoc/html/full_list_methods.erb
452
+ - templates/default/fulldoc/html/full_list_method.erb
449
453
  - templates/default/fulldoc/html/js/app.js
450
454
  - templates/default/fulldoc/html/js/full_list.js
451
455
  - templates/default/fulldoc/html/js/jquery.js