rdoc 6.3.0 → 6.3.1
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/Rakefile +16 -14
- data/lib/rdoc/generator/template/darkfish/css/rdoc.css +20 -0
- data/lib/rdoc/markdown.kpeg +19 -1
- data/lib/rdoc/markdown.rb +420 -22
- data/lib/rdoc/markup.rb +1 -0
- data/lib/rdoc/markup/attr_span.rb +8 -2
- data/lib/rdoc/markup/attribute_manager.rb +93 -28
- data/lib/rdoc/markup/to_html.rb +27 -0
- data/lib/rdoc/markup/to_joined_paragraph.rb +1 -0
- data/lib/rdoc/markup/to_rdoc.rb +28 -0
- data/lib/rdoc/markup/to_table_of_contents.rb +1 -0
- data/lib/rdoc/options.rb +33 -1
- data/lib/rdoc/parser/changelog.rb +145 -14
- data/lib/rdoc/rdoc.rb +9 -2
- data/lib/rdoc/version.rb +1 -1
- data/rdoc.gemspec +2 -0
- metadata +18 -4
data/lib/rdoc/rdoc.rb
CHANGED
@@ -166,8 +166,15 @@ class RDoc::RDoc
|
|
166
166
|
rescue Psych::SyntaxError
|
167
167
|
end
|
168
168
|
|
169
|
+
return RDoc::Options.new if options == false # Allow empty file.
|
170
|
+
|
169
171
|
raise RDoc::Error, "#{options_file} is not a valid rdoc options file" unless
|
170
|
-
RDoc::Options === options
|
172
|
+
RDoc::Options === options or Hash === options
|
173
|
+
|
174
|
+
if Hash === options
|
175
|
+
# Override the default values with the contents of YAML file.
|
176
|
+
options = RDoc::Options.new options
|
177
|
+
end
|
171
178
|
|
172
179
|
options
|
173
180
|
end
|
@@ -436,7 +443,7 @@ The internal error was:
|
|
436
443
|
files.reject do |file, *|
|
437
444
|
file =~ /\.(?:class|eps|erb|scpt\.txt|svg|ttf|yml)$/i or
|
438
445
|
(file =~ /tags$/i and
|
439
|
-
open(file, 'rb') { |io|
|
446
|
+
File.open(file, 'rb') { |io|
|
440
447
|
io.read(100) =~ /\A(\f\n[^,]+,\d+$|!_TAG_)/
|
441
448
|
})
|
442
449
|
end
|
data/lib/rdoc/version.rb
CHANGED
data/rdoc.gemspec
CHANGED
@@ -243,4 +243,6 @@ RDoc includes the +rdoc+ and +ri+ tools for generating and displaying documentat
|
|
243
243
|
|
244
244
|
s.required_ruby_version = Gem::Requirement.new(">= 2.4.0")
|
245
245
|
s.required_rubygems_version = Gem::Requirement.new(">= 2.2")
|
246
|
+
|
247
|
+
s.add_development_dependency("gettext")
|
246
248
|
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.
|
4
|
+
version: 6.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric Hodel
|
@@ -14,8 +14,22 @@ authors:
|
|
14
14
|
autorequire:
|
15
15
|
bindir: exe
|
16
16
|
cert_chain: []
|
17
|
-
date:
|
18
|
-
dependencies:
|
17
|
+
date: 2021-05-02 00:00:00.000000000 Z
|
18
|
+
dependencies:
|
19
|
+
- !ruby/object:Gem::Dependency
|
20
|
+
name: gettext
|
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'
|
19
33
|
description: |
|
20
34
|
RDoc produces HTML and command-line documentation for Ruby projects.
|
21
35
|
RDoc includes the +rdoc+ and +ri+ tools for generating and displaying documentation from the command-line.
|
@@ -257,7 +271,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
257
271
|
- !ruby/object:Gem::Version
|
258
272
|
version: '2.2'
|
259
273
|
requirements: []
|
260
|
-
rubygems_version: 3.2.
|
274
|
+
rubygems_version: 3.2.15
|
261
275
|
signing_key:
|
262
276
|
specification_version: 4
|
263
277
|
summary: RDoc produces HTML and command-line documentation for Ruby projects
|