rdoc 6.1.2.1 → 6.2.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of rdoc might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/Gemfile +9 -0
- data/README.rdoc +0 -1
- data/Rakefile +1 -1
- data/lib/rdoc/class_module.rb +1 -1
- data/lib/rdoc/comment.rb +7 -1
- data/lib/rdoc/generator/template/darkfish/css/rdoc.css +13 -5
- data/lib/rdoc/markup/parser.rb +58 -42
- data/lib/rdoc/markup/to_html_crossref.rb +5 -1
- data/lib/rdoc/markup.rb +0 -2
- data/lib/rdoc/options.rb +4 -1
- data/lib/rdoc/parser/c.rb +116 -126
- data/lib/rdoc/parser/ripper_state_lex.rb +2 -1
- data/lib/rdoc/parser/ruby.rb +3 -3
- data/lib/rdoc/rd/block_parser.rb +2 -2
- data/lib/rdoc/rd/inline_parser.rb +2 -2
- data/lib/rdoc/rdoc.rb +2 -2
- data/lib/rdoc/ri/paths.rb +1 -1
- data/lib/rdoc/servlet.rb +10 -7
- data/lib/rdoc/store.rb +4 -12
- data/lib/rdoc/task.rb +1 -1
- data/lib/rdoc/text.rb +8 -2
- data/lib/rdoc/token_stream.rb +8 -3
- data/lib/rdoc/tom_doc.rb +6 -7
- data/lib/rdoc/version.rb +1 -1
- data/rdoc.gemspec +1 -7
- metadata +7 -81
- data/.travis.yml +0 -21
- data/appveyor.yml +0 -36
- data/lib/rdoc/markup/formatter_test_case.rb +0 -764
- data/lib/rdoc/markup/text_formatter_test_case.rb +0 -115
data/rdoc.gemspec
CHANGED
@@ -32,7 +32,7 @@ RDoc includes the +rdoc+ and +ri+ tools for generating and displaying documentat
|
|
32
32
|
s.executables = ["rdoc", "ri"]
|
33
33
|
s.require_paths = ["lib"]
|
34
34
|
# for ruby core repository. It was generated by `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
35
|
-
s.files = [".document", ".gitignore", "
|
35
|
+
s.files = [".document", ".gitignore", "CONTRIBUTING.rdoc", "CVE-2013-0256.rdoc", "ExampleMarkdown.md", "ExampleRDoc.rdoc", "Gemfile", "History.rdoc", "LEGAL.rdoc", "LICENSE.rdoc", "README.rdoc", "RI.rdoc", "Rakefile", "TODO.rdoc", "bin/console", "bin/setup", "exe/rdoc", "exe/ri", "lib/rdoc.rb", "lib/rdoc/alias.rb", "lib/rdoc/anon_class.rb", "lib/rdoc/any_method.rb", "lib/rdoc/attr.rb", "lib/rdoc/class_module.rb", "lib/rdoc/code_object.rb", "lib/rdoc/code_objects.rb", "lib/rdoc/comment.rb", "lib/rdoc/constant.rb", "lib/rdoc/context.rb", "lib/rdoc/context/section.rb", "lib/rdoc/cross_reference.rb", "lib/rdoc/encoding.rb", "lib/rdoc/erb_partial.rb", "lib/rdoc/erbio.rb", "lib/rdoc/extend.rb", "lib/rdoc/generator.rb", "lib/rdoc/generator/darkfish.rb", "lib/rdoc/generator/json_index.rb", "lib/rdoc/generator/markup.rb", "lib/rdoc/generator/pot.rb", "lib/rdoc/generator/pot/message_extractor.rb", "lib/rdoc/generator/pot/po.rb", "lib/rdoc/generator/pot/po_entry.rb", "lib/rdoc/generator/ri.rb", "lib/rdoc/generator/template/darkfish/.document", "lib/rdoc/generator/template/darkfish/_footer.rhtml", "lib/rdoc/generator/template/darkfish/_head.rhtml", "lib/rdoc/generator/template/darkfish/_sidebar_VCS_info.rhtml", "lib/rdoc/generator/template/darkfish/_sidebar_classes.rhtml", "lib/rdoc/generator/template/darkfish/_sidebar_extends.rhtml", "lib/rdoc/generator/template/darkfish/_sidebar_in_files.rhtml", "lib/rdoc/generator/template/darkfish/_sidebar_includes.rhtml", "lib/rdoc/generator/template/darkfish/_sidebar_installed.rhtml", "lib/rdoc/generator/template/darkfish/_sidebar_methods.rhtml", "lib/rdoc/generator/template/darkfish/_sidebar_navigation.rhtml", "lib/rdoc/generator/template/darkfish/_sidebar_pages.rhtml", "lib/rdoc/generator/template/darkfish/_sidebar_parent.rhtml", "lib/rdoc/generator/template/darkfish/_sidebar_search.rhtml", "lib/rdoc/generator/template/darkfish/_sidebar_sections.rhtml", "lib/rdoc/generator/template/darkfish/_sidebar_table_of_contents.rhtml", "lib/rdoc/generator/template/darkfish/class.rhtml", "lib/rdoc/generator/template/darkfish/css/fonts.css", "lib/rdoc/generator/template/darkfish/css/rdoc.css", "lib/rdoc/generator/template/darkfish/fonts/Lato-Light.ttf", "lib/rdoc/generator/template/darkfish/fonts/Lato-LightItalic.ttf", "lib/rdoc/generator/template/darkfish/fonts/Lato-Regular.ttf", "lib/rdoc/generator/template/darkfish/fonts/Lato-RegularItalic.ttf", "lib/rdoc/generator/template/darkfish/fonts/SourceCodePro-Bold.ttf", "lib/rdoc/generator/template/darkfish/fonts/SourceCodePro-Regular.ttf", "lib/rdoc/generator/template/darkfish/images/add.png", "lib/rdoc/generator/template/darkfish/images/arrow_up.png", "lib/rdoc/generator/template/darkfish/images/brick.png", "lib/rdoc/generator/template/darkfish/images/brick_link.png", "lib/rdoc/generator/template/darkfish/images/bug.png", "lib/rdoc/generator/template/darkfish/images/bullet_black.png", "lib/rdoc/generator/template/darkfish/images/bullet_toggle_minus.png", "lib/rdoc/generator/template/darkfish/images/bullet_toggle_plus.png", "lib/rdoc/generator/template/darkfish/images/date.png", "lib/rdoc/generator/template/darkfish/images/delete.png", "lib/rdoc/generator/template/darkfish/images/find.png", "lib/rdoc/generator/template/darkfish/images/loadingAnimation.gif", "lib/rdoc/generator/template/darkfish/images/macFFBgHack.png", "lib/rdoc/generator/template/darkfish/images/package.png", "lib/rdoc/generator/template/darkfish/images/page_green.png", "lib/rdoc/generator/template/darkfish/images/page_white_text.png", "lib/rdoc/generator/template/darkfish/images/page_white_width.png", "lib/rdoc/generator/template/darkfish/images/plugin.png", "lib/rdoc/generator/template/darkfish/images/ruby.png", "lib/rdoc/generator/template/darkfish/images/tag_blue.png", "lib/rdoc/generator/template/darkfish/images/tag_green.png", "lib/rdoc/generator/template/darkfish/images/transparent.png", "lib/rdoc/generator/template/darkfish/images/wrench.png", "lib/rdoc/generator/template/darkfish/images/wrench_orange.png", "lib/rdoc/generator/template/darkfish/images/zoom.png", "lib/rdoc/generator/template/darkfish/index.rhtml", "lib/rdoc/generator/template/darkfish/js/darkfish.js", "lib/rdoc/generator/template/darkfish/js/search.js", "lib/rdoc/generator/template/darkfish/page.rhtml", "lib/rdoc/generator/template/darkfish/servlet_not_found.rhtml", "lib/rdoc/generator/template/darkfish/servlet_root.rhtml", "lib/rdoc/generator/template/darkfish/table_of_contents.rhtml", "lib/rdoc/generator/template/json_index/.document", "lib/rdoc/generator/template/json_index/js/navigation.js", "lib/rdoc/generator/template/json_index/js/searcher.js", "lib/rdoc/ghost_method.rb", "lib/rdoc/i18n.rb", "lib/rdoc/i18n/locale.rb", "lib/rdoc/i18n/text.rb", "lib/rdoc/include.rb", "lib/rdoc/known_classes.rb", "lib/rdoc/markdown.kpeg", "lib/rdoc/markdown/entities.rb", "lib/rdoc/markdown/literals.kpeg", "lib/rdoc/markup.rb", "lib/rdoc/markup/attr_changer.rb", "lib/rdoc/markup/attr_span.rb", "lib/rdoc/markup/attribute_manager.rb", "lib/rdoc/markup/attributes.rb", "lib/rdoc/markup/blank_line.rb", "lib/rdoc/markup/block_quote.rb", "lib/rdoc/markup/document.rb", "lib/rdoc/markup/formatter.rb", "lib/rdoc/markup/hard_break.rb", "lib/rdoc/markup/heading.rb", "lib/rdoc/markup/include.rb", "lib/rdoc/markup/indented_paragraph.rb", "lib/rdoc/markup/list.rb", "lib/rdoc/markup/list_item.rb", "lib/rdoc/markup/paragraph.rb", "lib/rdoc/markup/parser.rb", "lib/rdoc/markup/pre_process.rb", "lib/rdoc/markup/raw.rb", "lib/rdoc/markup/regexp_handling.rb", "lib/rdoc/markup/rule.rb", "lib/rdoc/markup/to_ansi.rb", "lib/rdoc/markup/to_bs.rb", "lib/rdoc/markup/to_html.rb", "lib/rdoc/markup/to_html_crossref.rb", "lib/rdoc/markup/to_html_snippet.rb", "lib/rdoc/markup/to_joined_paragraph.rb", "lib/rdoc/markup/to_label.rb", "lib/rdoc/markup/to_markdown.rb", "lib/rdoc/markup/to_rdoc.rb", "lib/rdoc/markup/to_table_of_contents.rb", "lib/rdoc/markup/to_test.rb", "lib/rdoc/markup/to_tt_only.rb", "lib/rdoc/markup/verbatim.rb", "lib/rdoc/meta_method.rb", "lib/rdoc/method_attr.rb", "lib/rdoc/mixin.rb", "lib/rdoc/normal_class.rb", "lib/rdoc/normal_module.rb", "lib/rdoc/options.rb", "lib/rdoc/parser.rb", "lib/rdoc/parser/c.rb", "lib/rdoc/parser/changelog.rb", "lib/rdoc/parser/markdown.rb", "lib/rdoc/parser/rd.rb", "lib/rdoc/parser/ripper_state_lex.rb", "lib/rdoc/parser/ruby.rb", "lib/rdoc/parser/ruby_tools.rb", "lib/rdoc/parser/simple.rb", "lib/rdoc/parser/text.rb", "lib/rdoc/rd.rb", "lib/rdoc/rd/block_parser.ry", "lib/rdoc/rd/inline.rb", "lib/rdoc/rd/inline_parser.ry", "lib/rdoc/rdoc.rb", "lib/rdoc/require.rb", "lib/rdoc/ri.rb", "lib/rdoc/ri/driver.rb", "lib/rdoc/ri/formatter.rb", "lib/rdoc/ri/paths.rb", "lib/rdoc/ri/store.rb", "lib/rdoc/ri/task.rb", "lib/rdoc/rubygems_hook.rb", "lib/rdoc/servlet.rb", "lib/rdoc/single_class.rb", "lib/rdoc/stats.rb", "lib/rdoc/stats/normal.rb", "lib/rdoc/stats/quiet.rb", "lib/rdoc/stats/verbose.rb", "lib/rdoc/store.rb", "lib/rdoc/task.rb", "lib/rdoc/text.rb", "lib/rdoc/token_stream.rb", "lib/rdoc/tom_doc.rb", "lib/rdoc/top_level.rb", "lib/rdoc/version.rb", "rdoc.gemspec"]
|
36
36
|
# files from .gitignore
|
37
37
|
s.files << "lib/rdoc/rd/block_parser.rb" << "lib/rdoc/rd/inline_parser.rb" << "lib/rdoc/markdown.rb" << "lib/rdoc/markdown/literals.rb"
|
38
38
|
|
@@ -53,10 +53,4 @@ RDoc includes the +rdoc+ and +ri+ tools for generating and displaying documentat
|
|
53
53
|
s.required_ruby_version = Gem::Requirement.new(">= 2.2.2")
|
54
54
|
s.rubygems_version = "2.5.2"
|
55
55
|
s.required_rubygems_version = Gem::Requirement.new(">= 2.2")
|
56
|
-
|
57
|
-
s.add_development_dependency("rake")
|
58
|
-
s.add_development_dependency("racc", "> 1.4.10")
|
59
|
-
s.add_development_dependency("kpeg")
|
60
|
-
s.add_development_dependency("minitest", "~> 5")
|
61
|
-
s.add_development_dependency("rubocop")
|
62
56
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rdoc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.
|
4
|
+
version: 6.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric Hodel
|
@@ -11,81 +11,11 @@ authors:
|
|
11
11
|
- Zachary Scott
|
12
12
|
- Hiroshi SHIBATA
|
13
13
|
- ITOYANAGI Sakura
|
14
|
-
autorequire:
|
14
|
+
autorequire:
|
15
15
|
bindir: exe
|
16
16
|
cert_chain: []
|
17
|
-
date:
|
18
|
-
dependencies:
|
19
|
-
- !ruby/object:Gem::Dependency
|
20
|
-
name: rake
|
21
|
-
requirement: !ruby/object:Gem::Requirement
|
22
|
-
requirements:
|
23
|
-
- - ">="
|
24
|
-
- !ruby/object:Gem::Version
|
25
|
-
version: '0'
|
26
|
-
type: :development
|
27
|
-
prerelease: false
|
28
|
-
version_requirements: !ruby/object:Gem::Requirement
|
29
|
-
requirements:
|
30
|
-
- - ">="
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
version: '0'
|
33
|
-
- !ruby/object:Gem::Dependency
|
34
|
-
name: racc
|
35
|
-
requirement: !ruby/object:Gem::Requirement
|
36
|
-
requirements:
|
37
|
-
- - ">"
|
38
|
-
- !ruby/object:Gem::Version
|
39
|
-
version: 1.4.10
|
40
|
-
type: :development
|
41
|
-
prerelease: false
|
42
|
-
version_requirements: !ruby/object:Gem::Requirement
|
43
|
-
requirements:
|
44
|
-
- - ">"
|
45
|
-
- !ruby/object:Gem::Version
|
46
|
-
version: 1.4.10
|
47
|
-
- !ruby/object:Gem::Dependency
|
48
|
-
name: kpeg
|
49
|
-
requirement: !ruby/object:Gem::Requirement
|
50
|
-
requirements:
|
51
|
-
- - ">="
|
52
|
-
- !ruby/object:Gem::Version
|
53
|
-
version: '0'
|
54
|
-
type: :development
|
55
|
-
prerelease: false
|
56
|
-
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
requirements:
|
58
|
-
- - ">="
|
59
|
-
- !ruby/object:Gem::Version
|
60
|
-
version: '0'
|
61
|
-
- !ruby/object:Gem::Dependency
|
62
|
-
name: minitest
|
63
|
-
requirement: !ruby/object:Gem::Requirement
|
64
|
-
requirements:
|
65
|
-
- - "~>"
|
66
|
-
- !ruby/object:Gem::Version
|
67
|
-
version: '5'
|
68
|
-
type: :development
|
69
|
-
prerelease: false
|
70
|
-
version_requirements: !ruby/object:Gem::Requirement
|
71
|
-
requirements:
|
72
|
-
- - "~>"
|
73
|
-
- !ruby/object:Gem::Version
|
74
|
-
version: '5'
|
75
|
-
- !ruby/object:Gem::Dependency
|
76
|
-
name: rubocop
|
77
|
-
requirement: !ruby/object:Gem::Requirement
|
78
|
-
requirements:
|
79
|
-
- - ">="
|
80
|
-
- !ruby/object:Gem::Version
|
81
|
-
version: '0'
|
82
|
-
type: :development
|
83
|
-
prerelease: false
|
84
|
-
version_requirements: !ruby/object:Gem::Requirement
|
85
|
-
requirements:
|
86
|
-
- - ">="
|
87
|
-
- !ruby/object:Gem::Version
|
88
|
-
version: '0'
|
17
|
+
date: 2019-08-28 00:00:00.000000000 Z
|
18
|
+
dependencies: []
|
89
19
|
description: |
|
90
20
|
RDoc produces HTML and command-line documentation for Ruby projects.
|
91
21
|
RDoc includes the +rdoc+ and +ri+ tools for generating and displaying documentation from the command-line.
|
@@ -115,7 +45,6 @@ extra_rdoc_files:
|
|
115
45
|
files:
|
116
46
|
- ".document"
|
117
47
|
- ".gitignore"
|
118
|
-
- ".travis.yml"
|
119
48
|
- CONTRIBUTING.rdoc
|
120
49
|
- CVE-2013-0256.rdoc
|
121
50
|
- ExampleMarkdown.md
|
@@ -128,7 +57,6 @@ files:
|
|
128
57
|
- RI.rdoc
|
129
58
|
- Rakefile
|
130
59
|
- TODO.rdoc
|
131
|
-
- appveyor.yml
|
132
60
|
- bin/console
|
133
61
|
- bin/setup
|
134
62
|
- exe/rdoc
|
@@ -239,7 +167,6 @@ files:
|
|
239
167
|
- lib/rdoc/markup/block_quote.rb
|
240
168
|
- lib/rdoc/markup/document.rb
|
241
169
|
- lib/rdoc/markup/formatter.rb
|
242
|
-
- lib/rdoc/markup/formatter_test_case.rb
|
243
170
|
- lib/rdoc/markup/hard_break.rb
|
244
171
|
- lib/rdoc/markup/heading.rb
|
245
172
|
- lib/rdoc/markup/include.rb
|
@@ -252,7 +179,6 @@ files:
|
|
252
179
|
- lib/rdoc/markup/raw.rb
|
253
180
|
- lib/rdoc/markup/regexp_handling.rb
|
254
181
|
- lib/rdoc/markup/rule.rb
|
255
|
-
- lib/rdoc/markup/text_formatter_test_case.rb
|
256
182
|
- lib/rdoc/markup/to_ansi.rb
|
257
183
|
- lib/rdoc/markup/to_bs.rb
|
258
184
|
- lib/rdoc/markup/to_html.rb
|
@@ -315,7 +241,7 @@ homepage: https://ruby.github.io/rdoc
|
|
315
241
|
licenses:
|
316
242
|
- Ruby
|
317
243
|
metadata: {}
|
318
|
-
post_install_message:
|
244
|
+
post_install_message:
|
319
245
|
rdoc_options:
|
320
246
|
- "--main"
|
321
247
|
- README.rdoc
|
@@ -332,8 +258,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
332
258
|
- !ruby/object:Gem::Version
|
333
259
|
version: '2.2'
|
334
260
|
requirements: []
|
335
|
-
rubygems_version: 3.
|
336
|
-
signing_key:
|
261
|
+
rubygems_version: 3.0.3
|
262
|
+
signing_key:
|
337
263
|
specification_version: 4
|
338
264
|
summary: RDoc produces HTML and command-line documentation for Ruby projects
|
339
265
|
test_files: []
|
data/.travis.yml
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
---
|
2
|
-
before_install:
|
3
|
-
- gem update --system
|
4
|
-
- gem update bundler
|
5
|
-
language: ruby
|
6
|
-
rvm:
|
7
|
-
- 2.3.8
|
8
|
-
- 2.4.5
|
9
|
-
- 2.5.3
|
10
|
-
- ruby-head
|
11
|
-
- jruby-9.1.17.0
|
12
|
-
- jruby-9.2.4.1
|
13
|
-
env:
|
14
|
-
global:
|
15
|
-
NOBENCHMARK=1
|
16
|
-
script: rake
|
17
|
-
matrix:
|
18
|
-
allow_failures:
|
19
|
-
- rvm: ruby-head
|
20
|
-
- rvm: jruby-9.1.17.0
|
21
|
-
- rvm: jruby-9.2.4.1
|
data/appveyor.yml
DELETED
@@ -1,36 +0,0 @@
|
|
1
|
-
---
|
2
|
-
init:
|
3
|
-
# Set UTF-8 to use Unicode property because the defualt encoding on AppVeyor is Encoding::IBM437
|
4
|
-
- set RUBYOPT=-EUTF-8
|
5
|
-
# To avoid duplicated executables in PATH, see https://github.com/ruby/spec/pull/468
|
6
|
-
- set PATH=C:\ruby%RUBY_VERSION%\bin;C:\msys64\usr\bin;C:\Program Files\7-Zip;C:\Program Files\AppVeyor\BuildAgent;C:\Program Files\Git\cmd;C:\Windows\system32;C:\Program Files;C:\Windows
|
7
|
-
# Loads trunk build and updates MSYS2 / MinGW to most recent gcc compiler
|
8
|
-
- if %ruby_version%==_trunk (
|
9
|
-
appveyor DownloadFile %APPVEYOR_URL%/api/projects/MSP-Greg/ruby-loco/artifacts/ruby_trunk.7z -FileName C:\ruby_trunk.7z &
|
10
|
-
7z x C:\ruby_trunk.7z -oC:\ruby_trunk)
|
11
|
-
|
12
|
-
install:
|
13
|
-
- bundle install
|
14
|
-
|
15
|
-
build: off
|
16
|
-
|
17
|
-
test_script:
|
18
|
-
- rake
|
19
|
-
|
20
|
-
on_finish:
|
21
|
-
- ruby -v
|
22
|
-
|
23
|
-
deploy: off
|
24
|
-
|
25
|
-
environment:
|
26
|
-
NOBENCHMARK: 1
|
27
|
-
matrix:
|
28
|
-
- ruby_version: 22
|
29
|
-
- ruby_version: 22-x64
|
30
|
-
- ruby_version: 23
|
31
|
-
- ruby_version: 23-x64
|
32
|
-
- ruby_version: 24
|
33
|
-
- ruby_version: 24-x64
|
34
|
-
- ruby_version: 25
|
35
|
-
- ruby_version: 25-x64
|
36
|
-
- ruby_version: _trunk
|