rdoc-babel 1.5.2 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/HISTORY.rdoc +4 -0
- data/lib/rdoc/generator/babel.rb +17 -2
- metadata +6 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b583bbfeb738092168e2365479ac65f313b32bda8193af0670b309407d0d4b07
|
|
4
|
+
data.tar.gz: b1ca1c867aff301e014da49ee9dc1168302a77cc4d3706f19e6a4f2303b1892c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5adbcfd75429bf1e06d0529fa870ba12817efd6a9df5c27e12de5cde3bed45ccc779c7541dcb0d0d7cb3f25ec5d43c5ac1590d6691027ef40d162b5361fb3f80
|
|
7
|
+
data.tar.gz: 0bb4e4615cfa8313668cedfcebcb4e888316d67789987f050b866e5f74347a06f896181dae510bf56cc7680de89f80531554964a60853a89f26390c1862dfb6c
|
data/HISTORY.rdoc
CHANGED
data/lib/rdoc/generator/babel.rb
CHANGED
|
@@ -13,7 +13,7 @@ class RDoc::Markup::ToHtml
|
|
|
13
13
|
label = heading.label @code_object
|
|
14
14
|
|
|
15
15
|
@res <<
|
|
16
|
-
if @
|
|
16
|
+
if @output_decoration
|
|
17
17
|
"\n<h#{level} id=\"#{label}\">"
|
|
18
18
|
else
|
|
19
19
|
"\n<h#{level}>"
|
|
@@ -24,6 +24,21 @@ class RDoc::Markup::ToHtml
|
|
|
24
24
|
|
|
25
25
|
end
|
|
26
26
|
|
|
27
|
+
class RDoc::Context
|
|
28
|
+
|
|
29
|
+
# restore #class_attributes
|
|
30
|
+
def class_attributes
|
|
31
|
+
attributes.select { |a| a.singleton }
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
# restore #instance_attributes
|
|
35
|
+
def instance_attributes
|
|
36
|
+
attributes.reject { |a| a.singleton }
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
end
|
|
41
|
+
|
|
27
42
|
class RDoc::Alias
|
|
28
43
|
# restore full_old_name (RDoc >= 6.13)
|
|
29
44
|
unless instance_methods.include?(:full_old_name)
|
|
@@ -42,7 +57,7 @@ class RDoc::Generator::Babel
|
|
|
42
57
|
|
|
43
58
|
RDoc::RDoc.add_generator(self)
|
|
44
59
|
|
|
45
|
-
VERSION = '1.
|
|
60
|
+
VERSION = '1.6.0'
|
|
46
61
|
DESCRIPTION = 'Alternate HTML documentation'
|
|
47
62
|
|
|
48
63
|
include ERB::Util
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rdoc-babel
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.6.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Thierry Lambert
|
|
8
8
|
bindir: bin
|
|
9
9
|
cert_chain: []
|
|
10
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
11
|
dependencies:
|
|
12
12
|
- !ruby/object:Gem::Dependency
|
|
13
13
|
name: rdoc
|
|
@@ -15,14 +15,14 @@ dependencies:
|
|
|
15
15
|
requirements:
|
|
16
16
|
- - "~>"
|
|
17
17
|
- !ruby/object:Gem::Version
|
|
18
|
-
version: '
|
|
18
|
+
version: '8.0'
|
|
19
19
|
type: :runtime
|
|
20
20
|
prerelease: false
|
|
21
21
|
version_requirements: !ruby/object:Gem::Requirement
|
|
22
22
|
requirements:
|
|
23
23
|
- - "~>"
|
|
24
24
|
- !ruby/object:Gem::Version
|
|
25
|
-
version: '
|
|
25
|
+
version: '8.0'
|
|
26
26
|
- !ruby/object:Gem::Dependency
|
|
27
27
|
name: minitest
|
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -64,8 +64,8 @@ email: thyresias@gmail.com
|
|
|
64
64
|
executables: []
|
|
65
65
|
extensions: []
|
|
66
66
|
extra_rdoc_files:
|
|
67
|
-
- README.rdoc
|
|
68
67
|
- HISTORY.rdoc
|
|
68
|
+
- README.rdoc
|
|
69
69
|
files:
|
|
70
70
|
- HISTORY.rdoc
|
|
71
71
|
- README.rdoc
|
|
@@ -115,7 +115,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
115
115
|
- !ruby/object:Gem::Version
|
|
116
116
|
version: '0'
|
|
117
117
|
requirements: []
|
|
118
|
-
rubygems_version:
|
|
118
|
+
rubygems_version: 4.0.17
|
|
119
119
|
specification_version: 4
|
|
120
120
|
summary: An RDoc formatter producing HTML documentation.
|
|
121
121
|
test_files: []
|