rdoc 6.3.3 → 6.5.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.

Files changed (65) hide show
  1. checksums.yaml +4 -4
  2. data/CONTRIBUTING.rdoc +1 -2
  3. data/LEGAL.rdoc +1 -1
  4. data/exe/rdoc +0 -1
  5. data/lib/rdoc/any_method.rb +6 -3
  6. data/lib/rdoc/code_objects.rb +1 -2
  7. data/lib/rdoc/context/section.rb +2 -0
  8. data/lib/rdoc/context.rb +1 -3
  9. data/lib/rdoc/cross_reference.rb +44 -20
  10. data/lib/rdoc/generator/darkfish.rb +2 -2
  11. data/lib/rdoc/generator/markup.rb +1 -1
  12. data/lib/rdoc/generator/template/darkfish/_head.rhtml +11 -13
  13. data/lib/rdoc/generator/template/darkfish/_sidebar_classes.rhtml +27 -3
  14. data/lib/rdoc/generator/template/darkfish/_sidebar_pages.rhtml +22 -2
  15. data/lib/rdoc/generator/template/darkfish/_sidebar_table_of_contents.rhtml +25 -4
  16. data/lib/rdoc/generator/template/darkfish/class.rhtml +22 -20
  17. data/lib/rdoc/generator/template/darkfish/css/rdoc.css +24 -1
  18. data/lib/rdoc/generator/template/darkfish/fonts/SourceCodePro-Bold.ttf +0 -0
  19. data/lib/rdoc/generator/template/darkfish/fonts/SourceCodePro-Regular.ttf +0 -0
  20. data/lib/rdoc/generator/template/darkfish/index.rhtml +1 -1
  21. data/lib/rdoc/generator/template/darkfish/js/darkfish.js +1 -1
  22. data/lib/rdoc/generator/template/darkfish/js/search.js +1 -1
  23. data/lib/rdoc/generator/template/darkfish/table_of_contents.rhtml +2 -2
  24. data/lib/rdoc/generator.rb +5 -5
  25. data/lib/rdoc/i18n.rb +1 -1
  26. data/lib/rdoc/known_classes.rb +5 -4
  27. data/lib/rdoc/markdown/literals.rb +24 -8
  28. data/lib/rdoc/markdown.kpeg +25 -18
  29. data/lib/rdoc/markdown.rb +323 -226
  30. data/lib/rdoc/markup/attribute_manager.rb +29 -35
  31. data/lib/rdoc/markup/parser.rb +12 -6
  32. data/lib/rdoc/markup/pre_process.rb +2 -0
  33. data/lib/rdoc/markup/to_html.rb +20 -16
  34. data/lib/rdoc/markup/to_label.rb +1 -1
  35. data/lib/rdoc/markup/to_rdoc.rb +3 -20
  36. data/lib/rdoc/markup.rb +35 -667
  37. data/lib/rdoc/method_attr.rb +1 -1
  38. data/lib/rdoc/normal_class.rb +1 -1
  39. data/lib/rdoc/normal_module.rb +1 -1
  40. data/lib/rdoc/options.rb +63 -19
  41. data/lib/rdoc/parser/c.rb +110 -110
  42. data/lib/rdoc/parser/ruby.rb +43 -10
  43. data/lib/rdoc/parser.rb +19 -2
  44. data/lib/rdoc/rd/block_parser.rb +13 -9
  45. data/lib/rdoc/rd/block_parser.ry +12 -8
  46. data/lib/rdoc/rd/inline_parser.rb +1 -1
  47. data/lib/rdoc/rd.rb +3 -4
  48. data/lib/rdoc/rdoc.rb +19 -33
  49. data/lib/rdoc/ri/driver.rb +22 -82
  50. data/lib/rdoc/ri.rb +4 -5
  51. data/lib/rdoc/rubygems_hook.rb +4 -2
  52. data/lib/rdoc/servlet.rb +1 -1
  53. data/lib/rdoc/single_class.rb +5 -0
  54. data/lib/rdoc/stats.rb +3 -4
  55. data/lib/rdoc/store.rb +4 -4
  56. data/lib/rdoc/task.rb +3 -3
  57. data/lib/rdoc/text.rb +12 -4
  58. data/lib/rdoc/version.rb +3 -1
  59. data/lib/rdoc.rb +46 -46
  60. metadata +9 -14
  61. data/Gemfile +0 -12
  62. data/Rakefile +0 -101
  63. data/bin/console +0 -7
  64. data/bin/setup +0 -6
  65. data/rdoc.gemspec +0 -249
