rdoc-markdown 0.1.13 → 0.1.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +15 -4
- data/lib/rdoc/generator/markdown.rb +4 -3
- data/lib/rdoc/markdown/version.rb +1 -1
- metadata +15 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 12c1ba51ac28269b904c171a33ced989e93a6ec55cdeb5b07cf1267bb73f288e
|
4
|
+
data.tar.gz: 816fce30041fc92080f14dfe722e27261b9bc65fbec97b00a9646962a6daa0b6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 47cae1695d164805c74056118cc2048594281e304fd73952a6e8a0602a89f360beae06f5a6cd01929bfb6b1d094716b59a68a748a9409f4544bb18df2cf8c6d5
|
7
|
+
data.tar.gz: 544b83ef2a0f8dbccc7fbba8ef046f5fccd160ea0f030f6dba237ee6d061e4a13cae0c04fbd701d650993ec1d966f202ce948330101c9077d160bfdf4ef9c089
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
rdoc-markdown (0.1.
|
4
|
+
rdoc-markdown (0.1.13)
|
5
|
+
activesupport (~> 7.0)
|
5
6
|
erb (~> 2.0)
|
6
7
|
extralite-bundle (~> 1.0)
|
7
8
|
rdoc (~> 6.0)
|
@@ -10,16 +11,24 @@ PATH
|
|
10
11
|
GEM
|
11
12
|
remote: https://rubygems.org/
|
12
13
|
specs:
|
14
|
+
activesupport (7.0.4)
|
15
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
16
|
+
i18n (>= 1.6, < 2)
|
17
|
+
minitest (>= 5.1)
|
18
|
+
tzinfo (~> 2.0)
|
13
19
|
ast (2.4.2)
|
14
20
|
cgi (0.3.3)
|
21
|
+
concurrent-ruby (1.1.10)
|
15
22
|
erb (2.2.3)
|
16
23
|
cgi
|
17
24
|
extralite-bundle (1.16)
|
25
|
+
i18n (1.12.0)
|
26
|
+
concurrent-ruby (~> 1.0)
|
18
27
|
json (2.6.2)
|
19
28
|
minitest (5.16.3)
|
20
|
-
nokogiri (1.13.
|
29
|
+
nokogiri (1.13.9-arm64-darwin)
|
21
30
|
racc (~> 1.4)
|
22
|
-
nokogiri (1.13.
|
31
|
+
nokogiri (1.13.9-x86_64-linux)
|
23
32
|
racc (~> 1.4)
|
24
33
|
parallel (1.22.1)
|
25
34
|
parser (3.1.2.1)
|
@@ -46,7 +55,7 @@ GEM
|
|
46
55
|
rubocop-ast (>= 1.20.1, < 2.0)
|
47
56
|
ruby-progressbar (~> 1.7)
|
48
57
|
unicode-display_width (>= 1.4.0, < 3.0)
|
49
|
-
rubocop-ast (1.
|
58
|
+
rubocop-ast (1.22.0)
|
50
59
|
parser (>= 3.1.1.0)
|
51
60
|
rubocop-performance (1.14.3)
|
52
61
|
rubocop (>= 1.7.0, < 2.0)
|
@@ -56,6 +65,8 @@ GEM
|
|
56
65
|
rubocop (= 1.35.1)
|
57
66
|
rubocop-performance (= 1.14.3)
|
58
67
|
stringio (3.0.2)
|
68
|
+
tzinfo (2.0.5)
|
69
|
+
concurrent-ruby (~> 1.0)
|
59
70
|
unicode-display_width (2.3.0)
|
60
71
|
|
61
72
|
PLATFORMS
|
@@ -6,6 +6,7 @@ require "pathname"
|
|
6
6
|
require "erb"
|
7
7
|
require "reverse_markdown"
|
8
8
|
require 'extralite'
|
9
|
+
require 'active_support/core_ext/string/inflections'
|
9
10
|
|
10
11
|
class RDoc::Generator::Markdown
|
11
12
|
RDoc::RDoc.add_generator self
|
@@ -106,7 +107,7 @@ class RDoc::Generator::Markdown
|
|
106
107
|
result << {
|
107
108
|
name: "#{klass.full_name}.#{method.name}",
|
108
109
|
type: "Method",
|
109
|
-
path: turn_to_path(klass.full_name)
|
110
|
+
path: "#{turn_to_path(klass.full_name)}#meth-#{ActiveSupport::Inflector.parameterize method.name}"
|
110
111
|
}
|
111
112
|
end
|
112
113
|
|
@@ -114,7 +115,7 @@ class RDoc::Generator::Markdown
|
|
114
115
|
result << {
|
115
116
|
name: "#{klass.full_name}.#{const.name}",
|
116
117
|
type: "Constant",
|
117
|
-
path: turn_to_path(klass.full_name)
|
118
|
+
path: "#{turn_to_path(klass.full_name)}#const-#{ActiveSupport::Inflector.parameterize const.name}"
|
118
119
|
}
|
119
120
|
end
|
120
121
|
|
@@ -122,7 +123,7 @@ class RDoc::Generator::Markdown
|
|
122
123
|
result << {
|
123
124
|
name: "#{klass.full_name}.#{attr.name}",
|
124
125
|
type: "Attribute",
|
125
|
-
path: turn_to_path(klass.full_name)
|
126
|
+
path: "#{turn_to_path(klass.full_name)}#attr-#{ActiveSupport::Inflector.parameterize attr.name}"
|
126
127
|
}
|
127
128
|
end
|
128
129
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rdoc-markdown
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stanislav (Stas) Katkov
|
@@ -66,6 +66,20 @@ dependencies:
|
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '1.0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: activesupport
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '7.0'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '7.0'
|
69
83
|
- !ruby/object:Gem::Dependency
|
70
84
|
name: minitest
|
71
85
|
requirement: !ruby/object:Gem::Requirement
|