rdoc-markdown 0.1.3 → 0.1.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: 0dc08310ad6f937bfbcc7a72b7211a6edddbf648db128ce30ec4c587e9621a2f
4
- data.tar.gz: 0b568a5565085bc5b43e03b0014c8348c5caac4728c767d2f2951ee16a4e3dba
3
+ metadata.gz: c6496d719bac799f108e7504fb0eef463533e1aa3df50a0da4877d44ff514c7e
4
+ data.tar.gz: b1da8475d96bdec1615012f21bdfcdf6709597837974409f43923d1452f5f430
5
5
  SHA512:
6
- metadata.gz: 41e397f9b061d8986711b312dd9c6253085aaa916af0d56e7cb51941baf8c306e04d9f6b30dcf21a859ffb87421e9de5893dbed433065cfdc897d2fb59c999a4
7
- data.tar.gz: 888e34068d2755998ffba9e6d7054e8bb5bace927edce7bc8650f358a8a67fde40694ca3b8cb5f82c97bfd8b9d495e36949760e37ba3b43bdf88a927465d0c05
6
+ metadata.gz: 0a8f5ea92bad8e716b72b642831e948dcf97b4fc58375600b764361e3805665c0cb7ed5cd8d87986b4b909daa1c16b08a1053bacf63bbe0494e7b4b0d6f71035
7
+ data.tar.gz: e95317429aa6bc84be6c45304453c89602c29d50db68aa7b2aa5802c7916c4be6d0ad0ada196fbff48c265583919171cffdc2a5e37340d9a054f967fd6fad6de
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Rdoc
4
4
  module Markdown
5
- VERSION = "0.1.3"
5
+ VERSION = "0.1.4"
6
6
  end
7
7
  end
@@ -1,26 +1,22 @@
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 %>
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
3
  <% if klass.description && !klass.description.empty? %><%= klass.description %><% end %>
4
- <% unless klass.constants.empty? %><!-- Constants -->
4
+ <% unless klass.constants.empty? %>
5
5
  ### Constants
6
- <% klass.constants.sort_by { |x| x.name }.each do |const| %> <%= const.name %> <% end %>
7
-
6
+ <% klass.constants.sort_by { |x| x&.name }.each do |const| %> <%= const&.name %> <% end %>
8
7
  <% end %>
9
- <% unless klass.attributes.empty? %><!-- Attributes -->
8
+ <% unless klass.attributes.empty? %>
10
9
  ### Attributes
11
- <% klass.attributes.sort_by { |x| x.name }.each do |attr| %><%= attr.name %>
10
+ <% klass.attributes.sort_by { |x| x&.name }.each do |attr| %><%= attr&.name %>
12
11
  <%= attr.rw %>
13
12
  <%= attr.description %>
14
-
15
13
  <% end %><% end %>
16
14
  <% unless klass_methods.empty? %>
17
- <!-- Class Methods -->
18
15
  ### Public Class Methods
19
- <% klass_methods.each do |method| %>[<%= method.name %><%= method.params %>](<%= method.aref %>)
16
+ <% klass_methods.each do |method| %>[<%= method&.name %><%= method.params %>](<%= method.aref %>)
20
17
  <%= method.description %><% end %>
21
-
22
18
  <% end %>
23
- <% unless instance_methods.empty? %><!-- Instance Methods -->
19
+ <% unless instance_methods.empty? %>
24
20
  ### Public Instance Methods
25
- <% instance_methods.each do |method| %>[<%= method.name %><%= method.params %>](<%= method.aref %>)
21
+ <% instance_methods.each do |method| %>[<%= method&.name %><%= method.params %>](<%= method.aref %>)
26
22
  <%= 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.3
4
+ version: 0.1.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-10-12 00:00:00.000000000 Z
11
+ date: 2022-10-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rdoc
@@ -156,7 +156,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
156
156
  - !ruby/object:Gem::Version
157
157
  version: '0'
158
158
  requirements: []
159
- rubygems_version: 3.3.20
159
+ rubygems_version: 3.1.6
160
160
  signing_key:
161
161
  specification_version: 4
162
162
  summary: rdoc generator that produces markdown files