data/lib/rdoc.rb CHANGED
@@ -62,7 +62,7 @@ module RDoc
62
62
 
63
63
  class Error < RuntimeError; end
64
64
 
65
- require 'rdoc/version'
65
+ require_relative 'rdoc/version'
66
66
 
67
67
  ##
68
68
  # Method visibilities
@@ -141,61 +141,61 @@ module RDoc
141
141
  end
142
142
  end
143
143
 
144
- autoload :RDoc, 'rdoc/rdoc'
144
+ autoload :RDoc, "#{__dir__}/rdoc/rdoc"
145
145
 
146
- autoload :CrossReference, 'rdoc/cross_reference'
147
- autoload :ERBIO, 'rdoc/erbio'
148
- autoload :ERBPartial, 'rdoc/erb_partial'
149
- autoload :Encoding, 'rdoc/encoding'
150
- autoload :Generator, 'rdoc/generator'
151
- autoload :Options, 'rdoc/options'
152
- autoload :Parser, 'rdoc/parser'
153
- autoload :Servlet, 'rdoc/servlet'
154
- autoload :RI, 'rdoc/ri'
155
- autoload :Stats, 'rdoc/stats'
156
- autoload :Store, 'rdoc/store'
157
- autoload :Task, 'rdoc/task'
158
- autoload :Text, 'rdoc/text'
146
+ autoload :CrossReference, "#{__dir__}/rdoc/cross_reference"
147
+ autoload :ERBIO, "#{__dir__}/rdoc/erbio"
148
+ autoload :ERBPartial, "#{__dir__}/rdoc/erb_partial"
149
+ autoload :Encoding, "#{__dir__}/rdoc/encoding"
150
+ autoload :Generator, "#{__dir__}/rdoc/generator"
151
+ autoload :Options, "#{__dir__}/rdoc/options"
152
+ autoload :Parser, "#{__dir__}/rdoc/parser"
153
+ autoload :Servlet, "#{__dir__}/rdoc/servlet"
154
+ autoload :RI, "#{__dir__}/rdoc/ri"
155
+ autoload :Stats, "#{__dir__}/rdoc/stats"
156
+ autoload :Store, "#{__dir__}/rdoc/store"
157
+ autoload :Task, "#{__dir__}/rdoc/task"
158
+ autoload :Text, "#{__dir__}/rdoc/text"
159
159
 
160
- autoload :Markdown, 'rdoc/markdown'
161
- autoload :Markup, 'rdoc/markup'
162
- autoload :RD, 'rdoc/rd'
163
- autoload :TomDoc, 'rdoc/tom_doc'
160
+ autoload :Markdown, "#{__dir__}/rdoc/markdown"
161
+ autoload :Markup, "#{__dir__}/rdoc/markup"
162
+ autoload :RD, "#{__dir__}/rdoc/rd"
163
+ autoload :TomDoc, "#{__dir__}/rdoc/tom_doc"
164
164
 
165
- autoload :KNOWN_CLASSES, 'rdoc/known_classes'
165
+ autoload :KNOWN_CLASSES, "#{__dir__}/rdoc/known_classes"
166
166
 
167
- autoload :TokenStream, 'rdoc/token_stream'
167
+ autoload :TokenStream, "#{__dir__}/rdoc/token_stream"
168
168
 
169
- autoload :Comment, 'rdoc/comment'
169
+ autoload :Comment, "#{__dir__}/rdoc/comment"
170
170
 
171
- require 'rdoc/i18n'
171
+ require_relative 'rdoc/i18n'
172
172
 
173
173
  # code objects
174
174
  #
175
175
  # We represent the various high-level code constructs that appear in Ruby
176
176
  # programs: classes, modules, methods, and so on.
