markdown_ruby_documentation 0.10.0 → 0.11.0

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
  SHA1:
3
- metadata.gz: 15e167a900d4c28baebc495ae718ef953066fded
4
- data.tar.gz: 2a58da6261d05fa314ae8c15aae13a48a8a11dc9
3
+ metadata.gz: eb222c7ee603c946c0da5a7ea8e542aacbec796d
4
+ data.tar.gz: 83eb98d15f1d32471465b0e35ffd1b707998a065
5
5
  SHA512:
6
- metadata.gz: ad5cdf4188306b2ce4278a1b2187ef10a54824313f1b7b8561af40f6ff80a07cfb1b72d2864e53af1f2d66c924374138c5a39b96039a4b1e703515539883a0bf
7
- data.tar.gz: 102769a3ebc9bd1b12ff7e2d0fba43cb290a0b7bf3afd9c8b3fba97f6beb80e4dd1d20fa9e7546ee1ed21ba196410ae52c3900fd0cba9234f557174659c40d54
6
+ metadata.gz: 8fd854a9b01b58d70012c293d5743c7d1632af4f52ac5bba8519885945c6e7ef40d0fc641a6ae5f5b958b9212c8b39d4e5dd7db144e6f8a3911e265cc2663ea7
7
+ data.tar.gz: 07c9d9e75aa91ba7f4c9adcc6ee9c71ba681895773ea5dc83a11bbdfa6d2e1c374efffa48905bbe593ffd329ae4499721f048707f93b218b31573b8ee6f49af6
@@ -272,7 +272,12 @@ module MarkdownRubyDocumentation
272
272
  end.to_s.titleize
273
273
  end
274
274
 
275
+ IGNORE_METHOD_OWNERS = [
276
+ Object
277
+ ]
278
+
275
279
  def link_to_markdown_method_reference(method_reference:, title:, ruby_class:)
280
+ return title if IGNORE_METHOD_OWNERS.include?(ruby_class)
276
281
  method = MarkdownRubyDocumentation::Method.create(method_reference, null_method: true, context: ruby_class)
277
282
  parts = method.context_name.to_s.split("::").reject(&:blank?)
278
283
  path = parts.map { |p| p.underscore }.join("/")
@@ -1,3 +1,3 @@
1
1
  module MarkdownRubyDocumentation
2
- VERSION = "0.10.0"
2
+ VERSION = "0.11.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: markdown_ruby_documentation
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dustin Zeisler