yard 0.9.16 → 0.9.21

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 (102) hide show
  1. checksums.yaml +5 -5
  2. data/.dockerignore +2 -0
  3. data/.github/ISSUE_TEMPLATE.md +33 -0
  4. data/.github/PULL_REQUEST_TEMPLATE.md +12 -0
  5. data/.gitignore +14 -0
  6. data/.rspec +2 -0
  7. data/.rubocop.yml +99 -0
  8. data/.travis.yml +52 -0
  9. data/.yardopts +0 -0
  10. data/.yardopts_guide +19 -0
  11. data/.yardopts_i18n +23 -0
  12. data/CHANGELOG.md +41 -1
  13. data/CODE_OF_CONDUCT.md +15 -0
  14. data/CONTRIBUTING.md +140 -0
  15. data/Dockerfile.samus +28 -0
  16. data/Gemfile +32 -0
  17. data/README.md +3 -1
  18. data/Rakefile +7 -17
  19. data/SECURITY.md +26 -0
  20. data/bin/yard +0 -0
  21. data/bin/yardoc +0 -0
  22. data/bin/yri +0 -0
  23. data/docs/GettingStarted.md +1 -1
  24. data/lib/yard/autoload.rb +5 -0
  25. data/lib/yard/cli/i18n.rb +1 -1
  26. data/lib/yard/cli/stats.rb +1 -1
  27. data/lib/yard/cli/yardoc.rb +4 -3
  28. data/lib/yard/code_objects/base.rb +14 -2
  29. data/lib/yard/code_objects/extra_file_object.rb +7 -4
  30. data/lib/yard/code_objects/proxy.rb +4 -0
  31. data/lib/yard/core_ext/module.rb +0 -9
  32. data/lib/yard/docstring.rb +10 -2
  33. data/lib/yard/handlers/c/handler_methods.rb +2 -1
  34. data/lib/yard/handlers/c/method_handler.rb +9 -0
  35. data/lib/yard/handlers/common/method_handler.rb +19 -0
  36. data/lib/yard/handlers/ruby/alias_handler.rb +5 -4
  37. data/lib/yard/handlers/ruby/attribute_handler.rb +1 -1
  38. data/lib/yard/handlers/ruby/constant_handler.rb +1 -5
  39. data/lib/yard/handlers/ruby/dsl_handler_methods.rb +6 -5
  40. data/lib/yard/handlers/ruby/method_handler.rb +3 -17
  41. data/lib/yard/handlers/ruby/mixin_handler.rb +13 -1
  42. data/lib/yard/parser/c/statement.rb +2 -0
  43. data/lib/yard/parser/ruby/ast_node.rb +11 -0
  44. data/lib/yard/parser/ruby/legacy/irb/slex.rb +276 -0
  45. data/lib/yard/parser/ruby/legacy/ruby_lex.rb +3 -12
  46. data/lib/yard/parser/ruby/legacy/statement.rb +2 -0
  47. data/lib/yard/parser/ruby/ruby_parser.rb +14 -2
  48. data/lib/yard/parser/source_parser.rb +1 -1
  49. data/lib/yard/registry_resolver.rb +47 -5
  50. data/lib/yard/registry_store.rb +6 -1
  51. data/lib/yard/server/commands/display_file_command.rb +1 -1
  52. data/lib/yard/server/commands/static_file_helpers.rb +0 -1
  53. data/lib/yard/templates/helpers/html_helper.rb +25 -4
  54. data/lib/yard/version.rb +6 -4
  55. data/po/ja.po +31108 -0
  56. data/samus.json +80 -0
  57. data/spec/cli/yardoc_spec.rb +48 -1
  58. data/spec/code_objects/base_spec.rb +25 -0
  59. data/spec/code_objects/extra_file_object_spec.rb +4 -3
  60. data/spec/code_objects/proxy_spec.rb +6 -0
  61. data/spec/core_ext/module_spec.rb +0 -6
  62. data/spec/docstring_parser_spec.rb +18 -0
  63. data/spec/docstring_spec.rb +9 -0
  64. data/spec/handlers/c/method_handler_spec.rb +2 -0
  65. data/spec/handlers/constant_handler_spec.rb +1 -1
  66. data/spec/handlers/dsl_handler_spec.rb +7 -0
  67. data/spec/handlers/examples/dsl_handler_001.rb.txt +2 -0
  68. data/spec/handlers/examples/extend_handler_001.rb.txt +4 -1
  69. data/spec/handlers/examples/mixin_handler_001.rb.txt +3 -0
  70. data/spec/handlers/extend_handler_spec.rb +4 -0
  71. data/spec/handlers/method_handler_spec.rb +24 -0
  72. data/spec/handlers/mixin_handler_spec.rb +4 -0
  73. data/spec/parser/c_parser_spec.rb +13 -0
  74. data/spec/parser/examples/file.c.txt +28 -0
  75. data/spec/registry_store_spec.rb +11 -0
  76. data/spec/templates/examples/module001.html +3 -3
  77. data/spec/templates/examples/module002.html +1 -1
  78. data/spec/templates/examples/module003.html +1 -1
  79. data/spec/templates/helpers/html_helper_spec.rb +34 -0
  80. data/spec/templates/helpers/method_helper_spec.rb +2 -2
  81. data/spec/templates/markup_processor_integrations/asciidoctor_spec.rb +60 -0
  82. data/spec/templates/markup_processor_integrations/integration_spec_helper.rb +46 -0
  83. data/spec/templates/markup_processor_integrations/rdoc_markdown_spec.rb +59 -0
  84. data/spec/templates/markup_processor_integrations/rdoc_spec.rb +39 -0
  85. data/spec/templates/markup_processor_integrations/redcarpet_spec.rb +59 -0
  86. data/spec/templates/markup_processor_integrations/redcloth_spec.rb +48 -0
  87. data/spec/templates/method_spec.rb +2 -2
  88. data/templates/default/docstring/setup.rb +1 -1
  89. data/templates/default/fulldoc/html/css/style.css +2 -2
  90. data/templates/default/fulldoc/html/frames.erb +1 -1
  91. data/templates/default/fulldoc/html/full_list.erb +1 -1
  92. data/templates/default/fulldoc/html/js/app.js +25 -3
  93. data/templates/default/fulldoc/html/js/jquery.js +2 -4
  94. data/templates/default/layout/html/headers.erb +1 -1
  95. data/templates/default/layout/html/script_setup.erb +1 -1
  96. data/templates/default/onefile/html/headers.erb +1 -1
  97. data/templates/default/onefile/html/setup.rb +1 -1
  98. data/templates/default/tags/html/tag.erb +1 -1
  99. data/templates/guide/layout/html/layout.erb +1 -1
  100. data/yard.gemspec +1 -20
  101. metadata +29 -22
  102. data/spec/examples.txt +0 -1874

There are too many changes on this page to be displayed.


The amount of changes on this page would crash your brower.

You can still verify the content by downloading the gem file manually.