177
- autoload :CodeObject, 'rdoc/code_object'
178
-
179
- autoload :Context, 'rdoc/context'
180
- autoload :TopLevel, 'rdoc/top_level'
181
-
182
- autoload :AnonClass, 'rdoc/anon_class'
183
- autoload :ClassModule, 'rdoc/class_module'
184
- autoload :NormalClass, 'rdoc/normal_class'
185
- autoload :NormalModule, 'rdoc/normal_module'
186
- autoload :SingleClass, 'rdoc/single_class'
187
-
188
- autoload :Alias, 'rdoc/alias'
189
- autoload :AnyMethod, 'rdoc/any_method'
190
- autoload :MethodAttr, 'rdoc/method_attr'
191
- autoload :GhostMethod, 'rdoc/ghost_method'
192
- autoload :MetaMethod, 'rdoc/meta_method'
193
- autoload :Attr, 'rdoc/attr'
194
-
195
- autoload :Constant, 'rdoc/constant'
196
- autoload :Mixin, 'rdoc/mixin'
197
- autoload :Include, 'rdoc/include'
198
- autoload :Extend, 'rdoc/extend'
199
- autoload :Require, 'rdoc/require'
177
+ autoload :CodeObject, "#{__dir__}/rdoc/code_object"
178
+
179
+ autoload :Context, "#{__dir__}/rdoc/context"
180
+ autoload :TopLevel, "#{__dir__}/rdoc/top_level"
181
+
182
+ autoload :AnonClass, "#{__dir__}/rdoc/anon_class"
183
+ autoload :ClassModule, "#{__dir__}/rdoc/class_module"
184
+ autoload :NormalClass, "#{__dir__}/rdoc/normal_class"
185
+ autoload :NormalModule, "#{__dir__}/rdoc/normal_module"
186
+ autoload :SingleClass, "#{__dir__}/rdoc/single_class"
187
+
188
+ autoload :Alias, "#{__dir__}/rdoc/alias"
189
+ autoload :AnyMethod, "#{__dir__}/rdoc/any_method"
190
+ autoload :MethodAttr, "#{__dir__}/rdoc/method_attr"
191
+ autoload :GhostMethod, "#{__dir__}/rdoc/ghost_method"
192
+ autoload :MetaMethod, "#{__dir__}/rdoc/meta_method"
193
+ autoload :Attr, "#{__dir__}/rdoc/attr"
194
+
195
+ autoload :Constant, "#{__dir__}/rdoc/constant"
196
+ autoload :Mixin, "#{__dir__}/rdoc/mixin"
197
+ autoload :Include, "#{__dir__}/rdoc/include"
198
+ autoload :Extend, "#{__dir__}/rdoc/extend"
199
+ autoload :Require, "#{__dir__}/rdoc/require"
200
200
 
201
201
  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.3.3
4
+ version: 6.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Hodel
@@ -14,22 +14,22 @@ authors:
14
14
  autorequire:
15
15
  bindir: exe
16
16
  cert_chain: []
17
- date: 2021-11-11 00:00:00.000000000 Z
17
+ date: 2022-12-05 00:00:00.000000000 Z
18
18
  dependencies:
19
19
  - !ruby/object:Gem::Dependency
20
- name: gettext
20
+ name: psych
21
21
  requirement: !ruby/object:Gem::Requirement
22
22
  requirements:
23
23
  - - ">="
24
24
  - !ruby/object:Gem::Version
25
- version: '0'
26
- type: :development
25
+ version: 4.0.0
26
+ type: :runtime
27
27
  prerelease: false
28
28
  version_requirements: !ruby/object:Gem::Requirement
29
29
  requirements:
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: '0'
32
+ version: 4.0.0
33
33
  description: |
34
34
  RDoc produces HTML and command-line documentation for Ruby projects.
35
35
  RDoc includes the +rdoc+ and +ri+ tools for generating and displaying documentation from the command-line.
@@ -46,8 +46,8 @@ executables:
46
46
  - ri
47
47
  extensions: []
48
48
  extra_rdoc_files:
49
- - CVE-2013-0256.rdoc
50
49
  - CONTRIBUTING.rdoc
50
+ - CVE-2013-0256.rdoc
51
51
  - ExampleMarkdown.md
52
52
  - ExampleRDoc.rdoc
53
53
  - History.rdoc
@@ -61,16 +61,12 @@ files:
61
61
  - CVE-2013-0256.rdoc
