trace_tree 0.2.20 → 0.2.21

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
- SHA1:
3
- metadata.gz: 48d9b86dd78c922d3f2d3d9413fb585fb47c7a7c
4
- data.tar.gz: 268aeca57f69a92b8c10be491d66dc3bce279637
2
+ SHA256:
3
+ metadata.gz: 0be4af3563495464f3f18a8f3071777eaff9d29fbd90c99e79338dcd6ed97818
4
+ data.tar.gz: 82691f1633c340f8fcdc602564367db4d63769fa1d9a076d3a1ecba8f65d57dc
5
5
  SHA512:
6
- metadata.gz: a08b1347a5614b84d312b931580c187cf44fc509ad0393d4fa27156b5c089137fd2fa2781ef934f1cbaff591607dbbc66303308423b1ac8ee016be59de49c2c4
7
- data.tar.gz: 18fbc8579f464cae8b88073f05321d5d5ab612280879dcd55fb48982dd8b6b23be735155851de31ffacf71cd58531929fc01f03a8b321c816b4be21ace60f88d
6
+ metadata.gz: 67e6c97a69c109f44ae2f5527628caabb02e1c1aaff1ae05160b836f360b98432fc68d37a992664497c0089dcd7b02af2a9eb3999f27acf57134239129fd01fe
7
+ data.tar.gz: e24c3bab4d4a09883a450d91b0a3f8f10f517a9da35acb37b66f51e5435902fe4e6970cf4cc97c03c4e06d580fe262e96a7464339bbee99ae4669825b163812c
@@ -1,3 +1,3 @@
1
1
  class TraceTree
2
- VERSION = "0.2.20"
2
+ VERSION = "0.2.21"
3
3
  end
data/lib/trace_tree.rb CHANGED
@@ -164,11 +164,12 @@ class TraceTree
164
164
  if @no_methods.any?{ |pattern| pattern =~ point.method_id }
165
165
  if !empty && point.terminate?(stack.last)
166
166
  stack.pop
167
+ return stack.empty?
167
168
  else
168
169
  stack << point
169
170
  point << Point::Omitted.new
171
+ return empty
170
172
  end
171
- return true
172
173
  end
173
174
 
174
175
  empty
@@ -204,6 +205,8 @@ class TraceTree
204
205
  point.thread_begin = began_threads[thread]
205
206
  end
206
207
 
208
+ stacks.keys.each{ |thread| thread[:trace_tree_no_methods_stack] = nil }
209
+
207
210
  #binding.pry
208
211
 
209
212
  stacks[trace_points.first.thread][0].
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trace_tree
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.20
4
+ version: 0.2.21
5
5
  platform: ruby
6
6
  authors:
7
7
  - ken
@@ -191,7 +191,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
191
191
  version: '0'
192
192
  requirements: []
193
193
  rubyforge_project:
194
- rubygems_version: 2.5.2.3
194
+ rubygems_version: 2.7.6
195
195
  signing_key:
196
196
  specification_version: 4
197
197
  summary: Print TracePoint(:b_call, :b_return, :c_call, :c_return, :call, :return,