markdown_ruby_documentation 0.21.1 → 0.21.2

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
  SHA1:
3
- metadata.gz: 3779e78fb8a38de3bccb66c1720364fd3046b1d5
4
- data.tar.gz: 20e8cc52b0064550321725d7bca00809a35347a7
3
+ metadata.gz: e6c40493a53d927c12ac286744b7b4a8774ee5fb
4
+ data.tar.gz: b6b7c05a3a6cbaf5b414acfabb9199410be62dc8
5
5
  SHA512:
6
- metadata.gz: fa2ee231bd40b97f8f3e16b427da2f555ee47694acbbe8c14617e8b077e71a8d0783d8f88b15b1934be02dbbebb2716245ef34c9ca3d1d14f255541a888b1f25
7
- data.tar.gz: f99c57df386e547070bd4160c1184d20e666bdbf31d4edfd24c0360b02080747d44b3b15a9adc89e9f3f4a3c0e8f00cd7687dc9850bdef5038deb3a0975d146d
6
+ metadata.gz: d612add5f12815fc62215d2c42c6b159b4b2fa8e329c5c4aa955d031b1e1bd964f5643a4c291bf475353515b28f0075f94039b901daf1658bda4efa4499b36f6
7
+ data.tar.gz: 3daf791211a22e468e967548c98d245affc1104663cb6a8a8065016774d8eaa16d0d8e77fdeb94cc8cff0ee3812749a465a7183a79f01776f3731f099d3220d3
@@ -34,7 +34,7 @@ module MarkdownRubyDocumentation
34
34
  end
35
35
 
36
36
  def ancestors
37
- subject.ancestors.select do |klass|
37
+ subject.ancestors.select do |klass|
38
38
  klass.is_a?(Class) && ![BasicObject, Object, subject].include?(klass)
39
39
  end.sort_by(&:name)
40
40
  end
@@ -68,7 +68,7 @@ module MarkdownRubyDocumentation
68
68
 
69
69
  def get_line_number(file, word)
70
70
  return unless file && word
71
- `grep -nr -m 1 "^[\s]*#{word}" #{file}`.match(/#{file}:(\d*)/).to_a[1].try!(:to_i)
71
+ `grep -nrH -m 1 "^[\s]*#{word}" #{file}`.match(/#{file}:(\d*)/).to_a[1].try!(:to_i)
72
72
  end
73
73
 
74
74
  def look_for_class_macro_comment(method)
@@ -1,3 +1,3 @@
1
1
  module MarkdownRubyDocumentation
2
- VERSION = "0.21.1"
2
+ VERSION = "0.21.2"
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.21.1
4
+ version: 0.21.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dustin Zeisler
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-04-02 00:00:00.000000000 Z
11
+ date: 2018-04-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: method_source