rdoc-markdown 0.1.5 → 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2daaac73b6d46ee2f2905484aa1257b756a51ebafdbb44277e6a4ddf8f08aa75
4
- data.tar.gz: 627b149db5aadce52067bc7d54d0b672d92f21729598497bea9160e2bca4f6a4
3
+ metadata.gz: f30f6ccebebb94e820513965f5d8a7dece795f8fcc6fe94e209ceb89b465f653
4
+ data.tar.gz: 74bdeed8adbcc0a5c128ee77ebb65aee345f575eb76c52b59c63f5e611e74abe
5
5
  SHA512:
6
- metadata.gz: 7f9e1802dee3d4c5c5e98977527951c24355b2ba17507e2cdda3a0b573b4fa8f830eb2224dbf13e9ee81848d4598a7c4d703c0db242dba0f6a081f950f917aa4
7
- data.tar.gz: bf1e6cfb1f1f6e982d43dee939ce2c14323b664570e953d2248539899852e0c4f92c6fd3c20784844a12a54e19fe5fb5c5ac6f14fc217f90811dc87f16aeb713
6
+ metadata.gz: 18daca03f85c417d3d87d5fe0247f5496acaa1d3454e327002a9c650c879646daee091012775cb95d066b941338a8c14f1e34969b9a3126476dffb9b9eb5208d
7
+ data.tar.gz: ec1f31981a90f6c5e09f83e51cf4fc6e6dbd2c3a701ba464d31a859746f403ab938b99b7cfcee38a56627a30f6df8cd325af8dafa00180eca2f347a9532cd6d8
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rdoc-markdown (0.1.8)
4
+ rdoc-markdown (0.1.7)
5
5
  erb (~> 2.0)
6
6
  rdoc (~> 6.0)
7
7
  reverse_markdown (~> 2.0)
@@ -13,6 +13,7 @@ GEM
13
13
  cgi (0.3.3)
14
14
  erb (2.2.3)
15
15
  cgi
16
+ json (2.6.2)
16
17
  minitest (5.16.3)
17
18
  nokogiri (1.13.8-arm64-darwin)
18
19
  racc (~> 1.4)
@@ -29,28 +30,29 @@ GEM
29
30
  rdiscount (2.2.0.2)
30
31
  rdoc (6.4.0)
31
32
  psych (>= 4.0.0)
32
- regexp_parser (2.5.0)
33
+ regexp_parser (2.6.0)
33
34
  reverse_markdown (2.1.1)
34
35
  nokogiri
35
36
  rexml (3.2.5)
36
- rubocop (1.29.1)
37
+ rubocop (1.35.1)
38
+ json (~> 2.3)
37
39
  parallel (~> 1.10)
38
- parser (>= 3.1.0.0)
40
+ parser (>= 3.1.2.1)
39
41
  rainbow (>= 2.2.2, < 4.0)
40
42
  regexp_parser (>= 1.8, < 3.0)
41
43
  rexml (>= 3.2.5, < 4.0)
42
- rubocop-ast (>= 1.17.0, < 2.0)
44
+ rubocop-ast (>= 1.20.1, < 2.0)
43
45
  ruby-progressbar (~> 1.7)
44
46
  unicode-display_width (>= 1.4.0, < 3.0)
45
47
  rubocop-ast (1.21.0)
46
48
  parser (>= 3.1.1.0)
47
- rubocop-performance (1.13.3)
49
+ rubocop-performance (1.14.3)
48
50
  rubocop (>= 1.7.0, < 2.0)
49
51
  rubocop-ast (>= 0.4.0)
50
52
  ruby-progressbar (1.11.0)
51
- standard (1.12.1)
52
- rubocop (= 1.29.1)
53
- rubocop-performance (= 1.13.3)
53
+ standard (1.16.1)
54
+ rubocop (= 1.35.1)
55
+ rubocop-performance (= 1.14.3)
54
56
  stringio (3.0.2)
55
57
  unicode-display_width (2.3.0)
56
58
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Rdoc
4
4
  module Markdown
5
- VERSION = "0.1.5"
5
+ VERSION = "0.1.7"
6
6
  end
7
7
  end
@@ -1,21 +1,27 @@
1
- # <%= klass.name %>
2
- ## <% if klass.type == 'class' %><%= klass.type.capitalize %> [<%= klass.full_name %>](<%= klass&.path %>)<% if klass.superclass %> inherits from <% end %><% unless String === klass.superclass %>[<%= klass.superclass&.name %>](<%= klass.superclass&.path %>) <% else %> <%= klass.superclass %> <% end %> <% else %> <%= klass.type.capitalize %>[<%= klass&.name %>](<%= klass&.path %>) <% end %>
3
- <% if klass.description && !klass.description.empty? %><%= h klass.description %><% end %>
1
+ # <% if klass.type == 'class' %><%= klass.type.capitalize %>: **<%= klass.full_name %>** <% if klass.superclass %> < <% end %><% unless String === klass.superclass %><%= klass.superclass&.name %> <% else %> <%= klass.superclass %> <% end %> <% else %> <%= klass.type.capitalize %><%= klass&.name %> <% end %>
2
+ <% if klass.description && !klass.description.empty? %><%= h klass.description %><% end %>
4
3
  <% unless klass.constants.empty? %>
5
- ### Constants
6
- <% klass.constants.sort_by { |x| x.name }.each do |const| %> <%= h const.name %>
7
- <%= h const.description %>
4
+ ## Constants
5
+ ***
6
+
7
+ <% klass.constants.sort_by { |x| x.name }.each do |const| %> **<%= const.name %>**
8
+ <%= h const.description %>
8
9
  <% end %><% end %>
9
10
  <% unless klass.attributes.empty? %>
10
- ### Attributes
11
- <% klass.attributes.sort_by { |x| x.name }.each do |attr| %><%= h attr.name %>
12
- <%= attr.rw %>
13
- <%= h attr.description %><% end %><% end %>
11
+ ## Attributes
12
+
13
+ <% klass.attributes.sort_by { |x| x.name }.each do |attr| %>
14
+ **[<%= attr.rw %>]** <%= attr.name %>
15
+ <% end %><% end %>
14
16
  <% unless klass_methods.empty? %>
15
- ### Public Class Methods
16
- <% klass_methods.each do |method| %>[<%= h method.name %><%= h method.params %>](<%= method.aref %>)
17
+ ## Public Class Methods
18
+ ***
19
+
20
+ <% klass_methods.each do |method| %> ### <%= method.name %><%= method.params %>
21
+
17
22
  <%= h method.description %><% end %><% end %>
18
23
  <% unless instance_methods.empty? %>
19
- ### Public Instance Methods
20
- <% instance_methods.each do |method| %>[<%= h method.name %><%= h method.params %>](<%= method.aref %>)
21
- <% if method.name %><%= h method.description %><% end %><% end %><% end %>
24
+ ## Public Instance Methods
25
+ <% instance_methods.each do |method| %> ### <%= method.name %><%= method.params %>
26
+
27
+ <%= h method.description %><% end %><% end %>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rdoc-markdown
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stanislav (Stas) Katkov
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-10-15 00:00:00.000000000 Z
11
+ date: 2022-10-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rdoc