yard 0.5.4 → 0.5.5

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.

Files changed (59) hide show
  1. data/.yardopts +1 -0
  2. data/ChangeLog +181 -0
  3. data/LEGAL +74 -0
  4. data/LICENSE +1 -1
  5. data/README.md +15 -8
  6. data/lib/yard.rb +3 -3
  7. data/lib/yard/cli/yard_graph.rb +10 -10
  8. data/lib/yard/cli/yardoc.rb +29 -9
  9. data/lib/yard/code_objects/base.rb +1 -1
  10. data/lib/yard/code_objects/class_object.rb +1 -1
  11. data/lib/yard/code_objects/module_object.rb +1 -1
  12. data/lib/yard/code_objects/proxy.rb +1 -1
  13. data/lib/yard/docstring.rb +2 -2
  14. data/lib/yard/handlers/ruby/constant_handler.rb +2 -2
  15. data/lib/yard/handlers/ruby/legacy/class_condition_handler.rb +64 -1
  16. data/lib/yard/handlers/ruby/legacy/constant_handler.rb +2 -2
  17. data/lib/yard/handlers/ruby/legacy/method_handler.rb +11 -0
  18. data/lib/yard/handlers/ruby/method_handler.rb +11 -0
  19. data/lib/yard/parser/ruby/legacy/statement_list.rb +3 -3
  20. data/lib/yard/parser/source_parser.rb +2 -2
  21. data/lib/yard/tags/default_factory.rb +9 -6
  22. data/lib/yard/templates/helpers/base_helper.rb +14 -4
  23. data/lib/yard/templates/helpers/html_helper.rb +16 -22
  24. data/lib/yard/templates/helpers/method_helper.rb +1 -1
  25. data/lib/yard/templates/helpers/module_helper.rb +1 -2
  26. data/spec/cli/yardoc_spec.rb +1 -1
  27. data/spec/code_objects/class_object_spec.rb +1 -0
  28. data/spec/code_objects/module_object_spec.rb +1 -0
  29. data/spec/docstring_spec.rb +14 -0
  30. data/spec/handlers/class_condition_handler_spec.rb +8 -10
  31. data/spec/handlers/examples/method_handler_001.rb.txt +4 -0
  32. data/spec/handlers/method_handler_spec.rb +7 -0
  33. data/spec/parser/ruby/legacy/statement_list_spec.rb +14 -0
  34. data/spec/parser/source_parser_spec.rb +7 -0
  35. data/spec/tags/default_factory_spec.rb +1 -0
  36. data/spec/templates/examples/class001.html +5 -5
  37. data/spec/templates/examples/method001.html +1 -1
  38. data/spec/templates/examples/module001.html +4 -4
  39. data/spec/templates/helpers/base_helper_spec.rb +18 -1
  40. data/spec/templates/helpers/html_helper_spec.rb +2 -1
  41. data/spec/templates/module_spec.rb +5 -2
  42. data/templates/default/docstring/html/abstract.erb +2 -2
  43. data/templates/default/docstring/html/deprecated.erb +1 -1
  44. data/templates/default/docstring/html/note.erb +2 -2
  45. data/templates/default/docstring/html/private.erb +4 -0
  46. data/templates/default/docstring/html/todo.erb +2 -2
  47. data/templates/default/docstring/setup.rb +6 -1
  48. data/templates/default/docstring/text/private.erb +2 -0
  49. data/templates/default/fulldoc/html/css/style.css +7 -3
  50. data/templates/default/fulldoc/html/js/app.js +27 -0
  51. data/templates/default/fulldoc/html/setup.rb +1 -1
  52. data/templates/default/module/html/attribute_summary.erb +1 -1
  53. data/templates/default/module/html/box_info.erb +1 -1
  54. data/templates/default/module/html/header.erb +2 -1
  55. data/templates/default/module/html/item_summary.erb +1 -0
  56. data/templates/default/module/html/method_summary.erb +4 -1
  57. data/templates/default/module/text/extends.erb +2 -2
  58. data/templates/default/tags/html/see.erb +1 -1
  59. metadata +5 -2
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
4
+ version: 0.5.5
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-03-22 00:00:00 -04:00
12
+ date: 2010-05-22 00:00:00 -04:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
@@ -261,6 +261,7 @@ files:
261
261
  - templates/default/docstring/html/deprecated.erb
262
262
  - templates/default/docstring/html/index.erb
263
263
  - templates/default/docstring/html/note.erb
264
+ - templates/default/docstring/html/private.erb
264
265
  - templates/default/docstring/html/returns_void.erb
265
266
  - templates/default/docstring/html/text.erb
266
267
  - templates/default/docstring/html/todo.erb
@@ -269,6 +270,7 @@ files:
269
270
  - templates/default/docstring/text/deprecated.erb
270
271
  - templates/default/docstring/text/index.erb
271
272
  - templates/default/docstring/text/note.erb
273
+ - templates/default/docstring/text/private.erb
272
274
  - templates/default/docstring/text/returns_void.erb
273
275
  - templates/default/docstring/text/text.erb
274
276
  - templates/default/docstring/text/todo.erb
@@ -362,6 +364,7 @@ files:
362
364
  - benchmarks/yri_cache.rb
363
365
  - ChangeLog
364
366
  - LICENSE
367
+ - LEGAL
365
368
  - README.md
366
369
  - Rakefile
367
370
  - .yardopts