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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f128873420d897afaeb82e1358c3c14d248baf83c6e35f36c49f6c7005fb539b
4
- data.tar.gz: 1549b97b1227948363b282d3a77de7c6ac7d6f983327c2f7408f220252f2bd1b
3
+ metadata.gz: b583bbfeb738092168e2365479ac65f313b32bda8193af0670b309407d0d4b07
4
+ data.tar.gz: b1ca1c867aff301e014da49ee9dc1168302a77cc4d3706f19e6a4f2303b1892c
5
5
  SHA512:
6
- metadata.gz: cb6481734bf447d172c0df787789aaa38da1c3780ef5b0f4da3e8b5ea83732f5b1ee1683c2a47ff92f1d3f6497d75e89f1eba43c57e88ca02035e45ac38abb53
7
- data.tar.gz: 544c0d8b23897ec165da3ddbfb085e386b1b6408bd098e2a8c16af30da822291e6e062623fa17d8bc54a4bcd14557d7e9f9bca0a659c5dcd9d42b0ab1fe42790
6
+ metadata.gz: 5adbcfd75429bf1e06d0529fa870ba12817efd6a9df5c27e12de5cde3bed45ccc779c7541dcb0d0d7cb3f25ec5d43c5ac1590d6691027ef40d162b5361fb3f80
7
+ data.tar.gz: 0bb4e4615cfa8313668cedfcebcb4e888316d67789987f050b866e5f74347a06f896181dae510bf56cc7680de89f80531554964a60853a89f26390c1862dfb6c
data/HISTORY.rdoc CHANGED
@@ -1,3 +1,7 @@
1
+ === 1.6.0
2
+
3
+ * compatibility with RDoc 8
4
+
1
5
  === 1.5.2
2
6
 
3
7
  * tune the CSS
@@ -13,7 +13,7 @@ class RDoc::Markup::ToHtml
13
13
  label = heading.label @code_object
14
14
 
15
15
  @res <<
16
- if @options.output_decoration
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.5.2'
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.5.2
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: 2025-05-10 00:00:00.000000000 Z
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: '6.12'
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: '6.12'
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: 3.6.6
118
+ rubygems_version: 4.0.17
119
119
  specification_version: 4
120
120
  summary: An RDoc formatter producing HTML documentation.
121
121
  test_files: []