yard 0.9.11 → 0.9.12
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.
- checksums.yaml +4 -4
- data/.yardopts +0 -0
- data/CHANGELOG.md +7 -0
- data/LEGAL +0 -0
- data/LICENSE +0 -0
- data/README.md +0 -1
- data/Rakefile +0 -0
- data/benchmarks/builtins_vs_eval.rb +0 -0
- data/benchmarks/concat_vs_join.rb +0 -0
- data/benchmarks/erb_vs_erubis.rb +0 -0
- data/benchmarks/format_args.rb +0 -0
- data/benchmarks/generation.rb +0 -0
- data/benchmarks/marshal_vs_dbm.rb +0 -0
- data/benchmarks/parsing.rb +0 -0
- data/benchmarks/pathname_vs_string.rb +0 -0
- data/benchmarks/rdoc_vs_yardoc.rb +0 -0
- data/benchmarks/registry_store_types.rb +0 -0
- data/benchmarks/ri_vs_yri.rb +0 -0
- data/benchmarks/ripper_parser.rb +0 -0
- data/benchmarks/splat_vs_flatten.rb +0 -0
- data/benchmarks/template_erb.rb +0 -0
- data/benchmarks/template_format.rb +0 -0
- data/benchmarks/template_profile.rb +0 -0
- data/benchmarks/yri_cache.rb +0 -0
- data/docs/CodeObjects.md +0 -0
- data/docs/GettingStarted.md +0 -0
- data/docs/Handlers.md +0 -0
- data/docs/Overview.md +0 -0
- data/docs/Parser.md +0 -0
- data/docs/Tags.md +0 -0
- data/docs/TagsArch.md +0 -0
- data/docs/Templates.md +0 -0
- data/docs/WhatsNew.md +0 -0
- data/docs/images/code-objects-class-diagram.png +0 -0
- data/docs/images/tags-class-diagram.png +0 -0
- data/docs/templates/default/fulldoc/html/full_list_tag.erb +0 -0
- data/docs/templates/default/fulldoc/html/setup.rb +0 -0
- data/docs/templates/default/layout/html/setup.rb +0 -0
- data/docs/templates/default/layout/html/tag_list.erb +0 -0
- data/docs/templates/default/yard_tags/html/list.erb +0 -0
- data/docs/templates/default/yard_tags/html/setup.rb +0 -0
- data/docs/templates/plugin.rb +0 -0
- data/lib/rubygems_plugin.rb +0 -0
- data/lib/yard.rb +0 -0
- data/lib/yard/autoload.rb +0 -0
- data/lib/yard/cli/command.rb +0 -0
- data/lib/yard/cli/command_parser.rb +0 -0
- data/lib/yard/cli/config.rb +0 -0
- data/lib/yard/cli/diff.rb +0 -0
- data/lib/yard/cli/display.rb +0 -0
- data/lib/yard/cli/gems.rb +0 -0
- data/lib/yard/cli/graph.rb +0 -0
- data/lib/yard/cli/help.rb +0 -0
- data/lib/yard/cli/i18n.rb +0 -0
- data/lib/yard/cli/list.rb +0 -0
- data/lib/yard/cli/markup_types.rb +0 -0
- data/lib/yard/cli/server.rb +0 -0
- data/lib/yard/cli/stats.rb +0 -0
- data/lib/yard/cli/yardoc.rb +18 -10
- data/lib/yard/cli/yardopts_command.rb +0 -0
- data/lib/yard/cli/yri.rb +0 -0
- data/lib/yard/code_objects/base.rb +0 -0
- data/lib/yard/code_objects/class_object.rb +0 -0
- data/lib/yard/code_objects/class_variable_object.rb +0 -0
- data/lib/yard/code_objects/constant_object.rb +0 -0
- data/lib/yard/code_objects/extended_method_object.rb +0 -0
- data/lib/yard/code_objects/extra_file_object.rb +0 -0
- data/lib/yard/code_objects/macro_object.rb +0 -0
- data/lib/yard/code_objects/method_object.rb +0 -0
- data/lib/yard/code_objects/module_object.rb +0 -0
- data/lib/yard/code_objects/namespace_mapper.rb +0 -0
- data/lib/yard/code_objects/namespace_object.rb +0 -0
- data/lib/yard/code_objects/proxy.rb +0 -0
- data/lib/yard/code_objects/root_object.rb +0 -0
- data/lib/yard/config.rb +0 -0
- data/lib/yard/core_ext/array.rb +0 -0
- data/lib/yard/core_ext/file.rb +0 -0
- data/lib/yard/core_ext/hash.rb +0 -0
- data/lib/yard/core_ext/insertion.rb +0 -0
- data/lib/yard/core_ext/module.rb +0 -0
- data/lib/yard/core_ext/string.rb +0 -0
- data/lib/yard/core_ext/symbol_hash.rb +0 -0
- data/lib/yard/docstring.rb +0 -0
- data/lib/yard/docstring_parser.rb +0 -0
- data/lib/yard/gem_index.rb +0 -0
- data/lib/yard/globals.rb +0 -0
- data/lib/yard/handlers/base.rb +0 -0
- data/lib/yard/handlers/c/alias_handler.rb +0 -0
- data/lib/yard/handlers/c/attribute_handler.rb +0 -0
- data/lib/yard/handlers/c/base.rb +0 -0
- data/lib/yard/handlers/c/class_handler.rb +0 -0
- data/lib/yard/handlers/c/constant_handler.rb +0 -0
- data/lib/yard/handlers/c/handler_methods.rb +0 -0
- data/lib/yard/handlers/c/init_handler.rb +0 -0
- data/lib/yard/handlers/c/method_handler.rb +0 -0
- data/lib/yard/handlers/c/mixin_handler.rb +0 -0
- data/lib/yard/handlers/c/module_handler.rb +0 -0
- data/lib/yard/handlers/c/override_comment_handler.rb +0 -0
- data/lib/yard/handlers/c/path_handler.rb +0 -0
- data/lib/yard/handlers/c/struct_handler.rb +0 -0
- data/lib/yard/handlers/c/symbol_handler.rb +0 -0
- data/lib/yard/handlers/processor.rb +0 -0
- data/lib/yard/handlers/ruby/alias_handler.rb +0 -0
- data/lib/yard/handlers/ruby/attribute_handler.rb +0 -0
- data/lib/yard/handlers/ruby/base.rb +0 -0
- data/lib/yard/handlers/ruby/class_condition_handler.rb +0 -0
- data/lib/yard/handlers/ruby/class_handler.rb +0 -0
- data/lib/yard/handlers/ruby/class_variable_handler.rb +0 -0
- data/lib/yard/handlers/ruby/comment_handler.rb +0 -0
- data/lib/yard/handlers/ruby/constant_handler.rb +0 -0
- data/lib/yard/handlers/ruby/decorator_handler_methods.rb +0 -0
- data/lib/yard/handlers/ruby/dsl_handler.rb +0 -0
- data/lib/yard/handlers/ruby/dsl_handler_methods.rb +0 -0
- data/lib/yard/handlers/ruby/exception_handler.rb +0 -0
- data/lib/yard/handlers/ruby/extend_handler.rb +0 -0
- data/lib/yard/handlers/ruby/legacy/alias_handler.rb +0 -0
- data/lib/yard/handlers/ruby/legacy/attribute_handler.rb +0 -0
- data/lib/yard/handlers/ruby/legacy/base.rb +0 -0
- data/lib/yard/handlers/ruby/legacy/class_condition_handler.rb +0 -0
- data/lib/yard/handlers/ruby/legacy/class_handler.rb +0 -0
- data/lib/yard/handlers/ruby/legacy/class_variable_handler.rb +0 -0
- data/lib/yard/handlers/ruby/legacy/comment_handler.rb +0 -0
- data/lib/yard/handlers/ruby/legacy/constant_handler.rb +0 -0
- data/lib/yard/handlers/ruby/legacy/dsl_handler.rb +0 -0
- data/lib/yard/handlers/ruby/legacy/exception_handler.rb +0 -0
- data/lib/yard/handlers/ruby/legacy/extend_handler.rb +0 -0
- data/lib/yard/handlers/ruby/legacy/method_handler.rb +0 -0
- data/lib/yard/handlers/ruby/legacy/mixin_handler.rb +0 -0
- data/lib/yard/handlers/ruby/legacy/module_function_handler.rb +0 -0
- data/lib/yard/handlers/ruby/legacy/module_handler.rb +0 -0
- data/lib/yard/handlers/ruby/legacy/private_class_method_handler.rb +0 -0
- data/lib/yard/handlers/ruby/legacy/private_constant_handler.rb +0 -0
- data/lib/yard/handlers/ruby/legacy/visibility_handler.rb +0 -0
- data/lib/yard/handlers/ruby/legacy/yield_handler.rb +0 -0
- data/lib/yard/handlers/ruby/method_condition_handler.rb +0 -0
- data/lib/yard/handlers/ruby/method_handler.rb +0 -0
- data/lib/yard/handlers/ruby/mixin_handler.rb +0 -0
- data/lib/yard/handlers/ruby/module_function_handler.rb +0 -0
- data/lib/yard/handlers/ruby/module_handler.rb +0 -0
- data/lib/yard/handlers/ruby/private_class_method_handler.rb +0 -0
- data/lib/yard/handlers/ruby/private_constant_handler.rb +0 -0
- data/lib/yard/handlers/ruby/public_class_method_handler.rb +0 -0
- data/lib/yard/handlers/ruby/struct_handler_methods.rb +0 -0
- data/lib/yard/handlers/ruby/visibility_handler.rb +0 -0
- data/lib/yard/handlers/ruby/yield_handler.rb +0 -0
- data/lib/yard/i18n/locale.rb +0 -0
- data/lib/yard/i18n/message.rb +0 -0
- data/lib/yard/i18n/messages.rb +0 -0
- data/lib/yard/i18n/po_parser.rb +0 -0
- data/lib/yard/i18n/pot_generator.rb +0 -0
- data/lib/yard/i18n/text.rb +0 -0
- data/lib/yard/logging.rb +0 -0
- data/lib/yard/options.rb +0 -0
- data/lib/yard/parser/base.rb +0 -0
- data/lib/yard/parser/c/c_parser.rb +0 -0
- data/lib/yard/parser/c/comment_parser.rb +0 -0
- data/lib/yard/parser/c/statement.rb +0 -0
- data/lib/yard/parser/ruby/ast_node.rb +0 -0
- data/lib/yard/parser/ruby/legacy/ruby_lex.rb +0 -0
- data/lib/yard/parser/ruby/legacy/ruby_parser.rb +0 -0
- data/lib/yard/parser/ruby/legacy/statement.rb +0 -0
- data/lib/yard/parser/ruby/legacy/statement_list.rb +0 -0
- data/lib/yard/parser/ruby/legacy/token_list.rb +0 -0
- data/lib/yard/parser/ruby/ruby_parser.rb +0 -0
- data/lib/yard/parser/ruby/token_resolver.rb +0 -0
- data/lib/yard/parser/source_parser.rb +0 -0
- data/lib/yard/rake/yardoc_task.rb +0 -0
- data/lib/yard/registry.rb +0 -0
- data/lib/yard/registry_resolver.rb +0 -0
- data/lib/yard/registry_store.rb +0 -0
- data/lib/yard/rubygems/backports.rb +0 -0
- data/lib/yard/rubygems/backports/LICENSE.txt +0 -0
- data/lib/yard/rubygems/backports/MIT.txt +0 -0
- data/lib/yard/rubygems/backports/gem.rb +0 -0
- data/lib/yard/rubygems/backports/source_index.rb +0 -0
- data/lib/yard/rubygems/doc_manager.rb +0 -0
- data/lib/yard/rubygems/hook.rb +0 -0
- data/lib/yard/rubygems/specification.rb +0 -0
- data/lib/yard/serializers/base.rb +0 -0
- data/lib/yard/serializers/file_system_serializer.rb +0 -0
- data/lib/yard/serializers/process_serializer.rb +0 -0
- data/lib/yard/serializers/stdout_serializer.rb +0 -0
- data/lib/yard/serializers/yardoc_serializer.rb +0 -0
- data/lib/yard/server.rb +0 -0
- data/lib/yard/server/adapter.rb +0 -0
- data/lib/yard/server/commands/base.rb +0 -0
- data/lib/yard/server/commands/display_file_command.rb +0 -0
- data/lib/yard/server/commands/display_object_command.rb +0 -0
- data/lib/yard/server/commands/frames_command.rb +0 -0
- data/lib/yard/server/commands/library_command.rb +0 -0
- data/lib/yard/server/commands/library_index_command.rb +0 -0
- data/lib/yard/server/commands/list_command.rb +0 -0
- data/lib/yard/server/commands/root_request_command.rb +0 -0
- data/lib/yard/server/commands/search_command.rb +0 -0
- data/lib/yard/server/commands/static_file_command.rb +0 -0
- data/lib/yard/server/commands/static_file_helpers.rb +0 -0
- data/lib/yard/server/doc_server_helper.rb +0 -0
- data/lib/yard/server/doc_server_serializer.rb +0 -0
- data/lib/yard/server/library_version.rb +0 -0
- data/lib/yard/server/rack_adapter.rb +0 -0
- data/lib/yard/server/router.rb +0 -0
- data/lib/yard/server/static_caching.rb +0 -0
- data/lib/yard/server/templates/default/fulldoc/html/css/custom.css +0 -0
- data/lib/yard/server/templates/default/fulldoc/html/images/processing.gif +0 -0
- data/lib/yard/server/templates/default/fulldoc/html/js/autocomplete.js +0 -0
- data/lib/yard/server/templates/default/layout/html/breadcrumb.erb +0 -0
- data/lib/yard/server/templates/default/layout/html/script_setup.erb +0 -0
- data/lib/yard/server/templates/default/layout/html/setup.rb +0 -0
- data/lib/yard/server/templates/default/method_details/html/permalink.erb +0 -0
- data/lib/yard/server/templates/default/method_details/html/setup.rb +0 -0
- data/lib/yard/server/templates/doc_server/library_list/html/headers.erb +0 -0
- data/lib/yard/server/templates/doc_server/library_list/html/library_list.erb +0 -0
- data/lib/yard/server/templates/doc_server/library_list/html/listing.erb +0 -0
- data/lib/yard/server/templates/doc_server/library_list/html/setup.rb +0 -0
- data/lib/yard/server/templates/doc_server/library_list/html/title.erb +0 -0
- data/lib/yard/server/templates/doc_server/processing/html/processing.erb +0 -0
- data/lib/yard/server/templates/doc_server/processing/html/setup.rb +0 -0
- data/lib/yard/server/templates/doc_server/search/html/search.erb +0 -0
- data/lib/yard/server/templates/doc_server/search/html/setup.rb +0 -0
- data/lib/yard/server/webrick_adapter.rb +0 -0
- data/lib/yard/tags/default_factory.rb +0 -0
- data/lib/yard/tags/default_tag.rb +0 -0
- data/lib/yard/tags/directives.rb +0 -0
- data/lib/yard/tags/library.rb +0 -0
- data/lib/yard/tags/option_tag.rb +0 -0
- data/lib/yard/tags/overload_tag.rb +0 -0
- data/lib/yard/tags/ref_tag.rb +0 -0
- data/lib/yard/tags/ref_tag_list.rb +0 -0
- data/lib/yard/tags/tag.rb +0 -0
- data/lib/yard/tags/tag_format_error.rb +0 -0
- data/lib/yard/tags/types_explainer.rb +0 -0
- data/lib/yard/templates/engine.rb +0 -0
- data/lib/yard/templates/erb_cache.rb +0 -0
- data/lib/yard/templates/helpers/base_helper.rb +0 -0
- data/lib/yard/templates/helpers/filter_helper.rb +0 -0
- data/lib/yard/templates/helpers/html_helper.rb +0 -0
- data/lib/yard/templates/helpers/html_syntax_highlight_helper.rb +0 -0
- data/lib/yard/templates/helpers/markup/rdoc_markdown.rb +0 -0
- data/lib/yard/templates/helpers/markup/rdoc_markup.rb +0 -0
- data/lib/yard/templates/helpers/markup_helper.rb +0 -0
- data/lib/yard/templates/helpers/method_helper.rb +0 -0
- data/lib/yard/templates/helpers/module_helper.rb +0 -0
- data/lib/yard/templates/helpers/text_helper.rb +0 -0
- data/lib/yard/templates/helpers/uml_helper.rb +0 -0
- data/lib/yard/templates/section.rb +0 -0
- data/lib/yard/templates/template.rb +0 -0
- data/lib/yard/templates/template_options.rb +0 -0
- data/lib/yard/verifier.rb +0 -0
- data/lib/yard/version.rb +1 -1
- data/spec/cli/command_parser_spec.rb +0 -0
- data/spec/cli/command_spec.rb +0 -0
- data/spec/cli/config_spec.rb +0 -0
- data/spec/cli/diff_spec.rb +0 -0
- data/spec/cli/display_spec.rb +0 -0
- data/spec/cli/gems_spec.rb +0 -0
- data/spec/cli/graph_spec.rb +0 -0
- data/spec/cli/help_spec.rb +0 -0
- data/spec/cli/i18n_spec.rb +0 -0
- data/spec/cli/list_spec.rb +0 -0
- data/spec/cli/markup_types_spec.rb +0 -0
- data/spec/cli/server_spec.rb +0 -0
- data/spec/cli/stats_spec.rb +0 -0
- data/spec/cli/yardoc_spec.rb +16 -6
- data/spec/cli/yri_spec.rb +0 -0
- data/spec/code_objects/base_spec.rb +0 -0
- data/spec/code_objects/class_object_spec.rb +0 -0
- data/spec/code_objects/code_object_list_spec.rb +0 -0
- data/spec/code_objects/constants_spec.rb +0 -0
- data/spec/code_objects/extra_file_object_spec.rb +0 -0
- data/spec/code_objects/macro_object_spec.rb +0 -0
- data/spec/code_objects/method_object_spec.rb +0 -0
- data/spec/code_objects/module_object_spec.rb +0 -0
- data/spec/code_objects/namespace_object_spec.rb +0 -0
- data/spec/code_objects/proxy_spec.rb +0 -0
- data/spec/code_objects/spec_helper.rb +0 -0
- data/spec/config_spec.rb +0 -0
- data/spec/core_ext/array_spec.rb +0 -0
- data/spec/core_ext/file_spec.rb +0 -0
- data/spec/core_ext/hash_spec.rb +0 -0
- data/spec/core_ext/insertion_spec.rb +0 -0
- data/spec/core_ext/module_spec.rb +0 -0
- data/spec/core_ext/string_spec.rb +0 -0
- data/spec/core_ext/symbol_hash_spec.rb +0 -0
- data/spec/docstring_parser_spec.rb +0 -0
- data/spec/docstring_spec.rb +0 -0
- data/spec/examples.txt +1851 -1849
- data/spec/handlers/alias_handler_spec.rb +0 -0
- data/spec/handlers/attribute_handler_spec.rb +0 -0
- data/spec/handlers/base_spec.rb +0 -0
- data/spec/handlers/c/alias_handler_spec.rb +0 -0
- data/spec/handlers/c/attribute_handler_spec.rb +0 -0
- data/spec/handlers/c/class_handler_spec.rb +0 -0
- data/spec/handlers/c/constant_handler_spec.rb +0 -0
- data/spec/handlers/c/init_handler_spec.rb +0 -0
- data/spec/handlers/c/method_handler_spec.rb +0 -0
- data/spec/handlers/c/mixin_handler_spec.rb +0 -0
- data/spec/handlers/c/module_handler_spec.rb +0 -0
- data/spec/handlers/c/override_comment_handler_spec.rb +0 -0
- data/spec/handlers/c/path_handler_spec.rb +0 -0
- data/spec/handlers/c/spec_helper.rb +0 -0
- data/spec/handlers/c/struct_handler_spec.rb +0 -0
- data/spec/handlers/class_condition_handler_spec.rb +0 -0
- data/spec/handlers/class_handler_spec.rb +0 -0
- data/spec/handlers/class_method_handler_shared_examples.rb +0 -0
- data/spec/handlers/class_variable_handler_spec.rb +0 -0
- data/spec/handlers/constant_handler_spec.rb +0 -0
- data/spec/handlers/decorator_handler_methods_spec.rb +0 -0
- data/spec/handlers/dsl_handler_spec.rb +0 -0
- data/spec/handlers/examples/alias_handler_001.rb.txt +0 -0
- data/spec/handlers/examples/attribute_handler_001.rb.txt +0 -0
- data/spec/handlers/examples/class_condition_handler_001.rb.txt +0 -0
- data/spec/handlers/examples/class_handler_001.rb.txt +0 -0
- data/spec/handlers/examples/class_variable_handler_001.rb.txt +0 -0
- data/spec/handlers/examples/constant_handler_001.rb.txt +0 -0
- data/spec/handlers/examples/dsl_handler_001.rb.txt +0 -0
- data/spec/handlers/examples/exception_handler_001.rb.txt +0 -0
- data/spec/handlers/examples/extend_handler_001.rb.txt +0 -0
- data/spec/handlers/examples/method_condition_handler_001.rb.txt +0 -0
- data/spec/handlers/examples/method_handler_001.rb.txt +0 -0
- data/spec/handlers/examples/mixin_handler_001.rb.txt +0 -0
- data/spec/handlers/examples/module_handler_001.rb.txt +0 -0
- data/spec/handlers/examples/private_constant_handler_001.rb.txt +0 -0
- data/spec/handlers/examples/process_handler_001.rb.txt +0 -0
- data/spec/handlers/examples/visibility_handler_001.rb.txt +0 -0
- data/spec/handlers/examples/yield_handler_001.rb.txt +0 -0
- data/spec/handlers/exception_handler_spec.rb +0 -0
- data/spec/handlers/extend_handler_spec.rb +0 -0
- data/spec/handlers/legacy_base_spec.rb +0 -0
- data/spec/handlers/method_condition_handler_spec.rb +0 -0
- data/spec/handlers/method_handler_spec.rb +0 -0
- data/spec/handlers/mixin_handler_spec.rb +0 -0
- data/spec/handlers/module_function_handler_spec.rb +0 -0
- data/spec/handlers/module_handler_spec.rb +0 -0
- data/spec/handlers/private_class_method_handler_spec.rb +0 -0
- data/spec/handlers/private_constant_handler_spec.rb +0 -0
- data/spec/handlers/processor_spec.rb +0 -0
- data/spec/handlers/public_class_method_handler_spec.rb +0 -0
- data/spec/handlers/ruby/base_spec.rb +0 -0
- data/spec/handlers/ruby/legacy/base_spec.rb +0 -0
- data/spec/handlers/spec_helper.rb +0 -0
- data/spec/handlers/visibility_handler_spec.rb +0 -0
- data/spec/handlers/yield_handler_spec.rb +0 -0
- data/spec/i18n/locale_spec.rb +0 -0
- data/spec/i18n/message_spec.rb +0 -0
- data/spec/i18n/messages_spec.rb +0 -0
- data/spec/i18n/pot_generator_spec.rb +0 -0
- data/spec/i18n/text_spec.rb +0 -0
- data/spec/logging_spec.rb +0 -0
- data/spec/options_spec.rb +0 -0
- data/spec/parser/base_spec.rb +0 -0
- data/spec/parser/c_parser_spec.rb +0 -0
- data/spec/parser/examples/array.c.txt +0 -0
- data/spec/parser/examples/example1.rb.txt +0 -0
- data/spec/parser/examples/extrafile.c.txt +0 -0
- data/spec/parser/examples/multifile.c.txt +0 -0
- data/spec/parser/examples/namespace.cpp.txt +0 -0
- data/spec/parser/examples/override.c.txt +0 -0
- data/spec/parser/examples/parse_in_order_001.rb.txt +0 -0
- data/spec/parser/examples/parse_in_order_002.rb.txt +0 -0
- data/spec/parser/examples/tag_handler_001.rb.txt +0 -0
- data/spec/parser/ruby/ast_node_spec.rb +0 -0
- data/spec/parser/ruby/legacy/statement_list_spec.rb +0 -0
- data/spec/parser/ruby/legacy/token_list_spec.rb +0 -0
- data/spec/parser/ruby/ruby_parser_spec.rb +0 -0
- data/spec/parser/ruby/token_resolver_spec.rb +0 -0
- data/spec/parser/source_parser_spec.rb +0 -0
- data/spec/parser/tag_parsing_spec.rb +0 -0
- data/spec/rake/yardoc_task_spec.rb +0 -0
- data/spec/registry_spec.rb +0 -0
- data/spec/registry_store_spec.rb +0 -0
- data/spec/rubygems/doc_manager_spec.rb +0 -0
- data/spec/serializers/data/serialized_yardoc/checksums +0 -0
- data/spec/serializers/data/serialized_yardoc/objects/Foo.dat +0 -0
- data/spec/serializers/data/serialized_yardoc/objects/Foo/bar_i.dat +0 -0
- data/spec/serializers/data/serialized_yardoc/objects/Foo/baz_i.dat +0 -0
- data/spec/serializers/data/serialized_yardoc/objects/root.dat +0 -0
- data/spec/serializers/data/serialized_yardoc/proxy_types +0 -0
- data/spec/serializers/file_system_serializer_spec.rb +0 -0
- data/spec/serializers/spec_helper.rb +0 -0
- data/spec/serializers/yardoc_serializer_spec.rb +0 -0
- data/spec/server/adapter_spec.rb +0 -0
- data/spec/server/commands/base_spec.rb +0 -0
- data/spec/server/commands/library_command_spec.rb +0 -0
- data/spec/server/doc_server_helper_spec.rb +0 -0
- data/spec/server/doc_server_serializer_spec.rb +0 -0
- data/spec/server/rack_adapter_spec.rb +0 -0
- data/spec/server/router_spec.rb +0 -0
- data/spec/server/spec_helper.rb +0 -0
- data/spec/server/static_caching_spec.rb +0 -0
- data/spec/server/webrick_servlet_spec.rb +0 -0
- data/spec/server_spec.rb +0 -0
- data/spec/spec_helper.rb +0 -0
- data/spec/tags/default_factory_spec.rb +0 -0
- data/spec/tags/default_tag_spec.rb +0 -0
- data/spec/tags/directives_spec.rb +0 -0
- data/spec/tags/library_spec.rb +0 -0
- data/spec/tags/overload_tag_spec.rb +0 -0
- data/spec/tags/ref_tag_list_spec.rb +0 -0
- data/spec/tags/types_explainer_spec.rb +0 -0
- data/spec/templates/class_spec.rb +0 -0
- data/spec/templates/constant_spec.rb +0 -0
- data/spec/templates/engine_spec.rb +0 -0
- data/spec/templates/examples/class001.html +0 -0
- data/spec/templates/examples/class001.txt +0 -0
- data/spec/templates/examples/class002.html +0 -0
- data/spec/templates/examples/constant001.txt +0 -0
- data/spec/templates/examples/constant002.txt +0 -0
- data/spec/templates/examples/constant003.txt +0 -0
- data/spec/templates/examples/method001.html +0 -0
- data/spec/templates/examples/method001.txt +0 -0
- data/spec/templates/examples/method002.html +0 -0
- data/spec/templates/examples/method002.txt +0 -0
- data/spec/templates/examples/method003.html +0 -0
- data/spec/templates/examples/method003.txt +0 -0
- data/spec/templates/examples/method004.html +0 -0
- data/spec/templates/examples/method004.txt +0 -0
- data/spec/templates/examples/method005.html +0 -0
- data/spec/templates/examples/method005.txt +0 -0
- data/spec/templates/examples/method006.html +0 -0
- data/spec/templates/examples/method006.txt +0 -0
- data/spec/templates/examples/module001.dot +0 -0
- data/spec/templates/examples/module001.html +0 -0
- data/spec/templates/examples/module001.txt +0 -0
- data/spec/templates/examples/module002.html +0 -0
- data/spec/templates/examples/module003.html +0 -0
- data/spec/templates/examples/module004.html +0 -0
- data/spec/templates/examples/tag001.txt +0 -0
- data/spec/templates/helpers/base_helper_spec.rb +0 -0
- data/spec/templates/helpers/html_helper_spec.rb +0 -0
- data/spec/templates/helpers/html_syntax_highlight_helper_spec.rb +0 -0
- data/spec/templates/helpers/markup/rdoc_markup_spec.rb +0 -0
- data/spec/templates/helpers/markup_helper_spec.rb +0 -0
- data/spec/templates/helpers/method_helper_spec.rb +0 -0
- data/spec/templates/helpers/module_helper_spec.rb +0 -0
- data/spec/templates/helpers/shared_signature_examples.rb +0 -0
- data/spec/templates/helpers/text_helper_spec.rb +0 -0
- data/spec/templates/method_spec.rb +0 -0
- data/spec/templates/module_spec.rb +0 -0
- data/spec/templates/onefile_spec.rb +0 -0
- data/spec/templates/section_spec.rb +0 -0
- data/spec/templates/spec_helper.rb +0 -0
- data/spec/templates/tag_spec.rb +0 -0
- data/spec/templates/template_spec.rb +0 -0
- data/spec/verifier_spec.rb +0 -0
- data/templates/default/class/dot/setup.rb +0 -0
- data/templates/default/class/dot/superklass.erb +0 -0
- data/templates/default/class/html/constructor_details.erb +0 -0
- data/templates/default/class/html/setup.rb +0 -0
- data/templates/default/class/html/subclasses.erb +0 -0
- data/templates/default/class/setup.rb +0 -0
- data/templates/default/class/text/setup.rb +0 -0
- data/templates/default/class/text/subclasses.erb +0 -0
- data/templates/default/constant/text/header.erb +0 -0
- data/templates/default/constant/text/setup.rb +0 -0
- data/templates/default/docstring/html/abstract.erb +0 -0
- data/templates/default/docstring/html/deprecated.erb +0 -0
- data/templates/default/docstring/html/index.erb +0 -0
- data/templates/default/docstring/html/note.erb +0 -0
- data/templates/default/docstring/html/private.erb +0 -0
- data/templates/default/docstring/html/returns_void.erb +0 -0
- data/templates/default/docstring/html/text.erb +0 -0
- data/templates/default/docstring/html/todo.erb +0 -0
- data/templates/default/docstring/setup.rb +0 -0
- data/templates/default/docstring/text/abstract.erb +0 -0
- data/templates/default/docstring/text/deprecated.erb +0 -0
- data/templates/default/docstring/text/index.erb +0 -0
- data/templates/default/docstring/text/note.erb +0 -0
- data/templates/default/docstring/text/private.erb +0 -0
- data/templates/default/docstring/text/returns_void.erb +0 -0
- data/templates/default/docstring/text/text.erb +0 -0
- data/templates/default/docstring/text/todo.erb +0 -0
- data/templates/default/fulldoc/html/css/common.css +0 -0
- data/templates/default/fulldoc/html/css/full_list.css +0 -0
- data/templates/default/fulldoc/html/css/style.css +0 -0
- data/templates/default/fulldoc/html/frames.erb +0 -0
- data/templates/default/fulldoc/html/full_list.erb +0 -0
- data/templates/default/fulldoc/html/full_list_class.erb +0 -0
- data/templates/default/fulldoc/html/full_list_file.erb +0 -0
- data/templates/default/fulldoc/html/full_list_method.erb +0 -0
- data/templates/default/fulldoc/html/js/app.js +0 -0
- data/templates/default/fulldoc/html/js/full_list.js +0 -0
- data/templates/default/fulldoc/html/js/jquery.js +0 -0
- data/templates/default/fulldoc/html/setup.rb +0 -0
- data/templates/default/layout/dot/header.erb +0 -0
- data/templates/default/layout/dot/setup.rb +0 -0
- data/templates/default/layout/html/breadcrumb.erb +0 -0
- data/templates/default/layout/html/files.erb +0 -0
- data/templates/default/layout/html/footer.erb +0 -0
- data/templates/default/layout/html/headers.erb +0 -0
- data/templates/default/layout/html/index.erb +0 -0
- data/templates/default/layout/html/layout.erb +0 -0
- data/templates/default/layout/html/listing.erb +0 -0
- data/templates/default/layout/html/objects.erb +0 -0
- data/templates/default/layout/html/script_setup.erb +0 -0
- data/templates/default/layout/html/search.erb +0 -0
- data/templates/default/layout/html/setup.rb +0 -0
- data/templates/default/method/html/header.erb +0 -0
- data/templates/default/method/setup.rb +0 -0
- data/templates/default/method/text/header.erb +0 -0
- data/templates/default/method_details/html/header.erb +0 -0
- data/templates/default/method_details/html/method_signature.erb +0 -0
- data/templates/default/method_details/html/source.erb +0 -0
- data/templates/default/method_details/setup.rb +0 -0
- data/templates/default/method_details/text/header.erb +0 -0
- data/templates/default/method_details/text/method_signature.erb +0 -0
- data/templates/default/method_details/text/setup.rb +0 -0
- data/templates/default/module/dot/child.erb +0 -0
- data/templates/default/module/dot/dependencies.erb +0 -0
- data/templates/default/module/dot/header.erb +0 -0
- data/templates/default/module/dot/info.erb +0 -0
- data/templates/default/module/dot/setup.rb +0 -0
- data/templates/default/module/html/attribute_details.erb +0 -0
- data/templates/default/module/html/attribute_summary.erb +0 -0
- data/templates/default/module/html/box_info.erb +0 -0
- data/templates/default/module/html/children.erb +0 -0
- data/templates/default/module/html/constant_summary.erb +0 -0
- data/templates/default/module/html/defines.erb +0 -0
- data/templates/default/module/html/header.erb +0 -0
- data/templates/default/module/html/inherited_attributes.erb +0 -0
- data/templates/default/module/html/inherited_constants.erb +0 -0
- data/templates/default/module/html/inherited_methods.erb +0 -0
- data/templates/default/module/html/item_summary.erb +0 -0
- data/templates/default/module/html/method_details_list.erb +0 -0
- data/templates/default/module/html/method_summary.erb +0 -0
- data/templates/default/module/html/methodmissing.erb +0 -0
- data/templates/default/module/html/pre_docstring.erb +0 -0
- data/templates/default/module/setup.rb +0 -0
- data/templates/default/module/text/children.erb +0 -0
- data/templates/default/module/text/class_meths_list.erb +0 -0
- data/templates/default/module/text/extends.erb +0 -0
- data/templates/default/module/text/header.erb +0 -0
- data/templates/default/module/text/includes.erb +0 -0
- data/templates/default/module/text/instance_meths_list.erb +0 -0
- data/templates/default/module/text/setup.rb +0 -0
- data/templates/default/onefile/html/files.erb +0 -0
- data/templates/default/onefile/html/headers.erb +0 -0
- data/templates/default/onefile/html/layout.erb +0 -0
- data/templates/default/onefile/html/readme.erb +0 -0
- data/templates/default/onefile/html/setup.rb +0 -0
- data/templates/default/root/dot/child.erb +0 -0
- data/templates/default/root/dot/setup.rb +0 -0
- data/templates/default/root/html/setup.rb +0 -0
- data/templates/default/tags/html/example.erb +0 -0
- data/templates/default/tags/html/index.erb +0 -0
- data/templates/default/tags/html/option.erb +0 -0
- data/templates/default/tags/html/overload.erb +0 -0
- data/templates/default/tags/html/see.erb +0 -0
- data/templates/default/tags/html/tag.erb +0 -0
- data/templates/default/tags/setup.rb +0 -0
- data/templates/default/tags/text/example.erb +0 -0
- data/templates/default/tags/text/index.erb +0 -0
- data/templates/default/tags/text/option.erb +0 -0
- data/templates/default/tags/text/overload.erb +0 -0
- data/templates/default/tags/text/see.erb +0 -0
- data/templates/default/tags/text/tag.erb +0 -0
- data/templates/guide/class/html/setup.rb +0 -0
- data/templates/guide/docstring/html/setup.rb +0 -0
- data/templates/guide/fulldoc/html/css/style.css +0 -0
- data/templates/guide/fulldoc/html/js/app.js +0 -0
- data/templates/guide/fulldoc/html/setup.rb +0 -0
- data/templates/guide/layout/html/layout.erb +0 -0
- data/templates/guide/layout/html/setup.rb +0 -0
- data/templates/guide/method/html/header.erb +0 -0
- data/templates/guide/method/html/setup.rb +0 -0
- data/templates/guide/module/html/header.erb +0 -0
- data/templates/guide/module/html/method_list.erb +0 -0
- data/templates/guide/module/html/setup.rb +0 -0
- data/templates/guide/onefile/html/files.erb +0 -0
- data/templates/guide/onefile/html/setup.rb +0 -0
- data/templates/guide/onefile/html/toc.erb +0 -0
- data/templates/guide/tags/html/setup.rb +0 -0
- data/yard.gemspec +0 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 74bbd8287f17919c27e5ff01d7f2ad6bf4664bb5
|
4
|
+
data.tar.gz: 37ec664545378af541b4a3767ae0f03f087fb1f2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cee724ae82beccaa8d7b6f0e4159a045c89c03c75b2d402947f978bf8277b8d3e650c543c08b4d2ec4bd2ee0550752dcaed2b43e7824fc79452f370e6e282a02
|
7
|
+
data.tar.gz: ccb8e825752ba9ca38e11bd8f0dd0bbf23e743582b385d983d76fa27177b141106254c12f368336b8fd907f8ffb39e8967b9ed2caf86ca1f3ccd425a26978c53
|
data/.yardopts
CHANGED
File without changes
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
# [0.9.12] - November 26th, 2017
|
2
|
+
|
3
|
+
[0.9.12]: https://github.com/lsegal/yard/compare/v0.9.11...v0.9.12
|
4
|
+
|
5
|
+
- Be more explicit about lack of support for absolute paths in extra files
|
6
|
+
specified by `yard doc` command.
|
7
|
+
|
1
8
|
# [0.9.11] - November 23rd, 2017
|
2
9
|
|
3
10
|
[0.9.11]: https://github.com/lsegal/yard/compare/v0.9.10...v0.9.11
|
data/LEGAL
CHANGED
File without changes
|
data/LICENSE
CHANGED
File without changes
|
data/README.md
CHANGED
@@ -3,7 +3,6 @@
|
|
3
3
|
[![Homepage](http://img.shields.io/badge/home-yardoc.org-blue.svg)](http://yardoc.org)
|
4
4
|
[![GitHub](http://img.shields.io/badge/github-lsegal/yard-blue.svg)](http://github.com/lsegal/yard)
|
5
5
|
[![Documentation](http://img.shields.io/badge/docs-rdoc.info-blue.svg)](http://rubydoc.org/gems/yard/frames)
|
6
|
-
[![IRC Chat](https://img.shields.io/badge/chat-%23yard%20@%20freenode-orange.svg)](irc://irc.freenode.net/yard)
|
7
6
|
|
8
7
|
[![Gem Version](https://badge.fury.io/rb/yard.svg)](http://github.com/lsegal/yard/releases)
|
9
8
|
[![Build Status](https://travis-ci.org/lsegal/yard.svg?branch=master)](https://travis-ci.org/lsegal/yard)
|
data/Rakefile
CHANGED
File without changes
|
File without changes
|
File without changes
|
data/benchmarks/erb_vs_erubis.rb
CHANGED
File without changes
|
data/benchmarks/format_args.rb
CHANGED
File without changes
|
data/benchmarks/generation.rb
CHANGED
File without changes
|
File without changes
|
data/benchmarks/parsing.rb
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/benchmarks/ri_vs_yri.rb
CHANGED
File without changes
|
data/benchmarks/ripper_parser.rb
CHANGED
File without changes
|
File without changes
|
data/benchmarks/template_erb.rb
CHANGED
File without changes
|
File without changes
|
File without changes
|
data/benchmarks/yri_cache.rb
CHANGED
File without changes
|
data/docs/CodeObjects.md
CHANGED
File without changes
|
data/docs/GettingStarted.md
CHANGED
File without changes
|
data/docs/Handlers.md
CHANGED
File without changes
|
data/docs/Overview.md
CHANGED
File without changes
|
data/docs/Parser.md
CHANGED
File without changes
|
data/docs/Tags.md
CHANGED
File without changes
|
data/docs/TagsArch.md
CHANGED
File without changes
|
data/docs/Templates.md
CHANGED
File without changes
|
data/docs/WhatsNew.md
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/docs/templates/plugin.rb
CHANGED
File without changes
|
data/lib/rubygems_plugin.rb
CHANGED
File without changes
|
data/lib/yard.rb
CHANGED
File without changes
|
data/lib/yard/autoload.rb
CHANGED
File without changes
|
data/lib/yard/cli/command.rb
CHANGED
File without changes
|
File without changes
|
data/lib/yard/cli/config.rb
CHANGED
File without changes
|
data/lib/yard/cli/diff.rb
CHANGED
File without changes
|
data/lib/yard/cli/display.rb
CHANGED
File without changes
|
data/lib/yard/cli/gems.rb
CHANGED
File without changes
|
data/lib/yard/cli/graph.rb
CHANGED
File without changes
|
data/lib/yard/cli/help.rb
CHANGED
File without changes
|
data/lib/yard/cli/i18n.rb
CHANGED
File without changes
|
data/lib/yard/cli/list.rb
CHANGED
File without changes
|
File without changes
|
data/lib/yard/cli/server.rb
CHANGED
File without changes
|
data/lib/yard/cli/stats.rb
CHANGED
File without changes
|
data/lib/yard/cli/yardoc.rb
CHANGED
@@ -411,14 +411,27 @@ module YARD
|
|
411
411
|
def add_extra_files(*files)
|
412
412
|
files.map! {|f| f.include?("*") ? Dir.glob(f) : f }.flatten!
|
413
413
|
files.each do |file|
|
414
|
-
if
|
414
|
+
if extra_file_valid?(file)
|
415
415
|
options.files << CodeObjects::ExtraFileObject.new(file)
|
416
|
-
else
|
417
|
-
log.warn "Could not find extra file: #{file}"
|
418
416
|
end
|
419
417
|
end
|
420
418
|
end
|
421
419
|
|
420
|
+
# @param file [String] the filename to validate
|
421
|
+
# @param check_exists [Boolean] whether the file should exist on disk
|
422
|
+
# @return [Boolean] whether the file is allowed to be used
|
423
|
+
def extra_file_valid?(file, check_exists = true)
|
424
|
+
if file =~ %r{^(?:\.\./|/)}
|
425
|
+
log.warn "Invalid file: #{file}"
|
426
|
+
false
|
427
|
+
elsif check_exists && !File.file?(file)
|
428
|
+
log.warn "Could not find file: #{file}"
|
429
|
+
false
|
430
|
+
else
|
431
|
+
true
|
432
|
+
end
|
433
|
+
end
|
434
|
+
|
422
435
|
# Parses the file arguments into Ruby files and extra files, which are
|
423
436
|
# separated by a '-' element.
|
424
437
|
#
|
@@ -644,10 +657,8 @@ module YARD
|
|
644
657
|
|
645
658
|
opts.on('-r', '--readme FILE', '--main FILE', 'The readme file used as the title page',
|
646
659
|
' of documentation.') do |readme|
|
647
|
-
if
|
660
|
+
if extra_file_valid?(readme)
|
648
661
|
options.readme = CodeObjects::ExtraFileObject.new(readme)
|
649
|
-
else
|
650
|
-
log.warn "Could not find readme file: #{readme}"
|
651
662
|
end
|
652
663
|
end
|
653
664
|
|
@@ -658,12 +669,9 @@ module YARD
|
|
658
669
|
|
659
670
|
opts.on('--asset FROM[:TO]', 'A file or directory to copy over to output ',
|
660
671
|
' directory after generating') do |asset|
|
661
|
-
re = %r{^(?:\.\./|/)}
|
662
672
|
from, to = *asset.split(':').map {|f| File.cleanpath(f, true) }
|
663
673
|
to ||= from
|
664
|
-
if from
|
665
|
-
log.warn "Invalid file '#{asset}'"
|
666
|
-
else
|
674
|
+
if extra_file_valid?(from, false) && extra_file_valid?(to, false)
|
667
675
|
assets[from] = to
|
668
676
|
end
|
669
677
|
end
|
File without changes
|
data/lib/yard/cli/yri.rb
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/lib/yard/config.rb
CHANGED
File without changes
|
data/lib/yard/core_ext/array.rb
CHANGED
File without changes
|
data/lib/yard/core_ext/file.rb
CHANGED
File without changes
|
data/lib/yard/core_ext/hash.rb
CHANGED
File without changes
|
File without changes
|
data/lib/yard/core_ext/module.rb
CHANGED
File without changes
|
data/lib/yard/core_ext/string.rb
CHANGED
File without changes
|
File without changes
|
data/lib/yard/docstring.rb
CHANGED
File without changes
|
File without changes
|
data/lib/yard/gem_index.rb
CHANGED
File without changes
|
data/lib/yard/globals.rb
CHANGED
File without changes
|
data/lib/yard/handlers/base.rb
CHANGED
File without changes
|
File without changes
|
File without changes
|
data/lib/yard/handlers/c/base.rb
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/lib/yard/i18n/locale.rb
CHANGED
File without changes
|
data/lib/yard/i18n/message.rb
CHANGED
File without changes
|
data/lib/yard/i18n/messages.rb
CHANGED
File without changes
|
data/lib/yard/i18n/po_parser.rb
CHANGED
File without changes
|
File without changes
|
data/lib/yard/i18n/text.rb
CHANGED
File without changes
|
data/lib/yard/logging.rb
CHANGED
File without changes
|
data/lib/yard/options.rb
CHANGED
File without changes
|
data/lib/yard/parser/base.rb
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/lib/yard/registry.rb
CHANGED
File without changes
|
File without changes
|
data/lib/yard/registry_store.rb
CHANGED
File without changes
|
File without changes
|