yard 0.6.3 → 0.6.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.

Files changed (46) hide show
  1. data/ChangeLog +119 -0
  2. data/README.md +16 -2
  3. data/Rakefile +29 -10
  4. data/docs/GettingStarted.md +186 -35
  5. data/lib/yard.rb +1 -1
  6. data/lib/yard/autoload.rb +10 -0
  7. data/lib/yard/cli/yri.rb +2 -2
  8. data/lib/yard/code_objects/base.rb +1 -1
  9. data/lib/yard/code_objects/method_object.rb +2 -1
  10. data/lib/yard/code_objects/root_object.rb +2 -2
  11. data/lib/yard/parser/ruby/ast_node.rb +0 -4
  12. data/lib/yard/parser/ruby/ruby_parser.rb +30 -1
  13. data/lib/yard/server/adapter.rb +50 -1
  14. data/lib/yard/server/commands/base.rb +117 -23
  15. data/lib/yard/server/commands/display_file_command.rb +3 -0
  16. data/lib/yard/server/commands/display_object_command.rb +1 -0
  17. data/lib/yard/server/commands/frames_command.rb +1 -0
  18. data/lib/yard/server/commands/library_command.rb +8 -1
  19. data/lib/yard/server/commands/list_command.rb +4 -0
  20. data/lib/yard/server/doc_server_helper.rb +15 -0
  21. data/lib/yard/server/doc_server_serializer.rb +2 -0
  22. data/lib/yard/server/library_version.rb +141 -0
  23. data/lib/yard/server/rack_adapter.rb +35 -2
  24. data/lib/yard/server/router.rb +71 -1
  25. data/lib/yard/server/static_caching.rb +29 -0
  26. data/lib/yard/server/webrick_adapter.rb +4 -0
  27. data/lib/yard/templates/engine.rb +1 -1
  28. data/lib/yard/templates/helpers/markup_helper.rb +22 -7
  29. data/spec/cli/diff_spec.rb +2 -2
  30. data/spec/cli/stats_spec.rb +1 -1
  31. data/spec/cli/yardoc_spec.rb +1 -1
  32. data/spec/cli/yri_spec.rb +21 -0
  33. data/spec/handlers/class_handler_spec.rb +1 -0
  34. data/spec/handlers/examples/class_handler_001.rb.txt +1 -0
  35. data/spec/parser/ruby/legacy/statement_list_spec.rb +6 -0
  36. data/spec/parser/ruby/ruby_parser_spec.rb +29 -0
  37. data/spec/server/rack_adapter_spec.rb +18 -0
  38. data/spec/spec_helper.rb +6 -2
  39. data/spec/templates/engine_spec.rb +4 -1
  40. data/spec/templates/helpers/html_helper_spec.rb +11 -0
  41. data/spec/templates/helpers/markup_helper_spec.rb +9 -5
  42. data/spec/templates/module_spec.rb +1 -1
  43. data/spec/templates/spec_helper.rb +3 -3
  44. data/templates/default/fulldoc/html/css/style.css +1 -1
  45. data/templates/default/fulldoc/html/js/app.js +3 -2
  46. metadata +7 -15
metadata CHANGED
@@ -1,12 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yard
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: false
5
- segments:
6
- - 0
7
- - 6
8
- - 3
9
- version: 0.6.3
4
+ version: 0.6.4
10
5
  platform: ruby
11
6
  authors:
12
7
  - Loren Segal
@@ -14,7 +9,7 @@ autorequire:
14
9
  bindir: bin
15
10
  cert_chain: []
16
11
 
17
- date: 2010-11-21 00:00:00 -05:00
12
+ date: 2010-12-21 00:00:00 -05:00
18
13
  default_executable:
19
14
  dependencies: []
20
15
 
@@ -289,6 +284,7 @@ files:
289
284
  - spec/server/commands/base_spec.rb
290
285
  - spec/server/commands/static_file_command_spec.rb
291
286
  - spec/server/doc_server_serializer_spec.rb
287
+ - spec/server/rack_adapter_spec.rb
292
288
  - spec/server/router_spec.rb
293
289
  - spec/server/spec_helper.rb
294
290
  - spec/server/static_caching_spec.rb
@@ -464,7 +460,7 @@ files:
464
460
  - README.md
465
461
  - Rakefile
466
462
  - .yardopts
467
- has_rdoc: true
463
+ has_rdoc: yard
468
464
  homepage: http://yardoc.org
469
465
  licenses: []
470
466
 
@@ -474,25 +470,21 @@ rdoc_options: []
474
470
  require_paths:
475
471
  - lib
476
472
  required_ruby_version: !ruby/object:Gem::Requirement
477
- none: false
478
473
  requirements:
479
474
  - - ">="
480
475
  - !ruby/object:Gem::Version
481
- segments:
482
- - 0
483
476
  version: "0"
477
+ version:
484
478
  required_rubygems_version: !ruby/object:Gem::Requirement
485
- none: false
486
479
  requirements:
487
480
  - - ">="
488
481
  - !ruby/object:Gem::Version
489
- segments:
490
- - 0
491
482
  version: "0"
483
+ version:
492
484
  requirements: []
493
485
 
494
486
  rubyforge_project: yard
495
- rubygems_version: 1.3.7
487
+ rubygems_version: 1.3.5
496
488
  signing_key:
497
489
  specification_version: 3
498
490
  summary: Documentation tool for consistent and usable documentation in Ruby.