rdoc-markdown 0.10.1 → 0.10.3

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: 95c2805fe0b3c3762f7a90354a6af836c974c86f5d1ebf186a3c4b75aca99d22
4
- data.tar.gz: 2637246dbf1cb793d2b72fe6caecb9ca5d33224963c08207994216ffdd712793
3
+ metadata.gz: f0eae6267dc89dd3b398c7498a2cc7d9458feb1b177a66dbd5dcdd20d1c421e4
4
+ data.tar.gz: 8dff34ad7b48a1bd9b0a06a8b395490427888427425dc24e4551eee48a75028d
5
5
  SHA512:
6
- metadata.gz: ae4b635a4926dc848337aa7f533ef9f0d2ae683a503ae30d9f9d83d076e05fadbe6ab7b7df6db4fddd74e571904676a0a76b9cadb3245573c3b2a175a2774c48
7
- data.tar.gz: 5981bc64273f6a03de7b0ef2a0201d9a164409efd178292f4fe7ae336c8b29a6040aaba647e51b06a96cd519a7419eff74982213f94c527b328db783b5b6fc91
6
+ metadata.gz: bee22d3e444a8bbc5bf4fc0d0e5f6f9c269b8dd5ae70c9e00a91b9b41dad23490b51b56bfe3af6d7dcbc20e0d0e73e2afd2bf1a224598da29610ba08f713eec5
7
+ data.tar.gz: 7836c11cd909c34211aac0a0e4908e7d25143bc9ccf4296a973f0ddadf4c1b205658ce1e6fffb76f48f227193ffb811cd41e4ad7ab273438ff54eda8263af0a8
data/CHANGELOG.md CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 0.10.3
6
+ - Remove extra spacing between title 3 and content
7
+
8
+ ## 0.10.2
9
+
10
+ ### Fixed
11
+ - Generated anchors stay inline with headings
12
+
5
13
  ## 0.10.1
6
14
 
7
15
  ### Changed
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rdoc-markdown (0.10.1)
4
+ rdoc-markdown (0.10.3)
5
5
  csv
6
6
  erb
7
7
  rdoc
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Rdoc
4
4
  module Markdown
5
- VERSION = "0.10.1"
5
+ VERSION = "0.10.3"
6
6
  end
7
7
  end
@@ -1,8 +1,6 @@
1
- # <%= klass.type.capitalize %> <%= display_name(klass) %>
2
- <%= anchor(klass.aref.strip) %>
1
+ # <%= klass.type.capitalize %> <%= display_name(klass) %> <%= anchor(klass.aref.strip) %>
3
2
  <%- class_description = describe(klass) -%>
4
3
  <%- unless class_description.empty? -%>
5
-
6
4
  <%= class_description %>
7
5
  <%- end -%>
8
6
 
@@ -22,9 +20,7 @@
22
20
  ### Constants
23
21
  <% constants.sort_by(&:name).each do |const| -%>
24
22
 
25
- #### `<%= const.name %>`
26
- <%= anchor(const.name) %>
27
-
23
+ #### `<%= const.name %>` <%= anchor(const.name) %>
28
24
  <%= describe(const, fallback: "Not documented.", heading_level_offset: 4) %>
29
25
  <% end -%>
30
26
  <%- end -%>
@@ -33,9 +29,7 @@
33
29
  ### Attributes
34
30
  <% attributes.sort_by(&:name).each do |attr| -%>
35
31
 
36
- #### `<%= attr.name %>` [<%= attr.rw %>]
37
- <%= anchor(attr.aref.strip) %>
38
-
32
+ #### `<%= attr.name %>` [<%= attr.rw %>] <%= anchor(attr.aref.strip) %>
39
33
  <%= describe(attr, fallback: "Not documented.", heading_level_offset: 4) %>
40
34
  <% end -%>
41
35
  <%- end -%>
@@ -47,9 +41,7 @@
47
41
  ### <%= visibility.capitalize %> <%= type.capitalize %> Methods
48
42
  <% methods.each do |method| -%>
49
43
 
50
- #### `<%= method.name %><%= method_signature(method) %>`
51
- <%= anchor(method.aref) %>
52
-
44
+ #### `<%= method.name %><%= method_signature(method) %>` <%= anchor(method.aref) %>
53
45
  <%= method_description(method, current_class: klass) %>
54
46
  <% end -%>
55
47
  <% 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.10.1
4
+ version: 0.10.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stanislav (Stas) Katkov