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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dd1207a48ba8e3bef86a5aca61f42f614a5351f0251107de1eb840752a20c197
4
- data.tar.gz: fd0b345cd448977d34255da75e7c8fc8556a305d58a4b3e32d7e6e6014273dcd
3
+ metadata.gz: bd5d8139275c2476c088b09d3206025594e2b90a19862fbfc547068104b1b35f
4
+ data.tar.gz: 8a98934c3db1b3c889bd7ae37e694f0bc75d2ea5cc2e499b21927d761023881c
5
5
  SHA512:
6
- metadata.gz: 2b2ee0e51cb157b4345616a7b8f68ed8e38bea77d03672b295794017dad8c77591af0e5e7abc3075fc2abb8250a8217c9a4c55371a9ea98b34bed86c24567923
7
- data.tar.gz: 8bad826fd1efcb5e33eef42b701845be40bffb54c43196d0e3878f4362509177c6122ce6f28cdaf46373531942e7180813cff7cfe1c7e3d913c76538ca838ca2
6
+ metadata.gz: 76792e80cfd88a73e3af890b6c1c8cb3de8ce2dde25e537914b9ffce13c15157692722f6618d4b99dfb5cddfb22230a5e78676ff41de25d4ea1d647b065229f5
7
+ data.tar.gz: acbcb32253763eacaa73771a2b8bac61f4092d0525f3610437852ed19f56bc4113aeb6cd7728b21ff4b6d99dbeb7f8fc2ac58ccf1825b2888ee665f3ad7b9d16
@@ -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
- if thread?
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
@@ -1,3 +1,3 @@
1
1
  class TraceTree
2
- VERSION = "0.2.22"
2
+ VERSION = "0.2.23"
3
3
  end
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.22
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: 2019-12-30 00:00:00.000000000 Z
11
+ date: 2020-09-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler