trace_tree 0.2.22 → 0.2.23
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/trace_tree/point.rb +2 -4
- data/lib/trace_tree/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: bd5d8139275c2476c088b09d3206025594e2b90a19862fbfc547068104b1b35f
|
4
|
+
data.tar.gz: 8a98934c3db1b3c889bd7ae37e694f0bc75d2ea5cc2e499b21927d761023881c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 76792e80cfd88a73e3af890b6c1c8cb3de8ce2dde25e537914b9ffce13c15157692722f6618d4b99dfb5cddfb22230a5e78676ff41de25d4ea1d647b065229f5
|
7
|
+
data.tar.gz: acbcb32253763eacaa73771a2b8bac61f4092d0525f3610437852ed19f56bc4113aeb6cd7728b21ff4b6d99dbeb7f8fc2ac58ccf1825b2888ee665f3ad7b9d16
|
data/lib/trace_tree/point.rb
CHANGED
@@ -73,14 +73,12 @@ EOM
|
|
73
73
|
end
|
74
74
|
|
75
75
|
@return_value = trace_point.return_value if x_return?
|
76
|
+
@thread = Thread.current
|
76
77
|
|
77
|
-
|
78
|
-
@thread = trace_point.self
|
79
|
-
else
|
78
|
+
unless thread?
|
80
79
|
there = trace_point.binding.of_caller(3)
|
81
80
|
@current = BindingOfCallers::Revealed.new there
|
82
81
|
@frame_env = current.frame_env.to_sym
|
83
|
-
@thread = current.send(:eval, 'Thread.current')
|
84
82
|
end
|
85
83
|
rescue => e
|
86
84
|
puts e
|
data/lib/trace_tree/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: trace_tree
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.23
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ken
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-09-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|