debase 0.1.6 → 0.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a95c15c1c84f5b6eec31368db15ee3ba9c055df8
4
- data.tar.gz: 22a15f0c12539595d0c792b3adaf4f1336bd47ce
3
+ metadata.gz: e77983a3d540de1c69aa61922cf0f21f95590b0b
4
+ data.tar.gz: c303699055b54148fadbdd8d665f54d00f9da647
5
5
  SHA512:
6
- metadata.gz: e83a6b90dc4703c6a657a59ac17cd53136d0b30aa5e015974f249c84a624a76f8bba40a7aca82b5055befb69e4120dc7d6fa49e2b47910ed525d19d2ab1c3665
7
- data.tar.gz: ee31346302ca064a5c4f1a1625064c881282b6d7bb2f139cbd35a207faa9882ef78edc77e7e4807ca633536353787017b4070d7a726efb53e5b5602c6b3fcbd6
6
+ metadata.gz: bf02a4e0e01ce775481bce9e8c043c183471a2cf96adba5989a17855c7af9472b6fd4938bd30af346d9bbf21d4d036d20442a52a94b72742ad0352d6e1fec93a
7
+ data.tar.gz: 3df6a9a730ed9200dab40b1c0b63d0266117c10adcd9b8c17c51393e8921d43cc34e6b119fc900ddc2469cdde513a540e1738744055f5a102c70e6489a02147c
data/ext/context.c CHANGED
@@ -338,7 +338,7 @@ Context_stop_frame(VALUE self, VALUE frame)
338
338
  /* we decrease stack size by frame and 1 because we use stop_frame after
339
339
  updating stack size. If that code will be changed this should be changed accordingly.
340
340
  */
341
- debug_context->stop_frame = debug_context->calced_stack_size - FIX2INT(frame) - 1;
341
+ debug_context->stop_frame = debug_context->stack_size - FIX2INT(frame) - 1;
342
342
 
343
343
  return frame;
344
344
  }
@@ -288,13 +288,12 @@ process_return_event(VALUE trace_point, void *data)
288
288
  /* it is important to check stop_frame after stack size updated
289
289
  if the order will be changed change Context_stop_frame accordingly.
290
290
  */
291
- if(context->calced_stack_size == context->stop_frame)
291
+ if(context->stack_size == context->stop_frame)
292
292
  {
293
293
  context->stop_next = 1;
294
294
  context->stop_frame = -1;
295
295
  }
296
296
 
297
-
298
297
  print_event(TRACE_POINT, context);
299
298
  cleanup(context);
300
299
  }
@@ -1,3 +1,3 @@
1
1
  module Debase
2
- VERSION = "0.1.6" unless defined? VERSION
2
+ VERSION = "0.1.7" unless defined? VERSION
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: debase
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dennis Ushakov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-05 00:00:00.000000000 Z
11
+ date: 2015-07-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: debase-ruby_core_source