62
62
  - ExampleMarkdown.md
63
63
  - ExampleRDoc.rdoc
64
- - Gemfile
65
64
  - History.rdoc
66
65
  - LEGAL.rdoc
67
66
  - LICENSE.rdoc
68
67
  - README.rdoc
69
68
  - RI.rdoc
70
- - Rakefile
71
69
  - TODO.rdoc
72
- - bin/console
73
- - bin/setup
74
70
  - exe/rdoc
75
71
  - exe/ri
76
72
  - lib/rdoc.rb
@@ -250,7 +246,6 @@ files:
250
246
  - lib/rdoc/top_level.rb
251
247
  - lib/rdoc/version.rb
252
248
  - man/ri.1
253
- - rdoc.gemspec
254
249
  homepage: https://ruby.github.io/rdoc
255
250
  licenses:
256
251
  - Ruby
@@ -265,14 +260,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
265
260
  requirements:
266
261
  - - ">="
267
262
  - !ruby/object:Gem::Version
268
- version: 2.4.0
263
+ version: 2.5.0
269
264
  required_rubygems_version: !ruby/object:Gem::Requirement
270
265
  requirements:
271
266
  - - ">="
272
267
  - !ruby/object:Gem::Version
273
268
  version: '2.2'
274
269
  requirements: []
275
- rubygems_version: 3.3.0.dev
270
+ rubygems_version: 3.4.0.dev
276
271
  signing_key:
277
272
  specification_version: 4
278
273
  summary: RDoc produces HTML and command-line documentation for Ruby projects
