markdown_ruby_documentation 0.14.0 → 0.15.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: 6439a7ab64309e768de3b9d4e033171b17ac7e55
4
- data.tar.gz: ec024042c55f7c9138264bd6a2ff88d2f91e6b1f
3
+ metadata.gz: a1d717ca1c2babc24118a8d4565de546bea6e0f4
4
+ data.tar.gz: 68b836574cd9a8a98eceb97845d8ad7bbf29fdaa
5
5
  SHA512:
6
- metadata.gz: ba2200713d55eeafb7f3e9c9744672ec0d28d6f27fab662434b91f0566b00d873c3c0d071cc4b5055aec29b6c6f32ce3be33ed97e7f043c5117f687b7632dc6b
7
- data.tar.gz: bc336cfcc5095f95f6b29b877b6f5962c42348e41801a34c373a4caf53897d04d4e44b37d17670160526163837e890fbbe140125b93349618a81a99b0ed3e5c8
6
+ metadata.gz: a80b44e1d1da04d866b508f28110e175355e974d1dd0877c2c90b9c514a21aaa73a9b6ed7ac2bc13b625a1c91eb2fb8b7c0c5df9acc9bcb0aa5b82a88a15beef
7
+ data.tar.gz: 0ff9d8458ebd4e53509b2df0535151fdd702daa722d83da68549ec97ac21979eded66de1d219865b620463df31caa6ee49f2371836ce7be1751f9a2bf3b8e9a7
@@ -99,10 +99,12 @@ module MarkdownRubyDocumentation
99
99
  def all_instance_and_class_methods(methods, subject, subject_location)
100
100
  native_instance_methods = (subject.instance_methods(false) - Object.instance_methods(false)).concat(subject.private_instance_methods(false) - Object.private_instance_methods(false))
101
101
  super_instance_methods = (subject.instance_methods(true) - Object.instance_methods(true)).concat(subject.private_instance_methods(true) - Object.private_instance_methods(true)) - native_instance_methods
102
- klass_m = subject.methods(false).concat(subject.private_methods(false)) - Object.methods
102
+ native_klass_methods = (subject.methods(false) - Object.methods(false)).concat(subject.private_methods(false) - Object.private_methods(false))
103
+ super_klass_methods = (subject.methods(true) - Object.methods(true)).concat(subject.private_methods(true) - Object.private_methods(true)) - native_klass_methods
103
104
  methods.concat super_instance_methods.reverse.map { |method| InstanceMethod.new("#{subject.name}##{method}", context: subject, visibility: :super, file_path: subject_location) }
104
105
  methods.concat native_instance_methods.map { |method| InstanceMethod.new("#{subject.name}##{method}", context: subject, visibility: :native, file_path: subject_location) }
105
- methods.concat klass_m.map { |method| ClassMethod.new("#{subject.name}.#{method}", context: subject, file_path: subject_location) }
106
+ methods.concat super_klass_methods.map { |method| ClassMethod.new("#{subject.name}.#{method}", context: subject, visibility: :super, file_path: subject_location) }
107
+ methods.concat native_klass_methods.map { |method| ClassMethod.new("#{subject.name}.#{method}", context: subject, visibility: :native, file_path: subject_location) }
106
108
  end
107
109
 
108
110
  def methods_pipeline
@@ -1,3 +1,3 @@
1
1
  module MarkdownRubyDocumentation
2
- VERSION = "0.14.0"
2
+ VERSION = "0.15.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: markdown_ruby_documentation
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.0
4
+ version: 0.15.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dustin Zeisler
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-12-20 00:00:00.000000000 Z
11
+ date: 2017-02-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: method_source