trace_location 0.9.0 → 0.9.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/trace_location/generator/markdown.rb +4 -6
- data/lib/trace_location/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2194441a9de2b0331c15d48e202e61e05d208703821e62b7d53db4b0baf1e958
|
4
|
+
data.tar.gz: 87e55afcd03311a0735fecd7a2d6f37865c2bd06df25f60805e57aec0b0f16e4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eabe3716b3a56ff70aa15a25887cbbfd056953ace2eb1e4c7e532041ca245b160d7d8c5b6e52ad8ff294747d6937c3841fa911d82150770ff45d22d7efa2bc54
|
7
|
+
data.tar.gz: 631ee8e05dbbf7aeb65c35ec955f8cd56e6f1931fa34e979109f9c4d90dcb5e11b0755f5cc6495df42271dcc0ef047b29040adc57e8a142ec9486a4343a07b6f
|
data/Gemfile.lock
CHANGED
@@ -36,11 +36,7 @@ module TraceLocation
|
|
36
36
|
MARKDOWN
|
37
37
|
|
38
38
|
events.select(&:call?).each do |e|
|
39
|
-
pm =
|
40
|
-
Pry::Method.from_str(e.method_str)
|
41
|
-
rescue StandardError
|
42
|
-
nil
|
43
|
-
end
|
39
|
+
pm = Pry::Method.from_str(e.method_str)
|
44
40
|
next if pm.nil?
|
45
41
|
|
46
42
|
path = e.path.to_s.gsub(%r{#{gems_dir}/}, '')
|
@@ -50,13 +46,15 @@ module TraceLocation
|
|
50
46
|
<summary>#{path}:#{e.lineno}</summary>
|
51
47
|
|
52
48
|
##### #{pm.name_with_owner}
|
49
|
+
|
53
50
|
```#{pm.source_type}
|
54
51
|
#{pm.source.chomp}
|
55
52
|
# called from #{caller_path}:#{e.caller_lineno}
|
56
53
|
```
|
57
|
-
|
58
54
|
</details>
|
59
55
|
MARKDOWN
|
56
|
+
rescue StandardError
|
57
|
+
next
|
60
58
|
end
|
61
59
|
end
|
62
60
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: trace_location
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yoshiyuki Hirano
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-06-
|
11
|
+
date: 2019-06-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: binding_of_caller
|