rdoc-markdown 0.3.6 → 0.4

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: cc9298f0cd81d54367d58d68aa1cacead0c80be2e43ea591f5fe4bbf29e44ca5
4
- data.tar.gz: 15b4e889626b4b06fe2cd98e910f26d974d849690cb11a351e6fcceae55aeae1
3
+ metadata.gz: 701b08501deaf21f981b61001ec79249d506f685a755b0931ccb40f19a93690f
4
+ data.tar.gz: e3d5b50d3599a08004aaa182426477adeaeb539ff0215a92cd10485007282c88
5
5
  SHA512:
6
- metadata.gz: 779545ebd9dfdb19e8c474ff3ae851586ac9bddf069e74a828fe9cc2c482e4c1ca22fd11330065c35419099612d8977001b63940d4f583d3f6de838ccdbde25d
7
- data.tar.gz: 2f2306bff2ca81fd87487db0f771ce24ecd4fbe4ceb8dfe379b538ea2d11689c7d7133dd91f380ce9248bafd51d3ac09bb1477f18e7adde4731444092b296415
6
+ metadata.gz: 79c8b70b7e4a2e5b1a763d66cb8e8210c8b51250c1afdcb0de9fb5a96607f3347f060731540426b7641767d1cd6bd50ad8be3a56749facdc16e3cb8e93c4c704
7
+ data.tar.gz: 051f1cf3cc914fededfebb6db13d0c121b82e5e01de1b51f43a5af27f886929a0b6a3ddea27c7691ea6d46707778c290be142483e065146e2fc0e7db4b131b48
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rdoc-markdown (0.3.7)
4
+ rdoc-markdown (0.4)
5
5
  erb (~> 2.0)
6
6
  extralite-bundle (~> 1.0)
7
7
  rdoc (~> 6.0)
@@ -49,13 +49,13 @@ GEM
49
49
  unicode-display_width (>= 1.4.0, < 3.0)
50
50
  rubocop-ast (1.23.0)
51
51
  parser (>= 3.1.1.0)
52
- rubocop-performance (1.15.0)
52
+ rubocop-performance (1.15.1)
53
53
  rubocop (>= 1.7.0, < 2.0)
54
54
  rubocop-ast (>= 0.4.0)
55
55
  ruby-progressbar (1.11.0)
56
- standard (1.18.0)
56
+ standard (1.18.1)
57
57
  rubocop (= 1.39.0)
58
- rubocop-performance (= 1.15.0)
58
+ rubocop-performance (= 1.15.1)
59
59
  stringio (3.0.2)
60
60
  unicode-display_width (2.3.0)
61
61
  unindent (1.0)
data/example/Object.md CHANGED
@@ -2,7 +2,5 @@
2
2
  ## Constants
3
3
  | Name | Description |
4
4
  | ---- | ----------- |
5
- | **DEFAULT_DUCK_VELOCITY[](#DEFAULT_DUCK_VELOCITY)** | Default velocity for a flying duck.
6
-
7
- |
5
+ | **DEFAULT_DUCK_VELOCITY[](#DEFAULT_DUCK_VELOCITY)** | Default velocity for a flying duck. |
8
6
 
@@ -2,9 +2,7 @@
2
2
  ## Constants
3
3
  | Name | Description |
4
4
  | ---- | ----------- |
5
- | **TEMPLATE_DIR[](#TEMPLATE_DIR)** | Defines a constant for directory where templates could be found
6
-
7
- |
5
+ | **TEMPLATE_DIR[](#TEMPLATE_DIR)** | Defines a constant for directory where templates could be found |
8
6
  ## Attributes
9
7
  ### base_dir[R] [](#attribute-i-base_dir)
10
8
  The path to generate files into, combined with `--op` from the options for a full path.
@@ -174,6 +174,7 @@ class RDoc::Generator::Markdown
174
174
  ##
175
175
  # Converts HTML string into a Markdown string with some cleaning and improvements.
176
176
 
177
+ # FIXME: This could return string with newlines in the end, which is not good.
177
178
  def markdownify(input)
178
179
  # TODO: I should be able to set unknown_tags to "raise" for debugging purposes. Probably through rdoc parameters?
179
180
  # Allowed parameters:
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Rdoc
4
4
  module Markdown
5
- VERSION = "0.3.6"
5
+ VERSION = "0.4"
6
6
  end
7
7
  end
@@ -7,7 +7,7 @@
7
7
  ## Constants
8
8
  | Name | Description |
9
9
  | ---- | ----------- |
10
- <% klass.constants.each do |const| %> | **<%= const.name %>[](#<%= const.name %>)** | <% unless const.description.empty? %> <%= h const.description %> <%else%> Not documented <% end %> |
10
+ <% klass.constants.each do |const| %> | **<%= const.name %>[](#<%= const.name %>)** | <% unless const.description.empty? %> <%= h(const.description).rstrip %> <%else%> Not documented <% end %> |
11
11
  <% end %>
12
12
  <% end %>
13
13
  <% unless attributes&.empty? %>
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.3.6
4
+ version: '0.4'
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-11-20 00:00:00.000000000 Z
11
+ date: 2022-11-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rdoc