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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e6c40493a53d927c12ac286744b7b4a8774ee5fb
|
4
|
+
data.tar.gz: b6b7c05a3a6cbaf5b414acfabb9199410be62dc8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d612add5f12815fc62215d2c42c6b159b4b2fa8e329c5c4aa955d031b1e1bd964f5643a4c291bf475353515b28f0075f94039b901daf1658bda4efa4499b36f6
|
7
|
+
data.tar.gz: 3daf791211a22e468e967548c98d245affc1104663cb6a8a8065016774d8eaa16d0d8e77fdeb94cc8cff0ee3812749a465a7183a79f01776f3731f099d3220d3
|
@@ -68,7 +68,7 @@ module MarkdownRubyDocumentation
|
|
68
68
|
|
69
69
|
def get_line_number(file, word)
|
70
70
|
return unless file && word
|
71
|
-
`grep -
|
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)
|
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.
|
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-
|
11
|
+
date: 2018-04-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: method_source
|