yard 0.9.27 → 0.9.29
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/LEGAL +29 -1
- data/LICENSE +1 -1
- data/lib/yard/autoload.rb +2 -1
- data/lib/yard/cli/command.rb +1 -1
- data/lib/yard/cli/stats.rb +2 -1
- data/lib/yard/cli/yardoc.rb +3 -2
- data/lib/yard/code_objects/base.rb +4 -1
- data/lib/yard/config.rb +5 -1
- data/lib/yard/docstring_parser.rb +1 -1
- data/lib/yard/handlers/ruby/attribute_handler.rb +1 -1
- data/lib/yard/handlers/ruby/legacy/attribute_handler.rb +1 -1
- data/lib/yard/handlers/ruby/method_handler.rb +1 -1
- data/lib/yard/handlers/ruby/mixin_handler.rb +13 -6
- data/lib/yard/i18n/locale.rb +1 -1
- data/lib/yard/i18n/message.rb +2 -2
- data/lib/yard/i18n/messages.rb +1 -1
- data/lib/yard/i18n/pot_generator.rb +1 -1
- data/lib/yard/options.rb +1 -1
- data/lib/yard/parser/ruby/ast_node.rb +7 -0
- data/lib/yard/parser/ruby/ruby_parser.rb +8 -2
- data/lib/yard/registry_resolver.rb +2 -1
- data/lib/yard/server/commands/base.rb +1 -1
- data/lib/yard/server/http_utils.rb +512 -0
- data/lib/yard/server/rack_adapter.rb +24 -12
- data/lib/yard/tags/tag.rb +2 -2
- data/lib/yard/tags/types_explainer.rb +1 -1
- data/lib/yard/templates/helpers/html_helper.rb +1 -1
- data/lib/yard/templates/helpers/method_helper.rb +3 -1
- data/lib/yard/templates/template.rb +3 -1
- data/lib/yard/version.rb +1 -1
- data/lib/yard.rb +3 -0
- metadata +5 -208
- data/.dockerignore +0 -2
- data/.gitattributes +0 -4
- data/.github/FUNDING.yml +0 -3
- data/.github/ISSUE_TEMPLATE.md +0 -33
- data/.github/PULL_REQUEST_TEMPLATE.md +0 -12
- data/.github/workflows/ci.yml +0 -30
- data/.github/workflows/gem.yml +0 -19
- data/.gitignore +0 -14
- data/.rspec +0 -2
- data/.rubocop.yml +0 -112
- data/.yardopts +0 -26
- data/.yardopts_guide +0 -19
- data/.yardopts_i18n +0 -23
- data/CHANGELOG.md +0 -827
- data/CODE_OF_CONDUCT.md +0 -15
- data/CONTRIBUTING.md +0 -140
- data/Dockerfile.samus +0 -28
- data/Gemfile +0 -34
- data/Rakefile +0 -36
- data/SECURITY.md +0 -26
- data/benchmarks/builtins_vs_eval.rb +0 -24
- data/benchmarks/concat_vs_join.rb +0 -13
- data/benchmarks/erb_vs_erubis.rb +0 -54
- data/benchmarks/format_args.rb +0 -47
- data/benchmarks/generation.rb +0 -38
- data/benchmarks/marshal_vs_dbm.rb +0 -64
- data/benchmarks/parsing.rb +0 -46
- data/benchmarks/pathname_vs_string.rb +0 -51
- data/benchmarks/rdoc_vs_yardoc.rb +0 -11
- data/benchmarks/registry_store_types.rb +0 -49
- data/benchmarks/ri_vs_yri.rb +0 -19
- data/benchmarks/ripper_parser.rb +0 -13
- data/benchmarks/splat_vs_flatten.rb +0 -13
- data/benchmarks/template_erb.rb +0 -23
- data/benchmarks/template_format.rb +0 -7
- data/benchmarks/template_profile.rb +0 -18
- data/benchmarks/yri_cache.rb +0 -20
- data/docs/CodeObjects.md +0 -115
- data/docs/GettingStarted.md +0 -679
- data/docs/Handlers.md +0 -152
- data/docs/Overview.md +0 -61
- data/docs/Parser.md +0 -191
- data/docs/Tags.md +0 -283
- data/docs/TagsArch.md +0 -123
- data/docs/Templates.md +0 -496
- data/docs/WhatsNew.md +0 -1245
- data/docs/images/code-objects-class-diagram.png +0 -0
- data/docs/images/handlers-class-diagram.png +0 -0
- data/docs/images/overview-class-diagram.png +0 -0
- data/docs/images/parser-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 -9
- data/docs/templates/default/fulldoc/html/setup.rb +0 -6
- data/docs/templates/default/layout/html/setup.rb +0 -9
- data/docs/templates/default/layout/html/tag_list.erb +0 -11
- data/docs/templates/default/yard_tags/html/list.erb +0 -18
- data/docs/templates/default/yard_tags/html/setup.rb +0 -26
- data/docs/templates/plugin.rb +0 -70
- data/po/ja.po +0 -31108
- data/samus.json +0 -49
- data/tasks/prepare_tag.rake +0 -45
- data/tasks/update_error_map.rake +0 -53
- data/templates/default/class/dot/setup.rb +0 -7
- data/templates/default/class/dot/superklass.erb +0 -3
- data/templates/default/class/html/constructor_details.erb +0 -8
- data/templates/default/class/html/setup.rb +0 -2
- data/templates/default/class/html/subclasses.erb +0 -4
- data/templates/default/class/setup.rb +0 -36
- data/templates/default/class/text/setup.rb +0 -12
- data/templates/default/class/text/subclasses.erb +0 -5
- data/templates/default/constant/text/header.erb +0 -11
- data/templates/default/constant/text/setup.rb +0 -4
- data/templates/default/docstring/html/abstract.erb +0 -4
- data/templates/default/docstring/html/deprecated.erb +0 -1
- data/templates/default/docstring/html/index.erb +0 -5
- data/templates/default/docstring/html/note.erb +0 -6
- data/templates/default/docstring/html/private.erb +0 -4
- data/templates/default/docstring/html/returns_void.erb +0 -1
- data/templates/default/docstring/html/text.erb +0 -1
- data/templates/default/docstring/html/todo.erb +0 -6
- data/templates/default/docstring/setup.rb +0 -52
- data/templates/default/docstring/text/abstract.erb +0 -2
- data/templates/default/docstring/text/deprecated.erb +0 -2
- data/templates/default/docstring/text/index.erb +0 -2
- data/templates/default/docstring/text/note.erb +0 -4
- data/templates/default/docstring/text/private.erb +0 -2
- data/templates/default/docstring/text/returns_void.erb +0 -1
- data/templates/default/docstring/text/text.erb +0 -1
- data/templates/default/docstring/text/todo.erb +0 -4
- data/templates/default/fulldoc/html/css/common.css +0 -1
- data/templates/default/fulldoc/html/css/full_list.css +0 -58
- data/templates/default/fulldoc/html/css/style.css +0 -497
- data/templates/default/fulldoc/html/frames.erb +0 -17
- data/templates/default/fulldoc/html/full_list.erb +0 -37
- data/templates/default/fulldoc/html/full_list_class.erb +0 -2
- data/templates/default/fulldoc/html/full_list_file.erb +0 -7
- data/templates/default/fulldoc/html/full_list_method.erb +0 -10
- data/templates/default/fulldoc/html/js/app.js +0 -314
- data/templates/default/fulldoc/html/js/full_list.js +0 -216
- data/templates/default/fulldoc/html/js/jquery.js +0 -4
- data/templates/default/fulldoc/html/setup.rb +0 -241
- data/templates/default/layout/dot/header.erb +0 -6
- data/templates/default/layout/dot/setup.rb +0 -15
- data/templates/default/layout/html/breadcrumb.erb +0 -11
- data/templates/default/layout/html/files.erb +0 -11
- data/templates/default/layout/html/footer.erb +0 -5
- data/templates/default/layout/html/headers.erb +0 -15
- data/templates/default/layout/html/index.erb +0 -2
- data/templates/default/layout/html/layout.erb +0 -24
- data/templates/default/layout/html/listing.erb +0 -4
- data/templates/default/layout/html/objects.erb +0 -32
- data/templates/default/layout/html/script_setup.erb +0 -4
- data/templates/default/layout/html/search.erb +0 -13
- data/templates/default/layout/html/setup.rb +0 -89
- data/templates/default/method/html/header.erb +0 -17
- data/templates/default/method/setup.rb +0 -4
- data/templates/default/method/text/header.erb +0 -1
- data/templates/default/method_details/html/header.erb +0 -3
- data/templates/default/method_details/html/method_signature.erb +0 -25
- data/templates/default/method_details/html/source.erb +0 -10
- data/templates/default/method_details/setup.rb +0 -11
- data/templates/default/method_details/text/header.erb +0 -10
- data/templates/default/method_details/text/method_signature.erb +0 -12
- data/templates/default/method_details/text/setup.rb +0 -11
- data/templates/default/module/dot/child.erb +0 -1
- data/templates/default/module/dot/dependencies.erb +0 -3
- data/templates/default/module/dot/header.erb +0 -6
- data/templates/default/module/dot/info.erb +0 -14
- data/templates/default/module/dot/setup.rb +0 -15
- data/templates/default/module/html/attribute_details.erb +0 -10
- data/templates/default/module/html/attribute_summary.erb +0 -8
- data/templates/default/module/html/box_info.erb +0 -43
- data/templates/default/module/html/children.erb +0 -8
- data/templates/default/module/html/constant_summary.erb +0 -17
- data/templates/default/module/html/defines.erb +0 -3
- data/templates/default/module/html/header.erb +0 -5
- data/templates/default/module/html/inherited_attributes.erb +0 -14
- data/templates/default/module/html/inherited_constants.erb +0 -8
- data/templates/default/module/html/inherited_methods.erb +0 -19
- data/templates/default/module/html/item_summary.erb +0 -40
- data/templates/default/module/html/method_details_list.erb +0 -9
- data/templates/default/module/html/method_summary.erb +0 -14
- data/templates/default/module/html/methodmissing.erb +0 -12
- data/templates/default/module/html/pre_docstring.erb +0 -1
- data/templates/default/module/setup.rb +0 -167
- data/templates/default/module/text/children.erb +0 -10
- data/templates/default/module/text/class_meths_list.erb +0 -8
- data/templates/default/module/text/extends.erb +0 -8
- data/templates/default/module/text/header.erb +0 -7
- data/templates/default/module/text/includes.erb +0 -8
- data/templates/default/module/text/instance_meths_list.erb +0 -8
- data/templates/default/module/text/setup.rb +0 -13
- data/templates/default/onefile/html/files.erb +0 -5
- data/templates/default/onefile/html/headers.erb +0 -6
- data/templates/default/onefile/html/layout.erb +0 -17
- data/templates/default/onefile/html/readme.erb +0 -3
- data/templates/default/onefile/html/setup.rb +0 -62
- data/templates/default/root/dot/child.erb +0 -3
- data/templates/default/root/dot/setup.rb +0 -6
- data/templates/default/root/html/setup.rb +0 -2
- data/templates/default/tags/html/example.erb +0 -11
- data/templates/default/tags/html/index.erb +0 -3
- data/templates/default/tags/html/option.erb +0 -24
- data/templates/default/tags/html/overload.erb +0 -14
- data/templates/default/tags/html/see.erb +0 -8
- data/templates/default/tags/html/tag.erb +0 -20
- data/templates/default/tags/setup.rb +0 -57
- data/templates/default/tags/text/example.erb +0 -12
- data/templates/default/tags/text/index.erb +0 -1
- data/templates/default/tags/text/option.erb +0 -20
- data/templates/default/tags/text/overload.erb +0 -19
- data/templates/default/tags/text/see.erb +0 -11
- data/templates/default/tags/text/tag.erb +0 -13
- data/templates/guide/class/html/setup.rb +0 -2
- data/templates/guide/docstring/html/setup.rb +0 -2
- data/templates/guide/fulldoc/html/css/style.css +0 -108
- data/templates/guide/fulldoc/html/js/app.js +0 -33
- data/templates/guide/fulldoc/html/setup.rb +0 -74
- data/templates/guide/layout/html/layout.erb +0 -81
- data/templates/guide/layout/html/setup.rb +0 -25
- data/templates/guide/method/html/header.erb +0 -18
- data/templates/guide/method/html/setup.rb +0 -22
- data/templates/guide/module/html/header.erb +0 -7
- data/templates/guide/module/html/method_list.erb +0 -5
- data/templates/guide/module/html/setup.rb +0 -27
- data/templates/guide/onefile/html/files.erb +0 -4
- data/templates/guide/onefile/html/setup.rb +0 -6
- data/templates/guide/onefile/html/toc.erb +0 -3
- data/templates/guide/tags/html/setup.rb +0 -9
- data/yard.gemspec +0 -25
metadata
CHANGED
@@ -1,29 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: yard
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.29
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Loren Segal
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
12
|
-
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: webrick
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - "~>"
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: 1.7.0
|
20
|
-
type: :runtime
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - "~>"
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: 1.7.0
|
11
|
+
date: 2023-04-08 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
27
13
|
description: |2
|
28
14
|
YARD is a documentation generation tool for the Ruby programming language.
|
29
15
|
It enables the user to generate consistent, usable documentation that can be
|
@@ -37,70 +23,12 @@ executables:
|
|
37
23
|
extensions: []
|
38
24
|
extra_rdoc_files: []
|
39
25
|
files:
|
40
|
-
- ".dockerignore"
|
41
|
-
- ".gitattributes"
|
42
|
-
- ".github/FUNDING.yml"
|
43
|
-
- ".github/ISSUE_TEMPLATE.md"
|
44
|
-
- ".github/PULL_REQUEST_TEMPLATE.md"
|
45
|
-
- ".github/workflows/ci.yml"
|
46
|
-
- ".github/workflows/gem.yml"
|
47
|
-
- ".gitignore"
|
48
|
-
- ".rspec"
|
49
|
-
- ".rubocop.yml"
|
50
|
-
- ".yardopts"
|
51
|
-
- ".yardopts_guide"
|
52
|
-
- ".yardopts_i18n"
|
53
|
-
- CHANGELOG.md
|
54
|
-
- CODE_OF_CONDUCT.md
|
55
|
-
- CONTRIBUTING.md
|
56
|
-
- Dockerfile.samus
|
57
|
-
- Gemfile
|
58
26
|
- LEGAL
|
59
27
|
- LICENSE
|
60
28
|
- README.md
|
61
|
-
- Rakefile
|
62
|
-
- SECURITY.md
|
63
|
-
- benchmarks/builtins_vs_eval.rb
|
64
|
-
- benchmarks/concat_vs_join.rb
|
65
|
-
- benchmarks/erb_vs_erubis.rb
|
66
|
-
- benchmarks/format_args.rb
|
67
|
-
- benchmarks/generation.rb
|
68
|
-
- benchmarks/marshal_vs_dbm.rb
|
69
|
-
- benchmarks/parsing.rb
|
70
|
-
- benchmarks/pathname_vs_string.rb
|
71
|
-
- benchmarks/rdoc_vs_yardoc.rb
|
72
|
-
- benchmarks/registry_store_types.rb
|
73
|
-
- benchmarks/ri_vs_yri.rb
|
74
|
-
- benchmarks/ripper_parser.rb
|
75
|
-
- benchmarks/splat_vs_flatten.rb
|
76
|
-
- benchmarks/template_erb.rb
|
77
|
-
- benchmarks/template_format.rb
|
78
|
-
- benchmarks/template_profile.rb
|
79
|
-
- benchmarks/yri_cache.rb
|
80
29
|
- bin/yard
|
81
30
|
- bin/yardoc
|
82
31
|
- bin/yri
|
83
|
-
- docs/CodeObjects.md
|
84
|
-
- docs/GettingStarted.md
|
85
|
-
- docs/Handlers.md
|
86
|
-
- docs/Overview.md
|
87
|
-
- docs/Parser.md
|
88
|
-
- docs/Tags.md
|
89
|
-
- docs/TagsArch.md
|
90
|
-
- docs/Templates.md
|
91
|
-
- docs/WhatsNew.md
|
92
|
-
- docs/images/code-objects-class-diagram.png
|
93
|
-
- docs/images/handlers-class-diagram.png
|
94
|
-
- docs/images/overview-class-diagram.png
|
95
|
-
- docs/images/parser-class-diagram.png
|
96
|
-
- docs/images/tags-class-diagram.png
|
97
|
-
- docs/templates/default/fulldoc/html/full_list_tag.erb
|
98
|
-
- docs/templates/default/fulldoc/html/setup.rb
|
99
|
-
- docs/templates/default/layout/html/setup.rb
|
100
|
-
- docs/templates/default/layout/html/tag_list.erb
|
101
|
-
- docs/templates/default/yard_tags/html/list.erb
|
102
|
-
- docs/templates/default/yard_tags/html/setup.rb
|
103
|
-
- docs/templates/plugin.rb
|
104
32
|
- lib/rubygems_plugin.rb
|
105
33
|
- lib/yard.rb
|
106
34
|
- lib/yard/autoload.rb
|
@@ -259,6 +187,7 @@ files:
|
|
259
187
|
- lib/yard/server/commands/static_file_helpers.rb
|
260
188
|
- lib/yard/server/doc_server_helper.rb
|
261
189
|
- lib/yard/server/doc_server_serializer.rb
|
190
|
+
- lib/yard/server/http_utils.rb
|
262
191
|
- lib/yard/server/library_version.rb
|
263
192
|
- lib/yard/server/rack_adapter.rb
|
264
193
|
- lib/yard/server/router.rb
|
@@ -310,138 +239,6 @@ files:
|
|
310
239
|
- lib/yard/templates/template_options.rb
|
311
240
|
- lib/yard/verifier.rb
|
312
241
|
- lib/yard/version.rb
|
313
|
-
- po/ja.po
|
314
|
-
- samus.json
|
315
|
-
- tasks/prepare_tag.rake
|
316
|
-
- tasks/update_error_map.rake
|
317
|
-
- templates/default/class/dot/setup.rb
|
318
|
-
- templates/default/class/dot/superklass.erb
|
319
|
-
- templates/default/class/html/constructor_details.erb
|
320
|
-
- templates/default/class/html/setup.rb
|
321
|
-
- templates/default/class/html/subclasses.erb
|
322
|
-
- templates/default/class/setup.rb
|
323
|
-
- templates/default/class/text/setup.rb
|
324
|
-
- templates/default/class/text/subclasses.erb
|
325
|
-
- templates/default/constant/text/header.erb
|
326
|
-
- templates/default/constant/text/setup.rb
|
327
|
-
- templates/default/docstring/html/abstract.erb
|
328
|
-
- templates/default/docstring/html/deprecated.erb
|
329
|
-
- templates/default/docstring/html/index.erb
|
330
|
-
- templates/default/docstring/html/note.erb
|
331
|
-
- templates/default/docstring/html/private.erb
|
332
|
-
- templates/default/docstring/html/returns_void.erb
|
333
|
-
- templates/default/docstring/html/text.erb
|
334
|
-
- templates/default/docstring/html/todo.erb
|
335
|
-
- templates/default/docstring/setup.rb
|
336
|
-
- templates/default/docstring/text/abstract.erb
|
337
|
-
- templates/default/docstring/text/deprecated.erb
|
338
|
-
- templates/default/docstring/text/index.erb
|
339
|
-
- templates/default/docstring/text/note.erb
|
340
|
-
- templates/default/docstring/text/private.erb
|
341
|
-
- templates/default/docstring/text/returns_void.erb
|
342
|
-
- templates/default/docstring/text/text.erb
|
343
|
-
- templates/default/docstring/text/todo.erb
|
344
|
-
- templates/default/fulldoc/html/css/common.css
|
345
|
-
- templates/default/fulldoc/html/css/full_list.css
|
346
|
-
- templates/default/fulldoc/html/css/style.css
|
347
|
-
- templates/default/fulldoc/html/frames.erb
|
348
|
-
- templates/default/fulldoc/html/full_list.erb
|
349
|
-
- templates/default/fulldoc/html/full_list_class.erb
|
350
|
-
- templates/default/fulldoc/html/full_list_file.erb
|
351
|
-
- templates/default/fulldoc/html/full_list_method.erb
|
352
|
-
- templates/default/fulldoc/html/js/app.js
|
353
|
-
- templates/default/fulldoc/html/js/full_list.js
|
354
|
-
- templates/default/fulldoc/html/js/jquery.js
|
355
|
-
- templates/default/fulldoc/html/setup.rb
|
356
|
-
- templates/default/layout/dot/header.erb
|
357
|
-
- templates/default/layout/dot/setup.rb
|
358
|
-
- templates/default/layout/html/breadcrumb.erb
|
359
|
-
- templates/default/layout/html/files.erb
|
360
|
-
- templates/default/layout/html/footer.erb
|
361
|
-
- templates/default/layout/html/headers.erb
|
362
|
-
- templates/default/layout/html/index.erb
|
363
|
-
- templates/default/layout/html/layout.erb
|
364
|
-
- templates/default/layout/html/listing.erb
|
365
|
-
- templates/default/layout/html/objects.erb
|
366
|
-
- templates/default/layout/html/script_setup.erb
|
367
|
-
- templates/default/layout/html/search.erb
|
368
|
-
- templates/default/layout/html/setup.rb
|
369
|
-
- templates/default/method/html/header.erb
|
370
|
-
- templates/default/method/setup.rb
|
371
|
-
- templates/default/method/text/header.erb
|
372
|
-
- templates/default/method_details/html/header.erb
|
373
|
-
- templates/default/method_details/html/method_signature.erb
|
374
|
-
- templates/default/method_details/html/source.erb
|
375
|
-
- templates/default/method_details/setup.rb
|
376
|
-
- templates/default/method_details/text/header.erb
|
377
|
-
- templates/default/method_details/text/method_signature.erb
|
378
|
-
- templates/default/method_details/text/setup.rb
|
379
|
-
- templates/default/module/dot/child.erb
|
380
|
-
- templates/default/module/dot/dependencies.erb
|
381
|
-
- templates/default/module/dot/header.erb
|
382
|
-
- templates/default/module/dot/info.erb
|
383
|
-
- templates/default/module/dot/setup.rb
|
384
|
-
- templates/default/module/html/attribute_details.erb
|
385
|
-
- templates/default/module/html/attribute_summary.erb
|
386
|
-
- templates/default/module/html/box_info.erb
|
387
|
-
- templates/default/module/html/children.erb
|
388
|
-
- templates/default/module/html/constant_summary.erb
|
389
|
-
- templates/default/module/html/defines.erb
|
390
|
-
- templates/default/module/html/header.erb
|
391
|
-
- templates/default/module/html/inherited_attributes.erb
|
392
|
-
- templates/default/module/html/inherited_constants.erb
|
393
|
-
- templates/default/module/html/inherited_methods.erb
|
394
|
-
- templates/default/module/html/item_summary.erb
|
395
|
-
- templates/default/module/html/method_details_list.erb
|
396
|
-
- templates/default/module/html/method_summary.erb
|
397
|
-
- templates/default/module/html/methodmissing.erb
|
398
|
-
- templates/default/module/html/pre_docstring.erb
|
399
|
-
- templates/default/module/setup.rb
|
400
|
-
- templates/default/module/text/children.erb
|
401
|
-
- templates/default/module/text/class_meths_list.erb
|
402
|
-
- templates/default/module/text/extends.erb
|
403
|
-
- templates/default/module/text/header.erb
|
404
|
-
- templates/default/module/text/includes.erb
|
405
|
-
- templates/default/module/text/instance_meths_list.erb
|
406
|
-
- templates/default/module/text/setup.rb
|
407
|
-
- templates/default/onefile/html/files.erb
|
408
|
-
- templates/default/onefile/html/headers.erb
|
409
|
-
- templates/default/onefile/html/layout.erb
|
410
|
-
- templates/default/onefile/html/readme.erb
|
411
|
-
- templates/default/onefile/html/setup.rb
|
412
|
-
- templates/default/root/dot/child.erb
|
413
|
-
- templates/default/root/dot/setup.rb
|
414
|
-
- templates/default/root/html/setup.rb
|
415
|
-
- templates/default/tags/html/example.erb
|
416
|
-
- templates/default/tags/html/index.erb
|
417
|
-
- templates/default/tags/html/option.erb
|
418
|
-
- templates/default/tags/html/overload.erb
|
419
|
-
- templates/default/tags/html/see.erb
|
420
|
-
- templates/default/tags/html/tag.erb
|
421
|
-
- templates/default/tags/setup.rb
|
422
|
-
- templates/default/tags/text/example.erb
|
423
|
-
- templates/default/tags/text/index.erb
|
424
|
-
- templates/default/tags/text/option.erb
|
425
|
-
- templates/default/tags/text/overload.erb
|
426
|
-
- templates/default/tags/text/see.erb
|
427
|
-
- templates/default/tags/text/tag.erb
|
428
|
-
- templates/guide/class/html/setup.rb
|
429
|
-
- templates/guide/docstring/html/setup.rb
|
430
|
-
- templates/guide/fulldoc/html/css/style.css
|
431
|
-
- templates/guide/fulldoc/html/js/app.js
|
432
|
-
- templates/guide/fulldoc/html/setup.rb
|
433
|
-
- templates/guide/layout/html/layout.erb
|
434
|
-
- templates/guide/layout/html/setup.rb
|
435
|
-
- templates/guide/method/html/header.erb
|
436
|
-
- templates/guide/method/html/setup.rb
|
437
|
-
- templates/guide/module/html/header.erb
|
438
|
-
- templates/guide/module/html/method_list.erb
|
439
|
-
- templates/guide/module/html/setup.rb
|
440
|
-
- templates/guide/onefile/html/files.erb
|
441
|
-
- templates/guide/onefile/html/setup.rb
|
442
|
-
- templates/guide/onefile/html/toc.erb
|
443
|
-
- templates/guide/tags/html/setup.rb
|
444
|
-
- yard.gemspec
|
445
242
|
homepage: http://yardoc.org
|
446
243
|
licenses:
|
447
244
|
- MIT
|
@@ -462,7 +259,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
462
259
|
- !ruby/object:Gem::Version
|
463
260
|
version: '0'
|
464
261
|
requirements: []
|
465
|
-
rubygems_version: 3.
|
262
|
+
rubygems_version: 3.3.5
|
466
263
|
signing_key:
|
467
264
|
specification_version: 4
|
468
265
|
summary: Documentation tool for consistent and usable documentation in Ruby.
|
data/.dockerignore
DELETED
data/.gitattributes
DELETED
data/.github/FUNDING.yml
DELETED
data/.github/ISSUE_TEMPLATE.md
DELETED
@@ -1,33 +0,0 @@
|
|
1
|
-
[Describe your issue here. Try to be as specific as possible so we can find
|
2
|
-
the root cause more quickly!]
|
3
|
-
|
4
|
-
## Steps to reproduce
|
5
|
-
|
6
|
-
This is the minimal reproduction for the issue. I've done my best to remove
|
7
|
-
all extraneous code and unique environment state on my machine before providing
|
8
|
-
these steps:
|
9
|
-
|
10
|
-
1. Run the following command: `yard doc --no-private`
|
11
|
-
2. Open browser to (URL)...
|
12
|
-
3. Click on Method List link.
|
13
|
-
|
14
|
-
## Actual Output
|
15
|
-
|
16
|
-
[Provide the full output (**please run yard with `--debug`**) or screenshots for
|
17
|
-
visual issues.]
|
18
|
-
|
19
|
-
## Expected Output
|
20
|
-
|
21
|
-
[Describe what you *expected* to happen.]
|
22
|
-
|
23
|
-
## Environment details:
|
24
|
-
|
25
|
-
- OS: [Enter operating system / version here]
|
26
|
-
- Ruby version (`ruby -v`): [Enter output of `ruby -v`]
|
27
|
-
- YARD version (`yard -v`): [Enter output of `yard -v`]
|
28
|
-
- Relevant software dependency/versions:
|
29
|
-
- [Any 3rd party libs required to reproduce, omit if none]
|
30
|
-
|
31
|
-
I have read the [Contributing Guide][contrib].
|
32
|
-
|
33
|
-
[contrib]: https://github.com/lsegal/yard/blob/main/CONTRIBUTING.md
|
@@ -1,12 +0,0 @@
|
|
1
|
-
# Description
|
2
|
-
|
3
|
-
Describe your pull request and problem statement here.
|
4
|
-
|
5
|
-
# Completed Tasks
|
6
|
-
|
7
|
-
- [ ] I have read the [Contributing Guide][contrib].
|
8
|
-
- [ ] The pull request is complete (implemented / written).
|
9
|
-
- [ ] Git commits have been cleaned up (squash WIP / revert commits).
|
10
|
-
- [ ] I wrote tests and ran `bundle exec rake` locally (if code is attached to PR).
|
11
|
-
|
12
|
-
[contrib]: https://github.com/lsegal/yard/blob/main/CONTRIBUTING.md
|
data/.github/workflows/ci.yml
DELETED
@@ -1,30 +0,0 @@
|
|
1
|
-
name: Unit Tests
|
2
|
-
|
3
|
-
on: [push, pull_request, workflow_dispatch]
|
4
|
-
jobs:
|
5
|
-
build:
|
6
|
-
name: "Ruby: ${{ matrix.ruby }} OS: ${{ matrix.os }}"
|
7
|
-
runs-on: ${{ matrix.os }}
|
8
|
-
strategy:
|
9
|
-
fail-fast: false
|
10
|
-
matrix:
|
11
|
-
os: [ubuntu-20.04, macos-10.15, windows-2019]
|
12
|
-
# 3.0 is interpreted as 3
|
13
|
-
ruby: [2.2, 2.3, 2.4, 2.5, 2.6, 2.7, "3.0"]
|
14
|
-
exclude:
|
15
|
-
- { os: windows-2019 , ruby: 2.2 }
|
16
|
-
- { os: windows-2019 , ruby: 2.3 }
|
17
|
-
steps:
|
18
|
-
- name: Checkout
|
19
|
-
uses: actions/checkout@v2
|
20
|
-
- name: Install Ruby & 'bundle install'
|
21
|
-
uses: ruby/setup-ruby@v1
|
22
|
-
with:
|
23
|
-
ruby-version: ${{ matrix.ruby }}
|
24
|
-
bundler-cache: true
|
25
|
-
- name: Run Test
|
26
|
-
run: |
|
27
|
-
ruby -v
|
28
|
-
bundle exec rake
|
29
|
-
env:
|
30
|
-
CI: true
|
data/.github/workflows/gem.yml
DELETED
@@ -1,19 +0,0 @@
|
|
1
|
-
name: Release Version
|
2
|
-
|
3
|
-
on:
|
4
|
-
push:
|
5
|
-
tags:
|
6
|
-
- "v*"
|
7
|
-
|
8
|
-
jobs:
|
9
|
-
release_version:
|
10
|
-
runs-on: ubuntu-latest
|
11
|
-
steps:
|
12
|
-
- uses: actions/checkout@v2
|
13
|
-
- uses: lsegal/github-release-from-changelog-action@latest
|
14
|
-
env:
|
15
|
-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
16
|
-
- name: Publish RubyGem
|
17
|
-
uses: dawidd6/action-publish-gem@v1
|
18
|
-
with:
|
19
|
-
api_key: ${{secrets.RUBYGEMS_API_KEY}}
|
data/.gitignore
DELETED
data/.rspec
DELETED
data/.rubocop.yml
DELETED
@@ -1,112 +0,0 @@
|
|
1
|
-
#inherit_from:
|
2
|
-
# - .rubocop_todo.yml
|
3
|
-
|
4
|
-
Metrics:
|
5
|
-
Enabled: false
|
6
|
-
Layout/LineLength:
|
7
|
-
AutoCorrect: true
|
8
|
-
Max: 100
|
9
|
-
Style/Semicolon:
|
10
|
-
AllowAsExpressionSeparator: true
|
11
|
-
Style/Documentation:
|
12
|
-
Enabled: false
|
13
|
-
Style/ClassVars:
|
14
|
-
Enabled: false
|
15
|
-
Style/HashSyntax:
|
16
|
-
EnforcedStyle: hash_rockets
|
17
|
-
Layout/SpaceInsideHashLiteralBraces:
|
18
|
-
EnforcedStyle: no_space
|
19
|
-
Layout/SpaceInsideBlockBraces:
|
20
|
-
SpaceBeforeBlockParameters: false
|
21
|
-
Style/NumericPredicate: # ruby 1.8/1.9 do not have positive?/negative?
|
22
|
-
EnforcedStyle: comparison
|
23
|
-
Layout/MultilineMethodCallIndentation:
|
24
|
-
EnforcedStyle: indented
|
25
|
-
Layout/DotPosition:
|
26
|
-
EnforcedStyle: trailing
|
27
|
-
Style/FormatString:
|
28
|
-
EnforcedStyle: percent
|
29
|
-
Layout/FirstArrayElementIndentation:
|
30
|
-
EnforcedStyle: consistent
|
31
|
-
Layout/FirstHashElementIndentation:
|
32
|
-
EnforcedStyle: consistent
|
33
|
-
|
34
|
-
# Disable these until we know what to do with them
|
35
|
-
Style/SafeNavigation:
|
36
|
-
Enabled: false # not supported in 1.8...2.1
|
37
|
-
Style/GuardClause: # does not provide much value
|
38
|
-
Enabled: false
|
39
|
-
Naming/VariableNumber:
|
40
|
-
Enabled: false
|
41
|
-
Naming/AccessorMethodName: # this creates breaking changes in the API
|
42
|
-
Enabled: false
|
43
|
-
Naming/PredicateName: # this creates breaking changes in the API
|
44
|
-
Enabled: false
|
45
|
-
Style/MethodMissingSuper: # this doesn't exist in 1.8/1.9
|
46
|
-
Enabled: false
|
47
|
-
Style/MissingRespondToMissing: # this doesn't exist in 1.8/1.9
|
48
|
-
Enabled: false
|
49
|
-
Style/Lambda: # not supported in 1.8
|
50
|
-
Enabled: false
|
51
|
-
Style/EachWithObject: # not supported in 1.8
|
52
|
-
Enabled: false
|
53
|
-
Layout/ParameterAlignment: # does not work correctly with subsequent block
|
54
|
-
Enabled: false
|
55
|
-
Layout/ArrayAlignment: # does not support indentation
|
56
|
-
Enabled: false
|
57
|
-
Layout/HashAlignment: # does not support indentation
|
58
|
-
Enabled: false
|
59
|
-
Style/MultilineTernaryOperator:
|
60
|
-
Enabled: false
|
61
|
-
Style/ClassAndModuleChildren:
|
62
|
-
Enabled: false
|
63
|
-
Layout/EmptyLineBetweenDefs:
|
64
|
-
AllowAdjacentOneLineDefs: true
|
65
|
-
Style/SingleLineMethods:
|
66
|
-
Enabled: false
|
67
|
-
Style/SingleLineBlockParams:
|
68
|
-
Enabled: false
|
69
|
-
Style/NestedTernaryOperator:
|
70
|
-
Enabled: false
|
71
|
-
Style/MutableConstant:
|
72
|
-
Enabled: false
|
73
|
-
Style/WhenThen:
|
74
|
-
Enabled: false
|
75
|
-
Style/StringLiterals:
|
76
|
-
Enabled: false
|
77
|
-
Style/StringLiteralsInInterpolation:
|
78
|
-
Enabled: false
|
79
|
-
Style/PerlBackrefs:
|
80
|
-
Enabled: false
|
81
|
-
Style/BlockComments:
|
82
|
-
Exclude:
|
83
|
-
- benchmarks/*.rb
|
84
|
-
Style/CaseEquality:
|
85
|
-
Enabled: false
|
86
|
-
Style/WordArray:
|
87
|
-
Enabled: false
|
88
|
-
Style/GlobalVars:
|
89
|
-
Exclude:
|
90
|
-
- benchmarks/**/*.rb
|
91
|
-
- spec/**/*.rb
|
92
|
-
Lint/RedundantSplatExpansion:
|
93
|
-
Enabled: false
|
94
|
-
Security/Eval:
|
95
|
-
Exclude:
|
96
|
-
- benchmarks/**/*.rb
|
97
|
-
- spec/**/*.rb
|
98
|
-
|
99
|
-
Layout/SpaceAroundMethodCallOperator:
|
100
|
-
Enabled: false
|
101
|
-
Lint/RaiseException:
|
102
|
-
Enabled: false
|
103
|
-
Lint/StructNewOverride:
|
104
|
-
Enabled: false
|
105
|
-
Style/ExponentialNotation:
|
106
|
-
Enabled: false
|
107
|
-
Style/HashEachMethods:
|
108
|
-
Enabled: false
|
109
|
-
Style/HashTransformKeys:
|
110
|
-
Enabled: false
|
111
|
-
Style/HashTransformValues:
|
112
|
-
Enabled: false
|
data/.yardopts
DELETED
@@ -1,26 +0,0 @@
|
|
1
|
-
--protected
|
2
|
-
--no-private
|
3
|
-
--embed-mixin ClassMethods
|
4
|
-
--exclude /server/templates/
|
5
|
-
--exclude /yard/rubygems/
|
6
|
-
--asset docs/images:images
|
7
|
-
--tag yard.signature:"YARD Tag Signature"
|
8
|
-
--type-name-tag yard.tag:"YARD Tag"
|
9
|
-
--type-name-tag yard.directive:"YARD Directive"
|
10
|
-
--hide-tag yard.tag
|
11
|
-
--hide-tag yard.directive
|
12
|
-
--hide-tag yard.signature
|
13
|
-
--load ./docs/templates/plugin.rb
|
14
|
-
-
|
15
|
-
CHANGELOG.md
|
16
|
-
docs/WhatsNew.md
|
17
|
-
docs/GettingStarted.md
|
18
|
-
docs/Tags.md
|
19
|
-
docs/Overview.md
|
20
|
-
docs/CodeObjects.md
|
21
|
-
docs/Parser.md
|
22
|
-
docs/Handlers.md
|
23
|
-
docs/TagsArch.md
|
24
|
-
docs/Templates.md
|
25
|
-
LICENSE
|
26
|
-
LEGAL
|
data/.yardopts_guide
DELETED
@@ -1,19 +0,0 @@
|
|
1
|
-
-t guide
|
2
|
-
--title YARD
|
3
|
-
-o doc_guide
|
4
|
-
--exclude /server/templates/
|
5
|
-
--exclude /yard/rubygems/
|
6
|
-
--asset docs/images:images
|
7
|
-
-
|
8
|
-
CHANGELOG.md
|
9
|
-
docs/WhatsNew.md
|
10
|
-
docs/GettingStarted.md
|
11
|
-
docs/Tags.md
|
12
|
-
docs/Overview.md
|
13
|
-
docs/CodeObjects.md
|
14
|
-
docs/Parser.md
|
15
|
-
docs/Handlers.md
|
16
|
-
docs/TagsArch.md
|
17
|
-
docs/Templates.md
|
18
|
-
LICENSE
|
19
|
-
LEGAL
|
data/.yardopts_i18n
DELETED
@@ -1,23 +0,0 @@
|
|
1
|
-
--protected
|
2
|
-
--no-private
|
3
|
-
--exclude /server/templates/
|
4
|
-
--exclude /yard/rubygems/
|
5
|
-
--asset docs/images:images
|
6
|
-
--tag yard.signature:"YARD Tag Signature"
|
7
|
-
--type-name-tag yard.tag:"YARD Tag"
|
8
|
-
--type-name-tag yard.directive:"YARD Directive"
|
9
|
-
--hide-tag yard.tag
|
10
|
-
--hide-tag yard.directive
|
11
|
-
--hide-tag yard.signature
|
12
|
-
--load ./docs/templates/plugin.rb
|
13
|
-
-
|
14
|
-
CHANGELOG.md
|
15
|
-
docs/WhatsNew.md
|
16
|
-
docs/GettingStarted.md
|
17
|
-
docs/Tags.md
|
18
|
-
docs/Overview.md
|
19
|
-
docs/CodeObjects.md
|
20
|
-
docs/Parser.md
|
21
|
-
docs/Handlers.md
|
22
|
-
docs/TagsArch.md
|
23
|
-
docs/Templates.md
|