data/Gemfile DELETED
@@ -1,12 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gemspec
4
-
5
- group :development do
6
- gem "rake"
7
- gem "racc", "> 1.4.10"
8
- gem "kpeg"
9
- gem "test-unit"
10
- gem "minitest" # for test_rdoc_rubygems_hook.rb
11
- gem "rubocop"
12
- end
data/Rakefile DELETED
@@ -1,101 +0,0 @@
1
- $:.unshift File.expand_path 'lib'
2
- require 'rdoc/task'
3
- require 'bundler/gem_tasks'
4
- require 'rake/testtask'
5
-
6
- task :docs => :generate
7
- task :test => [:normal_test, :rubygems_test]
8
-
9
- PARSER_FILES = %w[
10
- lib/rdoc/rd/block_parser.ry
11
- lib/rdoc/rd/inline_parser.ry
12
- lib/rdoc/markdown.kpeg
13
- lib/rdoc/markdown/literals.kpeg
14
- ]
15
-
16
- $rdoc_rakefile = true
17
-
18
- task :default => :test
19
-
20
- RDoc::Task.new do |doc|
21
- doc.main = 'README.rdoc'
22
- doc.title = "rdoc #{RDoc::VERSION} Documentation"
23
- doc.rdoc_dir = 'html'
24
- doc.rdoc_files = FileList.new %w[lib/**/*.rb *.rdoc] - PARSER_FILES
25
- end
26
-
27
- task ghpages: :rdoc do
28
- `git checkout gh-pages`
29
- require "fileutils"
30
- FileUtils.rm_rf "/tmp/html"
31
- FileUtils.mv "html", "/tmp"
32
- FileUtils.rm_rf "*"
33
- FileUtils.cp_r Dir.glob("/tmp/html/*"), "."
34
- end
35
-
36
- Rake::TestTask.new(:normal_test) do |t|
37
- t.libs << "test/rdoc"
38
- t.verbose = true
39
- t.deps = :generate
40
- t.test_files = FileList["test/**/test_*.rb"].exclude("test/rdoc/test_rdoc_rubygems_hook.rb")
41
- end
42
-
43
- Rake::TestTask.new(:rubygems_test) do |t|
44
- t.libs << "test/rdoc"
45
- t.verbose = true
46
- t.deps = :generate
47
- t.pattern = "test/rdoc/test_rdoc_rubygems_hook.rb"
48
- end
49
-
50
- path = "pkg/#{Bundler::GemHelper.gemspec.full_name}"
51
-
52
- package_parser_files = PARSER_FILES.map do |parser_file|
53
- name = File.basename(parser_file, File.extname(parser_file))
54
- _path = File.dirname(parser_file)
55
- package_parser_file = "#{path}/#{name}.rb"
56
- parsed_file = "#{_path}/#{name}.rb"
57
-
58
- file package_parser_file => parsed_file # ensure copy runs before racc
59
-
60
- package_parser_file
61
- end
62
-
63
- parsed_files = PARSER_FILES.map do |parser_file|
64
- ext = File.extname(parser_file)
65
- parsed_file = "#{parser_file.chomp(ext)}.rb"
66
-
67
- file parsed_file => parser_file do |t|
68
- puts "Generating #{parsed_file}..."
69
- case ext
70
- when '.ry' # need racc
71
- racc = Gem.bin_path 'racc', 'racc'
72
- rb_file = parser_file.gsub(/\.ry\z/, ".rb")
73
- ruby "#{racc} -l -o #{rb_file} #{parser_file}"
74
- open(rb_file, 'r+') do |f|
75
- newtext = "# frozen_string_literal: true\n#{f.read}"
76
- f.rewind
77
- f.write newtext
78
- end
79
- when '.kpeg' # need kpeg
80
- kpeg = Gem.bin_path 'kpeg', 'kpeg'
81
- rb_file = parser_file.gsub(/\.kpeg\z/, ".rb")
82
- ruby "#{kpeg} -fsv -o #{rb_file} #{parser_file}"
83
- end
84
- end
85
-
86
- parsed_file
87
- end
88
-
89
- task "#{path}.gem" => package_parser_files
90
- desc "Generate all files used racc and kpeg"
91
- task :generate => parsed_files
92
-
93
- begin
94
- require 'rubocop/rake_task'
95
- rescue LoadError
96
- else
97
- RuboCop::RakeTask.new(:rubocop) do |t|
98
- t.options = [*parsed_files]
99
- end
100
- task :build => [:generate, "rubocop:auto_correct"]
101
- end
data/bin/console DELETED
@@ -1,7 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- require "bundler/setup"
4
- require "rdoc"
5
-
6
- require "irb"
7
- IRB.start
data/bin/setup DELETED
@@ -1,6 +0,0 @@
1
- #!/usr/bin/env bash
2
- set -euo pipefail
3
- IFS=$'\n\t'
4
- set -vx
5
-
6
- bundle install
data/rdoc.gemspec DELETED
@@ -1,249 +0,0 @@
1
- begin
2
- require_relative "lib/rdoc/version"
3
- rescue LoadError
4
- # for Ruby repository
5
- require_relative "version"
6
- end
7
-
8
- Gem::Specification.new do |s|
9
- s.name = "rdoc"
10
- s.version = RDoc::VERSION
11
-
12
- s.authors = [
13
- "Eric Hodel",
14
- "Dave Thomas",
15
- "Phil Hagelberg",
16
- "Tony Strauss",
17
- "Zachary Scott",
18
- "Hiroshi SHIBATA",
19
- "ITOYANAGI Sakura"
20
- ]
21
- s.email = ["drbrain@segment7.net", "", "", "", "mail@zzak.io", "hsbt@ruby-lang.org", "aycabta@gmail.com"]
22
-
23
- s.summary = "RDoc produces HTML and command-line documentation for Ruby projects"
24
- s.description = <<-DESCRIPTION
25
- RDoc produces HTML and command-line documentation for Ruby projects.
26
- RDoc includes the +rdoc+ and +ri+ tools for generating and displaying documentation from the command-line.
27
- DESCRIPTION
28
- s.homepage = "https://ruby.github.io/rdoc"
29
- s.licenses = ["Ruby"]
30
-
31
- s.bindir = "exe"
32
- s.executables = ["rdoc", "ri"]
33
- s.require_paths = ["lib"]
34
- # for ruby core repository. It was generated by
35
- # `git ls-files -z`.split("\x0").each {|f| puts " #{f.dump}," unless f.start_with?(*%W[test/ spec/ features/ .]) }
36
- s.files = [
37
- "CONTRIBUTING.rdoc",
38
- "CVE-2013-0256.rdoc",
39
- "ExampleMarkdown.md",
40
- "ExampleRDoc.rdoc",
41
- "Gemfile",
42
- "History.rdoc",
43
- "LEGAL.rdoc",
44
- "LICENSE.rdoc",
45
- "README.rdoc",
46
- "RI.rdoc",
47
- "Rakefile",
48
- "TODO.rdoc",
49
- "bin/console",
50
- "bin/setup",
51
- "exe/rdoc",
52
- "exe/ri",
53
- "lib/rdoc.rb",
54
- "lib/rdoc/alias.rb",
55
- "lib/rdoc/anon_class.rb",
56
- "lib/rdoc/any_method.rb",
57
- "lib/rdoc/attr.rb",
58
- "lib/rdoc/class_module.rb",
59
- "lib/rdoc/code_object.rb",
60
- "lib/rdoc/code_objects.rb",
61
- "lib/rdoc/comment.rb",
62
- "lib/rdoc/constant.rb",
63
- "lib/rdoc/context.rb",
64
- "lib/rdoc/context/section.rb",
65
- "lib/rdoc/cross_reference.rb",
66
- "lib/rdoc/encoding.rb",
67
- "lib/rdoc/erb_partial.rb",
68
- "lib/rdoc/erbio.rb",
69
- "lib/rdoc/extend.rb",
70
- "lib/rdoc/generator.rb",
71
- "lib/rdoc/generator/darkfish.rb",
72
- "lib/rdoc/generator/json_index.rb",
73
- "lib/rdoc/generator/markup.rb",
74
- "lib/rdoc/generator/pot.rb",
75
- "lib/rdoc/generator/pot/message_extractor.rb",
76
- "lib/rdoc/generator/pot/po.rb",
77
- "lib/rdoc/generator/pot/po_entry.rb",
78
- "lib/rdoc/generator/ri.rb",
79
- "lib/rdoc/generator/template/darkfish/.document",
80
- "lib/rdoc/generator/template/darkfish/_footer.rhtml",
81
- "lib/rdoc/generator/template/darkfish/_head.rhtml",
82
- "lib/rdoc/generator/template/darkfish/_sidebar_VCS_info.rhtml",
83
- "lib/rdoc/generator/template/darkfish/_sidebar_classes.rhtml",
84
- "lib/rdoc/generator/template/darkfish/_sidebar_extends.rhtml",
85
- "lib/rdoc/generator/template/darkfish/_sidebar_in_files.rhtml",
86
- "lib/rdoc/generator/template/darkfish/_sidebar_includes.rhtml",
87
- "lib/rdoc/generator/template/darkfish/_sidebar_installed.rhtml",
88
- "lib/rdoc/generator/template/darkfish/_sidebar_methods.rhtml",
89
- "lib/rdoc/generator/template/darkfish/_sidebar_navigation.rhtml",
90
- "lib/rdoc/generator/template/darkfish/_sidebar_pages.rhtml",
91
- "lib/rdoc/generator/template/darkfish/_sidebar_parent.rhtml",
92
- "lib/rdoc/generator/template/darkfish/_sidebar_search.rhtml",
93
- "lib/rdoc/generator/template/darkfish/_sidebar_sections.rhtml",
94
- "lib/rdoc/generator/template/darkfish/_sidebar_table_of_contents.rhtml",
95
- "lib/rdoc/generator/template/darkfish/class.rhtml",
96
- "lib/rdoc/generator/template/darkfish/css/fonts.css",
97
- "lib/rdoc/generator/template/darkfish/css/rdoc.css",
98
- "lib/rdoc/generator/template/darkfish/fonts/Lato-Light.ttf",
99
- "lib/rdoc/generator/template/darkfish/fonts/Lato-LightItalic.ttf",
100
- "lib/rdoc/generator/template/darkfish/fonts/Lato-Regular.ttf",
101
- "lib/rdoc/generator/template/darkfish/fonts/Lato-RegularItalic.ttf",
102
- "lib/rdoc/generator/template/darkfish/fonts/SourceCodePro-Bold.ttf",
103
- "lib/rdoc/generator/template/darkfish/fonts/SourceCodePro-Regular.ttf",
104
- "lib/rdoc/generator/template/darkfish/images/add.png",
105
- "lib/rdoc/generator/template/darkfish/images/arrow_up.png",
106
- "lib/rdoc/generator/template/darkfish/images/brick.png",
107
- "lib/rdoc/generator/template/darkfish/images/brick_link.png",
108
- "lib/rdoc/generator/template/darkfish/images/bug.png",
109
- "lib/rdoc/generator/template/darkfish/images/bullet_black.png",
110
- "lib/rdoc/generator/template/darkfish/images/bullet_toggle_minus.png",
111
- "lib/rdoc/generator/template/darkfish/images/bullet_toggle_plus.png",
112
- "lib/rdoc/generator/template/darkfish/images/date.png",
113
- "lib/rdoc/generator/template/darkfish/images/delete.png",
114
- "lib/rdoc/generator/template/darkfish/images/find.png",
115
- "lib/rdoc/generator/template/darkfish/images/loadingAnimation.gif",
116
- "lib/rdoc/generator/template/darkfish/images/macFFBgHack.png",
117
- "lib/rdoc/generator/template/darkfish/images/package.png",
118
- "lib/rdoc/generator/template/darkfish/images/page_green.png",
119
- "lib/rdoc/generator/template/darkfish/images/page_white_text.png",
120
- "lib/rdoc/generator/template/darkfish/images/page_white_width.png",
121
- "lib/rdoc/generator/template/darkfish/images/plugin.png",
122
- "lib/rdoc/generator/template/darkfish/images/ruby.png",
123
- "lib/rdoc/generator/template/darkfish/images/tag_blue.png",
124
- "lib/rdoc/generator/template/darkfish/images/tag_green.png",
125
- "lib/rdoc/generator/template/darkfish/images/transparent.png",
126
- "lib/rdoc/generator/template/darkfish/images/wrench.png",
127
- "lib/rdoc/generator/template/darkfish/images/wrench_orange.png",
128
- "lib/rdoc/generator/template/darkfish/images/zoom.png",
129
- "lib/rdoc/generator/template/darkfish/index.rhtml",
130
- "lib/rdoc/generator/template/darkfish/js/darkfish.js",
131
- "lib/rdoc/generator/template/darkfish/js/search.js",
132
- "lib/rdoc/generator/template/darkfish/page.rhtml",
133
- "lib/rdoc/generator/template/darkfish/servlet_not_found.rhtml",
134
- "lib/rdoc/generator/template/darkfish/servlet_root.rhtml",
135
- "lib/rdoc/generator/template/darkfish/table_of_contents.rhtml",
136
- "lib/rdoc/generator/template/json_index/.document",
137
- "lib/rdoc/generator/template/json_index/js/navigation.js",
138
- "lib/rdoc/generator/template/json_index/js/searcher.js",
139
- "lib/rdoc/ghost_method.rb",
140
- "lib/rdoc/i18n.rb",
141
- "lib/rdoc/i18n/locale.rb",
142
- "lib/rdoc/i18n/text.rb",
143
- "lib/rdoc/include.rb",
144
- "lib/rdoc/known_classes.rb",
145
- "lib/rdoc/markdown.kpeg",
146
- "lib/rdoc/markdown/entities.rb",
147
- "lib/rdoc/markdown/literals.kpeg",
148
- "lib/rdoc/markup.rb",
149
- "lib/rdoc/markup/attr_changer.rb",
150
- "lib/rdoc/markup/attr_span.rb",
151
- "lib/rdoc/markup/attribute_manager.rb",
152
- "lib/rdoc/markup/attributes.rb",
153
- "lib/rdoc/markup/blank_line.rb",
154
- "lib/rdoc/markup/block_quote.rb",
155
- "lib/rdoc/markup/document.rb",
156
- "lib/rdoc/markup/formatter.rb",
157
- "lib/rdoc/markup/hard_break.rb",
158
- "lib/rdoc/markup/heading.rb",
159
- "lib/rdoc/markup/include.rb",
160
- "lib/rdoc/markup/indented_paragraph.rb",
161
- "lib/rdoc/markup/list.rb",
162
- "lib/rdoc/markup/list_item.rb",
163
- "lib/rdoc/markup/paragraph.rb",
164
- "lib/rdoc/markup/parser.rb",
165
- "lib/rdoc/markup/pre_process.rb",
166
- "lib/rdoc/markup/raw.rb",
167
- "lib/rdoc/markup/regexp_handling.rb",
168
- "lib/rdoc/markup/rule.rb",
169
- "lib/rdoc/markup/table.rb",
170
- "lib/rdoc/markup/to_ansi.rb",
171
- "lib/rdoc/markup/to_bs.rb",
172
- "lib/rdoc/markup/to_html.rb",
173
- "lib/rdoc/markup/to_html_crossref.rb",
174
- "lib/rdoc/markup/to_html_snippet.rb",
175
- "lib/rdoc/markup/to_joined_paragraph.rb",
176
- "lib/rdoc/markup/to_label.rb",
177
- "lib/rdoc/markup/to_markdown.rb",
178
- "lib/rdoc/markup/to_rdoc.rb",
179
- "lib/rdoc/markup/to_table_of_contents.rb",
180
- "lib/rdoc/markup/to_test.rb",
181
- "lib/rdoc/markup/to_tt_only.rb",
182
- "lib/rdoc/markup/verbatim.rb",
183
- "lib/rdoc/meta_method.rb",
184
- "lib/rdoc/method_attr.rb",
185
- "lib/rdoc/mixin.rb",
186
- "lib/rdoc/normal_class.rb",
187
- "lib/rdoc/normal_module.rb",
188
- "lib/rdoc/options.rb",
189
- "lib/rdoc/parser.rb",
190
- "lib/rdoc/parser/c.rb",
191
- "lib/rdoc/parser/changelog.rb",
192
- "lib/rdoc/parser/markdown.rb",
193
- "lib/rdoc/parser/rd.rb",
194
- "lib/rdoc/parser/ripper_state_lex.rb",
195
- "lib/rdoc/parser/ruby.rb",
196
- "lib/rdoc/parser/ruby_tools.rb",
197
- "lib/rdoc/parser/simple.rb",
198
- "lib/rdoc/parser/text.rb",
199
- "lib/rdoc/rd.rb",
200
- "lib/rdoc/rd/block_parser.ry",
201
- "lib/rdoc/rd/inline.rb",
202
- "lib/rdoc/rd/inline_parser.ry",
203
- "lib/rdoc/rdoc.rb",
204
- "lib/rdoc/require.rb",
205
- "lib/rdoc/ri.rb",
206
- "lib/rdoc/ri/driver.rb",
207
- "lib/rdoc/ri/formatter.rb",
208
- "lib/rdoc/ri/paths.rb",
209
- "lib/rdoc/ri/store.rb",
210
- "lib/rdoc/ri/task.rb",
211
- "lib/rdoc/rubygems_hook.rb",
212
- "lib/rdoc/servlet.rb",
213
- "lib/rdoc/single_class.rb",
214
- "lib/rdoc/stats.rb",
215
- "lib/rdoc/stats/normal.rb",
216
- "lib/rdoc/stats/quiet.rb",
217
- "lib/rdoc/stats/verbose.rb",
218
- "lib/rdoc/store.rb",
219
- "lib/rdoc/task.rb",
220
- "lib/rdoc/text.rb",
221
- "lib/rdoc/token_stream.rb",
222
- "lib/rdoc/tom_doc.rb",
223
- "lib/rdoc/top_level.rb",
224
- "lib/rdoc/version.rb",
225
- "man/ri.1",
226
- "rdoc.gemspec",
227
- ]
228
- # files from .gitignore
229
- s.files << "lib/rdoc/rd/block_parser.rb" << "lib/rdoc/rd/inline_parser.rb" << "lib/rdoc/markdown.rb" << "lib/rdoc/markdown/literals.rb"
230
-
231
- s.rdoc_options = ["--main", "README.rdoc"]
232
- s.extra_rdoc_files += %w[
233
- CVE-2013-0256.rdoc
234
- CONTRIBUTING.rdoc
235
- ExampleMarkdown.md
236
- ExampleRDoc.rdoc
237
- History.rdoc
238
- LEGAL.rdoc
239
- LICENSE.rdoc
240
- README.rdoc
241
- RI.rdoc
242
- TODO.rdoc
243
- ]
244
-
245
- s.required_ruby_version = Gem::Requirement.new(">= 2.4.0")
246
- s.required_rubygems_version = Gem::Requirement.new(">= 2.2")
247
-
248
- s.add_development_dependency("gettext")
249
- end